IRC Chat : 2010-01-11 - OpenMRS

01:58:53 *** bwolfe has joined #openmrs
01:58:56 *** ChanServ sets mode: +o bwolfe
02:37:39 *** upul has joined #openmrs
02:37:39 *** ChanServ sets mode: +v upul
02:44:42 *** andrewaclt has quit IRC
03:07:09 *** basic` has quit IRC
03:07:09 *** bwolfe has quit IRC
03:07:09 *** r0bby has quit IRC
03:07:09 *** meonkeys has quit IRC
03:07:09 *** upul has quit IRC
03:07:09 *** Echidna has quit IRC
03:07:26 *** basic` has joined #openmrs
03:08:02 *** bwolfe has joined #openmrs
03:08:02 *** upul has joined #openmrs
03:08:02 *** meonkeys has joined #openmrs
03:08:02 *** Echidna has joined #openmrs
03:08:02 *** r0bby has joined #openmrs
03:08:02 *** irc.freenode.net sets mode: +ovv bwolfe upul r0bby
03:27:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Regarding Touch Screen Module <http://forum.openmrs.org/viewtopic.php?f=11&t=484#p2026>
03:59:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11648]: reporting-dataset-refactoring: Many changes, the most significant being a … <http://dev.openmrs.org/changeset/11648>
04:19:00 *** bwolfe has quit IRC
04:21:25 *** jmiranda has joined #openmrs
04:21:25 *** ChanServ sets mode: +o jmiranda
05:35:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Schema Validation Errors <http://forum.openmrs.org/viewtopic.php?f=3&t=552#p2027>
05:50:55 *** mkulumadzi has joined #openmrs
07:07:10 *** pascal` has joined #openmrs
07:10:44 <pascal`> =D
07:23:01 <upul> hey pascal`
07:23:10 <pascal`> hey upul
07:23:36 <upul> you came from vacation?
07:24:00 <pascal`> upul, yeah
07:26:00 <pascal`> upul, you have any vacation?
07:27:03 * r0bby yawns
07:27:39 <upul> we do have annual leave, but i don't go anywhere mostly
07:28:10 <pascal`> ok
07:29:58 <r0bby> upul: shame you don't have NYC in your backyard practically :)
07:30:10 <r0bby> albeit it's like ~90 minutes
07:30:17 <r0bby> between 75 and 90
07:31:44 * r0bby sighs
07:32:56 <upul> r0bby, you have google voice account?
07:33:16 <r0bby> upul: actually yes and an android phone :)
07:33:22 <r0bby> anbd the google voice app :)
07:33:51 <r0bby> $9.15 in it
07:34:29 <r0bby> free texting too :0
07:34:50 <r0bby> http://robbyoconnor.blogspot.com/2009/12/google-voice-tips-tricks-send-free.html
07:34:53 <OpenMRSBot> <http://ln-s.net/4obM> (at robbyoconnor.blogspot.com)
07:35:00 <r0bby> that works great for US but not sure if it helps you much
07:42:48 <r0bby> is there an alternate way to model many to many :x
07:42:56 <r0bby> I can't see it
07:43:09 <r0bby> like avoid it ;/
07:57:08 *** tb9 has joined #openmrs
07:57:28 <tb9> hf
07:59:31 *** tb9 has quit IRC
08:13:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: XForms 3.7.9 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=xforms&version=&3.7.9>
08:45:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11649]: xforms module: added ability to set default location and provider to that … <http://dev.openmrs.org/changeset/11649>
08:48:35 <r0bby> \o/
09:17:37 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11650]: facility data: make the relation between form sections and form schemas … <http://dev.openmrs.org/changeset/11650>
09:40:00 *** Zabil has joined #openmrs
09:49:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11651]: facility data: It is no longer true that adding a section to another … <http://dev.openmrs.org/changeset/11651>
10:53:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1506 (task closed): Person/Patient/User model needs adjusted <http://dev.openmrs.org/ticket/1506#comment:7> || OpenMRS Changesets: Changeset [11652]: merging person-refactoring branch into trunk <http://dev.openmrs.org/changeset/11652>
11:01:31 *** pbrandt has joined #openmrs
11:06:14 *** pascal` has quit IRC
11:06:16 *** pbrandt is now known as pascal`
11:15:44 <Echidna> le pascale
11:28:05 <pascal`> hey Echidna
11:30:26 <Echidna> hi
11:33:21 *** upul has quit IRC
12:02:13 *** Zabil has quit IRC
13:03:53 *** Zabil has joined #openmrs
13:33:11 *** upul has joined #openmrs
13:33:11 *** ChanServ sets mode: +v upul
13:50:15 *** Zabil has quit IRC
14:09:29 *** bwolfe has joined #openmrs
14:09:29 *** ChanServ sets mode: +o bwolfe
14:24:53 *** Zabil has joined #openmrs
14:28:38 *** mkulumadzi has quit IRC
14:48:40 <upul> artemis fowl is super
14:49:16 <upul> just finished the 6th
14:54:30 *** pascal` has quit IRC
15:02:12 *** pascal` has joined #openmrs
15:07:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11653]: ncd: Added SQL to update the code display text with the code_condition … <http://dev.openmrs.org/changeset/11653> || OpenMRS Forum: Re: CAS integration with OpenMRS <http://forum.openmrs.org/viewtopic.php?f=23&t=553#p2029> || OpenMRS Forum: Re: Schema Validation Errors <http://forum.openmrs.org/viewtopic.php?f=3&t=552#p2028>
15:08:27 *** pascal` has quit IRC
15:13:17 *** atomicturtle1 has joined #openmrs
15:25:30 *** pascal` has joined #openmrs
15:30:01 *** jmiranda has quit IRC
15:38:23 <upul> what should i read next
15:44:28 <Zabil> hey all getting started on my first task was looking at ticket http://dev.openmrs.org/ticket/2006
15:46:34 <Zabil> i understand that concepts are created from the dictionary menu and add new concept.
15:47:42 <Zabil> and an observation from the "manage observations" link on the admin menu.
15:50:48 <bwolfe> Zabil: yeah, you would be modifying the add new concept page
15:50:59 <Zabil> the task as for disabling the datatype on the screen if the concept is associated to an observation.
15:51:09 <bwolfe> Zabil: find the conceptForm.jsp and ConceptFormController.java files for editing
15:51:59 <Zabil> ok i will check that. found that the relationship between obs and concept and not the other way round.
15:52:47 <Zabil> so i guess i would have to run a query to figure out if the concept is associated to obs or not.
15:57:23 <bwolfe> Zabil: you should just be able to use the api. in the controller you make a call like Context.getObsService().getObsByConcept(concept) to see if there is anything stored
15:57:44 *** bwolfe_ has joined #openmrs
15:57:45 *** ChanServ sets mode: +o bwolfe_
15:59:27 *** jmiranda has joined #openmrs
15:59:28 *** ChanServ sets mode: +o jmiranda
15:59:58 <Zabil> ok cool. the method is currently not there. so i could go around implementing it. cool. i think that should work.
16:04:47 <bwolfe_> Zabil: there migth be a method that works though. did you check all of the ObsService methods ?
16:11:49 <Zabil> there is the getObservations which take a set of params. but a method just taking in the concept is not there. there is one which takes in a list of concepts and another one which takes in the concept and the location etc.
16:12:59 <bwolfe_> Zabil: the ones that take in multiple params usually can have null values for everything except what you want
16:14:44 <Zabil> yeah. so would it be ok to have a getObserationByConcept(concept) method which would wrap the call to getobservation pass in the nulls and the concept?
16:14:58 *** bwolfe has quit IRC
16:16:47 <bwolfe_> Zabil: that would be fine
16:28:05 <Zabil> one more thing. we could always hit the obsservice from the controller. but the task also requires us to prevent the user from persisting it at the api level.
16:28:49 <Zabil> there we would still have the problem of the concept service not being aware of the observice.
16:29:47 <bwolfe_> Zabil: the saveConcept method in ConceptServiceImpl just has to ping the same observice method and throw an error if it fails
16:33:18 <Zabil> oh ok. i thought the services don't call other services (just an assumption :-) ) but i see they do via the context. thanks will get working on it!
16:35:27 *** Zabil has quit IRC
16:42:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11654]: Added names of lab tests (per Gene Kwan) <http://dev.openmrs.org/changeset/11654>
16:44:35 *** mkulumadzi has joined #openmrs
16:48:46 *** atomicturtle1 has left #openmrs
16:50:49 *** Zabil has joined #openmrs
16:53:03 *** Zabil has quit IRC
17:01:02 *** bwolfe__ has joined #openmrs
17:02:56 *** bwolfe_ has quit IRC
17:05:22 *** Zabil has joined #openmrs
17:05:33 *** Zabil has quit IRC
17:06:54 *** upul has quit IRC
17:20:06 *** chopin has joined #openmrs
17:32:34 *** chopin has quit IRC
17:36:45 *** chopin has joined #openmrs
17:51:30 <meonkeys> jmiranda: howdy! did we settle on a time for our meeting today?
17:52:15 <jmiranda> hey meonkeys ... was waiting for a response from the rest of the guys
17:53:18 <jmiranda> but i think we should just agree on a time for you and i, and then the other guys can join if they are available
17:53:30 <meonkeys> ok, sure
17:53:31 <jmiranda> let's do after 3pm
17:53:37 <jmiranda> EST
17:53:43 <jmiranda> whenever you're done with your meeting
17:53:47 <jmiranda> and after you have some lunch
17:54:09 <meonkeys> ok, 4pm EST?
17:54:14 <jmiranda> sounds good
17:54:22 <meonkeys> great.
17:54:35 <jmiranda> darius wants to try to meet up with you guys at some point
17:54:49 <jmiranda> he's out in seattle and might be there "for good"
17:54:52 <meonkeys> yeah! I talked with him on Friday, Darius is planning on joining me at the Seattle office for the call.
17:54:58 <meonkeys> yeah!
17:54:58 <jmiranda> cool
17:55:13 <jmiranda> i'll send a reply to your email with the time we decided on
17:55:22 <meonkeys> thanks.
17:55:26 <meonkeys> ttythen.
18:20:07 *** bwolfe_ has joined #openmrs
18:20:07 *** ChanServ sets mode: +o bwolfe_
18:36:29 *** bwolfe has joined #openmrs
18:36:29 *** ChanServ sets mode: +o bwolfe
18:36:44 *** bwolfe__ has quit IRC
18:50:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2016 (enhancement created): Create a tool to obfuscate patient data in order to create database with sample data <http://dev.openmrs.org/ticket/2016> || OpenMRS Changesets: Changeset [11657]: Backing out my screw-up. Not sure why this file was committed <http://dev.openmrs.org/changeset/11657> || OpenMRS Tickets: Ticket #1806 (defect closed): updateDatabase(null) should not use test DB connection details <http://dev.openmrs.org/ticket/1806#comment:4> || OpenMRS Changesets: Changeset [11656]: 1.5.x: Fixed NPE in update filter for databases that aren't set up yet - … <http://dev.openmrs.org/changeset/11656> || OpenMRS Changesets: Changeset [11655]: Fixed NPE in update filter for databases that aren't set up yet - … <http://dev.openmrs.org/changeset/11655>
18:52:41 *** bwolfe_ has quit IRC
19:03:38 *** mkulumadzi has quit IRC
19:22:23 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11658]: Fixing disappearing patient dashboard links <http://dev.openmrs.org/changeset/11658>
19:28:41 *** pascal` has quit IRC
19:29:28 *** openmrs_web563 has joined #openmrs
19:30:06 <openmrs_web563> has someone integrated OpenMRS with a biometric devide likek fingerprint scanning devices
19:35:08 <bwolfe> openmrs_web563: yeah, I think saptarshi did it
19:35:28 <bwolfe> openmrs_web563: look at the registration module, he might have the code in there
19:39:11 *** jmiranda has quit IRC
19:50:34 *** mkulumadzi has joined #openmrs
19:51:37 *** jmiranda has joined #openmrs
19:51:38 *** ChanServ sets mode: +o jmiranda
19:54:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11660]: chica * cleaned up errors in upgrade script * moved some sql from upgrade … <http://dev.openmrs.org/changeset/11660> || OpenMRS Changesets: Changeset [11659]: 1.5.x: Making project depend on the 1.5 compiler now that we require the … <http://dev.openmrs.org/changeset/11659>
20:01:54 <r0bby> ben
20:01:56 <r0bby> ping
20:01:59 <r0bby> Module.help.update=In order to update a module, either click 'Install Update' or: 1) Download the update, 2) upload the module using the "Upgrade An Existing Module" form.
20:02:13 <r0bby> may I just commit that?
20:02:18 <bwolfe> what was it before?
20:02:25 <r0bby> hold
20:02:34 <r0bby> In order to update a module, either click 'Install Update' or: 1) Download the update, 2) unload the current module then 3) upload the new module via the form above.
20:02:44 <r0bby> you dont have to unload the module now so it's outdated.
20:03:16 <r0bby> step 2 was taken out
20:04:16 <r0bby> yay or nay?
20:04:27 <bwolfe> sure, go for it
20:04:42 <r0bby> i'll also do trunk.
20:05:00 <Echidna> hi
20:05:16 <Echidna> bwolfe: i need help or smt
20:05:21 <Echidna> http://pastie.org/774003
20:05:29 <Echidna> i get this after upgrading to 1.6
20:09:25 <r0bby> english is all I know so others will have to update other langs
20:09:36 <bwolfe> r0bby: thats fine
20:09:56 <r0bby> apologies for the second commit i noticed a grammar error and i *CAN'T* let those go!
20:10:06 <bwolfe> Echidna: from what ?
20:10:11 <bwolfe> Echidna: did spring version change?
20:10:13 <Echidna> bwolfe: from 1.5
20:10:19 <Echidna> not in the module
20:10:53 <Echidna> maybe because that controller contains 1.6 incompatible code?
20:10:54 <Echidna> obs.setPerson(Context.getAuthenticatedUser());
20:11:08 <Echidna> since it uses 1.5 libs
20:14:14 <Echidna> bwolfe: yes, it was that particular line
20:14:39 <Echidna> and i dont see a way to make it compatible with both versions
20:15:15 <bwolfe> Echidna: ?
20:15:19 <bwolfe> whats in trunk now?
20:16:10 <Echidna> bwolfe: what trunk?
20:16:16 <Echidna> core trunk is 1.6
20:16:20 <bwolfe> yeah
20:16:32 <bwolfe> what were you using and what should you use in 1.6 ?
20:16:41 <Echidna> well
20:16:54 <Echidna> i was checking out darius' person/user refactoring from today
20:17:07 <r0bby> trunk and 1.5.x done :)
20:18:02 <Echidna> the new User class doesnt extend Person
20:18:20 <r0bby> Echidna: yeh :)
20:18:43 <Echidna> so obs.setPerson(Context.getAuthenticatedUser()); wouldnt even compile
20:18:45 <r0bby> because a User could in the future be a dog!
20:18:46 <r0bby> :)
20:18:55 <Echidna> or a robot
20:19:00 <r0bby> or a cat!
20:19:06 <bwolfe> Echidna: ah yes. that was one backwards incompatible change
20:19:23 <Echidna> bwolfe: i guess i'll have to branch or smt
20:19:30 <Echidna> not that anyone actually uses that module
20:19:30 <bwolfe> yeah
20:19:49 <Echidna> i just wish the error message wasnt so misleading
20:20:00 *** openmrs_web563 has quit IRC
20:20:48 *** mkulumadzi has quit IRC
20:20:58 <r0bby> bwolfe: sorry for the barrage of commits. I got it the way I like it and it works. I should have added
20:21:07 <r0bby> "above" at the end, but it escaped me.
20:21:23 <r0bby> im doing better!
20:23:04 <Echidna> oh well
20:23:14 <Echidna> what's the max value for svn revisions? =P
20:23:41 <r0bby> Echidna: I dont know!
20:23:57 <r0bby> it's over 11,650
20:23:58 <r0bby> :)
20:24:15 <Echidna> yea
20:24:18 <r0bby> Echidna: ohh I got the many to many to work!
20:24:18 <r0bby> :)
20:24:27 <r0bby> with a List!
20:24:28 <r0bby> :D
20:24:29 <Echidna> congrats
20:24:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11664]: update module update blurb to reflect change that one is now able to … <http://dev.openmrs.org/changeset/11664> || OpenMRS Tickets: Ticket #2017 (defect created): Force Password Change check box doesn't uncheck <http://dev.openmrs.org/ticket/2017> || OpenMRS Changesets: Changeset [11663]: 1.5.x: tweak once again. <http://dev.openmrs.org/changeset/11663> || OpenMRS Changesets: Changeset [11662]: 1.5.x: small tweak to the previous commit. <http://dev.openmrs.org/changeset/11662> || OpenMRS Changesets: Changeset [11661]: 1.5.x: update module update blurb to reflect change that one is now able … <http://dev.openmrs.org/changeset/11661>
20:24:56 <r0bby> now I just have to have to date the CRUD pages.
20:25:01 <r0bby> and i'm done :) -- then fix some stuff
20:26:00 <r0bby> but i think this brings it back to where it was post-soc -- no errors. Where we could create a report and enter data on it -- with w crappy UI :(
20:26:38 <Echidna> is it any better than post-soc now?
20:28:03 <r0bby> well yeah
20:28:10 <r0bby> it's now modeled correctly
20:29:06 <r0bby> so i'm not quite f'ed for soc next summer (the money is nice but so is the experience :)
20:33:11 <Echidna> you want to participate again?
20:58:22 <r0bby> yeh
20:58:59 <r0bby> oh and are there sites in uganda that use OpenMRS?
20:59:12 <r0bby> PIH sites and/or AMPATH?
20:59:37 <bwolfe> ampath is only in western kenya
20:59:50 <bwolfe> pih has sites in rwanda, lesotho, malawi, haiti, and peru
21:00:00 <bwolfe> there are 5 sites or so in uganda
21:00:24 <bwolfe> makarare university (in kampala) owns those
21:00:50 <r0bby> ugh.
21:01:47 * r0bby sighs :)
21:02:14 <r0bby> bwolfe: if you need an example of how to use a List -- look in FacilityDataFormSchema's mapping in facilitydata (it works)
21:02:35 <r0bby> it's easier than trying to emulate a data structure which exists :)
22:39:15 <meonkeys> bwolfe, jmiranda: nice talking with you.
22:39:22 <jmiranda> meonkeys, same
22:39:26 <jmiranda> thanks again for your time
22:39:27 <bwolfe> likewise
22:39:29 <meonkeys> np.
22:39:56 <chopin> meonkeys: do you play keys, or does "keys" refer to your laptop keyboard?
22:40:25 <meonkeys> both. :)
22:40:32 <chopin> ah, me too!
22:41:24 <meonkeys> right on.
22:41:38 <chopin> k, that's all
22:41:41 <chopin> heh
22:41:44 <meonkeys> chopin: :)
22:42:07 <meonkeys> chopin: but I mainly just mess around... I can't play much classical and can't sight read very well. But I can improvise a bit.
22:42:29 <meonkeys> have a free cd: http://adammonsen.com/mp3/ (I'm playing Hammond organ and Fender Rhodes electric piano on tracks 3 and 4, and half of the keys on the rest of the tracks.)
22:43:04 <meonkeys> pretty cheesy, but I had fun making it. just warning you.
22:43:23 <chopin> oooo, neat
22:45:10 <chopin> http://www.last.fm/music/William+Fitzsimmons/_/Everything+has+Changed
22:45:13 <OpenMRSBot> <http://ln-s.net/4ouq> (at www.last.fm)
22:46:20 <chopin> :-) ... that's me on my buddy's second album. he's since gone "worldwide" and lives way far away.
22:46:23 <chopin> from me, at least
22:47:56 <chopin> unfortunately i'm just on other ppl's stuff ... some day i'll have time to sit down and record.
22:49:53 <chopin> annnnd this one ... i played a wurli on: http://bit.ly/7qVyO4
22:51:13 *** bwolfe has quit IRC
23:48:01 <r0bby> chopin: how do you like Regenstrief?