IRC Chat : 2009-03-11 - OpenMRS

00:00:46 *** flyankur has quit IRC
00:01:03 *** flyankur has joined #openmrs
00:03:24 *** atomicturtle has quit IRC
00:09:09 <Keelhaul> bwolfe: will ListPicker only work for objects that are identified by a string?
00:09:11 <Keelhaul> such as privs
00:09:18 <Keelhaul> or can i use it for locations etc
00:10:41 <Keelhaul> the value of the input is basicallly object.toString
00:12:40 <Keelhaul> maybe if i reduce the toString() output of the object to just the id, the binder will work..
00:13:29 <Keelhaul> but then it will only write the id on the page
00:28:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7097]: Followup fix for the order validator taking out creator and dateCreated - … <http://dev.openmrs.org/changeset/7097>
00:42:14 <Keelhaul> yea, it needs the primary key of the object in the value attribute
00:42:34 <Keelhaul> but i need something else than the id in the label
00:42:39 <Keelhaul> ListPicker cant do that
00:42:55 <Keelhaul> i'll need a specialized picker
00:43:00 <Keelhaul> can modules define their own?
00:47:16 *** atomicturtle has joined #openmrs
01:15:40 *** Keelhaul|afk has joined #openmrs
01:24:46 *** Keelhaul has quit IRC
02:28:28 *** Keelhaul|afk is now known as Keelhaul
02:48:08 *** upul has joined #openmrs
02:49:17 <upul> bwolfe: Hi
02:49:56 <bwolfe> hey upul
02:50:23 <upul> bwolfe: I just came last weekend
02:50:56 <bwolfe> you're back in sri lanka again ?
02:51:06 <upul> bwolfe: yes
02:51:40 <upul> bwolfe: about that ticket on user modifying the name...
02:52:40 <upul> bwolfe: in current code the name i think when picking up the name it took the first one in the list
02:53:13 <upul> it didn't check for anything else
02:56:18 *** isurundt has joined #openmrs
03:00:12 *** isurundt has left #openmrs
03:08:54 <Keelhaul> bwolfe: answer my question plz
03:09:20 <Keelhaul> is there any way to use ListPicker with more complex objects that have IDs
03:10:31 <bwolfe> Keelhaul: if there isn't now, it could be changed to do so
03:10:39 <Keelhaul> bwolfe: i tried
03:10:42 <Keelhaul> however
03:10:57 <Keelhaul> they're Objects within the picker class
03:11:13 <Keelhaul> casting them to anything to extract the id/name would make the class no longer universal
03:11:20 <Keelhaul> hence it cant be in trunk
03:11:32 <Keelhaul> but i havent seen a way to add tags via modules
03:11:48 *** upul has quit IRC
03:14:23 <bwolfe> Keelhaul: I think mike put in a way to add tags and/or taglibs via modules
03:14:36 <bwolfe> Keelhaul: check the dev list 6 months back or so
03:14:46 <Keelhaul> ugh
03:18:28 *** upul has joined #openmrs
03:22:17 *** upul has quit IRC
03:26:33 <Keelhaul> bwolfe: do you know who klamonaca@pih.org is?
03:27:52 <bwolfe> I don't recognize the name
03:28:20 *** nribeka has joined #openmrs
04:01:07 *** upul has joined #openmrs
04:06:42 *** bwolfe has quit IRC
04:26:10 *** tharanga has joined #openmrs
06:01:21 *** Keelhaul has quit IRC
07:30:03 *** tharanga has quit IRC
09:20:08 *** upul has quit IRC
11:42:12 *** atomicturtle has left #openmrs
12:12:58 *** Ankur_ has joined #openmrs
12:13:29 *** flyankur has quit IRC
12:17:20 *** janaka has joined #openmrs
12:17:34 <janaka> hi all
12:18:03 *** bwolfe has joined #openmrs
12:18:03 *** ChanServ sets mode: +o bwolfe
12:19:59 *** janaka has quit IRC
12:25:47 *** james_regen has joined #openmrs
12:25:47 *** ChanServ sets mode: +v james_regen
12:54:40 *** upul has joined #openmrs
12:55:03 *** Echidna has joined #openmrs
12:59:22 <upul> Hi Ben
12:59:39 <bwolfe> hey upul
12:59:41 *** Echidna_ has quit IRC
13:00:04 <upul> how's life?
13:03:16 <bwolfe> life is good
13:03:29 <bwolfe> how is not working abroad ?
13:03:36 <bwolfe> do you get some time off now ?
13:04:23 <upul> i didn't have much work, but i travelled as much as possible from morning till night :-)
13:04:57 <upul> even on that bushfire day 46. degrees
13:06:50 <bwolfe> so it was one long vacation for you? why didn't you have much work ?
13:07:39 <upul> bwolfe: may be luck :-)
13:08:42 *** upul has quit IRC
13:08:58 *** upul has joined #openmrs
13:14:07 *** Keelhaul has joined #openmrs
13:14:07 *** ChanServ sets mode: +v Keelhaul
13:14:13 <Keelhaul> hi
13:14:23 <Keelhaul> (everyone) ;]
13:14:35 <upul> hi
13:15:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1327 (task created): Add Provider option to getEncounters method <http://dev.openmrs.org/ticket/1327>
13:22:09 <bwolfe> hehe, thanks for the clarification today Keelhaul :-)
13:22:29 <bwolfe> upul: I didn't understand what you said last night about the one name thing
13:24:31 <Keelhaul> http://outdustry.com/2009/03/10/the-chinese-itunes-gift-voucher-trick/
13:24:32 <Keelhaul> pwnt
13:24:34 <OpenMRSBot> <http://ln-s.net/2zhn> (at outdustry.com)
13:27:12 <bwolfe> give it a few days before apple turns off gift cards :-p
13:32:58 <Keelhaul> a few days could mean millions in losses
13:37:02 <upul> bwolfe: even though personnames list is kept for a person, it just picks up the first one in the list for displaying if I remember, have to check the code changes again
13:39:13 <bwolfe> upul: thats probably right
13:39:33 <bwolfe> the user should only see their "preferred" (aka the first name in the list) name.
13:39:57 <bwolfe> if/when they change it, the preferred one gets voided and whatever they typed in gets to be the new preferred one
13:40:52 <upul> bwolfe: but the list is not sorted if i remember, it was just an arraylist, i did something fix it, have to find where it is
13:41:24 <bwolfe> that array list is sorted though
13:41:38 <bwolfe> first on voided, then preferred, then dateCreated I believe
13:41:45 *** james_regen has quit IRC
13:47:53 *** james_regen has joined #openmrs
13:47:53 *** ChanServ sets mode: +v james_regen
13:53:59 *** atomicturtle has joined #openmrs
13:55:02 *** atomicturtle has left #openmrs
14:11:56 <Keelhaul> bwolfe: didnt the api refactoring include merging all "Add ..." privs with "Edit ..."?
14:12:05 <Keelhaul> at least thats what i remember from the description
14:12:11 <Keelhaul> but the privs are still used
14:12:36 <bwolfe> for metadata, yes (like Encounter Type, etc)
14:12:48 <Keelhaul> oh ok
14:13:57 <Ankur_> hey all !!
14:14:10 <Keelhaul> hi
14:15:03 <Keelhaul> bwolfe: doesnt make my sense imho though
14:15:13 <Ankur_> i am unable to configure openmrs on netbeans on Fedora, Project is getting some error and 100 warnings. I followed this guide http://openmrs.org/wiki/Developer_How-To_Use_Netbeans_Guide
14:15:16 <OpenMRSBot> <http://ln-s.net/2zix> (at openmrs.org)
14:15:18 <Keelhaul> the only place where add is used is when calling saveObject
14:15:25 <Keelhaul> which is then paired with the edit priv
14:15:46 <Keelhaul> since the createObject methods are all deprecated now, i dont really see a need for the priv
14:16:19 *** Ankur_ is now known as flyankur
14:17:10 <flyankur> its unable to find OPENMRS_BUILD_PROPERTIES_FILE
14:17:58 <bwolfe> Keelhaul: the add/edit are used within the saveObject method individually
14:18:12 <bwolfe> flyankur: it should be telling you where its looking for a build properties file
14:18:25 <bwolfe> flyankur: warnings are ok (we need to go and fix them, but they are ok for now)
14:18:33 <bwolfe> flyankur: the error is not ok. :-p
14:18:56 <Keelhaul> not easy to fix all warnings
14:19:07 <Keelhaul> a unused logger will create one
14:19:07 <flyankur> Trying to override old definition of datatype resources
14:19:09 <flyankur> Attempting to load: ${env.OPENMRS_BUILD_PROPERTIES_FILE}
14:19:10 <flyankur> WARNING:
14:19:12 <flyankur> No custom build properties found. Using default properties
14:19:56 <bwolfe> ok, so create an environment variable called OPENMRS_BUILD_PROPERTIES_FILE
14:20:09 <flyankur> I read , we need to change the tomcat.port to 8084 , which is used ny netbeans,
14:20:38 <flyankur> where exactly ! In the main folder ?
14:21:14 <bwolfe> that might be in your build properties
14:21:22 <bwolfe> or in the properties.xml file maybe ?
15:10:55 <Keelhaul> bbl, bye
15:10:56 *** Keelhaul has quit IRC
15:13:57 *** james_k has joined #openmrs
15:18:01 *** upul has quit IRC
15:23:37 *** james_k_ has joined #openmrs
15:37:29 *** james_k_ has quit IRC
15:41:04 *** james_k has quit IRC
17:31:20 *** flyankur has quit IRC
18:01:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7102]: chica: implements cron job to retire providers who are inactive for a … <http://dev.openmrs.org/changeset/7102> || OpenMRS Changesets: Changeset [7101]: chica: check for size of doctor list in manual checkin dialog box to … <http://dev.openmrs.org/changeset/7101> || OpenMRS Changesets: Changeset [7100]: chica: update retired and voided = 0 for user .Other and for encounter … <http://dev.openmrs.org/changeset/7100> || OpenMRS Changesets: Changeset [7099]: atd: Check to see if initClassString module started (loaded) before in … <http://dev.openmrs.org/changeset/7099> || OpenMRS Changesets: Changeset [7098]: sockethl7listener: updated sqldiff to populate MRN_OTHER and SSN … <http://dev.openmrs.org/changeset/7098>
18:02:00 *** Ankur_ has joined #openmrs
18:43:32 *** Ankur__ has joined #openmrs
18:50:06 *** Ankur__ has quit IRC
18:58:13 *** Ankur_ has quit IRC
18:59:57 *** Keelhaul has joined #openmrs
18:59:57 *** ChanServ sets mode: +v Keelhaul
19:05:33 <Keelhaul> http://zerofate.com/2009/03/11/about-torrent-droid-051/
19:05:37 <OpenMRSBot> <http://ln-s.net/2zp:> (at zerofate.com)
19:06:17 *** jacobb has joined #openmrs
19:11:46 *** pascal__ has joined #openmrs
19:29:40 *** pascal__ has quit IRC
19:55:20 *** james_regen has quit IRC
20:09:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7103]: -chica *Added lookup of encounters by MRN with ability to view the form … <http://dev.openmrs.org/changeset/7103>
20:27:00 <Keelhaul> > You must mean...
20:27:00 <Keelhaul> >
20:27:00 <Keelhaul> > #136 CHEST PAIN
20:27:02 <Keelhaul> lol
21:42:31 *** bwolfe has quit IRC
21:54:26 *** flyankur has joined #openmrs
23:07:56 *** jmiranda has quit IRC
23:22:30 *** jmiranda has joined #openmrs
23:22:30 *** ChanServ sets mode: +o jmiranda