IRC Chat : 2010-01-27 - OpenMRS

00:39:40 *** r0bby_ has joined #openmrs
00:39:40 *** ChanServ sets mode: +v r0bby_
00:40:03 *** robbyoconnor has quit IRC
00:56:08 *** andrewaclt has joined #openmrs
01:30:26 *** Mkop has joined #openmrs
01:59:46 *** robbyoconnor has joined #openmrs
01:59:46 *** ChanServ sets mode: +v robbyoconnor
02:14:41 *** r0bby_ has quit IRC
02:30:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2027 (defect closed): Add a location column to MessageSource, and Institution lookups <http://dev.openmrs.org/ticket/2027#comment:2> || OpenMRS Changesets: Changeset [11835]: ncd: #2027 - rename MessageSource to HL7Producer, add a description … <http://dev.openmrs.org/changeset/11835>
02:59:10 *** chopin has quit IRC
03:00:48 *** chopin has joined #openmrs
04:09:53 *** bwolfe has quit IRC
04:17:42 *** jmiranda has joined #openmrs
04:17:42 *** ChanServ sets mode: +o jmiranda
06:05:31 *** upul has joined #openmrs
06:05:31 *** ChanServ sets mode: +v upul
06:14:06 *** jmiranda has quit IRC
06:14:36 *** upul has left #openmrs
06:21:26 *** mkulumadzi has joined #openmrs
06:35:40 *** mkulumadzi has quit IRC
06:44:07 *** r0bby_ has joined #openmrs
06:44:07 *** ChanServ sets mode: +v r0bby_
06:44:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11836]: Imported from http://svn.openmrs.org for atd module <http://dev.openmrs.org/changeset/11836>
06:46:00 *** r0bby has joined #openmrs
06:46:00 *** ChanServ sets mode: +v r0bby
06:54:30 *** Echidna has quit IRC
06:57:24 *** mkulumadzi has joined #openmrs
06:58:35 *** Echidna has joined #openmrs
07:01:15 *** robbyoconnor has quit IRC
07:01:28 *** pascal` has joined #openmrs
07:02:23 *** r0bby_ has quit IRC
07:10:26 *** r0bby is now known as robbyoconnor
07:34:23 *** pascal` has quit IRC
07:48:52 *** wayne has joined #openmrs
07:51:19 *** wayne has left #openmrs
07:53:37 *** Mkop1 has joined #openmrs
08:03:23 *** openmrs_web901 has joined #openmrs
08:10:01 *** Mkop has quit IRC
08:33:20 *** upul has joined #openmrs
08:33:21 *** ChanServ sets mode: +v upul
08:42:28 *** pascal` has joined #openmrs
08:47:15 *** sthaiya has joined #openmrs
08:48:06 <sthaiya> is there an openmrs method/function that returns a date given age?
08:49:01 <sthaiya> i can only find getAgeFromBirthdate()
08:50:45 *** upul has quit IRC
08:53:47 *** Mkop1 has quit IRC
08:53:47 *** mkulumadzi has quit IRC
08:54:17 *** Mkop1 has joined #openmrs
08:54:17 *** mkulumadzi has joined #openmrs
09:10:50 <pascal`> hey guys
09:14:34 *** sthaiya has quit IRC
09:16:27 *** Mkop1 has quit IRC
09:16:52 *** sthaiya has joined #openmrs
10:20:34 *** sthaiya has quit IRC
10:24:33 *** openmrs_web901 has quit IRC
11:16:56 *** pbrandt has joined #openmrs
11:19:11 *** pascal` has quit IRC
11:19:15 *** pbrandt is now known as pascal`
12:12:31 *** mkulumadzi has quit IRC
12:12:55 *** mkulumadzi has joined #openmrs
12:54:32 *** upul has joined #openmrs
12:54:33 *** ChanServ sets mode: +v upul
13:01:12 <pascal`> hey upul
13:01:21 <pascal`> how's the election going?
13:01:53 <upul> current president won 60:40
13:02:17 <upul> 70+% people voted
13:02:25 <upul> that's huge
13:02:25 <pascal`> ok
13:02:45 <pascal`> it is a totalitarian government, or does the losing party still get some power?
13:03:00 <upul> it's for president
13:03:15 <upul> there's parliament elections coming in march
13:04:27 <upul> president had the president elections 2 years before the date to prepare for that
13:05:43 <pascal`> ok
13:05:56 <pascal`> ok, so you think it's a good system?
13:09:01 <upul> nope, one cunning man JR Jayawardane change the system and did all the trouble, now president have all the powers, and votes get a proportional share of parliament seats, so nobody can totally win or lose
13:10:50 <upul> so the rwo parties get divide half half and these racist parties saying all tamil party, all muslim party get a few seats and demand everything
13:12:16 *** danielf has joined #openmrs
13:12:42 *** bwolfe has joined #openmrs
13:12:42 *** ChanServ sets mode: +o bwolfe
13:29:37 *** robbyoconnor has quit IRC
13:51:30 *** r0bby|android has joined #openmrs
13:51:30 *** ChanServ sets mode: +v r0bby|android
13:53:43 <Echidna> has anyone used joda time
13:54:08 <upul> yep
13:54:17 <upul> lot easier than java dat
13:55:08 <upul> seems java Date, Calendar came from a IBM code donation, java just integrated it to cover date
13:58:40 <Echidna> upul: i need to calculate a number of days from months i add to now
13:58:55 <Echidna> which considers the duration of each month
13:58:58 <Echidna> is that possible
13:59:21 <Echidna> also, i read java 7 will add a new datetime framework
13:59:36 <upul> should be, it has lots of methods to such things
13:59:47 *** r0bby|android has quit IRC
13:59:59 *** r0bby|android has joined #openmrs
13:59:59 *** ChanServ sets mode: +v r0bby|android
14:00:00 <upul> ma be java7 will integrate jodatime
14:00:28 <r0bby|android> Hopefully but I'm thinking they won't upul
14:01:31 <upul> why robbytime is better than that
14:02:25 <r0bby|android> Hai btw
14:03:34 <r0bby|android> upul: simple fact it needs some tlc right now and no dev to give said tlc
14:03:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11837]: in patientmatching module, added basic code to directly calculate … <http://dev.openmrs.org/changeset/11837>
14:05:56 <pascal`> hey bwolfe
14:06:22 <pascal`> bwolfe, seems you country has given me permission to enter... I think they may have made a huge mistake ;P
14:06:25 <pascal`> *your
14:07:09 <Echidna> yea, now the US will get lice
14:07:18 <Echidna> j/k
14:07:59 <pascal`> har har
14:10:16 <pascal`> bwolfe, aparently the colts are in final?
14:10:28 <pascal`> or mail game, or whatever it's called...
14:10:31 <pascal`> *main
14:17:09 <bwolfe> pascal`: yes, the superbowl
14:17:11 *** r0bby|android has quit IRC
14:20:31 <Echidna> upul: ok i found how
14:35:28 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11838]: tribe module: comment on why not using sqldiff.xml <http://dev.openmrs.org/changeset/11838> || OpenMRS Modules: Tribe 1.5 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=tribe&version=&1.5>
14:56:41 <Echidna> upul`: you released a new version because of OpenmrsObject? =o
15:04:50 *** danielf has quit IRC
15:07:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1995 (task closed): Update Tribe module to extend OpenmrsObject <http://dev.openmrs.org/ticket/1995#comment:4>
15:10:12 <upul> it's used for syncing see 1995
15:12:09 <Echidna> o
15:12:31 <Echidna> is there a way to link directly to the ticket
15:14:19 <upul> !ticket 1995
15:14:19 <OpenMRSBot> upul: Ticket #1995: http://dev.openmrs.org/ticket/1995
15:15:00 <Echidna> no i mean from the module page
15:15:08 <Echidna> in case you dont use irc
15:17:46 *** Mkop has joined #openmrs
15:17:58 <upul> may be you can a put the link in the description
15:23:18 *** pascal` has quit IRC
15:30:31 *** mkulumadzi has quit IRC
15:33:08 *** munaf has joined #openmrs
15:35:22 <munaf> hi everyone. I'm looking for xform module specific help. I'm trying to submit an xform to my local openmrs server with xforms module installed, but I always end up with "premature end of file". Does anyone know where I can get a valid xform sample, or perhaps, how to submit an xform properly so that it doesn't fail?
15:39:02 <bwolfe> munaf: are you using the module normally when you're getting that or are you posting to a url from another module ?
15:41:18 <munaf> bwolfe: 1. tried it from a simple java app using HttpURLConnection c = (HttpURLConnection)(new URL("http://localhost .... and 2, tried it by going directly to http://localhost:8080/openmrs/module/xforms/xformDataUpload.form?uname=admin&pw=M123 (on my openmrs server) and uploading using the file selector, and both result in Premature end of file
15:45:11 <bwolfe> hmm
15:45:21 <bwolfe> make sure you're uploading a full true xml doc first
15:45:38 <bwolfe> then see if you're posting it the same way the module does.
15:45:53 *** bwolfe has quit IRC
15:46:03 *** bwolfe has joined #openmrs
15:46:04 *** ChanServ sets mode: +o bwolfe
15:47:09 <bwolfe> munaf: I remember someone hitting this same error in a module
15:47:17 <bwolfe> so check to see if your xml doc is correct
15:47:31 <bwolfe> then make sure you're uploading the same way the xforms module does
15:47:42 <bwolfe> (that jsp page might have a bug)
15:48:12 <bwolfe> check the http://dev.openmrs.org/browser/openmrs-modules/amrsmobileforms module
15:48:16 <OpenMRSBot> <http://ln-s.net/4sgl> (at dev.openmrs.org)
15:48:20 <bwolfe> that is the one that the dev hit a similar error
15:52:31 *** upul has quit IRC
15:52:32 <bwolfe> upul: there is a way to link to changesets and tickets from the wiki. its using [[changeset:xxx]] and [[ticket:xxx]]
16:00:00 <munaf> that's just it. I'm not 100% sure it's correct. and and secondly, I'm not 100% if the way I'm uploading is correct either. I can only be sure that it's a bug if I have a guaranteed correct xform
16:03:20 <bwolfe> munaf: unfortunately I don't have one. does the xforms wiki page have one?
16:04:29 <munaf> would it have to be one that openmrs can read?
16:04:58 <bwolfe> I don't know if the module requires special xforms syntax or not
16:10:47 *** pascal` has joined #openmrs
16:10:50 <munaf> http://xformsinstitute.com/validator/xfv.py?url=tst.xml I tried this form on the upload servlet and it still fails
16:10:52 <OpenMRSBot> <http://ln-s.net/4sh9> (at xformsinstitute.com)
16:12:49 <munaf> is there anywhere I can get a chat log of what's happened here? does this bot do anything like that?
16:14:10 <Echidna> xforms seems to be getting really popular now
16:14:18 <Echidna> in openmrs that is
16:14:45 <munaf> surprised?
16:15:28 <munaf> anyway, gotta dash. thanks for the help
16:15:37 *** munaf has quit IRC
16:19:17 <bwolfe> !irclogs
16:19:17 <OpenMRSBot> bwolfe: "irclogs" --- The OpenMRS IRC logs are publicly displayed online: http://dev.openmrs.org/irclogs
16:19:28 <bwolfe> (even though he's gone)
16:22:58 <pascal`> heh
17:09:26 *** Mkop has quit IRC
17:09:40 *** Mkop has joined #openmrs
18:17:54 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1778 (task reopened): Create a Mobile Stylesheet in the webapp <http://dev.openmrs.org/ticket/1778#comment:2> || OpenMRS Milestones: Milestone (Completed) Data-Synchronization-Next completed <http://dev.openmrs.org/milestone/%28Completed%29%20Data-Synchronization-Next> || OpenMRS Milestones: Milestone (Completed) Data-Synchronization-1.0.7 completed <http://dev.openmrs.org/milestone/%28Completed%29%20Data-Synchronization-1.0.7> || OpenMRS Milestones: Milestone (Completed) Data-Synchronization-1.0.6 completed <http://dev.openmrs.org/milestone/%28Completed%29%20Data-Synchronization-1.0.6> || OpenMRS Milestones: Milestone (Completed) Data-Synchronization-1.0.5 completed <http://dev.openmrs.org/milestone/%28Completed%29%20Data-Synchronization-1.0.5> || OpenMRS Milestones: Milestone (Completed) Data-Synchronization-1.0.4 completed <http://dev.openmrs.org/milestone/%28Completed%29%20Data-Synchronization-1.0.4> || OpenMRS Milestones: Milestone (Completed) Synchronization 0.4 completed <http://dev.openmrs.org/milestone/%28Completed%29%20Synchronization%200.4> || OpenMRS Milestones: Milestone (Completed) Synchronization 0.3 completed <http://dev.openmrs.org/milestone/%28Completed%29%20Synchronization%200.3> || OpenMRS Milestones: Milestone (Completed) Synchronization 0.2.1 completed <http://dev.openmrs.org/milestone/%28Completed%29%20Synchronization%200.2.1> || OpenMRS Milestones: Milestone (Completed) Synchronization 0.2.0.1 (Merge with trunk) completed <http://dev.openmrs.org/milestone/%28Completed%29%20Synchronization%200.2.0.1%20%28Merge%20with%20trunk%29> || OpenMRS Tickets: Ticket #2048 (enhancement created): Display a message to the user when no concept is found <http://dev.openmrs.org/ticket/2048>
18:44:15 *** Mkop has quit IRC
18:49:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11841]: chica * added timing statements to keep track of performance <http://dev.openmrs.org/changeset/11841> || OpenMRS Changesets: Changeset [11840]: atd * added timing statements to keep track of performance <http://dev.openmrs.org/changeset/11840> || OpenMRS Changesets: Changeset [11839]: * fixed upgrade scripts <http://dev.openmrs.org/changeset/11839>
19:22:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11842]: ncd: Added location and description data to ncd_hl7_producer table. <http://dev.openmrs.org/changeset/11842> || OpenMRS Tickets: Ticket #2049 (task created): Utility to compare obs from two encounter forms <http://dev.openmrs.org/ticket/2049> || OpenMRS Modules: Patient Flags 1.2.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=patientflags&version=&1.2.1>
19:25:46 <pascal`> ipad looks pretty sweet
19:27:49 <bwolfe> meh
19:31:20 <chopin> i'd rather have a PC where i can choose my OS, etc but use it as a tablet ... sure it'll weigh more but the flexibility is worth it.
19:34:14 <pascal`> it's only ok actually
19:34:14 <chopin> btw bwolfe: i'd like a monitor from this place: v
19:34:17 <chopin> http://www.9xmedia.com that is
19:34:24 <pascal`> missing usb, camera and gps
19:34:30 <pascal`> and 3g is extra =\
19:34:35 <pascal`> and the processor is a bit rubbish
19:34:57 <bwolfe> chopin: I'll see what I can do :-p
19:35:17 <chopin> that means "no" :'-( ;-)
19:35:26 <pascal`> http://www.engadget.com/2010/01/27/the-apple-ipad/
19:35:34 <OpenMRSBot> <http://ln-s.net/4skq> (at www.engadget.com)
19:35:49 <pascal`> i'll take a monitor too bwolfe... while you're at it
19:35:56 <bwolfe> pascal`: I'll see what I can do ;-)
19:36:24 <pascal`> thanks, i'll pick it up when i'm crashing on your couch ;)
19:54:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11843]: patientflags: fixed typo in patientflag_tag_displaypoint table <http://dev.openmrs.org/changeset/11843>
20:26:09 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11846]: ncd: Added location prefix of "" to the location. <http://dev.openmrs.org/changeset/11846> || OpenMRS Changesets: Changeset [11845]: ncd: Fix to getting sending Location data from PV1. <http://dev.openmrs.org/changeset/11845> || OpenMRS Changesets: Changeset [11844]: ncd: <http://dev.openmrs.org/changeset/11844>
20:38:26 *** Mkop has joined #openmrs
21:10:02 *** pascal` has quit IRC
21:22:35 *** Mkop has quit IRC
21:30:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11848]: ncd: Renamed AppFacCacheTests to HL7ProducerCacheTests. Fixed some tests … <http://dev.openmrs.org/changeset/11848> || OpenMRS Changesets: Changeset [11847]: ncd: Fixes to dataset for DB changes. Fixes to Provider for getting … <http://dev.openmrs.org/changeset/11847>
22:33:33 *** bwolfe has quit IRC
22:40:53 <Echidna> http://failblog.org/2010/01/27/name-fail-photoshop-win/
22:40:56 <OpenMRSBot> <http://ln-s.net/4so2> (at failblog.org)