IRC Chat : 2009-03-17 - OpenMRS

01:01:50 <nribeka> wow there's Balinese calendar in wikipedia :D
01:27:43 *** nribeka has quit IRC
01:28:04 *** nribeka has joined #openmrs
01:28:09 *** nribeka has quit IRC
01:28:23 *** nribeka has joined #openmrs
01:28:39 *** nribeka has quit IRC
01:29:23 *** nribeka has joined #openmrs
01:29:41 *** nribeka has quit IRC
01:37:49 *** nribeka has joined #openmrs
02:33:00 *** isurundt has joined #openmrs
02:39:16 *** upul has joined #openmrs
02:51:42 *** atomicturtle has joined #openmrs
02:52:33 *** atomicturtle has left #openmrs
03:05:12 *** Phantal- has left #openmrs
03:37:48 *** upul has quit IRC
03:38:30 *** upul has joined #openmrs
03:38:51 *** upul_ has joined #openmrs
03:39:34 *** upul_ is now known as upul
03:52:18 *** Keelhaul has joined #openmrs
03:52:18 *** ChanServ sets mode: +v Keelhaul
04:01:55 *** r0bby has quit IRC
04:02:16 *** r0bby has joined #openmrs
04:02:19 *** ChanServ sets mode: +v r0bby
04:33:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: OpenMRS Runtime Properties file not recognized in Linux <http://forum.openmrs.org/viewtopic.php?f=9&t=425#p1488>
05:01:43 *** aislam has joined #openmrs
05:02:31 <aislam> hi all
05:03:04 <Keelhaul> hi
05:03:21 <aislam> hope u fine there
05:03:31 <Keelhaul> =o
05:03:34 <Keelhaul> sure
05:04:00 <aislam> i am new to openmrs i need some guidence if you could?
05:04:59 <Keelhaul> heh well
05:05:06 <Keelhaul> i'm about to drop into bed =(
05:05:07 <Keelhaul> very tired
05:05:16 <aislam> oh
05:05:26 <Keelhaul> but ask away, i might be able to answer some questions while getting ready
05:05:32 <aislam> ok plz go ahead and take rest................ have nice dreams
05:06:53 <aislam> how i can use patient servie?
05:09:22 <Keelhaul> PatientService in the API?
05:10:30 <r0bby> Context.getPatientService()
05:10:38 <r0bby> assign that to a regerencd
05:11:21 <r0bby> reference*
05:11:53 <r0bby> aislam: you should look at existing docs
05:11:58 <r0bby> modules,etc
05:13:01 <r0bby> aislam: what is your specific question?
05:13:29 <Keelhaul> yea
05:13:36 <Keelhaul> get an instance of the service
05:13:50 <Keelhaul> e.g. PatientService ps = Context.getPatientService();
05:14:01 <Keelhaul> and then you can call service methods
05:14:14 <Keelhaul> like Patient p = ps.getPatient(Integer patientId);
05:14:15 <Keelhaul> etc
05:14:39 <Keelhaul> List<Patient> patients = ps.getPatientsByWhateverCriteria(params);
05:18:43 <Keelhaul> gn
05:18:43 *** Keelhaul has quit IRC
05:38:10 *** aislam has quit IRC
08:42:15 *** isurundt has quit IRC
11:26:31 *** james_regen has joined #openmrs
11:26:31 *** ChanServ sets mode: +v james_regen
11:30:13 *** upul has quit IRC
11:53:05 *** james_regen has quit IRC
11:58:37 *** james_regen has joined #openmrs
11:58:37 *** ChanServ sets mode: +v james_regen
12:19:58 *** bwolfe has joined #openmrs
12:19:58 *** ChanServ sets mode: +o bwolfe
12:48:55 *** Keelhaul has joined #openmrs
12:48:55 *** ChanServ sets mode: +v Keelhaul
13:33:51 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7125]: Fixed some unit tests to comply with new @Verifies annotation instead of … <http://dev.openmrs.org/changeset/7125>
14:05:52 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1335 (defect created): Loading Module Classes from Scheduler Fails Occasionally <http://dev.openmrs.org/ticket/1335> || OpenMRS Forum: Re: OpenMRS Runtime Properties file not recognized in Linux <http://forum.openmrs.org/viewtopic.php?f=9&t=425#p1489>
14:08:43 *** ajuonline has quit IRC
14:11:03 *** ajuonline has joined #openmrs
14:34:58 *** atomicturtle has joined #openmrs
14:38:59 *** atomicturtle has left #openmrs
15:06:38 *** nribeka has quit IRC
15:09:56 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7126]: in patientmatching module, added some ability of matching GUI to use … <http://dev.openmrs.org/changeset/7126>
16:45:09 *** nribeka has joined #openmrs
16:45:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1336 (defect created): Duplicate User Search Results <http://dev.openmrs.org/ticket/1336>
16:54:54 *** tharanga has joined #openmrs
16:58:47 *** isurundt has joined #openmrs
17:16:02 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1338 (enhancement created): Searching for persons is slow when adding a relationship <http://dev.openmrs.org/ticket/1338> || OpenMRS Tickets: Ticket #1337 (defect created): Patient Age incorrect when creating a new patient using a birth date <http://dev.openmrs.org/ticket/1337>
17:20:30 *** Echidna has quit IRC
17:20:43 *** Echidna has joined #openmrs
17:23:34 <Keelhaul> An Internal Error has Occurred
17:23:34 <Keelhaul> org.hibernate.exception.SQLGrammarException
17:23:34 <Keelhaul> could not initialize a collection: [org.openmrs.module.inpatientcare.UserMap.locations#2]
17:23:35 <Keelhaul> heh
17:23:44 <Keelhaul> i wish hibernate was more specific
17:23:49 <Keelhaul> in the exception at least
17:24:02 <Keelhaul> logs have revealed that the table had the wrong name mapped
17:42:16 <tharanga> hi bwolfe
17:43:21 <r0bby> amusing :)
17:43:23 <bwolfe> hey tharanga
17:43:35 <r0bby> Keelhaul: epic fail =)
17:43:40 * r0bby hugs Keelhaul
17:45:34 <tharanga> for the LDAP based authentication is there any specific ticker created
17:45:43 <tharanga> *ticket
17:47:08 <Keelhaul> =o
17:55:26 <bwolfe> tharanga: if there isn't one linked, then probably not
17:55:52 <bwolfe> tharanga: but search dev before creating one just to be sure
17:56:20 <isurundt> ok. i think of applying this as my gsoc project. have some questions.. :)
17:57:32 <isurundt> so im going to create that. is it ok tharanga?
17:58:56 <Keelhaul> uh oh
17:59:10 <tharanga> isurundt:ohh..
18:00:08 <r0bby> cat fight.
18:00:51 <Keelhaul> well it doesnt really matter who creates the ticket, both will have to apply
18:00:54 <tharanga> isurundt :this is the same project i'm applying..:)
18:01:17 <Keelhaul> hmm
18:01:29 <Keelhaul> trac is at #1334 now
18:01:33 <Keelhaul> gotta make sure i create #1337 =)
18:01:48 <isurundt> :) then i think i will have to focus on "Encounter Type Hierachy"
18:11:21 *** openmrs_433 has joined #openmrs
18:12:37 *** openmrs_433 has quit IRC
18:13:14 *** Qadir has joined #openmrs
18:16:31 <Qadir> hi all
18:20:14 <bwolfe> hey Qadir
18:21:57 <tharanga> bwolfe:Is this LDAP module to be done as a separate module or is it a change to the UserContext
18:22:33 *** isurundt has quit IRC
18:23:17 <bwolfe> tharanga: ldap support should be a module people install
18:23:49 <bwolfe> tharanga: but while writing that module, its possible that there might need to be changes to UserContext...just changes that make it easier to do the ldap wrapping
18:24:47 <tharanga> bwolfe:ok..
18:29:55 <Qadir> i want to work in Audit Module
18:30:12 <Qadir> what if at the time of data entry, these audit should be done
18:30:53 <Qadir> and then no need of the auditing of this type needed that is mentioned in ticket:644
18:37:45 <tharanga> bwolfe: so in simple terms this module(alone) should consists of authenticating to a LDAP server and return the login result. Am I correct ? Or should it have the ability to add the users to the LDAP server as well?
18:38:02 <tharanga> and manage users(like update and delete)
18:38:17 <bwolfe> Qadir: only some auditing can be done at data entry
18:38:32 <nribeka> bwolfe, i attach the patch
18:38:33 <nribeka> hi all
18:38:45 <nribeka> hi james_regen :)
18:38:49 <bwolfe> Qadir: but data gets in so many ways...some imported, some manually entered, some data entered
18:38:58 <bwolfe> Qadir: so the auditing after the fact is def needed
18:39:23 <bwolfe> tharanga: step 1 can be authenticating against it
18:39:39 <bwolfe> tharanga: step 2 would be updating the ldap when the user is updated in openmrs
18:39:48 <bwolfe> tharanga: step 3 would be creation can be done from openmrs
18:39:51 <Keelhaul> what about the role mappings
18:40:09 <bwolfe> nribeka: which ticket ?
18:40:53 <nribeka> password
18:41:03 <nribeka> 1236
18:41:10 <nribeka> !ticket 1236
18:41:10 <OpenMRSBot> nribeka: Ticket #1236: http://dev.openmrs.org/ticket/1236
18:41:25 <nribeka> i hope it's enough :P
18:46:51 *** isurundt has joined #openmrs
18:47:40 <bwolfe> nribeka: ok, great. I'll take a look at it soon hopefully :-)
18:47:49 <bwolfe> Keelhaul: looks like you missed it
18:48:02 <bwolfe> !refer Keelhaul [ticket 1337]
18:48:02 * OpenMRSBot refers Keelhaul to Ticket #1337: http://dev.openmrs.org/ticket/1337
18:48:13 <Keelhaul> dammit
18:48:23 * Keelhaul breaks something
18:49:49 <nribeka> :D
18:49:52 <nribeka> lol
18:49:56 <nribeka> ok bwolfe
18:50:11 <nribeka> need some interesting tickets to accompany the hibernate
18:50:12 <nribeka> lol
18:50:21 <Keelhaul> bwolfe: is the concept numeric limits patch ok now?
18:51:25 <bwolfe> nribeka: the hibernate ticket is very interesting to me
18:51:39 * bwolfe has been eagerly awaiting nribeka's fix for it!
18:52:09 <bwolfe> Keelhaul: did you attach another patch?
18:53:04 <nribeka> hahaha lol :D
18:53:05 <Keelhaul> bwolfe: yes, yesterday
18:53:13 <nribeka> i need other ticket to accompany it bwolfe :D
18:53:21 <nribeka> when i get stuck i can do other ticket
18:54:53 <bwolfe> nribeka: hmm, are you saying you're stuck right now ?
18:56:16 <nribeka> not really stuck
18:56:20 <nribeka> still debugging
18:56:35 <nribeka> when i need something to refresh thing i do other ticket
18:56:36 <nribeka> lol
18:56:42 <nribeka> like the password ticket :D
18:57:33 <bwolfe> nribeka: I see
18:59:04 * nribeka making up something while debugging and
18:59:16 * nribeka believes bwolfe buy it
18:59:17 <nribeka> lol
19:00:17 <bwolfe> no more tickets for you!
19:00:24 <nribeka> hahaha
19:01:30 <nribeka> ttyl bwolfe. class time
19:02:06 <bwolfe> cya
19:03:40 *** nribeka-class has joined #openmrs
19:04:02 <Keelhaul> =o
19:04:05 <Keelhaul> did he teloport to class?
19:04:13 <Keelhaul> tele*
19:04:35 <nribeka-class> yessir :D
19:05:34 <nribeka-class> blood vessel modelling using java
19:06:27 <r0bby> nribeka-class: I'm on sprinbg break :))))
19:06:46 <nribeka-class> argh that's so nice
19:06:57 <nribeka-class> my spring break was last week
19:07:05 <nribeka-class> and i did some interviews :(
19:07:24 <Keelhaul> r0bby: arent you supposed to be getting wasted somewhere in florida or smt
19:07:50 <nribeka-class> lol
19:08:01 <r0bby> Keelhaul: ideally
19:08:10 <r0bby> except pancreatitis isn't fun.
19:08:15 <Keelhaul> =(
19:08:25 <r0bby> (already got it once in my life, don't plan on it again)
19:08:40 <nribeka-class> how was it rob?
19:09:01 <nribeka-class> r0bby
19:09:52 <nribeka-class> one interesting question from the interview was:
19:10:33 <nribeka-class> you want to send a package that you will lock with a key. but the recepient won't have the same key. how would you send the package?
19:10:40 <nribeka-class> anyone have a clue about this?
19:10:52 <nribeka-class> *sorry off topic question
19:13:08 <r0bby> nribeka-class: pancreatitis is probably worst pain you will ever feel
19:13:17 <r0bby> I wouldn't wish it on my worst enemy
19:13:41 <r0bby> Next time i get it, it could kill me, so drinking isn't worth it :)
19:14:44 <nribeka-class> r0bby, have any clue about the package question?
19:14:55 <nribeka-class> no common key between sender and recipient
19:17:20 <bwolfe> nribeka-class: you could have a master key and the recipient could have a "child" key
19:17:24 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1339 (defect created): Delete User Error <http://dev.openmrs.org/ticket/1339> || OpenMRS Tickets: Ticket #1324 (defect closed): Cohort Builder Returns Incomplete Results <http://dev.openmrs.org/ticket/1324#comment:1>
19:18:07 <nribeka-class> you mean like in class relationship bwolfe?
19:20:35 <bwolfe> nribeka-class: I mean like how hotel keys work
19:20:53 <bwolfe> nribeka-class: there are 100 keys that open 1 of 100 doors
19:21:03 <bwolfe> nribeka-class: and there is 1 key that opens all the doors
19:21:36 <nribeka-class> ooo why i didn't think about it
19:21:49 <nribeka-class> it's like the TSA lock in the airport, right bwolfe?
19:21:55 <bwolfe> yeah, like those too
19:22:20 <nribeka-class> arghh the answer is so simple
19:22:22 <nribeka-class> :(
19:22:49 <nribeka-class> i think i miss 2 question
19:22:57 <nribeka-class> :(
19:24:24 <nribeka-class> how many zero in 100!
19:24:24 <nribeka-class> i forgot to take the 5 into account
19:24:24 <nribeka-class> arrghhh
19:26:06 <r0bby> nay
19:32:56 *** Qadir has quit IRC
19:53:33 *** tharanga has quit IRC
19:55:47 <Keelhaul> bwolfe: is there a way to avoid that auto voiding mechanism when updating an obs
19:56:38 <bwolfe> Keelhaul: I don't think so
19:56:43 <Keelhaul> dammit
19:57:05 <bwolfe> you'd have to call the dao directly
19:57:10 <Keelhaul> i guess
19:57:27 <Keelhaul> my idea was to automatically add problem added/resolved obs to my Problem objects
19:57:37 <Keelhaul> and auto update their dates when the object gets different dates
19:57:45 <Keelhaul> but it voids them
20:01:21 *** isurundt has quit IRC
20:14:34 *** james_regen has quit IRC
20:52:28 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Milestones: Milestone Data-synchronization-1.0.3 completed <http://dev.openmrs.org/milestone/Data-synchronization-1.0.3>
21:24:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1341 (task created): Adjust defult sync logging <http://dev.openmrs.org/ticket/1341> || OpenMRS Tickets: Ticket #1340 (defect created): Syncing concepts leads to FK violations on concept_word <http://dev.openmrs.org/ticket/1340>
21:37:07 <nribeka-class> haha bwolfe is answering :)
21:37:26 <nribeka-class> ticket surfing
21:42:29 *** nribeka-class has quit IRC
22:01:20 *** nribeka has quit IRC
22:02:27 *** Keelhaul has quit IRC
22:54:39 *** jacobb has quit IRC
22:58:27 *** jacobb has joined #openmrs
23:00:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7129]: mdrtb module. slight update to french strings file. <http://dev.openmrs.org/changeset/7129> || OpenMRS Tickets: Ticket #1333 (task closed): Rebuild all OpenMRS plugins with Java 1.5 and release new versions on the update site <http://dev.openmrs.org/ticket/1333> || OpenMRS Changesets: Changeset [7128]: eclipse tools: make plugins Java 1.5 compatible - #1333 <http://dev.openmrs.org/changeset/7128> || OpenMRS Changesets: Changeset [7127]: mdrtb module. small fixes for more french support. <http://dev.openmrs.org/changeset/7127>