IRC Chat : 2011-03-10 - OpenMRS

00:05:15 *** robbyoconnor has joined #openmrs
00:05:15 *** ChanServ sets mode: +v robbyoconnor
00:19:11 *** dkayiwa has joined #openmrs
00:39:10 *** DavidMR has joined #openmrs
00:39:20 <DavidMR> Hello again!
00:51:09 *** DavidMR has quit IRC
01:11:16 *** mayanks43 has joined #openmrs
01:18:12 *** mayanks43 has quit IRC
01:19:16 *** Hazamonzo_ has joined #openmrs
01:19:37 *** Hazamonzo has quit IRC
01:45:39 *** mayanks43 has joined #openmrs
01:45:56 *** gbastien has joined #openmrs
01:58:34 *** bwolfe has joined #openmrs
01:58:34 *** ChanServ sets mode: +o bwolfe
02:00:53 *** rafa has joined #openmrs
02:14:20 *** rafa has quit IRC
02:22:36 *** gbastien has quit IRC
03:22:25 *** mayanks43 has left #openmrs
03:33:42 *** upul` has joined #openmrs
03:33:42 *** ChanServ sets mode: +v upul`
04:09:50 *** dkayiwa has quit IRC
04:16:22 *** ashishmittal has joined #openmrs
04:54:44 *** goutham_ has joined #openmrs
04:55:10 *** bwolfe has quit IRC
05:18:54 *** upul` has quit IRC
05:22:53 *** muthah has joined #openmrs
05:40:37 *** ashishmittal has quit IRC
05:44:20 *** goutham_ has left #openmrs
05:44:56 *** test_ has joined #openmrs
05:45:16 *** test_ has quit IRC
05:47:37 *** surangak has joined #openmrs
06:03:53 *** muthah has quit IRC
06:08:00 *** mayanks43 has joined #openmrs
06:33:54 *** pascal` has joined #openmrs
06:34:05 *** ChanServ sets mode: +v pascal`
07:01:54 *** ashishmittal has joined #openmrs
07:52:43 *** rafa has joined #openmrs
08:21:53 *** robbyoconnor has quit IRC
08:44:01 *** ashishmittal has quit IRC
08:57:44 *** pascal` has quit IRC
09:15:04 *** pascal` has joined #openmrs
09:30:30 *** ChanServ sets mode: +v pascal`
10:31:57 *** ashishmittal has joined #openmrs
11:23:34 *** ashishmittal has quit IRC
11:29:13 *** surangak has quit IRC
13:00:29 *** dkayiwa has joined #openmrs
13:04:20 *** dodo_ has joined #openmrs
13:10:34 *** dodo_ has quit IRC
13:31:46 *** rafa has quit IRC
13:36:25 *** bwolfe has joined #openmrs
13:36:25 *** ChanServ sets mode: +o bwolfe
13:37:58 *** rafa has joined #openmrs
13:58:46 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: #OpenMRS leader @pbiondich speaking at noon today about #eHealth & #ICT4D @IUBloomington - join us! http://go.iu.edu/oT #IU <http://twitter.com/OpenMRS/statuses/45837367554211840> || OpenMRS Forum: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2911>
14:08:27 *** ashishmittal has joined #openmrs
14:22:56 *** nribeka has joined #openmrs
14:22:56 *** ChanServ sets mode: +v nribeka
14:31:44 *** Hazamonzo__ has joined #openmrs
14:31:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2912>
14:32:27 *** Hazamonzo_ has quit IRC
15:09:34 <ashishmittal> bwolfe, hi
15:09:49 <bwolfe> hi
15:09:52 <bwolfe> !devmtg
15:09:52 <OpenMRSBot> bwolfe: "devmtg" --- Reminder: Developer meeting Thursday at 10:00 AM Eastern - http://wiki.openmrs.org/display/docs/Weekly+Developer+Meeting
15:09:53 *** r-friedman has joined #openmrs
15:10:15 <ashishmittal> I have attached the patch to the ticket (TRUNK-2056)
15:10:37 <ashishmittal> Do I need to do something else?
15:10:58 <bwolfe> click the 'request code review' button
15:11:15 *** pascal` has quit IRC
15:12:39 <ashishmittal> I can't find it on the page.
15:13:25 <ashishmittal> Should I assign the patch to you?
15:13:43 <ashishmittal> (its mentioned on https://wiki.openmrs.org/display/docs/Patches)
15:17:36 *** gbastien has joined #openmrs
15:19:08 <bwolfe> ashishmittal: no, don't assign it to me
15:19:23 <bwolfe> its in the queue, it will be taken care of eventually
15:19:42 <ashishmittal> ok
15:20:09 <ashishmittal> Thanks for the help
15:24:07 *** downeym has joined #openmrs
15:24:07 *** ChanServ sets mode: +o downeym
15:24:23 *** ChanServ sets mode: +v dkayiwa
15:24:29 *** ChanServ sets mode: +v r-friedman
15:27:18 <r-friedman> http://connect.openmrs.org
15:30:16 *** bwolfe has quit IRC
15:33:16 <downeym> thanks r-friedman :)
15:35:14 *** mayanks43 has quit IRC
15:35:46 *** ashishmittal has quit IRC
15:49:09 *** mayanks43 has joined #openmrs
16:05:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2913>
16:17:40 *** ashishmittal has joined #openmrs
16:17:52 <downeym> Hi ashishmittal and welcome to the #openmrs IRC channel.
16:18:13 <ashishmittal> Hi downeym :)
16:23:38 *** mayanks43 has quit IRC
16:32:51 <r-friedman> right, all the developers, instead of making sure that they followed permissions (which they don't), will have to make sure they implement the permissions monitor
16:48:42 *** MalteF has joined #openmrs
16:48:42 *** ChanServ sets mode: +v MalteF
16:50:59 *** gbastien has quit IRC
16:57:53 *** gbastien has joined #openmrs
17:03:38 *** rafa has quit IRC
17:10:43 *** downeym has quit IRC
17:11:32 *** nribeka has quit IRC
17:12:55 *** r-friedman has quit IRC
17:21:11 *** dkayiwa has quit IRC
17:22:15 *** dkayiwa has joined #openmrs
17:41:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2914>
18:11:06 *** bwolfe has joined #openmrs
18:11:06 *** ChanServ sets mode: +o bwolfe
18:30:22 *** rafa has joined #openmrs
18:41:22 *** rafa has quit IRC
18:47:21 *** dkayiwa has quit IRC
18:49:13 *** robbyoconnor has joined #openmrs
18:49:13 *** ChanServ sets mode: +v robbyoconnor
19:05:34 *** dkayiwa has joined #openmrs
19:27:54 *** Echidna has quit IRC
19:34:55 *** Echidna has joined #openmrs
19:34:55 *** ChanServ sets mode: +v Echidna
20:16:07 *** gbastien has quit IRC
20:17:57 *** gbastien has joined #openmrs
20:19:38 *** rafa has joined #openmrs
20:28:51 *** mm3838 has joined #openmrs
20:29:25 <mm3838> hi everyone
20:30:03 <mm3838> dkayiwa: can I bother you one more time? I'm still having problems in uploading new patients
20:30:46 *** ashishmittal has quit IRC
20:33:09 <bwolfe> mm3838: dkayiwa is a drug dealer. he gives the support to you for free the first time so you are hooked. then when you come back for more he charges high rates to help! ;-)
20:33:44 <bwolfe> *like a drug dealer
20:34:51 <mm3838> I knew it! Now I can never get enough
20:42:56 <mm3838> like a real drug addicted
20:47:00 *** ashishmittal has joined #openmrs
20:50:26 *** ashishmittal has quit IRC
20:54:04 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (concept_mappings): concept_mappings: Updated the standardDataset and made the old setters/getters for the conceptMappings to be compatible ... <http://feedproxy.google.com/~r/OMRStrunk/~3/6WgD7X3UjP8/OpenMRS>
20:54:53 <mm3838> dkayiwa: maybe you're busy right now... when you have a moment, just ping me... in the meanwhile I'll go on trying
21:27:48 *** MalteF has quit IRC
21:36:24 <dkayiwa> hey mm3838 :D
21:36:40 <dkayiwa> sorry was in a meeting
21:38:16 <mm3838> no, it's ok... I know I'm being quite annoying...
21:38:26 <dkayiwa> not at all
21:38:33 <mm3838> thanks, too kind...
21:38:40 <dkayiwa> not when what you are working on is to save lives :)
21:39:11 <mm3838> hopefully a day it will! We are still quite in a developing stage of the project, but so far I cannot complain
21:39:28 <dkayiwa> ok
21:39:50 <mm3838> anyway, as I was telling you I still have some problems in uploading new patients.
21:39:56 <dkayiwa> ok
21:40:21 <mm3838> I downloaded the xform from the Patient Xform Design and then I copied that one in the odk form folder.
21:40:36 *** bwolfe has quit IRC
21:41:01 <mm3838> That xform works, I can upload new patients, as long as I set Old Identification Number
21:42:03 <dkayiwa> ok
21:42:08 <mm3838> while, if i design new xform from the manage module section, I cannot upload new patients. Just modifying already existing ones.
21:42:34 <mm3838> it is something related to the way I design the forms, I think, but I cannot find where is the difference.
21:42:51 <mm3838> Looking at the xml code, the two forms are formatted in a different way, but I don't think this is the case
21:42:57 <dkayiwa> design forms from the manage module section?
21:42:59 <dkayiwa> meaning?
21:43:11 <dkayiwa> forms are all through manage forms section
21:44:38 <mm3838> no the add new patient one is done passing through admin -> xforms -> patient xform design
21:44:56 <dkayiwa> yes correct
21:45:21 <mm3838> the others from : admin -> Manage Forms -> click on the form name -> Design Xfomr
21:45:28 <mm3838> and the code is actually different
21:45:50 <dkayiwa> for the ones you get through "Manage Forms"?
21:46:16 <mm3838> yes...
21:46:29 <dkayiwa> yes it should be that way
21:47:18 <mm3838> I see... the nodeset are different, is this normal? I don't really know what nodeset is... but the paths are different
21:47:34 <dkayiwa> yes thats very normal
21:47:35 <dkayiwa> like which form are you trying out?
21:47:35 <mm3838> anyway, somehow consistents, anyway
21:47:43 <mm3838> I made a form called mario
21:47:52 <dkayiwa> let me see it
21:48:19 <mm3838> you want to go on openmrs and check it by yourself? http://209.2.221.252:8080/openmrs/
21:48:22 <dkayiwa> oh that cannot work
21:48:29 <mm3838> oh, I see
21:49:02 <dkayiwa> as you can see from:
21:49:03 <dkayiwa> https://wiki.openmrs.org/display/docs/XForms+Module+User+Guide
21:49:11 <OpenMRSBot> <http://ln-s.net/8afL> (at wiki.openmrs.org)
21:49:17 <dkayiwa> you miss some mandatory fields
21:49:53 <dkayiwa> on that wiki page, they are under a section named "Customizations"
21:51:01 <mm3838> actually, I've just removed them, because the other one, the one that works (the one done through admin -> xforms -> patient xform design) doesn't have encounters
21:51:13 <dkayiwa> so to correct that form, just delete the patient section (using the x icon on the right) and then refresh the page
21:51:22 <mm3838> I also actually tried with those field on, but nothing changed...
21:51:26 <mm3838> can I ask you a favour?
21:51:50 <dkayiwa> depends on which favour :D
21:52:14 <dkayiwa> anyway, just did it for you now
21:52:24 <dkayiwa> open that form again
21:52:27 <mm3838> thanks
21:52:35 <dkayiwa> and you will see that it now has the mandatory fields
21:53:00 <dkayiwa> you are free to delete the non mandatory ones if you dont need them
21:53:39 <mm3838> ok, but I don't have the possibility of choosing the type of id anymore...
21:53:54 <mm3838> I tried to create the voice, can you check if it's correct?
21:54:16 <dkayiwa> you have that choice and can do it in two ways:
21:54:31 <dkayiwa> add the identifier type id field to the form
21:54:32 <dkayiwa> or
21:54:50 <mm3838> I'd prefere the choice one...
21:54:54 <dkayiwa> set the value of the global property named:
21:54:56 <dkayiwa> new_patient_identifier_type_id
21:55:05 <dkayiwa> sorry i meant: xforms.new_patient_identifier_type_id
21:55:15 <dkayiwa> to the identifier type_id that you want
21:55:24 <mm3838> I've seen the new module you sent me, but I'd like for now to play with that one, if I can
21:55:43 <dkayiwa> i have already uploaded it to your server
21:57:00 <dkayiwa> just delete that patient identifier type that you have just added to the form schema
21:57:02 <mm3838> I went through the tables and I think the field is a database element in the patient_identifier_type table, attribute patient_identifier_type_id
21:57:08 <mm3838> do'h, ok...
21:57:09 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Data Integrity 1.1.3 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=dataintegrity&version=&1.1.3>
21:58:16 <mm3838> so it should automatically set to use the other identifier, right?
21:58:26 <dkayiwa> yes
22:00:37 <mm3838> It doesn't allow me to send it, it fails
22:00:56 <dkayiwa> how does it fail?
22:01:31 <mm3838> I'll post the logs...
22:02:27 <dkayiwa> let me also assume you redownloaded the form
22:02:52 <dkayiwa> after the changes u have just made
22:03:20 <mm3838> yes, I did...
22:03:30 <mm3838> here is the post http://pastebin.com/xkeeWmbJ
22:04:15 <dkayiwa> did u fill a form of an existing or new patient?
22:04:30 <mm3838> no, of a new one
22:04:45 <mm3838> I can modify existing patients, but I cannot upload new ones
22:05:06 <dkayiwa> did you fill the patientId field when you wanted to upload new patients?
22:05:15 <mm3838> yes
22:05:22 <dkayiwa> that was a mistake
22:05:34 <dkayiwa> where would you have got the patientId from?
22:05:39 <dkayiwa> if its a new patient?
22:06:30 <mm3838> I agree... but since it's a mandatory field, I was just putting a random number, with the other form he doesn't care, as long as the number is not already referred to another patient
22:07:07 <dkayiwa> in that case do not make it mandatory such that you can leave it empty
22:07:22 <mm3838> ok, let me try againg
22:07:24 <mm3838> again
22:07:32 <dkayiwa> infact the user is not supposed to even see that field
22:07:55 <mm3838> ah, great... not even the identifier or the identifier yes?
22:08:01 <dkayiwa> it is the mobile application which is supposed to fill that field for an existing patient that the user has searched
22:08:17 <dkayiwa> the use need to know the identifier
22:08:26 <mm3838> ok
22:08:36 <dkayiwa> otherwise how would they uniquely identiry patients
22:08:49 <mm3838> that's true...
22:08:56 <mm3838> smart
22:09:52 <mm3838> ah, I changed the xforms.new_patient_identifier_type_id to 2, since 2 should refer to Old Identification Number, is it correct?
22:10:08 <dkayiwa> whatever you want
22:10:27 <dkayiwa> so no problem
22:12:33 <mm3838> successfully!
22:12:40 <dkayiwa> ok good
22:12:44 <mm3838> I'm impressed!
22:12:44 <mm3838> Thank you very much
22:12:59 <dkayiwa> yo welcome
22:13:30 <mm3838> I'll let you know if the project will ever be tested on the field!
22:13:34 <mm3838> that would we awesome
22:13:39 <dkayiwa> ok
22:13:39 <mm3838> Thank you very much
22:13:45 <dkayiwa> yo welcoem
22:13:49 <mm3838> have a good one
22:13:52 <dkayiwa> you too
22:14:01 *** mm3838 has quit IRC
22:14:47 *** rafa has quit IRC
22:23:26 *** gbastien has quit IRC
23:46:54 *** dkayiwa has quit IRC