IRC Chat : 2009-07-28 - OpenMRS

00:04:26 *** atomicturtle has joined #openmrs
00:04:52 *** atomicturtle has left #openmrs
00:08:57 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9443]: 1.5.x: non breaking change -- if(c.isRetired() == false) is equivilent to: … <http://dev.openmrs.org/changeset/9443>
00:32:28 *** atomicturtle1 has joined #openmrs
00:36:02 *** atomicturtle1 has left #openmrs
00:41:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9444]: htmlformentrydesigner: Version 0.5-dev, which renders the obs tags to the … <http://dev.openmrs.org/changeset/9444>
00:55:38 *** Agnor has quit IRC
01:13:00 <OpenMRSBot> Recent updates in the world of openmrs: Joao Portela: GSOC Weekly Blog Entry (2009-07-27) <http://agnor.wordpress.com/2009/07/28/gsoc-weekly-blog-entry-2009-07-27/>
01:19:34 <r0bby> OMG
01:19:41 <r0bby> Agnor is doing an amazing job!
02:17:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9445]: facility data: tweak the calendar tag to make future days have a gray … <http://dev.openmrs.org/changeset/9445>
02:23:42 *** upul has joined #openmrs
02:23:42 *** ChanServ sets mode: +v upul
03:32:46 *** atomicturtle has joined #openmrs
03:33:39 *** atomicturtle has left #openmrs
03:43:10 *** bwolfe has quit IRC
03:53:09 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9446]: reporting: CohortDefinition entry widget fixes to separate tag from … <http://dev.openmrs.org/changeset/9446>
04:11:34 *** justin__ has joined #openmrs
04:11:43 <justin__> hi
04:12:01 *** justin__ has quit IRC
04:24:14 *** jmiranda_ has joined #openmrs
04:24:17 *** jmiranda has quit IRC
04:35:10 *** Mkop has joined #openmrs
04:58:09 *** jmiranda_ has quit IRC
06:30:19 *** upul has quit IRC
06:32:14 *** atomicturtle1 has joined #openmrs
06:48:26 *** upul has joined #openmrs
06:48:27 *** ChanServ sets mode: +v upul
07:01:40 <r0bby> upul: have you ever referenced another property from your message.properties file?
07:18:38 *** Echidna has quit IRC
07:20:16 *** Echidna has joined #openmrs
07:24:57 <r0bby> Echidna!!!!!!!
07:39:21 <upul> r0bby, what do you mean?
07:44:04 <r0bby> say I have a property facilitydata.info
07:44:06 <r0bby> and i wanna say
07:44:31 <r0bby> "Fields marked with <facilitydata.required> are required, all others are optional.
07:44:38 <r0bby> something like that
08:00:39 *** Mkop has quit IRC
08:09:27 *** RyanC has joined #openmrs
09:13:31 *** RyanC has quit IRC
09:32:08 *** atomicturtle has joined #openmrs
09:32:08 *** atomicturtle1 has quit IRC
11:07:54 *** pascal` has joined #openmrs
11:13:03 *** nribeka has quit IRC
11:32:12 *** nribeka has joined #openmrs
11:32:12 *** ChanServ sets mode: +v nribeka
11:34:46 *** upul has quit IRC
11:35:03 *** atomicturtle has left #openmrs
11:41:29 *** james_regen has joined #openmrs
11:41:29 *** ChanServ sets mode: +v james_regen
11:45:48 *** bwolfe has joined #openmrs
11:45:48 *** ChanServ sets mode: +o bwolfe
11:46:56 <nribeka> hi bwolfe
11:49:43 <bwolfe> good morning nribeka
11:51:30 <pascal`> hi nrikeba, bwolfe
11:51:41 <bwolfe> hi pascal`
11:54:13 <nribeka> hi pascal` :)
12:21:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9447]: -- chica * added jars to lib-common to get test cases to work <http://dev.openmrs.org/changeset/9447>
12:29:59 *** mkulumadzi has joined #openmrs
12:32:07 <pascal`> hey mkulumadzi
12:33:25 <mkulumadzi> hi pascal
12:33:26 *** atomicturtle1 has joined #openmrs
12:34:49 *** atomicturtle1 has left #openmrs
12:48:19 *** bmckown has joined #openmrs
12:48:20 *** ChanServ sets mode: +o bmckown
13:06:28 *** jmiranda has joined #openmrs
13:06:28 *** ChanServ sets mode: +o jmiranda
13:06:35 <pascal`> hey jmiranda
13:07:38 <jmiranda> hey pascal`
13:56:45 *** mkulumadzi has quit IRC
13:56:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9450]: reporting: Add WidgetHandlers for Cohort and CohortDefinition <http://dev.openmrs.org/changeset/9450> || OpenMRS Changesets: Changeset [9449]: ncd: Fixing data. <http://dev.openmrs.org/changeset/9449> || OpenMRS Changesets: Changeset [9448]: ncd: Added pre-processor to transform "NTE" to "NTE||". <http://dev.openmrs.org/changeset/9448>
14:27:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9452]: ncd: Refactored RemoveFourLetterSegmentNames so that it uses … <http://dev.openmrs.org/changeset/9452> || OpenMRS Changesets: Changeset [9451]: reporting: Fix to repeating widget to handle null default values correctly <http://dev.openmrs.org/changeset/9451>
14:39:39 *** pascal` has quit IRC
14:57:58 *** kane77 has joined #openmrs
14:58:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #834 (defect reopened): Error handling needed when trying to delete an object which is in use <http://dev.openmrs.org/ticket/834#comment:5>
15:17:50 *** jmiranda has quit IRC
15:29:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9453]: -- atd -- changed getPatientStateBySessionFormAction to … <http://dev.openmrs.org/changeset/9453>
15:33:14 *** r0bby has quit IRC
15:35:59 *** pascal` has joined #openmrs
15:37:09 *** jmiranda has joined #openmrs
15:37:09 *** ChanServ sets mode: +o jmiranda
16:00:14 *** pascal`_ has joined #openmrs
16:00:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1678 (task closed): Modal view of form instance data within UI <http://dev.openmrs.org/ticket/1678#comment:4>
16:02:39 *** pascal` has quit IRC
16:03:01 *** pascal`_ is now known as pascal`
16:16:38 *** atomicturtle has joined #openmrs
16:17:54 *** atomicturtle has left #openmrs
16:23:27 *** jmiranda_ has joined #openmrs
16:23:29 *** jmiranda has quit IRC
16:27:17 *** jmiranda_ is now known as jmiranda
16:27:27 *** ChanServ sets mode: +o jmiranda
16:32:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9456]: -- chica * fixed a bug with reprints on the greaseboard. Before, if … <http://dev.openmrs.org/changeset/9456> || OpenMRS Tickets: Ticket #1685 (enhancement created): Add "retire" web interface for Patient Identifier Types, Relationship Type, Person Attribute and Encounter Type Management <http://dev.openmrs.org/ticket/1685> || OpenMRS Tickets: Ticket #1684 (task created): Update the Hello World Module <http://dev.openmrs.org/ticket/1684> || OpenMRS Changesets: Changeset [9455]: occ: used attribute for voided of BaseObject.class in order to match with … <http://dev.openmrs.org/changeset/9455> || OpenMRS Changesets: Changeset [9454]: serialization.xstream: used attribute for voided/retired of those classes … <http://dev.openmrs.org/changeset/9454>
17:03:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9459]: serialization.xstream: updated the config version <http://dev.openmrs.org/changeset/9459> || OpenMRS Changesets: Changeset [9458]: Followup global property fix to patientEncounter portlet for view … <http://dev.openmrs.org/changeset/9458> || OpenMRS Changesets: Changeset [9457]: 1.5.x: Followup global property fix to patientEncounter portlet for view … <http://dev.openmrs.org/changeset/9457> || OpenMRS Modules: Serialization Xstream 0.1.4 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=serialization.xstream&version=&0.1.4>
17:36:36 *** bwolfe_ has joined #openmrs
17:36:36 *** ChanServ sets mode: +o bwolfe_
17:37:51 *** r0bby has joined #openmrs
17:37:51 *** ChanServ sets mode: +v r0bby
17:38:36 *** bwolfe has quit IRC
17:54:37 *** catechu has joined #openmrs
17:55:16 *** pascal` has quit IRC
18:02:23 <r0bby> this is stupid -- spring doesn't comply w/ the get* for non-boolean and is* for boolean variables
18:02:36 <r0bby> (with regards to JavaBeans)
18:08:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9460]: amrs registration: ui tweak again (unfinished). visit lab 8 for demo :) <http://dev.openmrs.org/changeset/9460>
18:18:42 *** bwolfe__ has joined #openmrs
18:20:18 *** bwolfe_ has quit IRC
18:23:49 <r0bby> gg
18:23:50 <r0bby> er
18:40:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9461]: -- atd * fixed an NPE <http://dev.openmrs.org/changeset/9461>
18:57:45 *** Agnor has joined #openmrs
19:02:42 <r0bby> Agnor: amazing job on your module!!
19:02:47 <r0bby> :)
19:03:03 <Agnor> r0bby, thank you, although it isn't that amazing yet
19:03:42 <r0bby> my friend is still bitter over not getting selected for your project
19:03:54 <Agnor> I haven't seen the work you made on your module :( Do you have any quick link for a demo?
19:03:58 <r0bby> but seems darius knew what he was doing :)
19:04:05 <r0bby> no
19:04:16 <r0bby> I do have a screen shot however
19:04:27 <Agnor> that should be enough :)
19:04:34 <r0bby> it's mostly backend work
19:04:54 <r0bby> Getting the data for the reports to save (which is harder than you'd think)
19:05:04 <Agnor> I believe in you
19:05:25 <Agnor> I chose my project because it involved almost exclusively Javascript
19:05:34 <Agnor> although I still had to learn quite a lot
19:05:39 <r0bby> yeh :)
19:05:53 <r0bby> I do wonder why you're not using annotation driven controllers :)
19:06:03 <r0bby> which i started using and never went back :)
19:06:23 <Agnor> I used on the beginning, however I reverted to old-style controllers
19:06:39 <Agnor> because I had some problems with them
19:07:05 <Agnor> but I could use them in the future, it's really easy to create a controller with them
19:07:05 *** Val`EDUniv has quit IRC
19:07:14 <r0bby> it is :)
19:07:17 <r0bby> that's why i love em.
19:07:20 *** Val`EDUniv has joined #openmrs
19:07:38 <r0bby> I dont have to go and edit the XML every time i change something :)
19:07:59 <r0bby> in fact I dont think i've touched my moduleApplicationContext since I set up the database layer :)
19:09:59 <Agnor> yes, having to touch the moduleApplicationContext each time is a pain in the a**
19:10:16 <r0bby> duh :)
19:10:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9464]: ncd: Created TransformEmbeddedCarriageReturns to change "\r" characters … <http://dev.openmrs.org/changeset/9464> || OpenMRS Changesets: Changeset [9463]: reporting: Add support for Option Groups and utilize in default … <http://dev.openmrs.org/changeset/9463> || OpenMRS Changesets: Changeset [9462]: reporting: modified custom css to use more screen real estate and reduce … <http://dev.openmrs.org/changeset/9462>
19:16:11 <r0bby> Agnor: anyways i have some work i wanna get done before i have to get ready to go out for a bit so best of luck! :)
19:16:22 <r0bby> your work will likely be ripped and gutted by me at some point :)
19:16:46 <r0bby> htmlformentry is gonna be gutted for my project last year which isnt done yet :S
19:16:53 <Agnor> if it makes it better it probably should be ok :)
19:17:02 <r0bby> a lot of what darius did is useful to me -- some not
19:17:15 <r0bby> i dont care about submission, just rendering
19:17:35 <r0bby> reporting module also did a lot that i care about
19:17:42 <r0bby> w/ regards to rendering
19:17:42 <Agnor> rendering obs tags is rather straightforward
19:20:47 <r0bby> yeh
19:21:07 <r0bby> last year i got the backend work done -- when it got to the front end i hit a snag
19:21:26 <r0bby> it was like "okay, in theory this works"
19:22:00 <r0bby> in essence i rolled my own form system since the point was to create forms easily w/o having to define new Form objects :)
19:22:17 <r0bby> class Intake { Patient p, Date dob }
19:22:39 <r0bby> would define a Form with two fields: a Patient selector and a text field with a date selector
19:22:53 <r0bby> then the user would write a controller in groovy
19:23:02 <r0bby> to validator and handle the submission
19:23:44 <r0bby> (I wish i had the same passion for this years :/ -- i'm coasting this year
19:26:46 <r0bby> I wanted it when i applied
19:26:50 <r0bby> :/
19:42:12 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9466]: patientmatching module: added summary statistics button to GUI (with … <http://dev.openmrs.org/changeset/9466> || OpenMRS Tickets: Ticket #1664 (task closed): Update the build.xml file in the Hello World Module <http://dev.openmrs.org/ticket/1664#comment:4> || OpenMRS Changesets: Changeset [9465]: helloworld: Updated the build.xml file for the one in the basicmodule - … <http://dev.openmrs.org/changeset/9465> || OpenMRS Modules: Simple Lab Entry 1.5.3 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=simplelabentry&version=&1.5.3>
19:54:32 *** catechu has quit IRC
19:59:38 <nribeka> bwolfe__, thanks for the email :)
20:11:31 *** james_regen has quit IRC
20:32:20 *** nribeka has quit IRC
20:34:12 *** nribeka has joined #openmrs
20:34:12 *** ChanServ sets mode: +v nribeka
20:35:14 <nribeka> hi bwolfe__
20:35:17 <nribeka> :D
20:36:20 <nribeka> how do you add check digit validation for a field?
20:36:27 <nribeka> any resources?
20:37:59 <r0bby> hrm
20:38:05 <r0bby> nribeka: numeric checking?
20:38:11 <r0bby> ie checking if it's a digit?
20:38:34 <r0bby> I'd do if(Character.isDigit(foo.charAt(0)) { ... } else { ... }
20:38:47 <bwolfe__> nribeka: javascript checking ?
20:38:48 <nribeka> patient identifier checking r0bby
20:38:50 <r0bby> actually i'd negate that check :X
20:38:52 <r0bby> ahhh
20:38:53 <r0bby> ok
20:38:58 <r0bby> nevermind
20:39:04 <nribeka> to validate patient identifier bwolfe
20:39:10 <bwolfe__> nribeka: search the wiki for "luhn"
20:39:11 <nribeka> ups bwolfe__
20:40:00 <nribeka> ah ok bwolfe__. lemme check it first
20:40:01 <nribeka> thx
20:40:27 <bwolfe__> nribeka: theres an OpenmrsUtil.validateCheckdigit(String) or something
20:40:50 <bwolfe__> nribeka: there might be a javascript validation method in openmrs.js or in one of the dojo scripts, but I'm not sure
20:41:48 <nribeka> should i check it at client or server bwolfe? or both? for patient id
20:41:55 <r0bby> I'd do both
20:41:56 <r0bby> ideally
20:42:51 <nribeka> do we have js for validation r0bby? or we need to write our own? do you know?
20:44:19 <bwolfe__> nribeka: check openmrs.js and dojo (my comment two lines up)
20:44:28 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9472]: amrs registration: included common javascript function. <http://dev.openmrs.org/changeset/9472> || OpenMRS Changesets: Changeset [9471]: Added license header to the source files <http://dev.openmrs.org/changeset/9471> || OpenMRS Changesets: Changeset [9470]: amrs registration: included common javascript function. <http://dev.openmrs.org/changeset/9470> || OpenMRS Changesets: Changeset [9469]: patientmatching module: added logging to NullAnalyzer, modified GUI to … <http://dev.openmrs.org/changeset/9469> || OpenMRS Changesets: Changeset [9468]: amrs registration: ui tweak (unfinished) <http://dev.openmrs.org/changeset/9468> || OpenMRS Changesets: Changeset [9467]: ncd: Updated config.xml with new pre-processors. Renamed FixBearNte to … <http://dev.openmrs.org/changeset/9467>
20:44:31 <bwolfe__> nribeka: there is a js impl of hte luhn algorithm on that wiki page
20:51:18 <nribeka> searching around now bwolfe__
20:51:38 <r0bby> ... ok
20:51:47 <r0bby> why the HELL is my enum not validating :(
21:15:39 *** nribeka_ has joined #openmrs
21:15:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9476]: schedulerquartz: implemented displaying reminder email, reminder alerts … <http://dev.openmrs.org/changeset/9476> || OpenMRS Changesets: Changeset [9475]: schedulerquartz: title field added <http://dev.openmrs.org/changeset/9475> || OpenMRS Changesets: Changeset [9474]: -- openmrs logic branch * cleaned up generated error handling code <http://dev.openmrs.org/changeset/9474> || OpenMRS Changesets: Changeset [9473]: -- openmrs chirdl 1.5x * cleaned up generated error handling code <http://dev.openmrs.org/changeset/9473> || OpenMRS Tickets: Ticket #1686 (enhancement created): Change Password Improvements <http://dev.openmrs.org/ticket/1686>
21:33:42 *** nribeka has quit IRC
21:40:20 *** bwolfe_ has joined #openmrs
21:40:20 *** ChanServ sets mode: +o bwolfe_
21:40:42 *** bwolfe_ is now known as bwolfe
21:51:07 *** bwolfe__ has quit IRC
22:18:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #225 (task closed): Download XSN broken by accent marks and special characters <http://dev.openmrs.org/ticket/225#comment:8> || OpenMRS Changesets: Changeset [9479]: formentry/trunk: Removing specific build file name <http://dev.openmrs.org/changeset/9479> || OpenMRS Changesets: Changeset [9478]: formentry/trunk: Reverting the schema to triplets only - #1404 Author: … <http://dev.openmrs.org/changeset/9478> || OpenMRS Changesets: Changeset [9477]: formentry: Reverting the schema to triplets only - #1404 Author: … <http://dev.openmrs.org/changeset/9477> || OpenMRS Modules: Form Entry 4.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=formentry&version=&4.1> || OpenMRS Modules: Form Entry 3.6.7 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=formentry&version=&3.6.7>
22:29:32 *** bmckown has quit IRC
22:35:07 *** jmiranda has quit IRC
22:50:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9480]: amrs-14x: merging openmrs branch 1.4.x to amrs-14x [8623][9364] <http://dev.openmrs.org/changeset/9480>
22:51:02 *** jmiranda has joined #openmrs
22:51:02 *** ChanServ sets mode: +o jmiranda
22:58:49 *** Mkop has joined #openmrs
23:01:14 <r0bby> Mkop: o/
23:03:15 <Mkop> hi, r0bby
23:04:56 <Mkop> I just spent a long time trying to trace back why my new generated data is slightly different from the old data
23:05:04 <Mkop> could there be a algorithm issue or something?
23:05:14 <Mkop> turns out the output script had a %.2f instead of a %f
23:05:19 <Mkop> so some data were losing precision
23:07:21 <r0bby> cute :)
23:08:51 <Mkop> who is Val`EDUniv ?
23:22:29 <r0bby> no idea
23:35:44 *** jmiranda has quit IRC
23:48:06 <r0bby> nribeka_: ping
23:48:09 <r0bby> i just found something
23:48:14 <r0bby> in validation.js
23:48:32 <r0bby> (I'm validating numeric fields
23:52:07 <r0bby> UGH
23:52:17 <r0bby> why is this not throwing any errors if invalid inpugt is given
23:54:01 <nribeka_> hey r0bby
23:54:15 <nribeka_> ok lemme check