IRC Chat : 2009-06-04 - OpenMRS

00:18:12 *** jmiranda has quit IRC
00:55:55 *** Mkop has joined #openmrs
01:00:38 *** Mkop has quit IRC
01:07:09 *** atomicturtle1 has joined #openmrs
01:55:28 *** bwolfe has joined #openmrs
01:55:28 *** ChanServ sets mode: +o bwolfe
02:31:09 *** upul has joined #openmrs
02:31:09 *** ChanServ sets mode: +v upul
02:31:22 *** Mkop has joined #openmrs
02:54:15 *** Mkop has quit IRC
03:40:23 <r0bby> sleep
03:40:28 <r0bby> +time
03:51:03 <Keelhaul> dito
03:51:04 <Keelhaul> gn
03:51:07 *** Keelhaul has quit IRC
03:52:14 *** bwolfe has quit IRC
04:07:17 *** atomicturtle has joined #openmrs
04:07:17 *** atomicturtle1 has quit IRC
05:33:46 *** catechu has joined #openmrs
05:34:05 *** catechu has quit IRC
05:58:01 *** harshini has joined #openmrs
05:59:04 <harshini> hi
05:59:13 <harshini> is bwolfe around
06:02:03 *** harshini has quit IRC
06:22:02 *** jmiranda has joined #openmrs
06:22:02 *** ChanServ sets mode: +o jmiranda
07:00:19 *** pascal` has joined #openmrs
07:07:41 *** atomicturtle1 has joined #openmrs
07:07:41 *** atomicturtle has quit IRC
08:10:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Error opening Basic Form via dashboard <http://forum.openmrs.org/viewtopic.php?f=3&t=340#p1605>
09:21:47 *** kane77 has joined #openmrs
09:50:13 *** harshini has joined #openmrs
09:50:22 <harshini> hi all
09:50:34 <harshini> is darius oe Ben Wolfe around
09:52:20 <pascal`> hi
09:52:23 <pascal`> nope
09:52:36 <pascal`> darious is never around
09:52:49 <pascal`> bwolfe is around during his office hours
10:24:46 *** atomicturtle1 has quit IRC
10:24:59 *** atomicturtle has joined #openmrs
11:04:43 <harshini> what are his office hours
11:05:24 <pascal`> lets see...
11:08:05 <pascal`> harshini: http://openmrs.org/wiki/User:Ben
11:16:18 *** Keelhaul has joined #openmrs
11:16:18 *** ChanServ sets mode: +v Keelhaul
11:26:30 <pascal`> hi Keelhaul
11:28:02 <Keelhaul> hi
11:37:06 <upul> Bye Keelhaul
11:37:09 <upul> Bye pascal`
11:37:12 <Keelhaul> heh
11:37:12 <Keelhaul> gn
11:37:13 *** upul has quit IRC
11:37:20 <Keelhaul> or smt
11:37:32 <pascal`> o.O
11:41:50 *** james_regen has joined #openmrs
11:41:51 *** ChanServ sets mode: +v james_regen
12:04:46 *** scottyaz has joined #openmrs
12:21:24 *** bwolfe has joined #openmrs
12:21:27 *** ChanServ sets mode: +o bwolfe
12:33:15 *** upul has joined #openmrs
12:33:15 *** ChanServ sets mode: +v upul
12:38:45 *** harshini has quit IRC
12:44:48 <pascal`> bwolfe, harshini's been looking for you
12:45:30 <bwolfe> ok. he's been unsuccessful
12:45:46 <upul> harshini is she, i think
12:46:37 <upul> lankans have the same name in usage
12:52:09 *** upul has quit IRC
12:52:10 *** upul_ has joined #openmrs
12:52:10 *** ChanServ sets mode: +v upul_
12:53:09 <bwolfe> ah, ok, thanks upul!
12:53:18 <bwolfe> what do you mean by "same name in usage"?
12:53:29 *** upul_ is now known as upul
12:53:44 <upul> harshini is from india, isn't it
12:55:21 <Keelhaul> it? i thought it's a she =P
12:56:05 <upul> normally when name ends with iii, or aaa it's a girl, but it's difficult to differtiate between 'aaa' and 'e' as the last syllable
12:56:23 <Keelhaul> 3 i's?
12:56:27 <upul> :-)
12:56:37 <upul> i mean long i
12:56:43 <Keelhaul> what about nimantha
12:56:47 <Keelhaul> i thought its a girl lol
12:56:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Error opening Basic Form via dashboard <http://forum.openmrs.org/viewtopic.php?f=3&t=340#p1606>
12:56:51 <Keelhaul> but then i saw the wiki photo
12:56:59 <upul> male
12:57:26 <upul> but that last a is difficult, because it could 'aaaa' which makes a girl, or 'e' which makes a boy
12:57:33 <Keelhaul> hm
12:57:56 <Keelhaul> how do you differentiate
12:58:19 <pascal`> dna testing?
12:58:45 <upul> :-P, there are complex tests
12:58:58 <pascal`> http://openmrs.org/wiki/User:Harshinigudiwada
12:59:10 <pascal`> i dont see enough info to make an inference about gender
13:00:26 <upul> i thought last gsoc we had lot's of girls
13:00:49 <upul> there wasn't a single one
13:08:05 *** atomicturtle has quit IRC
13:08:11 *** atomicturtle has joined #openmrs
13:30:20 *** upul has quit IRC
13:37:22 *** atomicturtle has quit IRC
13:57:02 *** catechu has joined #openmrs
14:03:44 <catechu> james_regen: how should I check in changes?
14:05:28 <james_regen> do you have a SVN plugin installed for ecplise?
14:06:10 *** atomicturtle has joined #openmrs
14:07:06 *** bwolfe_ has joined #openmrs
14:07:07 *** ChanServ sets mode: +o bwolfe_
14:08:46 *** atomicturtle has left #openmrs
14:10:42 <catechu> yes
14:11:43 <james_regen> do you have a user for the repository? i right click on the project, select the "team" submenu, and then the "commit . . ." option
14:12:32 <catechu> sorry, I was not clear -- what I mean is, would you prefer a patch or commit? also, is any authorization required for committing? I'm not sure if I have a user for the repository, that's why.
14:13:40 *** djazayeri has joined #openmrs
14:13:40 *** ChanServ sets mode: +o djazayeri
14:14:14 <pascal`> djazayeri, harshini's been trying to get hold of you
14:14:16 <james_regen> i'd rather you commit, but let me know there's something new to test and look at when you do. i think we need users, and that when you commit for the first time is when it asks for it and you can save the credentials for later commits
14:14:58 <djazayeri> pascal`, thanks
14:15:46 <pascal`> well, i told harshini you're never in here =S
14:16:29 <james_regen> it's been a few years since i setup my workspace, though, so i can't remember the details. i'd think someone who has done this more recently would correct me if i'm wrong, though
14:17:53 <pascal`> james_regen, i think jmiranda had to create a new svn user for me
14:18:17 <pascal`> or maybe it was bwolfe... and i think you have to assign specific permissions to get access to certain branches etc
14:19:50 <catechu> it seems that I don't have the authorization to commit
14:20:03 <james_regen> is it the same login that's used on dev.openmrs.org?
14:20:15 <pascal`> james_regen, yeah
14:20:16 *** bwolfe has quit IRC
14:22:44 <james_regen> thanks. catechu: it looks like you can register from the dev.openmrs.org web page, but maybe need to get permission to commit to our module space
14:23:25 <catechu> yes, I'd registered earlier, and the commit was rejected -- should I ask someone for commit rights to the module space?
14:25:04 <bwolfe_> !requestsvnspace
14:25:04 <OpenMRSBot> bwolfe_: Error: "http://openmrs.org/wiki/Developers#Requesting_Subversion_Repository_Access" is not a valid command.
14:25:22 <pascal`> oh yeah, guess i should have remembered that part =)
14:26:06 <catechu> bwolfe_: ok, thanks!
14:31:09 <bwolfe_> catechu: do you have a wiki project page yet?
14:32:53 <pascal`> http://science.slashdot.org/story/09/06/04/1358213/Hospital-Turns-Away-Ambulances-Computers-Go-Down
14:32:56 <OpenMRSBot> <http://ln-s.net/3GjZ> (at science.slashdot.org)
14:38:50 <catechu> bwolfe_: not yet -- I was going to create one after the first commit
14:47:04 <bwolfe_> catechu: ok, when you get it up there, edit the Active Projects page and link to it for me. :-)
14:47:23 <catechu> bwolfe_: certainly!
14:48:36 *** bwolfe_ is now known as bwolfe
14:51:13 *** nimanthab has joined #openmrs
14:51:46 <nimanthab> bwolfe: Hi Ben!
14:58:31 <catechu> bwolfe: for some reason I am still not able to commit
15:06:04 *** kane77 has quit IRC
15:07:18 *** bwolfe has quit IRC
15:07:35 *** bwolfe has joined #openmrs
15:07:35 *** ChanServ sets mode: +o bwolfe
15:08:50 <catechu> bwolfe: how can I check that I have commit rights?
15:08:59 <bwolfe> you don't
15:09:55 <catechu> bwolfe: what else do I need to do to request them?
15:10:45 <bwolfe> just follow that wiki page I linked ot
15:10:49 <bwolfe> send an email
15:11:19 <catechu> I did so
15:16:04 <catechu> ok, burke has responded -- thanks!
15:20:04 <bwolfe> oh, I missed that email somehow, sorry
15:20:27 <catechu> bwolfe: thank you for your help!
15:21:29 <nimanthab> bwolfe: Hi Ben! I took the latest update from trunk and I installed it. I also removed the backslashes in the OpenMRS runtime properties file
15:21:43 <nimanthab> but still I get the same error which i sent to the dev list
15:22:15 <bwolfe> nimanthab: did you stop/start tomcat after doing so?
15:22:29 <nimanthab> yup. i restarted tomcat
15:22:53 <catechu> nimanthab: is it still the context error, or are you also getting a driver error?
15:22:55 <bwolfe> odd
15:24:05 <nimanthab> context not found error
15:25:06 <catechu> I had to manually add the spring listener in web.xml before I could see what the actual error was -- though I'm not sure why that worked
15:25:16 <nimanthab> do I need to do a fresh install? I mean dropping the database and deleting the runtime properties file before installing?
15:25:33 <catechu> nimanthab: that worked for me -- I kept getting the same error until I removed the runtime properties file
15:25:54 <nimanthab> ok. let me try it out then
15:26:03 <catechu> or the whole ~/.OpenMRS dir, for that matter
15:35:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8228]: Fixing load properties method committed by dthomas in [8154] to allow for … <http://dev.openmrs.org/changeset/8228> || OpenMRS Changesets: Changeset [8227]: serialization: added some new unit tests which are based the new mapping … <http://dev.openmrs.org/changeset/8227> || OpenMRS Changesets: Changeset [8226]: serialization: deleted some old unit tests <http://dev.openmrs.org/changeset/8226> || OpenMRS Changesets: Changeset [8225]: serialization: deleted some old unit tests for domain objects and those … <http://dev.openmrs.org/changeset/8225> || OpenMRS Changesets: Changeset [8224]: serialization: added unit tests for testing the long serialization for … <http://dev.openmrs.org/changeset/8224> || OpenMRS Changesets: Changeset [8223]: reporting: Implemented suggested changes to the lab encounter report. * … <http://dev.openmrs.org/changeset/8223> || OpenMRS Changesets: Changeset [8222]: ncd: Fixed some bugs introduced during refactoring of hibernate object … <http://dev.openmrs.org/changeset/8222> || OpenMRS Modules: Medical Problem 1.0.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=medicalproblem&version=&1.0.1>
15:46:44 <catechu> nimanthab, have you figured it out?
15:47:09 <nimanthab> catechu: still installing the newest version.
15:47:30 <nimanthab> i completed the wizard. now its in the middle of creating the database and adding demo data and stuff
15:49:55 <catechu> ok
15:54:53 *** deadpool has joined #openmrs
15:58:05 <deadpool> hello everyone
16:03:10 * r0bby throws a vase at the wall
16:04:41 <deadpool> is it a ceramic vase?
16:07:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8229]: facility data: remove some undeeded classes. <http://dev.openmrs.org/changeset/8229>
16:08:38 <r0bby> deadpool: god i hope so
16:09:04 <deadpool> quick question you ever play monkey island r0bby
16:16:19 *** catechu has quit IRC
16:20:03 <r0bby> no
16:21:33 *** deadpool_ has joined #openmrs
16:21:33 *** deadpool has quit IRC
16:21:34 *** deadpool_ is now known as deadpool
16:26:51 *** Mkop has joined #openmrs
17:11:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8231]: formimportexport: Version 1.6.0 includes a change which removes the … <http://dev.openmrs.org/changeset/8231> || OpenMRS Changesets: Changeset [8230]: Adding close() for potentially hanging inputStreams in finally blocks … <http://dev.openmrs.org/changeset/8230> || OpenMRS Modules: Form Import Export 1.6.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=formimportexport&version=&1.6.0>
17:13:57 <Mkop> my boss is a moron
17:14:30 <Mkop> told me I shouldn't use the svn repository on the server for my development, I should install svn server locally and use that for development, and upload it to the server repo when "we're ready"
17:17:59 <Keelhaul> what are you developing
17:21:25 <r0bby> Mkop: that's what git is for :)
17:21:43 <Mkop> except they don't have a git server
17:23:55 <Mkop> Keelhaul: developing a C++ library for preprocessing tasks for optical breast imaging research
17:24:18 <Mkop> what the heck
17:24:22 <Mkop> this file is supposed to be ASCII
17:24:29 <Mkop> but apparently it's not
17:39:44 *** deadpool has quit IRC
17:43:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Error opening Basic Form via dashboard <http://forum.openmrs.org/viewtopic.php?f=3&t=340#p1607> || OpenMRS Changesets: Changeset [8232]: openmrs-1.4.x. moving inputSteam.close() into finally blocks. this … <http://dev.openmrs.org/changeset/8232>
17:44:31 <r0bby> Mkop: use git
17:44:36 <r0bby> then push to SVN when you're done
17:44:43 <r0bby> Mkop: git has svn integration
17:53:44 *** deadpool has joined #openmrs
18:04:01 <deadpool> hey quick question is anybody working on a dicom module i didn't really see anything about it
18:06:07 *** nimanthab has quit IRC
18:06:27 <bwolfe> deadpool: I've heard of some groups thinking about it
18:06:43 <bwolfe> deadpool: you could send an email to the implementers mailing list and ask
18:09:37 *** Mkop has quit IRC
18:09:46 *** Mkop has joined #openmrs
18:10:45 * r0bby sigh
18:26:41 <deadpool> yeah cause i am here at a hospital and they use a lot of the imaging software to do diagnoses for cancer
18:27:11 <deadpool> so i was wondering if someone was doing it i wanted to help or if not get a module started
18:27:49 <deadpool> but thanks i will send an email to the implementers
18:27:51 <bwolfe> deadpool: the frontlinesms group does stuff with images (not sure about dicom)
18:28:21 <deadpool> is that part of the openmrs or is that a third party software that works with openmrs
18:29:13 <r0bby> hrm
18:29:24 <r0bby> How does hibernate model a Map
18:29:33 <r0bby> ie what i put for it?
18:29:37 <r0bby> varchar(255)
18:29:41 <r0bby> ?
18:29:43 <r0bby> :(
18:29:46 <r0bby> UGH
18:30:24 <bwolfe> r0bby: it might use "bag"s for a map.
18:31:28 <r0bby> sigh
18:31:59 <r0bby> I am *MISERABLE*
18:37:35 <r0bby> bwolfe: are there any places where openmrs uses maps persisted? that i can look at the schema for?
18:38:48 <bwolfe> not that I know of
18:38:55 <r0bby> I see a set used
18:39:09 <djazayeri> r0bby, what are you mapping?
18:40:16 <r0bby> djazayeri: the coded options \
18:40:31 <r0bby> me and mike settled on using the one table per class hierarchy method of mapping
18:40:44 <r0bby> i'm trying to figure out how to set up the table :(
18:41:30 <r0bby> sigh
18:41:36 <djazayeri> I don't think there's a way of having Hibernate translate a varchar into a map
18:41:45 <djazayeri> you'd have to do that manually (which wouldn't be too bad)
18:42:12 <r0bby> i'd prefer to not create a new table
18:42:14 <r0bby> :X
18:42:20 <djazayeri> yeah, it's fine not to
18:42:37 <r0bby> I think what we're trying to avoid is creating too many tables
18:43:11 <r0bby> agh
18:43:38 <djazayeri> so, you could have hibernate map the varchar database column to a String property in the java object.
18:43:56 <djazayeri> And then have a getCodedOptions() method in java that parses the string and returns a list.
18:46:28 <r0bby> needs to be Map<String,Map<Locale,String>>
18:46:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8233]: amrs-13x custom build: Fixed the orur01 parser to handle overlooked pcs … <http://dev.openmrs.org/changeset/8233>
18:46:38 <r0bby> so it's trickier :)
18:46:49 <Mkop> deadpool, bwolfe: I thought much of the point of ComplexObs is to store image files like dicom?
18:47:46 <Mkop> http://forum.openmrs.org/viewtopic.php?f=2&t=319
18:47:49 <OpenMRSBot> <http://ln-s.net/3GoW> (at forum.openmrs.org)
18:47:51 <r0bby> the key itself, is a map
18:48:00 <bwolfe> deadpool: frontlinesms is a separate group that uses openmrs. they send the images through phones to get second opinions. its probably not actually pertinent to you, sorry. :-/
18:48:21 <bwolfe> Mkop: yes, ComplexObs is probably where some of the binary portions of dicom would go
18:48:56 <deadpool> how do the hospitals that are currently using openmrs storing images and viewing them
18:49:01 <Mkop> my laptop battery is about to die, and I forgot to bring my charger with me to work :-(
18:49:12 <r0bby> ouch
18:49:22 <Mkop> home is about a 10 minute walk away
18:49:26 <Mkop> so it's not too ba
18:49:28 <Mkop> bad*
18:49:36 <Mkop> but it's still annoying
18:50:21 <bwolfe> deadpool: not sure. probably ComplexObs
18:55:46 *** bwolfe has quit IRC
18:56:22 <djazayeri> r0bby, okay, so the method could parse the string and return a Map<String, Map<Locale, String>>
18:56:57 <djazayeri> If the goal is to avoid extra tables by having a generic options text field which is used for all question types
18:56:58 <r0bby> I'd like to figure out how to do this :X
18:57:00 <djazayeri> (and I think that's a good idea)
18:57:29 <djazayeri> Then you can't use Hibernate to map from the string to the Map<...>
18:57:38 <r0bby> hrm lemme ask on the hibernate chan if it's possible to do a map in one class :X
18:59:02 <djazayeri> I was sort of assuming that you'd put serialized xml in that text field, and have a getCodedOptions() method that makes a one-line call to the deserializer.
18:59:34 <r0bby> I kinda like the map way :)
18:59:36 <r0bby> it makes sense
19:00:04 <djazayeri> I guess I wouldn't be surprised if Hibernate has a way of specifying a custom converter for a database column <-> a property
19:00:06 <djazayeri> so yes, look into that.
19:00:14 <r0bby> i am gonna
19:06:51 *** Mkop has quit IRC
19:16:34 *** deadpool has quit IRC
19:17:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8235]: #1539 -- adding a comment for storeProperties and loadProperties methods … <http://dev.openmrs.org/changeset/8235> || OpenMRS Changesets: Changeset [8234]: Creating active-lists branch for active lists support project. This will … <http://dev.openmrs.org/changeset/8234>
19:20:17 * r0bby sighs
19:30:15 <r0bby> hmm looks like we're gonna have to create two extra tables :S
19:30:27 <r0bby> or maybe 1
19:49:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8237]: -- chica * changed messageProcessed aop handling to call back to socket … <http://dev.openmrs.org/changeset/8237> || OpenMRS Changesets: Changeset [8236]: -- sockethl7listener * added lock and call back to checkin handling. We … <http://dev.openmrs.org/changeset/8236>
20:18:17 *** james_regen has quit IRC
20:21:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8241]: schedulerquartz: removed the unused servelt <http://dev.openmrs.org/changeset/8241> || OpenMRS Changesets: Changeset [8240]: schedulerquartz: quartz scheduler initializing and starting on … <http://dev.openmrs.org/changeset/8240> || OpenMRS Changesets: Changeset [8239]: schedulerquartz: Added misfire instructions. ordered quartz to run only … <http://dev.openmrs.org/changeset/8239> || OpenMRS Changesets: Changeset [8238]: schedulerquartz: more required libs <http://dev.openmrs.org/changeset/8238>
21:27:22 *** kane77 has joined #openmrs
21:30:26 *** kane77 has quit IRC
21:53:06 *** djazayeri has quit IRC
21:56:29 *** Agnor has joined #openmrs
23:31:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8242]: formentry module. #1546 I needed to change four lines in the formEntry … <http://dev.openmrs.org/changeset/8242> || OpenMRS Tickets: Ticket #1546 (task created): UTF8 needs to be ensured throughout the formentry process. <http://dev.openmrs.org/ticket/1546>
23:40:22 *** Mkop has joined #openmrs
23:51:34 *** Mkop has quit IRC
23:51:43 *** Mkop has joined #openmrs