IRC Chat : 2009-05-27 - OpenMRS

00:03:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8043]: facility data: adding some more utility methods <http://dev.openmrs.org/changeset/8043>
00:28:16 <r0bby> openmrs_3907: oh yes, the extension points of the ui are AOP
00:36:14 <openmrs_3907> Is the community still interested in an installer? I can create one for win32, that bundles a portable MySQL and starts it if necessary, at launch. Perhaps a JRE as well. I can make this either a portable distribution or a point and click installer.
00:37:14 <openmrs_3907> Assuming this is useful for people trying to quickly take it for a spin.
00:43:43 *** openmrs_3907 has quit IRC
00:43:57 *** openmrs_3907 has joined #openmrs
00:52:35 <r0bby> openmrs_3907: there are several installers, but sure i guess =)
00:52:49 <r0bby> though I mostly run trunk on my local testing instance
00:56:45 <openmrs_3907> I see. I wouldn't want to make a redundant addition then.
01:05:03 *** openmrs_3907 has quit IRC
01:15:07 *** Mkop has joined #openmrs
01:22:04 *** Mkop1 has joined #openmrs
01:23:41 *** Mkop has quit IRC
01:56:17 <r0bby> !upul++
01:56:17 <r0bby> !upul++
01:56:18 <r0bby> !upul++
01:56:19 <r0bby> !upul++
01:57:45 <Mkop1> whoa
01:57:46 <Mkop1> for what?
02:00:37 <r0bby> http://dev.openmrs.org/ticket/787
02:01:01 <r0bby> Was investigating if fieldgen could be used for rendering questions
02:01:06 <r0bby> based on type
02:01:38 <r0bby> I guess I could just write the handler tonight
02:01:55 <r0bby> I have to write them for: Numeric, Coded, or Stock Options
02:02:13 <r0bby> Stock Question *
02:02:33 <r0bby> Stock question is like "Did you have enough vaccinations? If so, how many?"
02:03:17 <r0bby> Coded is like t -> {en_US -> "yes" } f -> {en_US -> "no
02:03:19 <r0bby> Coded is like t -> {en_US -> "yes" } f -> {en_US -> "no
02:03:22 <r0bby> Coded is like t -> {en_US -> "yes" } f -> {en_US -> "no" }
02:03:34 <r0bby> :D
02:03:40 <r0bby> I seriously have to blog
02:03:45 <r0bby> at some point
02:04:36 <Mkop1> r0bby: just do it and get it done
02:06:18 <Keelhaul> git r dun
02:07:29 *** atomicturtle has joined #openmrs
02:07:50 *** atomicturtle has left #openmrs
02:11:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8044]: facility data: add the code for stock option question type class; upgrade … <http://dev.openmrs.org/changeset/8044>
02:35:20 *** omart13x has joined #openmrs
02:41:26 *** omar has joined #openmrs
02:47:52 *** upul has joined #openmrs
02:47:52 *** ChanServ sets mode: +v upul
02:57:07 *** nribeka has joined #openmrs
02:57:07 *** ChanServ sets mode: +v nribeka
03:04:47 *** omart13x has quit IRC
03:05:39 *** Mkop1 has quit IRC
03:13:27 *** amoga has joined #openmrs
03:14:02 <Keelhaul> http://keelhaul.homeip.net/misc/diagram_class.png
03:14:03 <Keelhaul> hows this
03:14:05 <OpenMRSBot> <http://ln-s.net/3ESF> (at keelhaul.homeip.net)
03:14:10 <Keelhaul> my first UML steps lol
03:14:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Using OpenMRS API inside Grails <http://forum.openmrs.org/viewtopic.php?f=11&t=450#p1593>
03:16:12 <amoga> hey keelhaul
03:16:24 <Keelhaul> hi
03:16:31 <amoga> whats the project you on?
03:17:34 <Keelhaul> learning uml =)
03:18:06 <amoga> lol.. tough one;)
03:18:12 <Keelhaul> well yea
03:18:17 <Keelhaul> but most employers ask for that =/
03:19:08 <amoga> i know..gues they wont understand anythin less complicated
03:23:09 <Keelhaul> http://keelhaul.homeip.net/misc/diagram_use_case.png
03:23:14 <OpenMRSBot> <http://ln-s.net/3ESH> (at keelhaul.homeip.net)
03:23:28 <Keelhaul> http://keelhaul.homeip.net/misc/diagram_activity_discharge_letter.png
03:23:30 <OpenMRSBot> <http://ln-s.net/3ESI> (at keelhaul.homeip.net)
03:23:37 <Keelhaul> those are the 3 diagram types i've been practicing
03:43:35 <Keelhaul> http://keelhaul.homeip.net/misc/diagram_use_case.png
03:43:36 <OpenMRSBot> <http://ln-s.net/3ESH> (at keelhaul.homeip.net)
03:46:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Using OpenMRS API inside Grails <http://forum.openmrs.org/viewtopic.php?f=11&t=450#p1594>
03:49:36 <Keelhaul> http://keelhaul.homeip.net/misc/plan.png
04:02:47 <r0bby> Keelhaul: ... that's kinda scary
04:02:52 *** atomicturtle1 has joined #openmrs
04:02:55 <Keelhaul> why
04:03:59 <r0bby> I dont know, it just is
04:04:08 <r0bby> tomorrow i get to fight w/ fieldgen or at least grok it
04:04:18 <r0bby> I wanna force specific tags to generate :(
04:04:49 <r0bby> I'd prefer to be in complete control vs not being in control w/ fieldgen I dont get it :(
04:09:59 <Keelhaul> scary in a negative way?
04:10:17 <Keelhaul> oh you mean the last one
04:10:17 <Keelhaul> lol
04:10:31 <Keelhaul> thats from south park
04:13:02 <r0bby> lol
04:41:56 *** harshini has joined #openmrs
04:45:08 <harshini> is darius around
04:45:34 <harshini> i am unaware of his IRC nick name
05:21:56 <Keelhaul> rarely
05:21:59 <Keelhaul> hasnt been here in weeks
05:22:02 <Keelhaul> your best bet is email
05:42:00 *** jmiranda has joined #openmrs
05:42:00 *** ChanServ sets mode: +o jmiranda
05:52:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8045]: Sync server editing bug: unable to remove a server from the list because … <http://dev.openmrs.org/changeset/8045>
05:55:52 *** omar has quit IRC
06:01:44 *** jmiranda has quit IRC
06:34:26 *** amoga has quit IRC
06:56:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Recipe: Using OpenMRS API inside Grails <http://forum.openmrs.org/viewtopic.php?f=11&t=450#p1595>
06:57:17 <pascal``> hi ppl
07:00:20 <upul> hi pascal`
07:01:49 *** atomicturtle1 has quit IRC
07:02:23 *** scottyaz has joined #openmrs
07:02:26 *** atomicturtle has joined #openmrs
07:03:13 <pascal``> hey upul
07:03:16 *** pascal`` is now known as pascal`
07:19:09 *** Keelhaul has quit IRC
07:35:17 <pascal`> so upul, how's Sri Lanka going? :)
07:38:23 <upul> US, EU making trouble everywhere because Sri Lanka finished the terrorism, they cry about human rights of terrorists, but don't say anything of what terrorist did to people
07:38:58 <upul> we should make nuclear weapons :-D
07:39:16 <upul> and scare them
07:40:14 <pascal`> hmmm
07:40:22 <upul> http://defence.lk/new.asp?fname=20090526_07
07:43:07 <pascal`> ic
08:29:04 *** scottyaz has quit IRC
08:33:08 *** scottyaz has joined #openmrs
08:42:59 *** scottyaz has quit IRC
08:43:19 *** scottyaz has joined #openmrs
09:05:46 *** scottyaz has quit IRC
09:18:30 *** scottyaz has joined #openmrs
09:25:56 *** scottyaz has quit IRC
09:29:19 *** scottyaz has joined #openmrs
09:37:15 *** scottyaz has quit IRC
09:37:34 *** scottyaz has joined #openmrs
09:51:43 *** scottyaz has quit IRC
09:54:12 *** scottyaz has joined #openmrs
10:00:09 *** openmrs_398 has joined #openmrs
10:01:16 *** openmrs_398 has quit IRC
10:02:55 *** atomicturtle has quit IRC
10:03:17 *** atomicturtle has joined #openmrs
10:16:16 *** kane77 has joined #openmrs
10:40:06 *** harshini has quit IRC
10:44:38 *** harshini has joined #openmrs
10:44:52 <harshini> is anyone around
10:53:56 *** harshini has quit IRC
10:59:43 *** luzhuangwei has joined #openmrs
11:25:24 *** james_regen has joined #openmrs
11:25:24 *** ChanServ sets mode: +v james_regen
11:27:20 *** scottyaz_ has joined #openmrs
11:28:29 *** scottyaz has quit IRC
11:34:34 *** upul has quit IRC
11:54:43 *** atomicturtle has left #openmrs
12:16:45 *** bwolfe has joined #openmrs
12:16:45 *** ChanServ sets mode: +o bwolfe
12:32:37 *** atomicturtle has joined #openmrs
12:34:14 *** scottyaz_ has quit IRC
13:03:35 *** atomicturtle1 has joined #openmrs
13:03:35 *** atomicturtle has quit IRC
13:07:45 *** upul has joined #openmrs
13:07:45 *** ChanServ sets mode: +v upul
13:08:27 *** kane77 has quit IRC
13:08:46 *** kane77 has joined #openmrs
13:15:46 <r0bby> bwolfe: what the heck is this
13:15:47 <r0bby> checkEmptyVal((NumericQuestionType) null);
13:15:57 <r0bby> why are you casting a null reference :X
13:16:16 <r0bby> I copied it more or less, i'm using fieldgen
13:16:42 <bwolfe> so that java knows which "checkEmptyVal" method toc all
13:16:44 <bwolfe> *to call
13:16:45 <r0bby> it's in all the fieldgen handlers :X
13:16:52 <r0bby> ahh ok
13:17:35 <r0bby> I can also specify my own Tag class?
13:17:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1524 (defect closed): Unable to deploy OpenMRS 1.5 Alpha - error getting unrun updates on the database <http://dev.openmrs.org/ticket/1524#comment:1>
13:18:01 <bwolfe> I think so, I can't remember though
13:18:10 <bwolfe> I think upul did so in the Tribe module
13:18:15 <bwolfe> check out what he did there
13:27:20 <r0bby> upul did a lot of work
13:27:24 <r0bby> i found that last night
13:27:34 <r0bby> Mike said to take a second look before i wrote my own handler util class
13:29:29 <r0bby> im glad i did :)
13:36:34 <r0bby> !karma upul
13:36:34 <OpenMRSBot> r0bby: Karma for "upul" has been increased 8 times and decreased 0 times for a total karma of 8.
13:36:44 <r0bby> that was when i found the fieldgen stuff
13:39:42 *** upul_ has joined #openmrs
13:39:42 *** ChanServ sets mode: +v upul_
13:40:13 <r0bby> upul: thanks for writing in support to write fieldgen handlers in modules!
13:40:28 <r0bby> I just happened to need it this summer! And hell it'll come in handy in groovyforms now!
13:40:43 <r0bby> bwolfe: was this written as of last summer?
13:40:55 <r0bby> :X
13:41:01 <bwolfe> he wrote it for gsoc 2008, yes
13:41:24 <r0bby> nice
13:41:28 <r0bby> hrm
13:41:37 <r0bby> I wish i'd seen ti
13:41:57 <r0bby> upul: great job
13:49:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: OpenMRS Installation problem on windows 2003 <http://forum.openmrs.org/viewtopic.php?f=9&t=442#p1596>
13:50:58 *** Mkop has joined #openmrs
13:58:07 *** upul has quit IRC
14:02:00 *** scottyaz has joined #openmrs
14:21:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8046]: serialization: added java doc in my new written classes which deal with … <http://dev.openmrs.org/changeset/8046> || OpenMRS Forum: Re: OpenMRS Installation problem on windows 2003 <http://forum.openmrs.org/viewtopic.php?f=9&t=442#p1597> || OpenMRS Tickets: Ticket #1517 (task closed): Duplicate concept word issue occurs earlier in the latest liquibase script <http://dev.openmrs.org/ticket/1517#comment:6>
14:24:22 *** atomicturtle1 has quit IRC
14:36:07 *** upul_ has quit IRC
14:37:28 *** Keelhaul has joined #openmrs
14:37:28 *** ChanServ sets mode: +v Keelhaul
14:37:52 <Keelhaul> hey, bwolfe is back =)
14:40:37 *** nribeka1 has joined #openmrs
14:40:49 <bwolfe> where? I don't see him?
14:40:51 *** bwolfe is now known as notbwolfe
14:41:10 <Keelhaul> lol
14:41:34 <Keelhaul> the channel has been abandoned lately
14:41:56 <Keelhaul> some potential new implementer was having infopath trouble and no one could help him =(
14:45:26 <notbwolfe> there are 20 people in here...no one could help??
14:45:50 <r0bby> one of htme a bot
14:45:54 <r0bby> notbwolfe: nice hiding :)
14:46:02 <r0bby> ./nick notr0bby
14:47:24 <Keelhaul> well there were like 10 people
14:47:26 *** nimanthab has joined #openmrs
14:47:27 <Keelhaul> and most were afk
14:47:52 <r0bby> I dont know jack about infopath
14:47:52 *** nribeka1 has quit IRC
14:48:00 *** notbwolfe is now known as bwolfe
14:48:03 <nimanthab> hi
14:48:06 <Keelhaul> hi
14:48:17 <nimanthab> a little favour needed
14:48:24 <nimanthab> i am developing a module for openmrs
14:48:45 <nimanthab> in my sqldiff.xml i have added the create sql for the table that is needed
14:49:06 <nimanthab> however when i upload the .omod to openmrs that table does not get created
14:49:17 <nimanthab> any idea what's going wrong?
14:49:46 <Keelhaul> have you uploaded the module before
14:49:57 <nimanthab> i did
14:50:04 <nimanthab> but i removed it before uploading again
14:50:07 <r0bby> add another diff
14:50:08 <r0bby> :)
14:50:18 <r0bby> I learned the hardway to not muck w/ existing diffs
14:50:20 <Keelhaul> it only updates the parts from the sqldiff file that have a higher version number than the one set for your module in global props
14:50:31 <r0bby> Keelhaul: learned that :)
14:50:45 <nimanthab> the same diff
14:50:46 <Keelhaul> it's called yourmoduleid.database_version i think
14:51:08 <r0bby> each diff has a version iirc
14:51:15 <Keelhaul> you can either delete that property and delete the tables it already created (if some are already present)
14:51:31 <Keelhaul> or add the new table into a new version element in the sqldiff file
14:51:46 <nimanthab> didn't quite get you
14:51:50 <Keelhaul> =/
14:52:00 <nimanthab> there's a version tag in the diff tag
14:52:07 <Keelhaul> nimanthab: how many tables does your module create total
14:52:08 <nimanthab> do you mean that property?
14:52:14 <nimanthab> at the moment only one
14:52:15 <r0bby> nimanthab: trust me on this: modifying an existing diff is asking for trouble
14:52:17 <Keelhaul> ok
14:52:27 <Keelhaul> nimanthab: go to global properties in your openmrs
14:52:38 <Keelhaul> there should be a key called yourmodule.database_version
14:52:50 <nimanthab> hold on
14:52:54 <Keelhaul> r0bby: module diff is empty by default, you have to modify it
14:53:07 <r0bby> Keelhaul: i know
14:53:17 <r0bby> if he's modifying an existing one
14:53:24 <Keelhaul> really?
14:53:31 <Keelhaul> which one
14:53:34 <r0bby> erm
14:53:35 <Keelhaul> trunk doesnt have one anymore
14:53:35 <r0bby> wait
14:53:42 <nimanthab> Keelhaul: yup there's a key called dataintegrity.database_version
14:53:43 * r0bby shuts up
14:53:50 <nimanthab> it is set to 1.0
14:53:50 <Keelhaul> nimanthab: yea, delete that one
14:54:18 <Keelhaul> and then compile your module again and try loading it
14:55:56 *** nribeka has quit IRC
14:59:32 *** jmiranda has joined #openmrs
14:59:32 *** ChanServ sets mode: +o jmiranda
15:02:16 *** atomicturtle has joined #openmrs
15:02:45 *** scottyaz has quit IRC
15:05:27 *** Nimantha_ has joined #openmrs
15:08:41 *** nimanthab has quit IRC
15:10:15 <Nimantha_> Keelhaul: thanks a lot
15:10:17 <Nimantha_> :)
15:10:29 <Nimantha_> got it done by deleting that global property
15:10:30 <Nimantha_> :)
15:11:01 <Keelhaul> np
15:11:24 <Keelhaul> it always checks which version is set in the properties, and skips the ones in your sqldiff that are below or equal
15:11:49 <Keelhaul> you can delete that prop and alter your 1.0.0 block as much as you want unless you've uploaded an omod to the repository
15:12:00 <Keelhaul> then you'll have to add new tables in a new version block
15:14:37 *** deadpool has joined #openmrs
15:14:58 <deadpool> hello
15:16:18 <bwolfe> hey deadpool
15:18:26 <deadpool> i have a question i want to subscribe to the developers and implementers listserv but everytime i click on the link it opens up outlook express. I don't use outlook express for email is there any way i can subscribe to the listserv without using outlook or something
15:18:45 <deadpool> like is there a email address which i can send an email to
15:20:17 <bwolfe> deadpool: see the note on that page that starts with "¤ Uses "mailto:" links."
15:20:51 <bwolfe> deadpool: alternatively, you could setup firefox to map your mailto: links to go to gmail, yahoo, etc
15:21:12 <deadpool> ah didn't know i could do that thanks
15:23:21 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8050]: iphoneinterface: Initial commit <http://dev.openmrs.org/changeset/8050> || OpenMRS Changesets: Changeset [8049]: iphoneinterface: Initial commit <http://dev.openmrs.org/changeset/8049> || OpenMRS Changesets: Changeset [8048]: iphoneinterface: Initial commit <http://dev.openmrs.org/changeset/8048> || OpenMRS Changesets: Changeset [8047]: serialization: added java doc talking about the comparation for … <http://dev.openmrs.org/changeset/8047>
15:25:11 <deadpool> will i get like a confirmation e-mail at some point then?
15:25:52 <deadpool> nv i got it thanks a lot bwolfe
15:26:38 *** scottyaz has joined #openmrs
15:26:47 *** openmrs_8607 has joined #openmrs
15:30:15 <Mkop> how was the conference thingy?
15:36:23 * r0bby bangs his head
15:48:19 *** lzw_ has joined #openmrs
15:51:55 <deadpool> was there a conference?
15:53:35 <Mkop> probably closer to a big meeting
15:53:36 <Mkop> not sure
15:53:39 <Mkop> bwolfe, jmiranda?
15:53:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8051]: idcards: Added password option to pdf generation Removed unused image … <http://dev.openmrs.org/changeset/8051>
15:55:21 <jmiranda> Mkop, it was good
15:55:41 <deadpool> what did you guys talk about?
15:56:53 <jmiranda> deadpool, it was an intro to openmrs for most of the people there
15:57:07 <deadpool> oh man i wish i was there
15:57:38 <jmiranda> it was geared toward implementers (or "interested" parties in the u.s.)
15:57:44 <jmiranda> but there were a couple of developers there
15:58:18 <deadpool> well right now i have deployed it in a hospital and muddling my way through
15:58:40 <deadpool> there isn't really that much documentation on how to use it completely
15:58:45 <jmiranda> where are you located?
15:59:13 <deadpool> well i am from the U.S but right now i have the system deployed in a cancer hospital in india
15:59:27 <jmiranda> awesome
15:59:46 <jmiranda> deadpool, the meeting probably wouldn't have helped you, in getting through some of the muddling
16:00:03 <jmiranda> but maybe it would have been nice to meet some of the other implementers
16:00:11 <jmiranda> to hear what they're doing
16:00:29 <jmiranda> one thing i would recommend to you ...
16:00:34 <jmiranda> do one thing at a time
16:00:44 <jmiranda> not sure what your plans are, but focus on one area
16:00:49 <jmiranda> and do that well
16:01:01 <jmiranda> don't try to solve all the issues all at once
16:01:22 <deadpool> haha well i just graduated from college and really haven't found a job so my parents told me why not go help these people out
16:01:23 <jmiranda> patient registration is a big enough project
16:01:30 <deadpool> http://www.cacharcancerhospital.org/
16:01:51 <deadpool> yeah it is i am just realizing the scope of all this
16:01:53 <jmiranda> that's awesome that you're doing that
16:02:02 <jmiranda> are you being "directed"
16:02:21 <deadpool> nope so i have been here for about two months right now
16:02:30 <deadpool> they didn't have any it infrastructure
16:02:47 <deadpool> so we got a couple computers put them in the doctors and nurses area
16:03:11 <deadpool> i setup a network and a domain and all that and now setting up an emr was what i was planning to do
16:03:37 <deadpool> going slowly but surely
16:04:33 <deadpool> i like the project that i was hoping to develop it to as a developer but only after getting to know the software a bit better
16:04:53 <jmiranda> deadpool, there are still some big pieces you can contribute
16:04:56 *** luzhuangwei has quit IRC
16:05:14 <jmiranda> an oncology module would be awesome
16:05:18 <deadpool> well i hope to but as you said that i should focus on one thing and do it well
16:05:31 <jmiranda> and we have a doctor in Rwanda who would be psyched to talk to you
16:05:37 <deadpool> yeah it would that was what i was hoping to do
16:05:38 <jmiranda> exactly
16:05:57 <deadpool> but i need to know how the system works and what better way then to use it
16:06:02 <jmiranda> do you have a pretty good understanding of the hospital workflow
16:06:11 <r0bby> I despise the way IDEA prints :/
16:06:18 <jmiranda> i wouldn't try to get doctors involved too soon
16:06:37 <jmiranda> how long do you anticipate staying there?
16:06:39 <deadpool> yeah being here for two months i am pretty well know how most of the things work around here
16:07:02 <jmiranda> i would also recommend getting some help as soon as possible
16:07:14 <jmiranda> someone who will be there if/when you leave
16:07:31 <jmiranda> not that you have the funding for that
16:07:46 <deadpool> well my goal was for about another month but i will be remote administering it and the hospital is hoping to hire an it guy sometime before i leave
16:08:35 <deadpool> i am just realizing the enormity of the project i really admire you guys who go out to africa and help
16:08:45 <deadpool> hey so where in the us did you guys hold the meeting?
16:09:54 <Mkop> Boston
16:12:49 <deadpool> so any advice on any documentation on how to use openmrs
16:12:49 <jmiranda> deadpool, yeah boston
16:13:17 <deadpool> i have sucessfully deployed it but am having trouble making encouters adding drug regimens and such
16:13:22 <jmiranda> deadpool, and yes ... doing one vertical program (tb, primary care, hiv, etc) is a huge undertaking
16:13:39 <jmiranda> doing more than one is impossible without a huge team
16:13:50 <jmiranda> just try to get patient registration done
16:14:24 <jmiranda> and maybe you can collect some data on intake
16:14:36 <jmiranda> but just get something very small working well
16:14:54 <jmiranda> patient scheduling would be a good next step
16:15:26 <jmiranda> a weekly/daily visit report
16:15:46 <jmiranda> but don't listen to me, listen to your users
16:15:52 <jmiranda> figure out what administrators need
16:16:03 *** atomicturtle has left #openmrs
16:16:12 * r0bby sighs
16:16:20 <Mkop> deadpool: what do they use currently? paper records?
16:16:28 <deadpool> yeah
16:16:53 <deadpool> every thing is hand written and it is taking up a lot of space
16:17:19 <deadpool> one whole entire room
16:18:33 <r0bby> i think paul showed a room where medical records used to be
16:18:43 <r0bby> it's painful to see how things are :(
16:18:54 <deadpool> yeah but you have to be realistic
16:19:10 <deadpool> we come from a place where we can get things easily and there are a lot of educated people
16:19:55 <deadpool> and only now does india have access to what we have had
16:19:59 <r0bby> I understand completely
16:20:10 <deadpool> it is getting better but it will take time
16:20:17 <r0bby> This is why im working w/ openmrs vs say pidgin etc
16:20:26 <r0bby> I"m a google summer of code student
16:20:30 <deadpool> haha cool
16:20:44 <deadpool> i did that for mozila last year
16:21:04 <deadpool> it was fun
16:21:45 <deadpool> i live near the mozilla campus so i got to work from there and got to go to the google cafeteria and eat
16:25:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8052]: iphoneinterface: Added OpenMRS logo to login page <http://dev.openmrs.org/changeset/8052>
16:25:35 <deadpool> well guys i am just getting started to i apologize if i am asking stupid or idiotic questions
16:27:51 <r0bby> deadpool: shoulda done it for openmrs ;)
16:27:54 <r0bby> we're better :D
16:28:21 <deadpool> haha well i just found out about openmrs about three months ago
16:28:31 <r0bby> tsk tsk no excuses
16:28:38 <r0bby> Okay seriously, i lurk on here too much
16:28:39 <deadpool> fair enough
16:28:50 <deadpool> may i ask where you go to school?
16:30:39 *** Nimantha_ has quit IRC
16:30:46 <r0bby> Local community college
16:30:52 <r0bby> 5 courses from my associates
16:30:59 *** nimanthab has joined #openmrs
16:31:00 <r0bby> spreading it over 2 years from now
16:31:08 <r0bby> Spring of 2011 is when i graduate
16:31:19 <r0bby> assuming things go to plan
16:32:27 <deadpool> ah cool you should think if you are going to get your bachelors at uofi
16:32:40 <deadpool> university of illinois urbana champaign
16:32:50 <deadpool> that is where i went got my undergrad and grad there
16:32:51 <r0bby> likely SUNY stony brook
16:32:59 <r0bby> (state school)
16:33:39 <nimanthab> hi everyone
16:33:56 <deadpool> hey quick question r0bby do you knwo how to delete a concept
16:33:58 <nimanthab> need some help in running a junit test method
16:34:10 <deadpool> i am looking but couldn't find a way to do it
16:34:13 <deadpool> as a super user
16:34:41 <r0bby> deadpool: sorry no :(
16:35:07 <r0bby> and I don't have time to look right now i'm trying to learn the data model my mentor set up
16:35:18 <nimanthab> the test class method which raises the exception is http://pastebin.com/d483cd164
16:35:22 <Keelhaul> deadpool: you arent supposed to delete anything by default, only retire/void
16:35:31 <deadpool> ah ok
16:35:36 <nimanthab> and the stack trace is http://pastebin.com/d3c3f687d
16:35:38 <Keelhaul> but other than that, you can do it via the db directly i guess
16:35:49 <deadpool> but won't it take up space in the database?
16:35:57 <Keelhaul> not much
16:36:02 <deadpool> ah
16:36:11 <nimanthab> the strange thing is the tests i wrote to retrieve data from the database works but not the one which adds new data
16:36:11 <Keelhaul> and thats why adding new concepts is supposed to be done sparingly =P
16:36:44 <Keelhaul> nimanthab: check tomcat logs, it should tell you the exact col it's having problems with
16:36:45 <deadpool> eh well i understand but i needed to figure out how to add concepts and stuff and wanted to learn
16:37:25 <deadpool> hey keelhaul how do i setup encouters and all. i was looking at the demo online and couldn't find a button that would let me
16:37:40 <deadpool> same with the one i have locally installed
16:37:42 <Keelhaul> deadpool: the "normal" way is to use a form entry tool
16:37:46 <Keelhaul> like infopath or html forms
16:37:56 <Keelhaul> but you can also use the encounter management pages in the admin section
16:38:18 <deadpool> is infopath automatically intalled on windows machines or is that something special i have to download off the intarweb
16:38:24 <Keelhaul> for infopath oyu need the formentry module, for html the htmlformentry
16:38:32 <nimanthab> Keelhaul: where can i find the tomcat log?
16:38:35 <Keelhaul> no, that's a non-free program
16:38:36 <Keelhaul> part of office
16:38:39 <Keelhaul> costs 200 dollars
16:38:55 <Keelhaul> thats why alternatives are in development
16:39:07 <Keelhaul> nimanthab: in your tomcat root/logs
16:39:14 <deadpool> ah gotcha
16:39:21 <Keelhaul> check one of the files
16:39:29 <Keelhaul> well check all
16:39:33 <Keelhaul> dont remember where it writes to
16:39:47 <Keelhaul> it wasnt stdout.log (the file you usually find all the errors in)
16:40:15 <deadpool> thanks for the help keelhaul
16:40:19 <Keelhaul> deadpool: a quick waay to add an encounter is via encounter management, but you'll have to add observations to it one by onee
16:40:21 <Keelhaul> np
16:40:34 <nimanthab> Keelhaul: well there is a log file created today but it's totally empty
16:40:41 <deadpool> well thanks gusy it is later here going to eat some dinner bbl
16:40:47 <nimanthab> named: manager.2009-05-27
16:40:48 *** deadpool has quit IRC
16:40:52 <Keelhaul> nimanthab: if your tomcat has been running since before today, the date is from where it was started
16:40:55 <Keelhaul> not manager
16:41:03 <Keelhaul> either administration, catalina or stdout
16:42:56 <nimanthab> Keelhaul: can't find an error in any of the logs created today
16:43:03 <nimanthab> (i started my server today)
16:43:06 <Keelhaul> hmm
16:43:25 <nimanthab> but why does the insertion fail and not the data retreivals?
16:45:47 <Keelhaul> do you extend BaseOpenmrsData/-Metadata with your object?
16:48:15 <nimanthab> nope
16:48:30 <nimanthab> but the junit test class extends BaseModuleContextSensitiveTest
16:50:49 <Keelhaul> if it's a unit test, it shoudl tell you what's wrong with your query =o
16:51:55 <nimanthab> yup
16:51:59 <nimanthab> its in the stack trace
16:52:19 <nimanthab> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql) values ('Nimantha', 'select *')' at line 1
16:55:29 <Keelhaul> hmm
16:55:37 <Keelhaul> 'select *' as a value?
16:55:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8053]: iphoneinterface: Added comments <http://dev.openmrs.org/changeset/8053>
17:01:11 <nimanthab> Keelhaul: no that's not the problem too
17:01:16 <nimanthab> i just checked
17:01:21 <nimanthab> still the exception comes
17:02:00 <Keelhaul> whats the table structure
17:04:21 <nimanthab> CREATE TABLE `openmrs`.`dataintegrity_integrity_checks` (
17:04:21 <nimanthab> `dataintegrity_integrity_check_id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
17:04:21 <nimanthab> `name` VARCHAR(45) NOT NULL,
17:04:21 <nimanthab> `sql` VARCHAR(100) NOT NULL,
17:04:21 <nimanthab> PRIMARY KEY (`dataintegrity_integrity_check_id`)
17:04:24 <nimanthab> )
17:13:33 <Keelhaul> ah ok makes sense
17:13:58 <Keelhaul> what does the hibername mapping file look like
17:16:19 <nimanthab> Keelhaul: here you go
17:16:20 <nimanthab> http://pastebin.com/d1718b6b2
17:20:45 <Keelhaul> i dont see any errors
17:21:04 <Keelhaul> whats the unit test look like
17:23:12 <nimanthab> http://pastebin.com/d483cd164
17:25:24 <Keelhaul> #
17:25:24 <Keelhaul> temp.setIntegrityCheckName("Nimantha");
17:25:24 <Keelhaul> #
17:25:24 <Keelhaul> temp.setIntegrityCheckSql("select *");
17:25:41 <Keelhaul> hmm
17:25:41 <Keelhaul> nm
17:26:17 <Keelhaul> do you have any webapp pages that can add a new template?
17:26:20 <Keelhaul> or just unit tests
17:26:37 <nimanthab> i have a web page
17:26:44 <nimanthab> that also raises the same exception
17:26:53 <Keelhaul> but then it should be in the tomcat logs
17:29:54 *** nimanthab has quit IRC
17:33:43 <james_regen> bwolfe: ihave a HQL question
17:33:54 <bwolfe> ko
17:33:55 <bwolfe> ok
17:34:23 <james_regen> i have a HQL query that gives me all the patient IDs, but what i want is a query that gives me IDs for patients that aren't voided
17:35:17 <james_regen> i see Person has a personVoided boolean, but that seems to be different than voiding a Patient
17:36:30 *** nribeka has joined #openmrs
17:36:30 *** ChanServ sets mode: +v nribeka
17:37:06 <bwolfe> patient_id, or patient_identifier.identifier ?
17:38:48 <james_regen> the query, in part, is "select patient.patientId"
17:39:33 <bwolfe> yeah, so technically you would need to check both patient.voided and person.voided
17:40:05 <bwolfe> select patientId from Patient pat left join Person per on pat.patient_id = per.personId where pat.voided = 0 and per.voided = 0;
17:44:41 <james_regen> a followup question to make sure i understand hibernate correctly: "voided" are database columns in both the patient and person table. i'd need the Java object boolean instance variables for the classes instead?
17:45:36 <bwolfe> ah, right. hql goes on java attribute names: it should be per.personVoided = 0 in that hql query
17:45:37 <Mkop> james_regen is a person, and not just an entity that sits in #openmrs and never says anything?
17:45:39 <Mkop> :-)
17:46:09 <james_regen> mkop: i've heard similar things said about me in my cubicle
17:46:14 <Mkop> lol
17:46:54 <james_regen> i couldn't find a similar voided attribute for Patient objects
17:48:55 <bwolfe> james_regen: its inherited from the BaseData object I think
17:49:18 <bwolfe> (the person/patient voided stuff needs revisited)
17:53:00 <james_regen> okay, i think it makes sense. seeing the Person.personVoided didn't make me think to look at any Person superclasses
17:53:58 *** lzw_ has quit IRC
18:29:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8054]: Fixed NPE in concept name description method - #1376 <http://dev.openmrs.org/changeset/8054> || OpenMRS Tickets: Ticket #1520 (defect closed): Null Pointer exception on ConceptName.getDescription <http://dev.openmrs.org/ticket/1520#comment:3>
18:47:03 <r0bby> I seriously am not looking forward to writing the service/dao
18:52:15 * r0bby quits bitching
18:55:57 <r0bby> hrm
18:56:10 <r0bby> what would sane min/max values be for the purpose of validation :<
19:00:35 *** Mkop has quit IRC
19:00:45 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1518 (task closed): a simple logic error in TestUtil's method "printStringBuilderOutput" <http://dev.openmrs.org/ticket/1518#comment:1> || OpenMRS Changesets: Changeset [8058]: Fixing TestUtil convenience method output (and reformatted the method … <http://dev.openmrs.org/changeset/8058> || OpenMRS Tickets: Ticket #1519 (defect closed): Cannot retire form in 1.4.2 <http://dev.openmrs.org/ticket/1519#comment:1> || OpenMRS Changesets: Changeset [8057]: 1.4.x: Fixing ability to retire forms - #1519 <http://dev.openmrs.org/changeset/8057> || OpenMRS Forum: Re: OpenMRS Developer Environment Installation Issue <http://forum.openmrs.org/viewtopic.php?f=9&t=443#p1598> || Dilupa Munindradasa: Quartz Module - meeting minutes 5/28/2009 <http://djmlog103.blogspot.com/2009/05/quartz-module-meeting-minutes-5282009.html> || OpenMRS Tickets: Ticket #1376 (defect closed): Flowsheet Error Handling needed for no concept description <http://dev.openmrs.org/ticket/1376#comment:2> || OpenMRS Changesets: Changeset [8056]: 1.4.x: Fixed NPE in concept name description method - #1376 <http://dev.openmrs.org/changeset/8056> || OpenMRS Changesets: Changeset [8055]: 1.5.x: Fixed NPE in concept name description method - #1376 <http://dev.openmrs.org/changeset/8055>
19:03:28 *** Mkop has joined #openmrs
19:03:44 *** jmiranda has quit IRC
19:04:39 *** nribeka has quit IRC
19:19:17 *** scottyaz has quit IRC
19:22:47 *** jmiranda has joined #openmrs
19:22:47 *** ChanServ sets mode: +o jmiranda
19:27:14 <r0bby> jmiranda: is skype acting weird for you?
19:45:02 *** Mkop has quit IRC
20:02:08 *** openmrs_8607 has quit IRC
20:02:22 *** bwolfe has quit IRC
20:07:46 <jmiranda> r0bby, skype?
20:07:58 <jmiranda> i haven't had any problems with it
20:09:01 <r0bby> i have a shitload of messages to mike that haven't been sent it seems
20:09:03 <r0bby> :x
20:09:35 <r0bby> it has the ajax spinny thing there
20:11:06 *** james_regen has quit IRC
20:12:56 *** Mkop has joined #openmrs
20:21:45 *** Mkop1 has joined #openmrs
20:27:22 *** Mkop has quit IRC
20:58:55 * Mkop1 is waiting for his old andLinux VM drive to finish uploading online so he can have enough space to install xubuntu
20:59:55 * r0bby is in hell
21:06:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8061]: mdrtb -- standard regimens created <http://dev.openmrs.org/changeset/8061> || OpenMRS Changesets: Changeset [8060]: facility data: commit what I have so far for mocking out a form in memory <http://dev.openmrs.org/changeset/8060> || OpenMRS Changesets: Changeset [8059]: htmlformentry module: Updating classpath to reflect the updated jars in … <http://dev.openmrs.org/changeset/8059>
21:30:24 *** Mkop1 has quit IRC
21:30:42 *** Mkop has joined #openmrs
21:38:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8063]: mdrtb module. adding 1.3.x folder <http://dev.openmrs.org/changeset/8063> || OpenMRS Changesets: Changeset [8062]: adding branches folder to mdrtb module <http://dev.openmrs.org/changeset/8062>
21:39:10 *** Keelhaul has quit IRC
22:41:20 *** kane77 has quit IRC
23:00:28 *** Mkop1 has joined #openmrs
23:08:24 *** Mkop has quit IRC
23:12:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8064]: facility data: rename question classes; remove the i18n codes. <http://dev.openmrs.org/changeset/8064> || Felicia Rosemond: Project Goals Established <http://frosemond.wordpress.com/2009/05/27/project-goals-established/>
23:23:33 *** Mkop2 has joined #openmrs
23:24:49 *** Mkop has joined #openmrs
23:42:47 *** Mkop1 has quit IRC
23:42:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8071]: reimport of mdrtb module 1.3 <http://dev.openmrs.org/changeset/8071> || OpenMRS Changesets: Changeset [8070]: deleting a folder in mdrtb svn <http://dev.openmrs.org/changeset/8070> || OpenMRS Changesets: Changeset [8069]: schedulerquartz: minor change to project name <http://dev.openmrs.org/changeset/8069> || OpenMRS Changesets: Changeset [8068]: Initial commit of Quartz scheduler module. <http://dev.openmrs.org/changeset/8068> || OpenMRS Changesets: Changeset [8067]: facility data: need to make this visible to the world <http://dev.openmrs.org/changeset/8067> || OpenMRS Changesets: Changeset [8066]: facility data: re-wrote StockQuestion to pull the relevent pieces of data, … <http://dev.openmrs.org/changeset/8066> || OpenMRS Changesets: Changeset [8065]: Creating the Quartz Scheduler module for djmlog103. <http://dev.openmrs.org/changeset/8065>
23:43:13 *** Mkop1 has joined #openmrs
23:43:40 *** Mkop has quit IRC
23:46:40 *** Mkop2 has quit IRC