IRC Chat : 2010-03-15 - OpenMRS

00:16:34 *** openmrs_web572 has joined #openmrs
00:17:35 *** openmrs_web572 has quit IRC
00:43:59 *** Mkop has joined #openmrs
00:43:59 *** ChanServ sets mode: +v Mkop
00:55:37 *** mathiaslin has joined #openmrs
01:23:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2104 (defect closed): Image on Home Page not appearing correctly <http://dev.openmrs.org/ticket/2104#comment:2>
01:24:06 *** Mkop1 has joined #openmrs
01:24:06 *** ChanServ sets mode: +v Mkop1
01:24:26 *** Mkop has quit IRC
01:24:30 *** Mkop1 is now known as Mkop
01:26:01 *** Mkop1 has joined #openmrs
01:26:01 *** ChanServ sets mode: +v Mkop1
01:26:10 *** Mkop has quit IRC
01:26:12 *** Mkop1 is now known as Mkop
01:39:13 *** siri1 has joined #openmrs
01:39:24 <siri1> !logs
01:39:24 <OpenMRSBot> siri1: "logs" --- The OpenMRS IRC logs are publicly displayed online: http://dev.openmrs.org/irclogs
01:55:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12447]: webservices.jaxws.api: modifications to UserDTO so that the associated … <http://dev.openmrs.org/changeset/12447>
01:56:34 *** jmiranda has joined #openmrs
01:56:34 *** ChanServ sets mode: +o jmiranda
02:28:48 *** jmiranda has quit IRC
02:34:11 *** upul` has joined #openmrs
02:34:11 *** ChanServ sets mode: +v upul`
03:05:49 *** Mkop has quit IRC
03:07:19 *** siri1 has quit IRC
03:35:10 *** bwolfe has quit IRC
03:36:21 *** upul` has quit IRC
03:36:46 *** upul` has joined #openmrs
03:36:46 *** ChanServ sets mode: +v upul`
03:38:26 *** upul` has quit IRC
03:39:03 *** upul` has joined #openmrs
03:39:03 *** ChanServ sets mode: +v upul`
03:42:05 *** downeym has joined #openmrs
03:42:05 *** ChanServ sets mode: +o downeym
03:42:37 <upul`> hi downeym
03:42:40 <downeym> hey upul`
03:53:54 *** downeym has quit IRC
03:58:10 *** thilini has joined #openmrs
04:11:46 *** thilini has left #openmrs
04:20:13 *** openmrs_web449 has joined #openmrs
04:20:20 *** openmrs_web449 is now known as Shazin
04:23:56 <Shazin> HI All
05:52:25 *** openmrs_web293 has joined #openmrs
05:52:54 *** openmrs_web293 is now known as judywawira
05:53:05 <judywawira> hello everyone...
06:15:37 *** robbyoconnor has joined #openmrs
06:15:37 *** ChanServ sets mode: +v robbyoconnor
06:21:34 <judywawira> has anyone encountered this error in eclipse...WARNING: No build properties found
06:21:37 <judywawira> WARNING: No build properties found
06:32:09 *** sthaiya has joined #openmrs
06:41:43 *** pascal` has joined #openmrs
06:41:43 *** ChanServ sets mode: +v pascal`
06:44:52 <mathiaslin> judywawira: it's just a warning, not an error - can you still build?
06:45:07 <mathiaslin> does build.properties exist in the openmrs project directory root?
06:47:59 *** Shazin has quit IRC
06:49:42 *** pascal` has quit IRC
06:58:58 *** danielf has joined #openmrs
07:03:24 *** judywawira has quit IRC
07:07:38 *** pascal` has joined #openmrs
07:08:12 *** ChanServ sets mode: +v pascal`
07:17:12 *** openmrs_web394 has joined #openmrs
07:18:10 *** openmrs_web394 is now known as judywawira
07:18:38 <judywawira> @mathiaslin...no i wasnt able to build the module...has a million and one errors on it
07:37:10 *** sthaiya has quit IRC
07:43:58 <judywawira> WHAT IS EXACTLY MEANT BY A PROGRAM IN OPENMRS..
07:44:03 <judywawira> IS IT LIKE PMTCT, ETC
07:44:21 <judywawira> OR IS IT LIKE DIABETES CARE, MATERNAL CARE OR PSYCHIATRY CARE...
07:44:40 <njero> judywawira: we do both
07:44:57 <judywawira> ??
07:45:02 <njero> we have HIV PROGRAM, TB PROGRAM, PMTCT PROGRAM, and a couple others
07:45:33 <judywawira> OK..
07:46:21 <pascal`> judywawira, a program is whatever you'd like it to be
07:47:38 <judywawira> lets explore this ..program state and workflows...
07:47:57 *** sthaiya has joined #openmrs
07:48:03 <judywawira> i am working on something for mental health ...so teh program would be PSYCHIATRY i suppose..
07:49:31 <pascal`> judywawira, the idea is to design the program/workflows in openmrs to match what's happening in the facility
07:49:46 <judywawira> in this program a patient can be seen as outpatient, inpatient, clinic ..or admit in a rehabilitation center
07:49:58 <judywawira> so i assume this is the state or teh workflow??
07:50:00 <judywawira> ??
07:50:12 <pascal`> well, there are many ways you could model it
07:50:34 <pascal`> so, you could have a MENTAL HEALTH program
07:50:37 <judywawira> i am lstening
07:50:40 <judywawira> yes
07:50:47 <judywawira> sorry i am reading
07:50:50 <pascal`> within that program, you could have a TRACKING STATUS workflow
07:51:16 <pascal`> and possible states within that workflow could be INPATIENT, OUTPATIENT, CLINIC or IN REHAB
07:51:47 <pascal`> that's just one suggestion, it would be best to model it as closely as possible to the actual functioning of the facility
07:52:03 <judywawira> ok..
07:52:07 <judywawira> what abt the states??
07:52:20 <pascal`> you could also, say, have another workflow in the MENTAL HEALTH prgram called TREATMENT STATUS
07:52:43 <judywawira> aha
07:52:49 <pascal`> which could have possible states: ON MEDS, NOT ON MEDS, LOST TO FOLLOWUP
07:52:53 <pascal`> or whatever else
07:53:13 <pascal`> so, workflows are just different pieces of information you'd like to keep about patients
07:53:31 <pascal`> and the states are they actual "values" which are assigned to each patient?
07:53:38 <pascal`> starting to make more sense?
07:54:01 <pascal`> I would suggest playing around a bit and seeing what makes sense for your purposes
07:54:19 *** sanyam has joined #openmrs
07:58:34 <judywawira> thanks pascal
08:00:58 <pascal`> np judywawira
08:18:54 *** mathiaslin has quit IRC
08:20:41 *** mathiaslin has joined #openmrs
08:54:18 *** njero has quit IRC
09:09:54 *** sanyam has quit IRC
09:13:12 *** judywawira has quit IRC
09:38:58 *** ajuonline has quit IRC
09:38:58 *** ajuonline has joined #openmrs
09:41:37 *** openmrs_web872 has joined #openmrs
09:41:51 *** openmrs_web872 is now known as judywawira
09:54:21 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: XForms 3.8.5 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=xforms&version=&3.8.5>
10:01:36 *** judywawira has quit IRC
10:12:56 *** sanyam has joined #openmrs
10:27:02 *** robbyoconnor has quit IRC
10:33:10 *** openmrs_web420 has joined #openmrs
10:33:13 *** openmrs_web420 is now known as Suneeth
10:34:02 *** luzhuangwei has joined #openmrs
10:57:27 *** openmrs_web489 has joined #openmrs
10:57:40 *** openmrs_web489 is now known as JUDY
11:14:34 *** sanyam has quit IRC
11:26:59 *** rcrichton has joined #openmrs
11:28:24 *** upul` has quit IRC
11:39:30 *** JUDY has quit IRC
11:49:02 *** rcrichton has quit IRC
11:55:22 *** Suneeth has quit IRC
12:27:34 *** bwolfe has joined #openmrs
12:27:35 *** ChanServ sets mode: +o bwolfe
12:27:35 *** OpenMRSBot sets mode: +o bwolfe
12:29:29 *** openmrs_web480 has joined #openmrs
12:29:54 *** openmrs_web480 is now known as judywawira
12:31:08 <judywawira> @bwolfe: hey..how are you doing...is it possible to enable and disable buttons on htmlforms....based on like what the uer checks???...like if YES enable some questions and disable others
12:31:28 *** Shazin has joined #openmrs
12:31:37 *** ruwan has joined #openmrs
12:31:39 <bwolfe> judywawira: not sure. I've asked for it, but I don't know thats its implemented
12:37:54 *** bwolfe has quit IRC
12:38:04 <ruwan> http://dev.openmrs.org/ticket/1401
12:38:35 <ruwan> what exactly is needed to be done now..?
12:38:52 *** Shazin has quit IRC
12:40:49 <ruwan> never got a feedback on the second patch.. just wondering..
12:47:29 <pascal`> ruwan, you'll need to ask ben or darius
12:47:34 <pascal`> ruwan, they won't be reading this
12:47:51 *** chopin has joined #openmrs
12:47:51 *** ChanServ sets mode: +v chopin
12:47:57 <chopin> hi ho
12:48:00 <pascal`> hey chopin
12:48:24 <chopin> good day pascal` ... anything new?
12:48:50 <pascal`> not much chopin, you?
12:49:38 * chopin wonders why org.openmrs.api.impl.PatientServiceImpl#checkPatientIdentifiers throws a DuplicateIdentifierException
12:50:00 <chopin> otherwise, i'm perfect :-)
12:51:00 *** judywawira has quit IRC
12:52:47 <Echidna> or so you think
12:53:36 * chopin watches his back, runs to a mtg w/ ampath
12:54:48 *** kamrul has quit IRC
12:54:48 <pascal`> chopin, you're wondering about the code, or you're seeing it happen?
12:55:02 *** kamrul has joined #openmrs
12:57:18 *** downeym has joined #openmrs
12:57:18 *** ChanServ sets mode: +o downeym
12:58:13 * downeym glares at chopin
12:58:57 <chopin> pascal`: wondering why it's there :-/
12:58:58 <chopin> brb
12:59:14 <pascal`> hey downeym
13:00:05 <downeym> hi pascal`
13:00:16 *** chopin_ has joined #openmrs
13:00:34 <Echidna> chopin_: that didnt really answer the the question =O
13:00:38 <Echidna> could mean either
13:01:03 <pascal`> I see what you mean in the devlist mail
13:02:27 *** ruwan has quit IRC
13:02:38 *** bwolfe has joined #openmrs
13:02:38 *** ChanServ sets mode: +o bwolfe
13:02:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1111 (defect closed): Various errors associated with Excel Cohort Reports <http://dev.openmrs.org/ticket/1111#comment:3> || OpenMRS Forum: Re: Demo-1.6.0.sql <http://forum.openmrs.org/viewtopic.php?f=2&t=577#p2161>
13:03:49 *** chopin has quit IRC
13:04:44 <chopin_> Echidna: hah, woops
13:07:17 *** chopin_ is now known as chopin
13:07:22 *** ChanServ sets mode: +v chopin
13:08:31 <pascal`> hey bwolfe
13:08:39 <bwolfe> hi pascal`
13:22:09 <downeym> hello mathiaslin and zr0bert
13:24:51 <mathiaslin> hi downeym
13:36:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12448]: webservices.jaxws.api: modified toString methods in various DTOs <http://dev.openmrs.org/changeset/12448> || OpenMRS Forum: Re: Demo-1.6.0.sql <http://forum.openmrs.org/viewtopic.php?f=2&t=577#p2162>
13:45:04 *** pascal` has quit IRC
13:45:04 *** danielf has quit IRC
13:45:54 *** openmrs_web350 has joined #openmrs
13:45:54 <downeym> hi openmrs_web350
13:45:59 *** Shazin has joined #openmrs
13:46:00 *** openmrs_web350 is now known as mrosas
13:46:01 <mrosas> hey
13:46:36 <Shazin> HI
13:46:38 <mrosas> i want to log a module, i copied the way openmrs logs, and put something like this on my module
13:46:49 <mrosas> private Log log = LogFactory.getLog(this.getClass());
13:46:58 <mrosas> log.debug("TEST")
13:47:22 <mrosas> but i don't know which config file should i change in order to make it to log into a txt file
13:48:49 *** upul` has joined #openmrs
13:48:57 *** ChanServ sets mode: +v upul`
13:49:31 *** downeym has quit IRC
13:49:31 *** downeym has joined #openmrs
13:49:31 *** leguin.freenode.net sets mode: +o downeym
13:50:03 *** pascal` has joined #openmrs
13:50:13 <bwolfe> mrosas: log4j.xml
13:50:18 *** downeym has quit IRC
13:50:32 <bwolfe> put that xml file into your metadata folder in your module
13:50:50 *** downeym has joined #openmrs
13:50:50 *** ChanServ sets mode: +o downeym
13:50:52 <mrosas> ok cool, and the code i copied to make it log, is it ok?
13:50:54 *** ChanServ sets mode: +v pascal`
13:51:14 *** Echidna has quit IRC
13:51:36 <Shazin> Hi Does OpenMRS Use a Modified Hibernate Jar
13:51:38 <Shazin> ?
13:51:55 <bwolfe> mrosas: yeah, if you have DEBUG enabled
13:52:00 <bwolfe> Shazin: yes
13:52:20 <mrosas> yea i'm debugging my module into eclipse right now
13:53:36 <Shazin> bwolfe: Cool :)
13:54:09 *** jmiranda has joined #openmrs
13:54:09 *** ChanServ sets mode: +o jmiranda
13:54:18 <bwolfe> Shazin: I forget why. there should be a readme in the hibernate lib folder
13:54:30 <pascal`> hi jmiranda
13:54:54 <jmiranda> hey pascal`
13:55:49 *** Echidna has joined #openmrs
13:55:49 *** ChanServ sets mode: +v Echidna
13:55:49 <downeym> hi Echidna
13:58:05 <mrosas> bwolfe: when uploading the module with de log4j.xml, i got an exception
13:58:26 <mrosas> here it is
13:58:27 <mrosas> http://pastebin.com/ZgHCfPqE
13:59:42 *** g_khatwani123 has joined #openmrs
13:59:42 <downeym> hi g_khatwani123
14:00:23 *** danielf has joined #openmrs
14:01:02 *** rcrichton has joined #openmrs
14:01:08 <g_khatwani123> i am not able to download billing module completely. receiving an error that "it may locked by external resources, to download it should be unlocked". Please help me to know the solution
14:01:42 <Shazin> bwolfe: You are correct. I should read more
14:02:11 <g_khatwani123> @downeym:i am not able to download billing module completely. receiving an error that "it may locked by external resources, to download it should be unlocked". Please help me to know the solution
14:02:35 <downeym> g_khatwani123: From where are you trying to download? URL?
14:02:48 <g_khatwani123> through eclipse
14:04:05 <g_khatwani123> @downeym:through eclipse. i have succesfully downloaded openmrs-trunk but i am recieving an error for billing module
14:04:48 <downeym> g_khatwani123: as far as I know, Saptarshi is working on that. Suggest you contact him: http://openmrs.org/wiki/User:Sunbiz
14:05:11 <bwolfe> g_khatwani123: yeah, I don't know whats up with that
14:05:26 *** rcrichton has quit IRC
14:05:28 <bwolfe> g_khatwani123: it did that to me last week when I tried to check it out
14:06:14 <Echidna> you are not worthy =)
14:06:38 <g_khatwani123> @bwolfe:so what u did for it to download. Have u downloaded it now succesfully
14:06:59 <bwolfe> g_khatwani123: I have never downloaded it
14:07:09 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2060 (task closed): Change Browser Title on Patient Dashbboard <http://dev.openmrs.org/ticket/2060#comment:14> || OpenMRS Changesets: Changeset [12450]: Changed browser title on patient dashboard to optionally contain patient … <http://dev.openmrs.org/changeset/12450> || OpenMRS Changesets: Changeset [12449]: ui.springmvc module: adding openmrs jar files to lib-common <http://dev.openmrs.org/changeset/12449>
14:07:12 <bwolfe> g_khatwani123: as downeym said, you'll have to check with saptarshi
14:07:23 <bwolfe> they will probably have to reupload their code :-/
14:07:30 <bwolfe> because I don't know another way around it
14:07:32 <bwolfe> brb
14:07:35 *** bwolfe has quit IRC
14:07:40 *** slin1 has joined #openmrs
14:07:41 <downeym> hi slin1
14:08:16 <slin1> downeym: hello
14:08:27 <g_khatwani123> @downeym:whether any thing else other than billing module and openmrs-trunk to be downloaded to work on billing module.
14:10:06 <g_khatwani123> @downeym:whether any thing else other than billing module and openmrs-trunk to be downloaded to work on billing module.
14:11:04 <downeym> g_khatwani123: You need to check with Saptarshi on that, that is his project and I don't know much about it. http://openmrs.org/wiki/User:Sunbiz
14:11:38 <g_khatwani123> @downeym:ok thanks
14:11:39 *** downeym has quit IRC
14:11:39 <slin1> downeym: I have gone through the logs of last year's feb and march... and didnt understand this-->Is it mandatory to solve or fix some of the bugs or tickets inorder to get the project?
14:14:34 *** slin1 is now known as learner
14:15:08 *** learner is now known as enthu
14:18:16 *** g_khatwani123 has quit IRC
14:20:26 *** downeym has joined #openmrs
14:20:26 *** ChanServ sets mode: +o downeym
14:29:48 *** mrosas has quit IRC
14:32:54 *** bwolfe has joined #openmrs
14:32:54 *** ChanServ sets mode: +o bwolfe
14:35:28 *** njero has joined #openmrs
14:35:28 *** ChanServ sets mode: +v njero
14:38:56 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2107 (defect closed): NoClassDefFoundError following deploy-web <http://dev.openmrs.org/ticket/2107#comment:6>
14:44:58 *** danielf has quit IRC
14:45:16 *** chopin_ has joined #openmrs
14:48:06 *** chopin has quit IRC
15:10:29 *** pascal` has quit IRC
15:10:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12451]: generate web jar for third party module <http://dev.openmrs.org/changeset/12451>
15:12:25 *** upul` has quit IRC
15:18:03 <chopin_> who's up for managing the openmrs maven repo? ;-)
15:18:33 <downeym> chopin_: nice of you to volunteer
15:18:58 * chopin_ had his finger on his nose already
15:19:06 <chopin_> s/on/up
15:19:19 <downeym> heh
15:20:12 <chopin_> it's fairly self-sustaining ... just need to limit upload rights
15:20:20 <chopin_> and it would be nice to have one for modules
15:20:35 <chopin_> although ... those are tricky
15:20:49 <chopin_> since we don't really need them as JARs necessarily
15:21:59 *** chopin_ is now known as chopin
15:22:07 *** ChanServ sets mode: +v chopin
15:22:59 *** sanyam has joined #openmrs
15:23:49 *** enthu has left #openmrs
15:26:19 *** sthaiya has quit IRC
15:40:46 *** sanyam has quit IRC
15:59:49 *** sthaiya has joined #openmrs
16:02:01 *** thilini has joined #openmrs
16:04:28 *** g_khatwani123 has joined #openmrs
16:07:20 <g_khatwani123> @downeym: u toldme contact Sunbiz but he does not seems to be available currently on irc list of openmrs. so any other contacts?
16:08:43 <downeym> g_khatwani123: I would try e-mail
16:20:44 *** g_khatwani123 has quit IRC
16:20:59 *** Shazin has left #openmrs
16:25:58 *** pascal` has joined #openmrs
16:25:58 *** ChanServ sets mode: +v pascal`
16:32:29 *** pascal` has quit IRC
16:41:38 *** chopin has quit IRC
16:45:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12458]: Chica -- chica Ticket #239 <http://dev.openmrs.org/changeset/12458> || OpenMRS Changesets: Changeset [12457]: update pom for basic module <http://dev.openmrs.org/changeset/12457> || OpenMRS Changesets: Changeset [12456]: ATD - Chica Ticket #239 <http://dev.openmrs.org/changeset/12456> || OpenMRS Tickets: Ticket #2150 (task created): htmlformentry: investigate using htmlwidgets module <http://dev.openmrs.org/ticket/2150> || OpenMRS Changesets: Changeset [12455]: remove idea module file <http://dev.openmrs.org/changeset/12455> || OpenMRS Changesets: Changeset [12454]: remove idea folder <http://dev.openmrs.org/changeset/12454> || OpenMRS Changesets: Changeset [12453]: basic module sample <http://dev.openmrs.org/changeset/12453> || OpenMRS Changesets: Changeset [12452]: basic module sample <http://dev.openmrs.org/changeset/12452>
16:48:20 *** pascal` has joined #openmrs
16:48:29 *** ChanServ sets mode: +v pascal`
16:56:06 *** chopin has joined #openmrs
16:56:06 *** ChanServ sets mode: +v chopin
16:56:55 *** pascal` has quit IRC
17:00:30 <chopin> anyone joining us for code review today: skype voice call to freeconferencing and enter code 305801
17:00:41 * chopin points at jmiranda
17:00:51 <chopin> ;-)
17:00:56 <jmiranda> chopin, pointing is rude
17:01:01 <chopin> hah
17:01:09 <chopin> i know you're not expected on the call, no worries
17:01:21 <jmiranda> no, unfortunately i have a demo in an hour
17:01:25 <jmiranda> so i'm out
17:01:30 <chopin> np, have phun
17:01:51 <chopin> looking forward to seeing "the gang" this wk
17:02:34 <jmiranda> chopin, yeah ... i am looking forward to meeting you guys
17:02:44 <jmiranda> the new guys, i mean
17:03:11 <chopin> not sure why sy and wyclif don't chill in here
17:03:17 * chopin beats 'em
17:03:56 *** sthaiya has quit IRC
17:04:13 <jmiranda> would rather just go out and get beers with you guys, watch the ncaa tournament ... and let the old guys do the heavy lifting / roadmap stuff
17:04:45 <chopin> sirrusly
17:17:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2151 (task created): Setting a global property to convert the case of program/workflow/state <http://dev.openmrs.org/ticket/2151>
17:38:38 *** luzhuangwei has quit IRC
17:49:12 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12460]: reporting: Fixed issue with the spring-form.tld tag library inclusion … <http://dev.openmrs.org/changeset/12460> || OpenMRS Changesets: Changeset [12459]: ATD -- chica Ticket #239 <http://dev.openmrs.org/changeset/12459>
18:01:49 *** downeym has quit IRC
18:21:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12462]: reporting: fixed a sql grammar exception in InStateCohortDefinition <http://dev.openmrs.org/changeset/12462> || OpenMRS Changesets: Changeset [12461]: reporting: Change CohortIndicatorEvaluator to automatically limit … <http://dev.openmrs.org/changeset/12461>
18:43:16 * chopin is totally distracted by a G1 phone
18:48:29 *** chopin_ has joined #openmrs
18:49:25 *** chopin has quit IRC
18:52:05 *** zr0bert is now known as zrobert
18:52:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12463]: reporting: Add built-in inverse property to EncounterCohortDefinition <http://dev.openmrs.org/changeset/12463>
18:59:14 *** bwolfe has quit IRC
19:02:13 *** bwolfe has joined #openmrs
19:02:13 *** ChanServ sets mode: +o bwolfe
19:10:11 *** bwolfe has quit IRC
19:21:54 <njero> hey jmiranda: have a quick voided/retired question
19:22:30 <jmiranda> njero, sure ... what's up?
19:22:49 <njero> Suppose you had an obs with value_coded = 12345, but then you retired concept 12345. Next time you pull that obs... what should happen... should it find its concept or not?
19:24:41 *** bwolfe has joined #openmrs
19:24:41 *** ChanServ sets mode: +o bwolfe
19:24:56 <njero> hey bwolfe you might want in on this question... so I will repeat
19:24:58 <njero> Suppose you had an obs with value_coded = 12345, but then you retired concept 12345. Next time you pull that obs... what should happen... should it find its concept or not?
19:24:59 *** sanyam_ has joined #openmrs
19:25:50 <bwolfe> I say yes
19:26:45 <njero> there are a ton of situations like this... when something gets voided/retired without cascading to everything else... but there are really two broad categories: things like encounter -> obs where an obs might get voided without affecting the encounter, and things like obs -> encounter where it has the specific encounter_id inside it so you would expect that to always resolve even if the encounter (and possibly the obs) are voi
19:26:47 <njero> ded
19:27:04 <njero> the categories are has_many, and belongs_to...
19:27:09 <njero> or parent / child
19:27:59 <njero> The rule I am thinking: the child should always find its parent regardless of retired/voided. The parent should not find voided children by default.
19:28:29 <njero> is that sane?
19:29:46 <jmiranda> njero, sorry (just started a demo) ... i'll answer in a few minutes
19:29:51 <njero> np
19:31:25 <njero> bwolfe: ?
19:35:17 *** mathiaslin has quit IRC
19:38:03 <bwolfe> njero: that is sane
19:38:18 <njero> cool
19:38:19 <bwolfe> njero: but what kind of relationship are you considering obs --> concept (via valueCoded)
19:38:44 <njero> there are tons of these kind of quesitons...
19:38:59 <njero> the area that kicked it off for me was actually order <=> obs
19:39:16 <njero> obs has order_id, order has obs_id
19:39:41 <njero> it is easy to void one and not the other on accident... but then what do you do
19:40:18 <njero> I think you should still get to the order/obs by default... even though you may be accessing something that was voided
19:41:04 <njero> obs concept is another big one... or obs => value_coded_name_id ...
19:41:07 *** downeym has joined #openmrs
19:41:07 *** ChanServ sets mode: +o downeym
19:41:21 <njero> OpenMRSBot: you are supposed to say hey to downeym
19:41:21 <OpenMRSBot> njero: Error: "you" is not a valid command.
19:41:28 <njero> OpenMRSBot: neither is you.
19:41:28 <OpenMRSBot> njero: Error: "neither" is not a valid command.
19:41:32 <downeym> lol
19:42:34 <bwolfe> lol
19:43:12 <downeym> OpenMRSBot--
19:43:15 <njero> serious
19:43:17 <njero> :)
19:43:33 <bwolfe> njero: ok, so here is model:
19:43:44 <bwolfe> concept actually gets retired, not voided. voided and retired mean different things
19:44:07 <bwolfe> http://openmrs.org/wiki/Deleting_Data_in_OpenMRS:_Void_vs._Retire_vs._Purge
19:44:10 <OpenMRSBot> <http://ln-s.net/5Egm> (at openmrs.org)
19:44:19 <bwolfe> a void means that it was never valid. a retire means that it isn't valid anymore
19:44:40 <bwolfe> so an obs can still reference a retired concept and can still see it if you pull up the obs
19:44:59 <bwolfe> an obs should not see/reference a voided order. and a voided order should not see a voided obs
19:45:23 <njero> hmmm
19:45:38 <njero> that makes sense
19:45:59 <njero> so in the event of the obs/order thing... the reference should die by defualt?
19:47:18 <njero> I think my rule still applies, and that it just coincidentally works out for the voided/retired paradigm
19:49:23 <bwolfe> njero: I don't know that you delete obs.order_id if you void the order, but you should just not display it.
19:50:56 <njero> What if the obs itself is voided?
19:53:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12465]: reporting: Fixed location filter validation error. Also fixed small UI … <http://dev.openmrs.org/changeset/12465> || OpenMRS Tickets: Ticket #2069 (defect closed): nameLayout.jsp Error with duplicate variable 'status' preventing patient entry and admin tasks <http://dev.openmrs.org/ticket/2069#comment:6> || OpenMRS Changesets: Changeset [12464]: 1.5.x: Fixing nameLayout spring:bind status error - #2069 Author: syhaas <http://dev.openmrs.org/changeset/12464>
19:54:09 <bwolfe> njero: you mean if both the obs and order are voided and are referencing each other? thats the ideal world. :-)
19:54:42 <njero> my point being that it is crazy logic to check the local voided flag before checking the remote
19:55:30 <bwolfe> I'm not following
19:55:32 <njero> this is just a confusing area to have sane defaults
19:56:10 <njero> well, if you are viewing "deleted" data and both obs and order are voided... you want to see them and for them to see each other
19:56:27 <njero> however, you probably also want to see the stuff that wasn't deleted...
19:56:30 <njero> it is weird
19:56:35 <njero> I am confusing myself
19:57:16 <njero> can't you just tell me these are edge cases and /kickban me? :)
19:57:54 *** bwolfe sets mode: +b *!*njero@*.socal.res.rr.com
19:57:54 *** njero was kicked by bwolfe (those are edge cases)
19:57:57 <bwolfe> :-D
19:58:11 *** bwolfe sets mode: -b *!*njero@*.socal.res.rr.com
19:59:03 *** njero has joined #openmrs
19:59:03 *** ChanServ sets mode: +v njero
19:59:05 <njero> lol
19:59:19 <njero> http://skitch.com/jeffrafter/n4nmi/njero-openmrs-nt-welcome-to-the-openmrs-co
19:59:22 <OpenMRSBot> <http://ln-s.net/5EhI> (at skitch.com)
20:00:21 <bwolfe> :-D
20:00:37 <njero> bwolfe: I think I am going with my rule... it has problems but I really do think / hope they are edge cases
20:00:50 <bwolfe> njero: a user should never be able to view a voided (aka deleted) piece of data, so really that situation you're referring to should never happen
20:01:15 <njero> hmm, they can in ours... maybe thats a problem
20:01:24 <njero> data managers can unvoid things
20:01:33 <bwolfe> a voided foreign object should not be shown regardless of whether the local object is voided.......but you don't have to worry about that because you will never be viewing a local voided object! :-)
20:01:47 <bwolfe> yes, you can "see" the object once you unvoid it
20:01:55 <njero> okay
20:02:02 <njero> I can try that too
20:02:08 <njero> we'll see what goes crazy :)
20:13:08 *** bwolfe has quit IRC
20:21:30 *** bwolfe has joined #openmrs
20:21:30 *** ChanServ sets mode: +o bwolfe
20:25:56 *** hawaiian has joined #openmrs
20:29:51 <njero> bwolfe: why do concept_names get voided by concepts get retired?
20:30:06 <bwolfe> an excellent question
20:30:12 <bwolfe> the answer is...
20:30:17 <bwolfe> "because"
20:30:49 <njero> ah, a quality standby answer :)
20:36:54 *** chopin_ has quit IRC
20:47:22 *** x-ian has joined #openmrs
20:47:54 *** x-ian has quit IRC
20:48:15 *** nribeka has joined #openmrs
20:48:15 *** ChanServ sets mode: +v nribeka
21:07:33 *** bwolfe has quit IRC
21:07:36 *** bwolfe_ has joined #openmrs
21:07:36 *** ChanServ sets mode: +o bwolfe_
21:07:42 *** bwolfe_ is now known as bwolfe
21:08:41 *** thilini has left #openmrs
21:39:00 *** sanyam_ has quit IRC
21:43:17 *** hawaiian has left #openmrs
21:59:07 *** hawaiian has joined #openmrs
21:59:15 *** hawaiian has left #openmrs
22:01:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1809 (task closed): Duplicate Concept Names Should Not be Allowed <http://dev.openmrs.org/ticket/1809#comment:14> || OpenMRS Changesets: Changeset [12466]: Duplicate concept names shouldn't be allowed and searching for concepts by … <http://dev.openmrs.org/changeset/12466>
22:10:29 *** nribeka has quit IRC
22:14:44 *** bwolfe has quit IRC
22:33:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12468]: webservices.jaxws.api: exceptions placed in wsSaveOrder to handle invalid … <http://dev.openmrs.org/changeset/12468> || OpenMRS Tickets: Ticket #2131 (task closed): I managed to start OpenMRS without the logic module running <http://dev.openmrs.org/ticket/2131#comment:3> || OpenMRS Changesets: Changeset [12467]: Fixed core modules not starting if another module causes a spring startup … <http://dev.openmrs.org/changeset/12467> || OpenMRS Forum: Re: Demo-1.6.0.sql <http://forum.openmrs.org/viewtopic.php?f=2&t=577#p2163>
23:03:17 *** kamrul has quit IRC
23:03:47 *** downeym has quit IRC
23:31:22 *** Mkop has joined #openmrs
23:31:22 *** ChanServ sets mode: +v Mkop
23:36:05 *** bwolfe has joined #openmrs
23:36:05 *** ChanServ sets mode: +o bwolfe
23:36:05 *** OpenMRSBot sets mode: +o bwolfe