IRC Chat : 2011-08-08 - OpenMRS

00:43:17 *** jportela has quit IRC
01:08:12 *** djazayeri1 has joined #openmrs
01:08:12 *** djazayeri has quit IRC
01:13:21 *** djazayeri1 has quit IRC
01:35:25 *** suho has joined #openmrs
01:35:25 *** ChanServ sets mode: +v suho
02:14:51 *** suho has quit IRC
02:15:54 *** jprice has quit IRC
02:44:33 *** wyclif has quit IRC
02:44:57 *** chopin has joined #openmrs
03:03:40 *** chopin has quit IRC
03:11:42 *** upul` has joined #openmrs
03:11:42 *** ChanServ sets mode: +v upul`
03:12:31 <upul`> hmm only 3
03:33:24 *** djazayeri has joined #openmrs
03:33:24 *** ChanServ sets mode: +o djazayeri
04:34:06 *** djazayeri has quit IRC
04:35:00 *** surangak has joined #openmrs
04:41:57 *** surangak_ has joined #openmrs
04:42:59 *** surangak has quit IRC
04:58:36 *** djazayeri has joined #openmrs
04:58:36 *** ChanServ sets mode: +o djazayeri
05:06:49 *** djazayeri has quit IRC
05:07:42 *** finbrein has joined #openmrs
05:07:44 *** djazayeri has joined #openmrs
05:07:44 *** ChanServ sets mode: +o djazayeri
06:10:41 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (obs-codes-expanded): Fix for complexObsValue.tag class- works better with basic handlers <http://feedproxy.google.com/~r/OMRStrunk/~3/aJZwPiytnEs/OpenMRS>
06:19:00 *** rafa has joined #openmrs
06:19:00 *** ChanServ sets mode: +v rafa
06:35:17 *** bwolfe has quit IRC
06:39:08 *** bwolfe has joined #openmrs
06:39:08 *** ChanServ sets mode: +o bwolfe
06:42:00 *** dkayiwa has joined #openmrs
06:42:07 <bwolfe> mornin' rafa, dkayiwa
06:42:13 <bwolfe> how was the holiday rafal?
06:42:19 <dkayiwa> morning bwolfe
06:53:17 *** magoo has joined #openmrs
06:55:58 *** rafa has quit IRC
06:56:50 *** rafa has joined #openmrs
06:56:50 *** ChanServ sets mode: +v rafa
07:16:11 *** dkayiwa has quit IRC
07:20:24 *** dkayiwa has joined #openmrs
07:23:19 <finbrein> Is there any Mobile Client for OpenMRS?
07:24:05 <bwolfe> !mobile
07:24:06 <OpenMRSBot> bwolfe: Error: "mobile" is not a valid command.
07:24:15 <bwolfe> hmm
07:24:30 <bwolfe> !learn mobile as https://wiki.openmrs.org/display/docs/Mobile
07:24:30 <OpenMRSBot> bwolfe: The operation succeeded.
07:24:45 <bwolfe> finbrein, there are clients written for several different platforms, see the link above
07:25:19 <dkayiwa> finbrein: what kind of things do you want to do on the mobile?
07:25:56 <finbrein> I was thinking about making an Android Client but seems it's done already.
07:26:38 <dkayiwa> finbrein: you may add what is missing
07:30:52 <finbrein> I am yet to find something to do with the Mobile
07:31:01 <dkayiwa> ok
07:34:11 *** surangak__ has joined #openmrs
07:35:13 *** surangak_ has quit IRC
07:38:20 <bwolfe> finbrein, most mobiles are used for data collection through forms. thats what ODK does pretty well
07:38:36 <bwolfe> finbrein, there there are a few for reviewing patient data, thats where OCK Clinic comes in. :-)
07:39:22 <bwolfe> With only 30 seconds of brainstorming here, I can't think of something else that would be needed...but I also don't work in a clinic or a field to know what would help
07:40:08 <finbrein> ok, i have to look for something else
07:40:28 <finbrein> apart from the mobile
07:49:03 <dkayiwa> finbrein: how about a client for the iphone?
07:49:53 <bwolfe> I don't know of one. iphones are too expensive to get to use as a client in developing countries...and its an inferior product ;-)
07:49:57 <finbrein> I'd like to do that but I don't have a resource for building a native iphone app
07:50:08 <finbrein> i mean a Mac machine
07:50:13 <bwolfe> yeah, you need a mac and their software
07:50:18 <dkayiwa> sure
07:50:18 <finbrein> and IPhone to test it
07:50:21 <bwolfe> its a good way for apple to sell more machines!
07:50:25 <bwolfe> (and phones)
07:50:28 <dkayiwa> hahahahah
07:50:45 <bwolfe> although I think theres an emulator in their sdk, so you might be able to skip buying an iphone
07:50:55 <dkayiwa> correct
07:51:38 <finbrein> alternative is to use Appcelerator Titanium Cross Platform Framework or Phone Gap but I prefer native app than using Javascript
07:52:21 <dkayiwa> ok
07:52:52 <finbrein> i don't have a very good answer right now but what can be done for now is the use of Javascript to make the client
07:53:14 <finbrein> later when i have those resources, then i can make a native app
07:58:47 *** finbrein has quit IRC
07:59:16 *** finbrein has joined #openmrs
08:08:46 *** pascal` has joined #openmrs
08:11:31 *** bryq has joined #openmrs
08:11:31 *** ChanServ sets mode: +v bryq
08:13:15 *** pascal` has quit IRC
08:14:56 *** pascal` has joined #openmrs
08:15:42 <finbrein> BWolfe - Let me know what you think about a project.
08:16:02 <bwolfe> on the iphone, or just anything in general?
08:18:25 <dkayiwa> finbrein: another option is ask the user/implementers list and see what they would love
08:19:05 <finbrein> iphone in particular and anything else that is available
08:19:12 <bwolfe> http://projects.openmrs.org has some
08:19:19 <bwolfe> (nothing for iphone though)
08:19:19 <finbrein> ok
08:19:27 <finbrein> no problem
08:20:11 <finbrein> I'm checking out the unassigned projects
08:23:07 <finbrein> I'll let you know the one I am going to choose as soon as I have some idea how to go about
08:23:12 <finbrein> one question,
08:23:45 <finbrein> Do I need to download the entire codebase for OpenMRS in other to include an new application
08:23:58 <finbrein> Another question
08:24:10 <finbrein> Do you test before or after the project?
08:26:01 <bwolfe> testing should be during
08:26:19 <bwolfe> and if you're just making a module you can just run against any running openmrs
08:27:43 <finbrein> i understand what to do with the testing
08:28:34 <finbrein> but the codebase and where to download it. maybe i have to find the information on the OpenMRS website myself if it is okay for you.
08:28:49 <finbrein> I know you have good documentation
08:32:50 <bwolfe> !gettingstarted
08:32:51 <OpenMRSBot> bwolfe: "gettingstarted" --- You might want to look at !overview, !techtalk, and !projects
08:33:00 <bwolfe> hmm, that needs updated
08:33:04 <bwolfe> !developers
08:33:05 <OpenMRSBot> bwolfe: "developers" --- http://openmrs.org/wiki/Developers
08:33:12 <bwolfe> ooo, also needs updated!
08:33:27 <bwolfe> !getinvolved
08:33:28 <OpenMRSBot> bwolfe: Error: "getinvolved" is not a valid command.
08:33:49 <bwolfe> !forget gettingstarted
08:33:49 <OpenMRSBot> bwolfe: The operation succeeded.
08:33:57 <bwolfe> !learn gettingstarted as https://wiki.openmrs.org/display/docs/Getting+Started+as+a+Developer
08:33:57 <OpenMRSBot> bwolfe: The operation succeeded.
08:34:21 <finbrein> ok
08:34:45 <finbrein> Actually, I have been attending the developer meetings
08:34:49 <finbrein> weekly
08:34:50 <bwolfe> dkayiwa, you picked up another ticket? you now have 5 assigned to you! https://tickets.openmrs.org/secure/Dashboard.jspa?selectPageId=10353
08:34:57 <OpenMRSBot> <http://ln-s.net/933:> (at tickets.openmrs.org)
08:35:21 <bwolfe> ah, did a whois. I was wondering who Michael Aro was. :-)
08:35:30 <bwolfe> did you introduce yourself on a call that I missed?
08:35:45 <bwolfe> whats your location, goals, background, interest, etc?
08:36:25 <finbrein> Yeah, I am Michael Aro
08:36:37 <finbrein> Helsink, Finland
08:37:16 <bwolfe> cool, brb, need to grab a bite
08:37:34 <finbrein> Java, C, C++, JUnit, Android, Android JUnit, etc are my interest
08:37:40 <finbrein> interests
08:37:47 <finbrein> When you are back
08:39:49 <dkayiwa> bwolfe: sorry i had stepped off my computer for a cup of milk :)
08:41:59 *** muthah has joined #openmrs
08:51:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: PostgreSQL instead of MySQL? <http://forum.openmrs.org/viewtopic.php?f=11&t=804#p3034> || OpenMRS Forum: PostgreSQL instead of MySQL? <http://forum.openmrs.org/viewtopic.php?f=11&t=804#p3033>
09:11:11 <dkayiwa> hi bwolfe
09:25:02 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Default Cursor Placement on the Manage Users Screen - TRUNK-2512 ... <http://feedproxy.google.com/~r/OMRStrunk/~3/05py9lEOYys/OpenMRS>
10:11:53 <magoo> dkayiwa what version of eclipse a you using
10:15:13 <dkayiwa> morning magoo
10:15:16 <dkayiwa> am using helios
10:16:04 <magoo> sorry i did not greet you
10:16:09 <magoo> am fine
10:16:19 <dkayiwa> no problem durgam :)
10:16:37 <magoo> is there a difference between indigo and helios
10:16:55 <dkayiwa> never used indigo
10:17:57 <magoo> am using indigo
10:19:24 <magoo> maybe i should change to helios
10:20:29 <dkayiwa> maybe
10:31:13 <dkayiwa> hi bwolfe
10:41:50 <magoo> dkayiwa if i down Eclipse IDE for Java Developers is it okay or i download Eclipse IDE for Java EE Developers they are both eclipse helios
10:42:21 <dkayiwa> i prefer EE
10:42:45 <magoo> dkayiwa thx
10:44:20 *** rcrichton has joined #openmrs
10:44:20 *** ChanServ sets mode: +v rcrichton
10:45:09 <finbrein> Indigo is the current IDE. It has the version number 3.7
10:45:27 <finbrein> While Helios was the previous one with the version 3.6
10:45:38 <finbrein> Both will work just fine.
10:47:06 <finbrein> And for a Web Application, I believe Eclipse IDE for Java EE Developers is preferred
10:48:10 <magoo> finbrein its okay to use indigo
10:48:18 <finbrein> Absolutely
10:48:28 <surangak__> eclipse ppl r very good with putting names, arnt they :)
10:49:25 <finbrein> Not only Eclipse, other commercial and non-commerical give names and version numbers for their software releases
10:49:51 <finbrein> Just to show the difference between one version and the next
10:50:46 <finbrein> How would we know that new features have been added and bugs corrected?
10:52:57 <dkayiwa> or even new bugs introduced :)
10:54:48 <surangak__> :D
10:55:00 <surangak__> i meant that they r very good with comming up with new names
10:55:00 <finbrein> lolz dkayiwa
10:55:10 <finbrein> Ha, OK
10:55:14 <dkayiwa> :)
11:22:15 *** james_regen has joined #openmrs
11:22:15 *** ChanServ sets mode: +v james_regen
11:40:32 *** upul` has quit IRC
11:41:38 <bwolfe> finbrein, hey sorry, am back now (finally). what brings you to openmrs?
11:42:55 <finbrein> I wanted to better projects more advanced than classroom assignments and projects
11:43:20 <finbrein> I wanted to work on more advanced projects
11:43:21 <bwolfe> ah, a good goal. :-) so you're in university right now?
11:43:28 <finbrein> Yes,
11:44:34 <finbrein> remember I asked you several questions when I was about to attend an interview for a job in may/june this year
11:44:46 <finbrein> I got a job as an intern
11:45:07 <bwolfe> dkayiwa, do you have close/approve permissions on the occ jira project?
11:45:23 <dkayiwa> not on those tickets bwolfe
11:45:27 <finbrein> You gave some advice here in IRC. Likewise Michael Downey
11:45:38 <bwolfe> finbrein, hmm, I vaguely remember, sorry, I do a lot of chatting. :-)
11:45:55 <bwolfe> congrats on the internship though! always nice to hear of good outcomes
11:46:11 <bwolfe> (people tend to never report back when something finally works, just when more problems come up)
11:46:18 <bwolfe> dkayiwa, grr
11:46:25 <finbrein> I didn't get GSoC though with OpenmRS but I still want to contribute to the project somehow
11:46:29 <dkayiwa> 9.9
11:53:13 <finbrein> I'm currently at work but when I'm done for the day, I'll check the different unassigned projects carefully. I'll let you know.
11:59:21 <bwolfe> finbrein, very cool. and sorry about gsoc :-/
12:00:50 <finbrein> I thought I wasn't ready at the time based on what others have done or being doing.
12:05:17 <bwolfe> we have a wide range of students usually
12:05:33 <bwolfe> this year is on the higher end, I think we got lucky with almost all of them
12:10:07 <finbrein> They have done very well. Being following the presentations.
12:11:43 <bwolfe> dkayiwa, are you sure you can't close them? you know you can't close a ticket until its associated review is closed, right?
12:13:33 <dkayiwa> bwolfe: i see no close button or menu
12:14:08 <bwolfe> weird
12:14:13 <bwolfe> which ticket are you looking at?
12:14:31 <dkayiwa> to close?
12:14:56 <bwolfe> yeah
12:14:57 <bwolfe> which ticket?
12:16:19 <dkayiwa> for instance https://tickets.openmrs.org/browse/OCC-57
12:17:51 <bwolfe> strange, one of the groups must be misconfigured. I added you manually. refresh and you should see it
12:18:33 <dkayiwa> ok
12:25:22 <magoo> dkayiwa finally i have managed to download the basic module
12:25:49 <bwolfe> dkayiwa, success?
12:27:20 <bwolfe> hmm, dkayiwa disappeared
12:27:47 <bwolfe> ah ha, seems it was a success dkayiwa, I just got the emails that the tickets are closed. :-)
12:32:47 <dkayiwa> :D
12:36:07 *** gbastien has joined #openmrs
12:39:28 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (1.6.x): TRUNK-2519: NPE in Drug equals ... <http://feedproxy.google.com/~r/OMRStrunk/~3/Fq8qkwNKqF0/OpenMRS> || New Changeset: OpenMRS (1.7.x): TRUNK-2519: NPE in Drug equals ... <http://feedproxy.google.com/~r/OMRStrunk/~3/P6mlnhR1v8U/OpenMRS>
12:55:21 *** wyclif has joined #openmrs
12:58:45 <magoo> dkayiwa those are the messages i get http://pastebin.com/hihJLT6K
13:00:06 <dkayiwa> magoo do you have the jdk set under window-preferences installed jres?
13:01:32 <magoo> i have forgetten the procdure i go to windows preference then..
13:02:08 <dkayiwa> Java - installed jres
13:05:07 <magoo> dkayiwa i have changed the path
13:05:25 <dkayiwa> then try again
13:10:55 <magoo> dkayiwa i'm getting this message http://pastebin.com/gtmYFMUy
13:12:38 *** dkayiwa has quit IRC
13:19:01 *** dkayiwa has joined #openmrs
13:23:06 <finbrein> Which OS are you suing magoo?
13:23:10 <finbrein> using
13:23:49 <magoo> win xp service pack 2
13:24:16 <finbrein> Have you set the path variables?
13:24:34 <magoo> for jdk
13:24:39 <finbrein> yes
13:24:50 <magoo> yes i have set
13:24:51 <finbrein> for the JDK
13:25:19 <finbrein> JDK contains JRE by default
13:26:56 <finbrein> Do you have this instruction : https://wiki.openmrs.org/display/docs/Step+by+Step+Installation+for+Developers
13:26:57 <OpenMRSBot> <http://ln-s.net/8_PW> (at wiki.openmrs.org)
13:27:38 <finbrein> Maven: https://wiki.openmrs.org/display/docs/Maven
13:27:39 <magoo> finbrein you are talking about setting path variables under windows environment?
13:28:03 <finbrein> OK, yeah because the first link I sent contains the instruction
13:29:10 <finbrein> Sorry, it is not complete but check where the Java is installed under your Program Files folder
13:29:30 <finbrein> I guess you have a 32-bit OS
13:29:50 <magoo> ya its a 32-bit OS
13:30:19 <finbrein> C:\Program Files\Java\Jdk...
13:30:43 <finbrein> can you see it?
13:31:57 <magoo> ya i can see it
13:32:25 <finbrein> If you right click on My Computer
13:32:40 <finbrein> select properties form the Context Menu
13:33:00 <finbrein> Go to Environment Variables
13:33:06 <finbrein> Are you there?
13:33:15 <magoo> yes am there
13:33:38 <finbrein> Click on the New... Button
13:34:10 <magoo> i have clicked new button
13:34:41 <finbrein> Under variable Name: Type -> JAVA_HOME
13:35:15 <magoo> finished
13:35:21 <finbrein> no
13:35:34 <finbrein> can you go to C:\Program Files\Java\Jdk...
13:35:48 <finbrein> copy the path to the JDK
13:35:54 <magoo> im there
13:36:00 <finbrein> you paste it here to see first
13:36:23 <magoo> i have pasted
13:36:41 <finbrein> paste it here
13:36:51 <finbrein> i just want to see
13:37:36 <magoo> see what?
13:37:45 <finbrein> the path
13:38:13 *** aja has joined #openmrs
13:38:21 <magoo> F:\Program Files\Java\jdk1.7.0
13:38:42 <finbrein> ok, paste it in the field for value
13:38:49 <finbrein> click OK
13:38:58 <magoo> i have done it
13:39:24 <finbrein> inside jdk1.7.0, there is a bin folder
13:39:35 <magoo> yes
13:39:35 <finbrein> copy to that bin
13:39:53 <finbrein> under environment variables, there is path
13:40:00 <finbrein> double click on path
13:40:39 <finbrein> Under system variables actually
13:40:51 <finbrein> Double click on the "Path"
13:41:03 <magoo> i have double clicked
13:41:07 <finbrein> can you paste the path to the bin folder here
13:41:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Synchronization 0.972 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=sync&ampversion=&amp0.972>
13:42:23 <magoo> i have pasted
13:42:30 <finbrein> here
13:42:39 *** bwolfe has quit IRC
13:43:04 <magoo> F:\Program Files\java\jdk1.7.0\bin
13:44:05 <finbrein> ;F:\Program Files\java\jdk1.7.0\bin
13:44:41 <magoo> should i add a semi colon infront F:
13:45:24 <finbrein> just copy what i pasted over there to the end of the entries in the path
13:45:43 <finbrein> copy this to the box for path ;F:\Program Files\java\jdk1.7.0\bin
13:45:55 <finbrein> at the end of it and click OK
13:45:58 <magoo> i have done so
13:46:15 <finbrein> click ok
13:46:33 <magoo> i have clicked
13:46:50 <finbrein> what else do you want to do
13:47:14 <magoo> should i rebuild my basicmodule
13:48:50 <finbrein> have you being following the instruction here >>> https://wiki.openmrs.org/display/docs/Step+by+Step+Installation+for+Developers
13:48:51 <OpenMRSBot> <http://ln-s.net/8_PW> (at wiki.openmrs.org)
13:49:00 *** downeym has joined #openmrs
13:49:00 *** ChanServ sets mode: +o downeym
13:49:00 *** OpenMRSBot sets mode: +o downeym
13:49:01 <magoo> yes
13:51:06 <finbrein> Well I have not tried to install but I guess you should not have too much issues
13:51:46 <finbrein> Do you MySQL installed+
13:51:49 <finbrein> ?
13:52:30 <magoo> yes
13:55:06 *** rafa has quit IRC
13:56:19 *** bwolfe has joined #openmrs
13:56:19 *** ChanServ sets mode: +o bwolfe
13:56:24 <finbrein> What about the Eclipse plugins?
13:56:56 *** rafa has joined #openmrs
13:56:56 *** ChanServ sets mode: +v rafa
13:58:53 <finbrein> Very important
13:59:47 <magoo> finbrein thx
14:00:16 *** aja has quit IRC
14:04:29 *** muthah has quit IRC
14:07:42 <rafa> hey guys!
14:08:01 <rafa> djazayeri, bwolfe, dkayiwa, wyclif shall we scrum?
14:08:27 <wyclif> sure
14:08:48 <rafa> ohh Ben is stucked in a traffic jam
14:09:16 *** magoo has quit IRC
14:09:40 <dkayiwa> oh sorr
14:09:42 <dkayiwa> y
14:11:16 <djazayeri> hi
14:13:48 <djazayeri> question about how OCC is working now
14:15:54 <wyclif> ?
14:15:56 <djazayeri> When I upload a concept to OCC, the XML includes the concept class, datatype, answers, etc.
14:16:08 <wyclif> right
14:16:11 <djazayeri> If you download that concept, which of those things get created locally for you?
14:20:27 <wyclif> hmmm
14:20:53 <wyclif> when you upload or download?
14:21:11 <wyclif> when you upload nothing gets created locally
14:21:20 <wyclif> everything gets created on the server
14:21:26 <djazayeri> I mean person A uploads a concept and person B downloads it.
14:21:42 <djazayeri> Does this potentially create a new ConceptClass for person B?
14:22:33 <djazayeri> Also, if person A uploads a concept with 5 answers, and person B downloads it, do they get (1) 6 concepts, (2) 1 + whichever of the 5 answers they don't already have, or (3) failure?
14:25:08 <wyclif> hmm
14:25:26 <wyclif> i have tested these
14:25:43 <wyclif> but i guess concept classs names are unique
14:26:10 <wyclif> so i wouldn't expect a duplicate concept class to get created for person B
14:26:17 <wyclif> unless they didn't have it
14:26:55 <wyclif> however in core we have a couple of unique and not null constraints that are not enforced
14:27:08 <wyclif> this would be the only concern
14:27:23 <wyclif> sorry! i haven't tested these scenarios
14:27:35 <djazayeri> yeah, i'm just wondering how this works
14:27:49 <wyclif> but it would be good to test
14:27:49 <djazayeri> in Metadata Sharing we explicitly model the idea of "dependent metadata"
14:28:06 <djazayeri> whereas OCC doesn't really talk about it.
14:28:08 <wyclif> i added some test datasets to simulate uploading
14:28:12 <wyclif> i will add tests for these
14:28:57 <wyclif> djazayeri, i feel like has alot things am not sure how they work and i believe a couple of then might be messy
14:31:11 <djazayeri> indeed
14:32:59 <wyclif> sorry about the typos
14:38:17 <bwolfe> djazayeri, occ uses xstream to do the dependencies
14:38:49 <bwolfe> and on download concepts can be mapped to others you already have. I think datatypes and classes are matched solely on name
14:38:49 <djazayeri> you mean it uses the serialization.xstream module?
14:38:53 <djazayeri> so it's uuid-based?
14:39:55 *** ajanthan has joined #openmrs
14:40:06 <downeym> Hi ajanthan and welcome to the #openmrs IRC channel.
14:40:59 <djazayeri> (sorry, I mean that matching concept-answers to things you already have is uuid-based?)
14:41:10 <djazayeri> bwolfe, wyclif, dkayiwa, rafa: scrum time?
14:41:40 <bwolfe> it matches on uuid, then name, then other mappings. the last two require you to manually say in the confirmation step that they are the same
14:41:44 <bwolfe> yeah, lets go
14:43:15 <bwolfe> djazayeri, you ready?
14:44:39 <djazayeri> Friday: worked on OCC-56 (ability to export concepts in 1.6 format). Mostly this involved installing the MVP dictionary, getting databases running in 1.6 and 1.7, adding a test page to export just specific concepts, and staring at the screen.
14:45:16 <djazayeri> Also: went through a couple XSLT tutorials on the web, and failed to figure out how to use XSLT to solve the problem.
14:45:38 <ajanthan> bwolfe: Hi ,I created a review for updated work on smartplatform module here https://source.openmrs.org/cru/CR-MOD-259
14:45:41 <djazayeri> Today: continue working on that concept. Probably use regular XML processing in java rather than XSLT.
14:46:06 *** finbrein has quit IRC
14:46:08 <bwolfe> djazayeri, how' that 'staring at the screen' go?
14:46:09 <djazayeri> Blockers: I can't figure out how to do something I thought would be trivial in XSLT. I'd appreciate a pointer to how to do this.
14:46:30 <bwolfe> thanks ajanthan
14:46:40 <djazayeri> we can discuss after others have given their updates though.
14:46:42 <bwolfe> djazayeri, burke is the xslt maven
14:46:51 <djazayeri> yes, I'm composing an email to him in the other window.
14:47:07 <bwolfe> djazayeri, I know just enough xslt to be dangerous, but can stumble through edits usually :-)
14:47:10 <bwolfe> perfect
14:47:25 <bwolfe> be sure to put xslt and occ in the subject, should get back to you quick then
14:47:59 <bwolfe> ok, wyclif?
14:48:03 <bwolfe> ready to give your update?
14:48:46 <wyclif> friday:
14:48:46 <wyclif> * OCC-69
14:48:46 <wyclif> * OCC-70
14:48:46 <wyclif> * had a skype call with GSoc Student
14:48:46 <wyclif> today:
14:48:47 <wyclif> * finish up OCC-69
14:48:49 <wyclif> * work on new sprnt tickets
14:50:07 <wyclif> but am still not decided onsomething for occ-70
14:50:49 <bwolfe> !OCC-69
14:50:50 <OpenMRSBot> bwolfe: Error: "OCC-69" is not a valid command.
14:50:57 <bwolfe> !ticket OCC-69
14:50:58 <OpenMRSBot> bwolfe: [#OCC-69] Make sure concepts are linked that were initially downloaded - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-69
14:51:13 <bwolfe> !ticket OCC-70
14:51:14 <OpenMRSBot> bwolfe: [#OCC-70] Change way concepts are linked in occ server - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-70
14:51:25 <bwolfe> whats the holdup on 70 wyclif?
14:52:33 <wyclif> so the question is:
14:53:39 <wyclif> what happens to the link_type column when i add similar concepts to a another?
14:53:56 <bwolfe> we're dropping the link_type column. I updated the ticket
14:54:26 <wyclif> this is exactly what i wanted to hear
14:54:27 <bwolfe> this was discussed on the design review call that you only half listened to ;-)
14:54:45 <wyclif> and this the reason i was waiting to commit the code
14:54:59 <bwolfe> but its done otherwise?
14:55:14 <wyclif> yes
14:55:18 <bwolfe> wyclif, please re-read the description before committing so you make sure you're adhering to the new way of linking
14:55:24 <wyclif> ok
14:56:29 <bwolfe> good news dkayiwa and rafa, I just realized you were never added to the "jira-trunk-approvers" group. I just added you both, so now you should have all kinds of permissions in jira projects :-)
14:57:26 *** surangak__ has quit IRC
14:57:54 <rafa> bwolfe: interesting, I thought everything was working fine for me.
14:58:23 <rafa> bwolfe: i.e. I didn't miss any permission
14:59:08 <bwolfe> hmm, ok, well, enjoy the new benefits anyway. :-)
14:59:34 <bwolfe> you might have been added manually to some projects, so perhaps it really only affects the last few sprint projects
15:00:16 <rafa> bwolfe: cool, thanks then ;)
15:01:02 <bwolfe> ok wyclif, any other blockers?
15:02:06 <wyclif> not really
15:02:14 <bwolfe> rafa, you're up
15:02:15 <wyclif> oh!
15:02:17 <bwolfe> "not really" ?
15:02:22 <bwolfe> rafa, please hold
15:02:40 <bwolfe> dkayiwa, you prepped?
15:02:49 <dkayiwa> meaning?
15:02:56 <wyclif> when finding duplicate concepts, should i also check the mappings
15:03:07 <wyclif> i discussed with djazayeri on friday
15:03:22 *** rcrichton has quit IRC
15:03:43 <wyclif> but i wanted to let you know just in case
15:03:53 <djazayeri> bwolfe: is it documented anywhere (e.g. in a ticket) what we consider to be "identical concepts" if they're uploaded to OCC?
15:04:02 <djazayeri> (in this first pass)
15:04:06 <bwolfe> wyclif, for what ticket and what workflow?
15:04:40 <bwolfe> djazayeri, I can't think of any place I wrote it out. I was just assuming it'd be uuid only
15:04:51 <bwolfe> but I suppose some of the sources could cause it too
15:04:53 <wyclif> !ticket occ-69
15:04:54 <OpenMRSBot> wyclif: [#OCC-69] Make sure concepts are linked that were initially downloaded - OpenMRS JIRA - https://tickets.openmrs.org/browse/occ-69
15:04:58 <djazayeri> huh?
15:04:58 <bwolfe> SNOMED? LOINC? ICD-9/10 ?
15:05:10 <bwolfe> are you talking upload or download?
15:05:27 <wyclif> upload
15:05:30 <bwolfe> if its just with linking that were initially downloaded, uuid+source ONLY
15:05:38 <wyclif> to determine similar concepts to link
15:05:44 <djazayeri> You mean that if you and I both upload the exact same "weight in kg" concept from the demo dictionary, the will not be considered identical in the first pass, since they have different uuids?
15:06:03 <wyclif> and i think these concepts need to get linked as similar
15:06:07 <djazayeri> even though everything else is the same?
15:06:13 <wyclif> and not matched as exact
15:06:48 <bwolfe> hmm, I thought the rows on the server were created when it was first downloaded...but the user might reject some, so we can't do that
15:07:15 <wyclif> so bwolfe, with occ-69 what are trying to achieve?
15:07:27 <bwolfe> so we have to match on the other table that says who we initially downloaded from
15:08:22 <bwolfe> wyclif, when I made that I was thinking we'd do the mapping and server storage a little differently.
15:08:30 <wyclif> is it avoiding duplicates on the server?
15:08:59 <wyclif> or re uploading an already uploaded concept
15:09:06 <wyclif> or just to link concepts
15:09:53 <bwolfe> wyclif, if we're not creating the row on the server at download time, then the ticket makes less sense. I was meaning just matching to the concept for that source that downloaded it.
15:09:57 <wyclif> so my code as it stands, when i find duplicates i mark them as similar
15:10:22 <bwolfe> hmm
15:10:59 <bwolfe> but we will be recording who it was downloaded from at the module side. so we know who it was copied from
15:11:01 <wyclif> i.e when the server is analysing the uploaded file
15:11:11 <bwolfe> and if the date_changed is null, we know they didn't modify it
15:11:27 <bwolfe> we need those to be exact linkages
15:11:44 <wyclif> let me let others give their updates and we talk about this after
15:11:55 <bwolfe> ok
15:12:00 <bwolfe> rafa, go
15:12:14 <rafa> Last week:
15:12:14 <rafa> * Travelled 3200 km by car through the Baltic states :)
15:12:14 <rafa> Today:
15:12:14 <rafa> * Fixed the outstanding WS ticket TRUNK-2206: Displaying HTML-formatted versions of standard objects should be done via fragments instead of via UiUtils.format()
15:12:14 <rafa> https://tickets.openmrs.org/browse/TRUNK-2206
15:12:15 <rafa> * Replied to e-mails from the last week
15:12:15 <rafa> * Code-reviews in MDS
15:12:16 <rafa> * META-111: Trouble importing a Concept due to nulled importType
15:12:16 <rafa> https://tickets.openmrs.org/browse/META-111
15:12:17 <rafa> * META-116: Each item import should have a log.info level message right before save giving info on what item is about to be saved
15:12:17 <rafa> https://tickets.openmrs.org/browse/META-116
15:12:18 <rafa> * TRUNK-2519: NPE in Drug equals
15:12:18 <rafa> https://tickets.openmrs.org/browse/TRUNK-2519
15:12:19 <rafa> * Assessed other MDS issues
15:12:19 <rafa> * Checked out OCC
15:12:20 <rafa> Tomorrow:
15:12:20 <rafa> * Will work on some OCC tickets
15:12:21 <rafa> No blockers.
15:12:30 <bwolfe> (I'm getting summoned to the family at the dinner table, so wyclif, we can chat about it in a few hours? do you have other work in hte mean time?)
15:13:00 <bwolfe> rafa, you mean UI, not ws?
15:13:10 <rafa> sorry, ui
15:13:53 <bwolfe> rafa, I'd assume you want to spend <20% of time on MDS, so try not to get overtaken with bug fixes, features, etc
15:14:00 <bwolfe> ok, dkayiwa?
15:14:14 <dkayiwa> Reviwed my GSOC student's code
15:14:15 <dkayiwa> Addressed comments on my old ticket and closed them.
15:14:15 <dkayiwa> Working on Add implementation id authentication check - OCC-77
15:14:16 <dkayiwa> And OCC search should be triggered from any field when creating concept - OCC-68
15:14:41 *** finbrein has joined #openmrs
15:14:46 <dkayiwa> no blockers
15:15:18 <bwolfe> ok, that was a nice quick finish
15:15:28 <dkayiwa> :)
15:15:31 <bwolfe> wyclif, do you want to chat now for 2 mins or in 2 hours for 30 mins? :-)
15:15:49 *** asgoyal has joined #openmrs
15:16:20 <bwolfe> ok, assuming its in 2 hours because the 2 mins are up now
15:16:21 <bwolfe> bbl
15:16:26 <bwolfe> wait
15:16:28 <bwolfe> my update
15:16:36 *** jportela has joined #openmrs
15:16:36 *** ChanServ sets mode: +v jportela
15:16:37 <bwolfe> today:
15:16:37 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: How should we handle #OpenMRS patch submissions? Issue tracker, code review, something else? Add your opinion: http://bit.ly/rgNh4B <http://twitter.com/OpenMRS/statuses/100574834441986048>
15:16:38 <bwolfe> occ reviews
15:16:38 <bwolfe> one trunk ticket applied
15:16:38 <bwolfe> lunch with paul
15:16:38 <bwolfe> emails
15:16:38 <bwolfe> sync minor release
15:16:42 <bwolfe> occ server setup
15:16:44 <bwolfe> tomorrow:
15:16:46 <bwolfe> upload concepts to occ? (if I get the ITSM fixes I need)
15:16:48 <bwolfe> ampath dev time
15:16:50 <bwolfe> occ reviews
15:16:54 <bwolfe> no blockers
15:16:57 <wyclif> hmm
15:17:09 <wyclif> may be now for 5min
15:17:16 <bwolfe> too late, dinner is cold
15:17:19 <bwolfe> bbl
15:17:22 <wyclif> ok
15:17:31 <wyclif> 2hrs later
15:17:40 <wyclif> for 30min
15:17:42 <wyclif> or less
15:17:51 <djazayeri> So, I have a question about XSLT.
15:18:22 <djazayeri> I assume it's pretty simple, but I haven't been able to find the solution
15:18:48 <djazayeri> Actually, it's exactly the question I emailed to the dev list.
15:19:16 <djazayeri> but basically, I want to pass through most source XML unchanged, except if I find tag A that has tag B as a child.
15:19:19 <djazayeri> how do I do that?
15:20:51 *** gbastien has quit IRC
15:34:43 <bwolfe> wyclifbeep
15:35:26 <bwolfe> beep
15:35:28 *** ajanthan has left #openmrs
15:35:30 <bwolfe> beep
15:35:46 *** judy has joined #openmrs
15:35:51 <judy> hey daniel
15:35:52 <downeym> Hi judy and welcome to the #openmrs IRC channel.
15:36:11 <dkayiwa> hey judy
15:36:24 <judy> i am lloking to understand how you coded for teh openmrs standalone?
15:36:29 <judy> looking
15:36:32 *** bwolfe has quit IRC
15:36:36 <judy> the process
15:36:46 <dkayiwa> ok
15:36:55 *** bwolfe has joined #openmrs
15:36:55 *** ChanServ sets mode: +o bwolfe
15:37:20 <bwolfe> wyclif, I stole a few minutes away.
15:37:36 <bwolfe> wyclif, what we need is for those to be exactly linked when reconnected with the server
15:37:47 <judy> and also to understand how i would be able to add a concept dictionary and package it as a stand alone.
15:37:53 <dkayiwa> ok
15:37:57 <bwolfe> this might mean changing the payload sent back to the occ server somehow to tell it which one it should be connected to
15:37:58 <judy> actually these are the 2 use cases
15:38:20 <dkayiwa> ok
15:38:42 <bwolfe> wyclif, so figure out how to not get them linked similarly if no edits have been done
15:38:42 <judy> 1. i want to add teh concept dictionary by MVp ...and create forms based on this dictionary, the whole end product i want to package it as a standalone
15:38:46 <djazayeri> bwolfe: when we discussed it friday I told him that the source was actually irrelevant, and he should match on the fact that the concepts are identical. (Perhaps that's wrong?)
15:39:08 <judy> and i can send someone teh zip file to run teh application...
15:39:11 <bwolfe> if all fields can be compared easily, then yes, do that
15:39:38 <bwolfe> if thats tedious, then it might be easier to have the module tell the server which one it should be connected to
15:39:55 <judy> 2nd case is what if i craeted an omod, with concepts and several modules working together, how do i just package it in one standalone
15:40:05 <judy> and i can send it to someone else...?
15:41:06 <dkayiwa> so judy
15:41:26 <dkayiwa> you can start by downloading any existing standalone distribution
15:42:10 <dkayiwa> then run it, and update its concept dictionary to the mvp one
15:42:28 <judy> aha...
15:42:45 <judy> let me try that
15:42:53 <judy> does that go for all teh other use cases?
15:43:13 <judy> still how did you do it?
15:43:13 <wyclif> hi bwolfe
15:43:17 <dkayiwa> judy, if you have any modules that you want to package, you can just put the .omod under appdata/modules
15:43:21 <judy> am just looking to understand the process
15:43:32 <bwolfe> dkayiwa / judy, be sure to update the docs when done with this. there will certainly be others wanting to make distributions of openmrs like this
15:43:51 <bwolfe> wyclif, seriously, you're just now seeing the notifcations? :-/
15:44:19 <judy> will do..
15:45:06 <dkayiwa> so judy putting .omod files under appdata/modules should handle your second case. not so?
15:45:25 <judy> yes
15:45:40 <judy> does taht go for forms?
15:45:56 <wyclif> for some reason my icon on the system tray never shows up system on startup
15:46:03 <dkayiwa> judy: as long as the forms are in the database, it will all be bundled together
15:46:06 <wyclif> i have restart it for it to show up
15:46:18 <judy> thanks
15:46:20 <judy> daniel
15:46:29 <bwolfe> wyclif, be sure you're updated to the latest ubuntu. and/or be sure you restart it ;-)
15:46:30 <djazayeri> wyclif: did you see bwolfe's messages?
15:46:33 <djazayeri> (and mine?)
15:46:35 <judy> last qs,....how did you do it...
15:46:44 <judy> i need to understand teh process...
15:46:47 <dkayiwa> judy: not yet done :)
15:46:52 <judy> ?
15:46:54 <judy> daniel?
15:46:54 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Check out the latest version of medical journal @TheLancet to learn how we're saving lives with #HealthIT - http://bit.ly/noOJNh #ICT4D <http://twitter.com/OpenMRS/statuses/100585475827441665> || On Twitter: OpenMRS: RT @gauravpaliwal: @OpenMRS this is now open^open project... #awesome <http://twitter.com/OpenMRS/statuses/100582680361566210>
15:47:17 <wyclif> bwolfe, djazayeri yes i did
15:47:18 <dkayiwa> judy: last step will be deleting a few folders before you zip. will tell you which folders to delete
15:47:28 <bwolfe> wyclif, and is it doable?
15:47:39 <bwolfe> and/or do you understand that you need to find a way to make it doable? :-)
15:47:47 <wyclif> comparing contents vs identifiers?
15:47:50 <dkayiwa> judy: before you run the standalone for the first time, you will need to open its runtime properties file and change this setting:
15:48:24 <dkayiwa> judy: reset_connection_password
15:48:39 <dkayiwa> judy: you need to give it a value of false
15:48:40 <wyclif> checking unique identifiers seems straight forward but it would only work for same source
15:48:53 <judy> why is that?
15:49:05 <wyclif> checking contents would work across the server but more tedious
15:49:19 <bwolfe> wyclif, yes, either compare contents to get the identical ones or have the module send up the concept it should be linked to identically
15:49:28 <dkayiwa> judy: that will ensure that the database user name and password remain openmrs and test respectively
15:50:21 <dkayiwa> judy: for that is what we want to ship to the users
15:50:26 <judy> daniel: but thats not teh current password..
15:50:33 <judy> it is always admin
15:50:35 <wyclif> the module already sends the concept ids, which we right now are not deserialiased
15:50:42 <judy> and openmrs42
15:50:47 <wyclif> though i think we said we are going to change this
15:51:16 <dkayiwa> judy: do you mean the mysql or openmrs web account
15:51:17 <djazayeri> wyclif: if you're going to match by identifier it has to specifically be the source + uuid of the thing that you duplicated.
15:51:26 <wyclif> so id we have a concept on the server with a matching conceptId(i would prefer uuid), then we match them as exact
15:51:36 <wyclif> yes, uuid and source
15:51:50 <judy> when you run the standalone for teh first time...tahst what you use to login
15:52:26 <djazayeri> wyclif: at some point in the future we're going to need to implement the match-by-content.
15:52:36 <judy> After running the standalone jar, it will take you to the OpenMRS log in web page where you can log in with the following default username and password: OpenMRS username: admin OpenMRS password: Admin123 The MySQL database has these credentials by default: MySQL username: openmrs MySQL password: randomly generated at initial startup. Look in openmrs-runtime.properties file under connection.password
15:52:37 <dkayiwa> judy: that should stay username= admin password=Admin123
15:52:43 <djazayeri> wyclif: so, if it's doable that way, you should do it that way
15:52:57 <bwolfe> wyclif, source+conceptId isn't really enough. because an implemetnation might have multiple concepts across databases/installations that have the same uuid+source but have different conceptId+source
15:53:22 <dkayiwa> judy: thats why you need to set the value of reset_connection_password to false because you run for the first time
15:53:23 <djazayeri> wyclif: if that's too much of a pain, you can use source+uuid, which will be good enough for this sprint, but we'll need to replace in the future.
15:53:29 <bwolfe> djazayeri, wyclif: yeah, might as well do the match by content
15:53:29 <wyclif> djazayeri, this goes back to a question i asked you on friday, what this ticket is trying to solve
15:53:34 <judy> ok
15:53:42 <dkayiwa> judy: because = before
15:53:48 <judy> ?
15:53:56 <judy> ok
15:54:06 <bwolfe> source+uuid won't do at all for this djazayeri, because the client gets a new uuid when they download it
15:54:07 <dkayiwa> judy: it ensures that you do not get an autogenerated password for mysql
15:54:12 <judy> what else do i need to change?
15:54:16 <judy> ok
15:54:24 <djazayeri> source+originalUuid, I mean.
15:54:37 <djazayeri> i.e. the thing you stored in the bookkeeping table.
15:54:42 <dkayiwa> judy: the end user of you distribution is the one who needs the autogenerated password but not you who prepares the distribution
15:54:44 <wyclif> let me implement source+originaluuid and create a ticket for matching by content
15:54:53 <bwolfe> right, source+originaluuid is an exact match and a VERY quick solution. yes, using the bookkeeping table (I think I called it something diff)
15:55:00 <bwolfe> wyclif, ok, that works
15:55:11 <djazayeri> wyclif, bwolfe: make sure you think it through first.
15:55:12 <dkayiwa> judy: before you finally zip the distribution, you will need to set the value for reset_connection_password back to true
15:55:19 <judy> ok
15:55:20 <djazayeri> Because it may not be a very quick solution.
15:55:34 <bwolfe> I mean very quick relative to matching on content
15:55:37 <djazayeri> wyclif: since you'll need to find a way to inject this in the xml
15:56:02 <bwolfe> theres a payload at the beginning outside of the serialized concepts that can be used
15:56:07 <djazayeri> I suppose you could add it as a separate top-level element in the occUpload
15:56:12 <wyclif> bwolfe, injecting what in the xml
15:56:14 <bwolfe> could just do a conceptId-->originaluuid mapping
15:56:24 <bwolfe> djazayeri, right
15:56:35 <djazayeri> bwolfe: how about uuid -> source+originalUuid
15:56:44 <bwolfe> even better
15:56:53 <bwolfe> but the conceptids will be unique within an upload too
15:57:06 <djazayeri> yeah, but better not to mess with that.
15:57:07 <djazayeri> just use uuids
15:57:16 *** rafa has quit IRC
15:57:25 <djazayeri> wyclif: if the client is going to tell the OCC server that the concept it's uploading was copied from another concept, it needs to tell it that in the xml package.
15:57:27 <wyclif> djazayeri, bwolfe uuid and source are both sent to the server
15:57:27 <bwolfe> yeah, totally fine with that.
15:57:47 <judy> is that it daniel?
15:57:49 <wyclif> ok
15:57:53 <bwolfe> wyclif, right, but original uuid is not, its a separate storage of data and iwll have to be sent separately
15:58:08 <djazayeri> Okay, so I guess it is a quick fix.
15:58:12 <dkayiwa> judy: i need to tell you the folders to delete
15:58:19 <judy> i am listening..
15:58:20 <bwolfe> djazayeri: :-)
15:58:32 <wyclif> and how does the module know that the concept it is uploading was got from the occ server?
15:58:33 <bwolfe> ok, we have some visitors now. I can't hide anymore
15:58:42 <wyclif> he he he
15:58:48 <bwolfe> wyclif, find the other ticket about that in the sprint
15:58:54 <bwolfe> you might need to finish that one first :-)
15:59:00 <wyclif> ok
15:59:06 <bwolfe> bbl
15:59:13 <wyclif> i now have 3 tickets related to each other
15:59:18 <bwolfe> heh
15:59:22 <bwolfe> they all relate to each other ;-)
15:59:58 <wyclif> let me find it
16:00:25 <djazayeri> wyclif: I'd presume it's in the bookkeeping table. (Not named that)
16:00:50 <dkayiwa> judy: 1) tomcat/work 2) tomcat/logs 3)webapps/openmrs-standalone 4) database/bin 5) database/share
16:01:49 <judy> do you mind exolaining why i will delete this?
16:03:24 <dkayiwa> judy because some will be auto generated and others are just useless
16:04:06 <judy> ok
16:04:29 <wyclif> djazayeri, am foreseeing a problem
16:06:14 <wyclif> when the module downloads a concept from the occ server, it assigns it a new uuid, so it means, we have to find a way of keeping the one from the occ server in the 'bookkeeping' table for later reference
16:06:43 <judy> is that all?
16:06:47 <judy> i have to do?
16:06:55 <dkayiwa> judy yes
16:07:33 <dkayiwa> judy yes you need to zip
16:07:57 <judy> daniel...do you mind sharing just the overall structure of how to create an openmrs standalone
16:08:09 <judy> you used java
16:08:24 *** jportela has left #openmrs
16:09:24 <judy> how did you know what to include and what to leave out..
16:13:58 *** finbrein has quit IRC
16:16:49 <dkayiwa> judy: run out of battery power. let me charge my laptop and get back to you
16:16:59 <judy> ok
16:21:50 <wyclif> djazayeri, i found the ticket, what do you understand by this statement "When you download a concept from the occ, a copy is made in the occ server that is now your local copy"
16:21:51 *** dkayiwa has quit IRC
16:22:19 <wyclif> djazayeri, the ticket is:
16:22:36 <wyclif> !ticket OCC_73
16:22:37 <OpenMRSBot> wyclif: HTTP Error 404: Not Found - https://tickets.openmrs.org/browse/OCC_73
16:22:45 <wyclif> !ticket OCC-73
16:22:46 <OpenMRSBot> wyclif: [#OCC-73] Record original owner of downloaded concepts - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-73
16:23:17 <wyclif> djazayeri, am off for lunch but will read your reply
16:23:32 *** rafa has joined #openmrs
16:23:32 *** ChanServ sets mode: +v rafa
16:27:44 *** wyclif has quit IRC
16:33:38 *** muthah has joined #openmrs
16:39:27 *** jportela has joined #openmrs
16:39:27 *** ChanServ sets mode: +v jportela
16:39:40 <djazayeri> wyclif: I commented on the ticket.
16:43:39 *** finbrein has joined #openmrs
16:45:52 *** rafa has quit IRC
16:46:14 *** cta has joined #openmrs
16:49:44 <cta> hello
16:51:01 *** wyclif has joined #openmrs
16:53:12 *** lh has joined #openmrs
17:08:08 *** Suranga has joined #openmrs
17:25:11 *** diptanuc has joined #openmrs
17:25:20 <diptanuc> Hello Folks!
17:25:47 <diptanuc> Guilty of not hanging out here for a long long long time!
17:26:24 <diptanuc> One quick question: Is it possible to use postgresql and not mysql with OpenMRS?
17:30:55 <diptanuc> Hello wyclif, around?
17:32:31 <wyclif> hi diptanuc
17:33:09 *** rafa has joined #openmrs
17:33:09 *** ChanServ sets mode: +v rafa
17:33:40 <diptanuc> wyclif: Long time! I hope you are doing well.
17:34:58 <wyclif> no problem diptanuc
17:35:21 <wyclif> OpenMRS supports a range of DBs in theory
17:35:42 <wyclif> diptanuc, and postgresql is one of them
17:37:08 <diptanuc> wyclif: Oh i see, but i could not find any documentation on the wiki.
17:37:29 <diptanuc> wyclif: And the installer just asks for mysql password1
17:38:12 <diptanuc> wyclif: Dont feel like installing mysql so late, either it would work with postgres and i fix a bug or i go to bed! :D
17:39:46 <wyclif> diptanuc,
17:39:51 *** muthah has quit IRC
17:40:11 <wyclif> probably we need to change that text becaeuse it is misleading
17:40:24 <wyclif> but you have to change the driver url in the wizard
17:40:40 <diptanuc> wyclif: Oh i see what you are saying
17:40:43 <wyclif> diptanuc, to use the postgresql jdbc driver
17:40:58 <diptanuc> wyclif: Cool man! Thanks
17:41:15 <diptanuc> wyclif: Now give me a ticket which i can fix in an hour
17:41:20 <diptanuc> :D
17:41:22 <wyclif> just a sec?
17:41:39 <wyclif> do you want one in core or in the occ sprint
17:42:02 <diptanuc> Anything is fine
17:42:09 <diptanuc> Whats this occ sprint anyways?
17:42:17 <diptanuc> I have the code in the trunk
17:42:54 <diptanuc> As long as you dont ask me to checkout code from another svn branch I am fine, bcause i am on a slow connection.
17:42:56 <wyclif> let me find you one in trunk then
17:44:01 <wyclif> https://tickets.openmrs.org/browse/TRUNK-2516
17:44:09 <wyclif> https://tickets.openmrs.org/browse/TRUNK-2515
17:44:17 <wyclif> https://tickets.openmrs.org/browse/TRUNK-2511
17:44:23 <diptanuc> Cool. Let me check them out.
17:44:32 <wyclif> all those are small quick fixes
17:44:40 <wyclif> in the core web app
17:44:55 <diptanuc> wyclif: Thanks. I am checking the tickets
17:46:25 <wyclif> trunk-2511 is on the short patient form
17:46:48 <diptanuc> wyclif: Ok, i think i need to add the postgresql jar myself?
17:46:58 <wyclif> i guess
17:47:15 <wyclif> on the wiki pages i think it says so
17:47:20 <diptanuc> wyclif: Why dont we add it in the pom?
17:47:35 <diptanuc> Like how the mysql-connector-java is added
17:47:57 <wyclif> may be
17:48:36 <wyclif> i have no idea why all jar files for supported DBs are not included
17:49:19 <wyclif> but the point for now is that if one wishes to use another DB, they have to change the driver url
17:49:28 <wyclif> and add the jar file to tomcat lib
17:49:57 <wyclif> in theory
17:50:20 <diptanuc> wyclif: Sure, yes. But a developer wont be using tomcat but he would be using jetty
17:50:37 <wyclif> personally i have run openmrs against another DB except MySQL, H2 and HSQL
17:50:51 <diptanuc> wyclif: It needs him to put the jar in the WEB-INF directory. So it is a bit messy.
17:50:58 <wyclif> i agree
17:51:19 <wyclif> sorry! i meant i haven not run
17:51:46 <diptanuc> wyclif: But i guess, its not a big deal! when there are too many devs working on some other db it may be added. But thanks anyways man.
17:52:58 <wyclif> diptanuc, no problem
17:53:04 <wyclif> how is india?
17:54:02 <diptanuc> wyclif: India is good, I am in Pune these days.
17:54:16 *** lh has quit IRC
17:54:28 <wyclif> diptanuc, where is Pune?
17:54:34 <diptanuc> wyclif: Hey you guys should checkout ScalaTest and Specs2
17:55:18 <diptanuc> wyclif: The former plays well with JUnit and is a good DSL for writing unit Test
17:55:37 <wyclif> cool
17:55:37 <diptanuc> wyclif: And specs2 lets you write BDD style tests
17:55:58 <wyclif> diptanuc, sounds interesting
17:56:14 <wyclif> diptanuc, i will look at it
17:56:25 <diptanuc> wyclif: Whats happening in the OpenMRS world thse days? I fractured my thumb and so was out of action. Hows Burke?
17:59:23 <wyclif> diptanuc, sorry about your thumb
17:59:34 <wyclif> diptanuc, burke is good
17:59:48 <wyclif> we nowadays work in sprint
18:00:05 <wyclif> diptanuc, so right now we are working on the occ server aapp and occ module
18:00:34 <diptanuc> wyclif: That's great. I would look up the wiki.
18:01:18 *** Suranga_ has joined #openmrs
18:01:22 *** jportela has quit IRC
18:02:05 <wyclif> diptanuc, ok
18:03:11 *** jportela has joined #openmrs
18:03:11 *** ChanServ sets mode: +v jportela
18:03:15 *** Suranga has quit IRC
18:05:12 *** judy has quit IRC
18:14:08 *** jpirce has joined #openmrs
18:14:15 <downeym> Hi jpirce and welcome to the #openmrs IRC channel.
18:15:00 *** jpirce is now known as jprice
18:16:48 <jprice> hi djazayeri thanks again for your help last week. i have been trying the curl approach you recommended. how can i be sure the OBX value gets into the correct patient's record and how do I see that (what screen ?)
18:18:11 <djazayeri> find patient -> look up that patient by id -> encounters -> look for the encounter matching the PV1
18:19:48 <jprice> thanks. what is PV1 (probably a silly question i know, but I do not know)
18:26:40 *** diptanuc` has joined #openmrs
18:26:55 <downeym> Hi diptanuc` and welcome to the #openmrs IRC channel.
18:29:40 *** diptanuc has quit IRC
18:30:29 *** diptanuc` has quit IRC
18:37:15 *** bryq has quit IRC
18:43:46 *** jwishnie has joined #openmrs
18:54:04 *** bryq has joined #openmrs
18:54:04 *** ChanServ sets mode: +v bryq
18:55:06 *** jwishnie has quit IRC
19:04:55 *** Suranga has joined #openmrs
19:05:23 *** Suranga_ has quit IRC
19:08:21 *** Suranga has quit IRC
19:14:10 *** jwishnie has joined #openmrs
19:21:35 *** wyclif has quit IRC
19:22:45 *** downeym has quit IRC
19:22:55 *** downeym has joined #openmrs
19:22:55 *** OpenMRSBot sets mode: +o downeym
19:22:55 *** ChanServ sets mode: +o downeym
19:27:45 <djazayeri> jprice: I think there's a PV1 in the message you're using right? In any case, if the message is parsed and executed correctly, it will create an encounter for the given patient. That encounter will have a weight.
19:29:49 *** gbastien has joined #openmrs
19:32:34 *** cta has quit IRC
19:34:17 *** wyclif has joined #openmrs
19:42:15 *** jportela has quit IRC
19:43:48 *** rafa has quit IRC
19:46:50 *** lh has joined #openmrs
19:49:52 *** gbastien_ has joined #openmrs
19:50:21 *** gbastien has quit IRC
19:56:09 *** jwishnie has quit IRC
19:56:45 *** dkayiwa has joined #openmrs
20:04:16 *** jwishnie has joined #openmrs
20:07:18 *** muthah has joined #openmrs
20:17:12 *** james_regen has quit IRC
20:18:12 *** finbrein has quit IRC
20:47:15 *** dkayiwa has quit IRC
20:50:49 *** lh has quit IRC
20:55:59 *** jportela has joined #openmrs
20:55:59 *** ChanServ sets mode: +v jportela
21:06:06 *** bwolfe has quit IRC
21:08:46 *** finbrein has joined #openmrs
21:09:12 *** bwolfe has joined #openmrs
21:09:12 *** ChanServ sets mode: +o bwolfe
21:17:38 *** RJJ has joined #openmrs
21:17:44 <downeym> Hi RJJ and welcome to the #openmrs IRC channel.
21:17:50 <RJJ> hello
21:18:38 <RJJ> I downloaded the openmrs and built the project. I'm having trouble getting the installation wizard to build the databases. It keeps telling me that liquibase-schema-only.xml does not exist
21:26:07 *** gbastien_ has quit IRC
21:49:47 *** jriley has joined #openmrs
21:55:25 *** downeym has left #openmrs
21:58:03 *** bryq has quit IRC
22:07:44 *** finbrein has quit IRC
22:08:31 <djazayeri> RJJ: what OpenMRS version?
22:09:40 <djazayeri> bwolfe, wyclif: am I correct in presuming that the OCC processes uploaded concepts asynchronously?
22:13:52 <wyclif> djazayeri, ?
22:14:09 <wyclif> am not sure
22:14:38 <djazayeri> Okay. I noticed OccUploadListener, which "will watch a directory for new files".
22:14:49 <wyclif> yes
22:15:03 <djazayeri> I also noticed a PutConceptsController that does REST, but I assume it's the directory-watcher that we're actually using?
22:15:14 <wyclif> and i think it gets all the file and processses them in no order
22:17:03 <djazayeri> okay cool
22:17:27 <RJJ> djazayeri: I checked out the trunk code from today
22:18:11 <djazayeri> RJJ: okay, IIRC we were in the midst of moving some xml that was previously in zips to not being in zips, but it didn't get done right.
22:18:19 <djazayeri> So…do you particularly need to run the latest trunk?
22:18:37 <djazayeri> Or would running 1.8.x (latest stable) serve your purposes?
22:18:53 <RJJ> I'll try that
22:22:05 *** asgoyal has quit IRC
22:22:48 <djazayeri> wyclif: do you have an example of what an upload looks like, that's easily accessible?
22:23:10 <djazayeri> Is it just xml whose root element is <occUpload>? Or something else?
22:25:27 <wyclif> djazayeri, yes
22:25:33 <djazayeri> okay, thanks
22:26:08 <wyclif> there are some test ones i added
22:26:41 <wyclif> search for somethink like test-putConcepts.xml
22:28:11 <wyclif> djazayeri, am headng homw
22:28:16 <wyclif> catch you later
22:28:16 <djazayeri> 'k, catch you later
22:35:54 *** wyclif has quit IRC
22:53:27 *** RJJ has quit IRC
23:09:38 <jprice> hi djazayeri, i am still trying to get the curl command to work. I am running under cygwin (same as linux) and the shell is complaining with a syntax error on the '|' character in the hl7 message even though it is in the double quotes after the -d option on the curl command.
23:10:12 <jprice> any ideas on why this may be happening ?
23:10:18 <djazayeri> I have no idea about that. The curl commands in that email are exactly what I ran on OSX.
23:12:23 <jprice> was the data in those commands hl7 commands ?
23:12:52 <djazayeri> I don't remember if one of them has HL7.
23:12:56 <djazayeri> Definitely most weren't.
23:13:11 <djazayeri> The main of that was to show how to send a json post using curl.
23:13:19 <djazayeri> you don't *have* to use curl.
23:15:09 <jprice> i need to be able to get the hl7 msgs into openMRS programmatically, so when you pointed curl out it seemed like a good option. is there a better way ?
23:15:24 <djazayeri> Well, at some point you're going to write a program, right?
23:15:30 <jprice> yes
23:15:35 <djazayeri> So, use whatever programming language you're going to use for that.
23:16:41 <jprice> but to do the post of the hl7 it seems i need something like libcurl (a curl library)
23:17:11 <djazayeri> You need to do an HTTP POST that includes json as the body of the post.
23:17:34 <djazayeri> If it were me, I'd use some library, rather than writing over sockers.
23:17:37 <djazayeri> (sockets)
23:18:31 <jprice> i agree. i think libcurl will do it. but first i want to do it from the command line but cannot seem to get it to work
23:19:03 <djazayeri> there's some sort of help/test page within the module in openmrs
23:19:10 <djazayeri> you could try that.
23:19:21 <djazayeri> (not as fair a test as using the command line, but quick)
23:21:48 <jprice> curl -i -X POST -H "Content-Type: application/json" -u admin:Admin123 http://127.0.0.1:8081/openmrs//ws/rest/hl7 -d"{"source":"LOCAL", "sourceKey":"test", "data":"OBR|1||...rest of HL7 msg...
23:22:05 <jprice> do you see anything wrong with that curl command ?
23:22:32 <djazayeri> surely the fact that the " before source will close the -d"
23:22:46 <djazayeri> need escaping or something
23:26:11 <jprice> i tried escaping with a \ '\"' but that did not work
23:26:48 <jprice> i would think that with
23:28:49 <jprice> the -d that the shell would pass everything between the double-quoted curly braces to the curl command but obvisously that is not happening
23:29:11 <djazayeri> no, the curly braces just happen to be part of the data
23:39:48 <jprice> i tried putting the data in a file and used '-d @fname' but just got HTTP/1/1 400 Bad Request.
23:47:38 <jprice> do you know with curl when you give it data from a file whether the data has to be in any certain format or can it look exactly like if it was entered on the cmd line ?
23:47:49 <djazayeri> no idea