IRC Chat : 2012-03-29 - OpenMRS

00:01:19 *** bwolfe has joined #openmrs
00:01:19 *** ChanServ sets mode: +o bwolfe
00:06:34 *** anu_GSOC has joined #openmrs
00:16:11 *** lh has quit IRC
00:25:52 *** downey has joined #openmrs
00:25:52 *** OpenMRSBot sets mode: +o downey
00:25:52 *** ChanServ sets mode: +o downey
00:31:01 *** burke has joined #openmrs
00:31:01 *** ChanServ sets mode: +o burke
00:42:47 *** Anuruddha_ has joined #openmrs
00:42:55 *** anu_GSOC has quit IRC
00:55:06 *** Kelly has joined #openmrs
00:55:16 <downey> Hi Kelly and welcome to the #openmrs IRC channel.
00:55:26 <Kelly> Hi :)
00:57:52 *** lh has joined #openmrs
00:57:53 *** lh has joined #openmrs
01:21:21 *** chopin has joined #openmrs
01:25:26 *** Kelly has quit IRC
01:38:01 *** downey has quit IRC
01:39:43 *** finbrein has quit IRC
02:05:49 *** harshadura has joined #openmrs
02:06:45 <harshadura> hi bwolfe
02:10:39 *** burke has quit IRC
02:12:49 <bwolfe> hey
02:17:57 <harshadura> bwolfe : pls can u check the TRUNK-2751 ticket for awhile. I am working on that ticket. You told me to write test cases to confirm the error is fixed now.
02:18:13 <bwolfe> !ticket TRUNK-2751
02:18:14 <OpenMRSBot> bwolfe: [#TRUNK-2751] Automated Error Report: NumberFormatException on AddPersonController - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2751
02:18:35 <bwolfe> did you upload a patch with a test case?
02:19:13 <harshadura> I need to check is if the birthdate is written propely and to confirm the method ran without errors correctly
02:19:50 <bwolfe> harshadura, looks right
02:20:04 <bwolfe> fyi: you can just do: d = birthyear
02:21:33 <harshadura> bwolfe : pls can u check this, I have done the test case, but I am stuck with how to call the birthdate frm send data to the test case. pls can help me on this. thx > http://paste.ubuntu.com/904878/
02:21:56 <bwolfe> what is your question there?
02:22:46 <harshadura> like this request.setParameter("addName", "Gayan Perera");
02:22:47 <harshadura> request.setParameter("addBirthdate", "03/07/1990");
02:22:47 <harshadura> request.setParameter("addGender", "Male");
02:22:47 <harshadura> request.setParameter("personType", "patient");
02:22:47 <harshadura> request.setParameter("personId", "100");
02:22:48 <harshadura> request.setParameter("viewType", "view"); \n I am filling the data to the request
02:22:56 <bwolfe> ok
02:23:01 <harshadura> after that
02:23:03 <harshadura> Assert.assertSame("1975-04-08 00:00:00.0", Context.getPersonService().getPerson(100).getBirthdate());
02:23:12 <harshadura> I am checking like this
02:23:23 <harshadura> its not working properly :/
02:24:24 <bwolfe> you're testing hte AddPersonController.formBackingObject method
02:24:28 <bwolfe> that method doens't save anything to the db
02:24:40 <bwolfe> so you need to test to make sure the returned object doesn't fail
02:24:50 <harshadura> ok
02:24:52 <bwolfe> you could call that method directly like a normal unit test if you want
02:25:02 <bwolfe> or you can try to figure out how to get the return stuff
02:26:33 *** chopin has quit IRC
02:26:51 <harshadura> okay bwolfe got it thanks
02:40:58 *** harshadura has quit IRC
02:53:55 *** harshadura has joined #openmrs
02:54:08 *** harshadura has joined #openmrs
03:02:29 *** Anuruddha_ has quit IRC
03:45:44 *** harshadura has quit IRC
03:52:26 *** suranga has joined #openmrs
03:52:26 *** ChanServ sets mode: +v suranga
04:12:11 *** upul` has joined #openmrs
04:12:11 *** ChanServ sets mode: +v upul`
04:35:51 *** finbrein has joined #openmrs
04:55:09 *** bwolfe has quit IRC
04:59:39 *** goutham has joined #openmrs
05:07:44 *** bryq has joined #openmrs
05:07:53 *** ChanServ sets mode: +v bryq
05:13:50 *** bryq has quit IRC
05:14:42 *** robbyoconnor has quit IRC
05:14:55 *** robbyoconnor has joined #openmrs
05:14:55 *** ChanServ sets mode: +v robbyoconnor
05:28:47 *** robbyoconnor has quit IRC
05:29:10 *** robbyoconnor has joined #openmrs
05:29:10 *** ChanServ sets mode: +v robbyoconnor
05:46:09 *** finbrein has quit IRC
06:04:43 *** suranga has quit IRC
06:06:45 *** dkayiwa has joined #openmrs
06:08:24 *** pushkar has joined #openmrs
06:29:11 *** pushkar has quit IRC
06:35:43 *** dkayiwa_ has joined #openmrs
06:37:00 *** dkayiwa has quit IRC
06:37:00 *** dkayiwa_ is now known as dkayiwa
06:46:06 *** hemanth_ has joined #openmrs
06:48:03 *** finbrein has joined #openmrs
07:04:35 *** bryq has joined #openmrs
07:04:35 *** ChanServ sets mode: +v bryq
07:05:52 *** dkayiwa has quit IRC
07:08:09 *** dkayiwa has joined #openmrs
07:18:09 *** dkayiwa has quit IRC
07:19:02 *** carloshpf has quit IRC
07:28:38 *** carloshpf has joined #openmrs
07:30:02 <hemanth_> hey when i install openmrs 1.8 and get to the http://localhost:8080/openmrs
07:30:21 <hemanth_> i get this <%@ include file="/WEB-INF/template/include.jsp" %> <c:redirecturl="/index.htm"/>
07:30:26 <hemanth_> where is my page
07:40:28 *** bryq has quit IRC
07:43:21 *** hemanth_ has quit IRC
07:53:35 *** chughgaurav has joined #openmrs
07:53:55 *** chughgaurav has quit IRC
08:13:25 *** dkayiwa has joined #openmrs
08:23:23 *** dkayiwa has quit IRC
08:31:33 *** dkayiwa has joined #openmrs
08:36:34 *** deadpool has quit IRC
08:37:52 *** dkayiwa has quit IRC
08:49:22 *** deadpool has joined #openmrs
08:54:51 *** snoppy has joined #openmrs
09:05:26 *** goutham has quit IRC
09:10:24 *** herat has joined #openmrs
09:21:49 *** snoppy has quit IRC
09:34:49 *** herat has quit IRC
09:36:45 *** herat has joined #openmrs
09:41:03 *** deadpool has quit IRC
09:49:52 *** snoppy has joined #openmrs
09:54:19 *** deadpool has joined #openmrs
10:05:29 *** deadpool has quit IRC
10:12:53 *** Karesh has joined #openmrs
10:13:56 *** snoppy has quit IRC
10:17:35 *** deadpool has joined #openmrs
10:19:22 *** pushkar has joined #openmrs
10:33:48 *** Karesh has quit IRC
10:34:11 *** pushkar has quit IRC
10:38:27 *** bryq has joined #openmrs
10:38:27 *** ChanServ sets mode: +v bryq
10:42:13 *** deadpool_ has joined #openmrs
10:43:43 *** deadpool has quit IRC
10:44:36 *** rohitgoyal18 has joined #openmrs
10:45:25 *** harshadura has joined #openmrs
10:47:39 *** deadpool has joined #openmrs
10:48:49 *** deadpool_ has quit IRC
10:56:22 *** carloshpf has quit IRC
11:05:41 *** upul` has quit IRC
11:18:08 *** chopin has joined #openmrs
11:20:16 *** arpitgyl has joined #openmrs
11:22:55 *** rohitgoyal18 has quit IRC
11:24:36 *** harshadura has quit IRC
11:43:56 *** bwolfe has joined #openmrs
11:43:56 *** ChanServ sets mode: +o bwolfe
11:45:14 *** suranga has joined #openmrs
11:45:14 *** ChanServ sets mode: +v suranga
11:47:15 *** deadpool has quit IRC
11:47:52 *** deadpool has joined #openmrs
11:51:33 *** suranga_ has joined #openmrs
11:53:54 *** bryq has quit IRC
11:54:13 *** suranga has quit IRC
11:58:15 *** deadpool has quit IRC
12:00:04 *** suranga__ has joined #openmrs
12:02:21 *** suranga has joined #openmrs
12:03:43 *** suranga_ has quit IRC
12:05:00 *** suranga__ has quit IRC
12:08:15 *** harshadura has joined #openmrs
12:12:28 *** suranga_ has joined #openmrs
12:13:32 *** herat has quit IRC
12:15:42 *** suranga has quit IRC
12:19:18 *** bwolfe has quit IRC
12:19:35 <arpitgyl> Do we have to give any other information , or should write anything else asked in Application Template for gsoc
12:19:36 <arpitgyl> ?
12:20:41 <suranga_> arpitgyl, the application template should be sufficient
12:21:14 <suranga_> but if you have any other importaint information you feel u need to share, you're wellcome to include it :-)
12:22:04 <arpitgyl> just a query , there is not much asked about the project in application , so it is just because project details will be discussed with the mentor once student are accepted on the basis of the application
12:22:04 <arpitgyl> ?
12:26:39 *** dkayiwa has joined #openmrs
12:27:12 <suranga_> arpitgyl, well, im sure we like to see a very detailed application
12:27:21 *** deadpool has joined #openmrs
12:27:36 <suranga_> so what you can do is study the wiki page, and then maybe mail the mentor (use the dev list) with your questions
12:27:51 <suranga_> that will give everyone a chance to chime in
12:28:03 <suranga_> then u can update yr proposal based on their advice :)
12:28:39 *** finbrein has joined #openmrs
12:28:55 *** harshadura has quit IRC
12:29:10 *** suranga__ has joined #openmrs
12:32:19 *** suranga_ has quit IRC
12:34:44 *** bwolfe has joined #openmrs
12:34:44 *** ChanServ sets mode: +o bwolfe
12:38:26 *** downey has joined #openmrs
12:38:26 *** ChanServ sets mode: +o downey
12:38:26 *** OpenMRSBot sets mode: +o downey
12:51:01 *** wyclif has joined #openmrs
12:51:21 *** wyclif has joined #openmrs
13:01:07 *** harshadura has joined #openmrs
13:03:32 *** chopin has quit IRC
13:09:03 *** arpitgyl has quit IRC
13:11:23 *** Aakash has joined #openmrs
13:11:38 <downey> Hi Aakash and welcome to the #openmrs IRC channel.
13:14:06 *** anu_GSOC has joined #openmrs
13:16:31 *** chopin has joined #openmrs
13:18:01 *** deadpool_ has joined #openmrs
13:21:22 *** deadpool has quit IRC
13:24:18 *** manash_ has joined #openmrs
13:24:29 <downey> Hi manash_ and welcome to the #openmrs IRC channel.
13:27:10 *** Aakash has quit IRC
13:27:49 *** anu_GSOC has quit IRC
13:38:03 *** applecool has joined #openmrs
13:38:21 *** anu_GSOC has joined #openmrs
13:39:33 *** pushkar has joined #openmrs
13:40:00 <pushkar> @ben hi
13:40:07 <pushkar> bwolfe: hi
13:40:56 <bwolfe> hi
13:41:11 *** mvorobey has joined #openmrs
13:41:59 <mvorobey> hi all
13:42:26 <pushkar> bwolfe: I added the mockups for anatomical drawing in personal space can have a look ??
13:42:55 <pushkar> bwolfe: * my personal space
13:43:46 *** pm__ has joined #openmrs
13:44:11 <pushkar> bwolfe: and give me your comments
13:45:05 *** suranga__ has quit IRC
13:46:37 <bwolfe> sure
13:50:02 *** harshadura_ has joined #openmrs
13:51:51 *** harshadura has quit IRC
13:54:01 <mvorobey> bwolfe, hi
13:55:40 <bwolfe> yo
13:57:43 <mvorobey> :)
13:58:03 <mvorobey> bwolfe, thanks for comments on review for TRUNK-250
13:59:04 <mvorobey> bwolfe, I just read them and left my replies on them, would you like to review that ?
14:00:58 *** jmiranda has joined #openmrs
14:01:11 <downey> Hi jmiranda and welcome to the #openmrs IRC channel.
14:01:38 <jmiranda> hey downey
14:01:57 <dkayiwa> hahahaha jmiranda long time :D
14:02:17 <jmiranda> hey daniel
14:02:21 *** pm__ has quit IRC
14:02:32 <dkayiwa> jmiranda: good to see you again :)
14:02:50 <jmiranda> glad to be back
14:03:16 <dkayiwa> you are welcome!!! :)
14:03:55 <bwolfe> do my eyes deceive me?
14:03:58 <bwolfe> !seen jmiranda
14:03:58 <OpenMRSBot> bwolfe: jmiranda was last seen in #openmrs 1 minute and 8 seconds ago: <jmiranda> glad to be back
14:04:06 <bwolfe> boo, not helpful
14:04:19 <dkayiwa> :D
14:04:36 <jmiranda> bwolfe, unfortunately for you, your eyes do not deceive
14:04:43 *** burke has joined #openmrs
14:04:43 *** ChanServ sets mode: +o burke
14:05:00 *** wyclif has quit IRC
14:05:08 <dkayiwa> jmiranda: did you mean to say FORTUNATEL? :)
14:05:14 <dkayiwa> Y
14:06:04 *** harshadura_ has quit IRC
14:06:29 <bwolfe> jmiranda always speaks what he means and means what he speaks dkayiwa. :-)
14:06:57 <jmiranda> true. thank you, bwolfe
14:07:03 <dkayiwa> bwolfe: :D
14:07:35 *** wyclif has joined #openmrs
14:09:05 *** chopin has quit IRC
14:09:42 *** chopin has joined #openmrs
14:13:20 *** mseaton has joined #openmrs
14:13:20 *** ChanServ sets mode: +v mseaton
14:13:35 *** ChanServ sets mode: +o jmiranda
14:14:55 *** nribeka has joined #openmrs
14:14:55 *** ChanServ sets mode: +v nribeka
14:16:27 *** chopin has quit IRC
14:16:43 *** mvorobey has quit IRC
14:18:08 *** pm__ has joined #openmrs
14:18:22 *** harshadura_ has joined #openmrs
14:18:36 *** mvorobey has joined #openmrs
14:19:31 *** burke has quit IRC
14:19:43 *** burke has joined #openmrs
14:19:43 *** ChanServ sets mode: +o burke
14:25:35 *** bryq has joined #openmrs
14:25:35 *** ChanServ sets mode: +v bryq
14:25:38 *** pm__ has quit IRC
14:29:26 *** chopin has joined #openmrs
14:31:46 *** pulasthi7 has joined #openmrs
14:33:50 <downey> jmiranda: hey there (delayed)
14:36:43 *** nicks707 has joined #openmrs
14:36:48 <downey> Hi nicks707 and welcome to the #openmrs IRC channel.
14:37:04 <nicks707> hi downey how r u? :)
14:37:10 <downey> nicks707: fine, thanks :)
14:37:58 *** pm__ has joined #openmrs
14:38:00 <nicks707> i want to setup and test openmrs code on my machine .. any resouces links ?
14:39:46 <nicks707> got it :)
14:42:36 <downey> nicks707: Yes. As I told you yesterday, the information is on http://go.openmrs.org/soc2012.
14:44:10 <downey> nicks707: Specifically, there is a section called "Thinking about applying" which gives several links about setting up your development environment, installing openmrs, etc.
14:44:52 <nicks707> got it downey ... actually i lost that bookmark ... thanks :)
14:48:29 *** pm__ has quit IRC
14:50:37 *** staticBit has joined #openmrs
14:50:50 <downey> Hi staticBit and welcome to the #openmrs IRC channel.
14:51:59 *** sgithens_ has quit IRC
14:52:03 <staticBit> hi downey
14:57:55 *** snoppy has joined #openmrs
15:02:27 *** gauravpaliwal has joined #openmrs
15:02:27 *** ChanServ sets mode: +v gauravpaliwal
15:02:54 *** pm__ has joined #openmrs
15:05:18 *** applecool has left #openmrs
15:05:57 *** arpitgyl has joined #openmrs
15:08:14 *** nribeka has quit IRC
15:09:17 *** pm__ is now known as raxa-bot
15:10:43 *** raxa-bot has left #openmrs
15:11:36 <chopin> !gsoc
15:11:36 <OpenMRSBot> chopin: Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command).
15:11:39 <chopin> blargh
15:11:50 *** ChanServ sets mode: +v chopin
15:11:52 <gauravpaliwal> !gsoc
15:11:52 <OpenMRSBot> gauravpaliwal: Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command).
15:11:52 <chopin> !gsoc
15:11:53 <OpenMRSBot> chopin: Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command).
15:11:58 <chopin> !soc
15:11:59 <OpenMRSBot> chopin: Error: "soc" is not a valid command.
15:12:04 <chopin> &*@^!@&#^!@%^#%!
15:12:10 <gauravpaliwal> !gsoc2011
15:12:11 <OpenMRSBot> gauravpaliwal: Error: "gsoc2011" is not a valid command.
15:12:19 * chopin wonders
15:13:46 *** pushkar has quit IRC
15:17:08 *** snoppy has quit IRC
15:19:08 *** xfocus has joined #openmrs
15:19:14 <downey> Hi xfocus and welcome to the #openmrs IRC channel.
15:21:06 <mvorobey> bwolfe, have a minute?
15:21:46 *** chopin has quit IRC
15:21:50 *** chopin_ has joined #openmrs
15:22:47 *** r1friedman has joined #openmrs
15:23:13 <r1friedman> nick r_friedman
15:28:00 *** burke has quit IRC
15:30:17 *** staticBit has left #openmrs
15:32:37 *** wyclif has quit IRC
15:41:38 *** suranga has joined #openmrs
15:41:38 *** ChanServ sets mode: +v suranga
16:14:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Release Testing Helper 1.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=releasetestinghelper&ampversion=&amp1.1>
16:18:00 *** xfocus has quit IRC
16:18:22 *** xfocus has joined #openmrs
16:18:29 *** anu_GSOC has quit IRC
16:28:16 *** xfocus has quit IRC
16:31:47 *** arpitgyl has quit IRC
16:38:21 *** dkayiwa_ has joined #openmrs
16:39:00 *** dkayiwa has quit IRC
16:39:00 *** dkayiwa_ is now known as dkayiwa
16:40:02 *** pulasthi7 has quit IRC
16:44:15 *** wyclif has joined #openmrs
16:49:55 *** gauravpaliwal has left #openmrs
16:52:55 <bwolfe> mvorobey, back from lunch now, whats up?
16:53:59 <mvorobey> bwolfe, everything is ok but I have a question :)
16:54:16 <mvorobey> bwolfe, I saw your comments on review https://source.openmrs.org/cru/CR-TRUNK-656 and left my replies, can you look on them and answer?
16:54:30 *** pm__ has joined #openmrs
16:58:54 *** burke has joined #openmrs
16:58:54 *** ChanServ sets mode: +o burke
16:58:55 *** burke has quit IRC
16:59:02 *** burke has joined #openmrs
16:59:02 *** ChanServ sets mode: +o burke
16:59:38 *** pm__ has quit IRC
17:02:43 *** gauravpaliwal has joined #openmrs
17:02:53 <downey> chopin_ & gauravpaliwal - did you find whatever you were looking for about gsoc?
17:02:57 *** ChanServ sets mode: +v gauravpaliwal
17:03:20 <chopin_> i knew where it was, just hoped we had an easy way to announce it to the chat room
17:03:30 <chopin_> fwiw, googling "openmrs gsoc 2012" doesn't help
17:03:33 <gauravpaliwal> downey: I was just checking weather !gsoc is working or not
17:03:33 <downey> chopin_: What were you wanting to announce?
17:03:35 <chopin_> also, gsoc >> soc
17:04:02 <chopin_> downey, !gsoc ==> url for current gsoc ... that's what i figured / expected
17:06:06 <downey> !gsoc
17:06:07 <OpenMRSBot> downey: Error: "echo" is not a valid command.
17:06:16 <downey> OpenMRSBot: Yes it is.
17:06:17 <OpenMRSBot> downey: Error: "Yes" is not a valid command.
17:08:28 <downey> !gsoc
17:08:29 <OpenMRSBot> downey: "gsoc" --- Get more information about OpenMRS and Summer of Code 2012 with answers to all your questions at http://go.openmrs.org/soc2012
17:09:09 <downey> chopin_: there you go.
17:15:59 <nicks707> bye all .. good night @downey
17:17:05 *** gauravpaliwal has quit IRC
17:17:21 <bwolfe> mvorobey, sure, let me look now
17:17:54 <downey> !karma vi
17:17:54 <OpenMRSBot> downey: Karma for "vi" has been increased 13 times and decreased 0 times for a total karma of 13.
17:18:24 *** anu_GSOC has joined #openmrs
17:19:00 <downey> !karma emacs
17:19:00 <OpenMRSBot> downey: Karma for "emacs" has been increased 5 times and decreased 15 times for a total karma of -10.
17:19:53 *** mseaton has quit IRC
17:20:26 *** nicks707 has quit IRC
17:21:43 <chopin_> bwolfe, or anyone else who cares, is it possible to get the servlet context in an Extension (extension point filler)?
17:21:56 <chopin_> bwolfe, perhaps in some convoluted way through Context?
17:22:09 <chopin_> it's all i need to render a JSP page to a String
17:22:16 <bwolfe> defnitely not through Context
17:22:19 <chopin_> boo
17:22:24 <bwolfe> Context is api and has no knowledge of the web
17:22:27 <chopin_> ok
17:22:31 *** chopin_ is now known as chopin
17:22:38 *** ChanServ sets mode: +v chopin
17:22:48 <bwolfe> WebConstants might have the context path
17:23:00 <bwolfe> or are you wanting something else from the ServletContext?
17:23:02 <chopin> bwolfe, not the context path but the actual ServletContext
17:23:45 <chopin> i have to call .getRequestDispatcher() and then call .include() on it to render the page
17:24:14 <chopin> argh, wish there was something like velocity but less complicated
17:24:41 <chopin> all i want to do is pass a model to a template and render the results to a string, like a normal template engine would
17:25:04 <chopin> so i don't have to write out HTML in a java class
17:25:06 <bwolfe> velocity is available to you...
17:25:13 <chopin> harumph
17:25:23 * chopin storms off and finds velocity code
17:25:52 <chopin> i used it in messaging module i think ... and/or data integrity
17:26:02 <mvorobey> bwolfe, as for your last comment
17:26:15 <mvorobey> bwolfe, As far as I know /WEB-INF/ is outside of container webapp classloader classpath. Only /WEb-INF/classes and /WEB-INF/lib are on classpath.
17:26:26 <bwolfe> that being said, the WebModuleUtil has a copy of the current DispatcherServlet...but its not exposed publicly :-(
17:26:58 <dkayiwa> bwolfe: cant he access it using reflection? :)
17:26:59 <bwolfe> mvorobey, ah, bummer. which place do other projects use? or which one is "natural" for maven?
17:27:09 <bwolfe> dkayiwa, yes, true, theres always that!
17:27:12 *** pm__ has joined #openmrs
17:27:18 <dkayiwa> :D
17:27:51 <mvorobey> bwolfe, i think that proper place is webapp/src/main/resources
17:28:34 <bwolfe> right, but then where does that get copied to?
17:28:51 <mvorobey> bwolfe, /WEb-INF/classes
17:29:06 <bwolfe> ok, so can you investigate doing that move?
17:29:08 <mvorobey> bwolfe, i.e. they will be available on classpath
17:29:24 <mvorobey> bwolfe, of course I can :)
17:29:27 *** Karesh has joined #openmrs
17:29:30 <bwolfe> from there the wizard can still use filesystem lookup
17:29:40 <bwolfe> the spring data bundle thing can use classpath for everything
17:30:02 <bwolfe> and the Listener class doesn't have to copy messages out of modules into module_messages files!
17:30:08 <bwolfe> its a win-win-win situation! :-)
17:30:13 <mvorobey> bwolfe, :)
17:32:19 *** pm___ has joined #openmrs
17:32:19 *** pm__ has quit IRC
17:32:24 <downey> Hi pm___ and welcome to the #openmrs IRC channel.
17:35:55 <Karesh> hai ben
17:35:58 <Karesh> For the ticket TRUNK-2472 there is already a method getPersonAttribte(id). I want to write a new method to return PersonAttributes that has searchable attribute type?
17:36:41 *** mseaton has joined #openmrs
17:36:42 *** ChanServ sets mode: +v mseaton
17:38:13 *** pm___ has quit IRC
17:38:38 <bwolfe> !ticket TRUNK-2472
17:38:40 <OpenMRSBot> bwolfe: [#TRUNK-2472] Obey searchable property from person attributes - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2472
17:41:16 <bwolfe> Karesh, you would modify the PatientService.getPatient(String) method....that eventually calls HibenratePatientDAO.getPatient(String, ....,...,..,,..,,..,,,.....). that DAO method needs to also do a lookup of PersonAttribute.value for the string for any PersonAttributeType.searchable=true
17:41:56 *** pm___ has joined #openmrs
17:42:56 <Karesh> ok thanks
17:43:03 *** nribeka has joined #openmrs
17:43:03 *** ChanServ sets mode: +v nribeka
17:45:36 *** pm___ has quit IRC
17:47:06 *** Karesh has quit IRC
17:47:38 *** nribeka has quit IRC
17:52:32 *** pulasthi7 has joined #openmrs
17:52:56 *** nribeka has joined #openmrs
17:52:56 *** ChanServ sets mode: +v nribeka
17:54:25 *** pm___ has joined #openmrs
17:56:59 *** mseaton has quit IRC
17:58:38 <bwolfe> dkayiwa, are we going to get 1.9RC2 sometime this month? :-)
17:58:52 <dkayiwa> bwolfe: today :)
17:59:02 <bwolfe> ooo, even better!
18:04:56 *** mseaton has joined #openmrs
18:04:56 *** ChanServ sets mode: +v mseaton
18:04:59 <chopin> bwolfe: "sometime this month" = before Sunday
18:05:08 <bwolfe> yes
18:05:16 *** snoppy has joined #openmrs
18:05:45 <wyclif> hi dkayiwa
18:05:52 <dkayiwa> hi wyclif
18:05:56 <wyclif> dkayiwa, have you seen the email i have sent out
18:06:15 <wyclif> dkayiwa, there are bugs we noticed with attribute types on the visit form
18:06:27 <dkayiwa> wyclif: just seen it now
18:06:27 <wyclif> dkayiwa, that are blockers
18:06:49 <wyclif> dkayiwa, sorry for the very late notice, i should have touched base with you earlier
18:06:54 <dkayiwa> wyclif: i had already tagged
18:06:58 <dkayiwa> rc2
18:07:11 <wyclif> you might need to get rid of that tag
18:07:28 <dkayiwa> wyclif: ok
18:07:30 <wyclif> ask bwolfe if we should wait and fix the bugs
18:07:51 <dkayiwa> wyclif: he has just responded :)
18:07:52 <bwolfe> wyclif, see my email reply already: no, don't wait, release rc2 without the fixes
18:08:01 <wyclif> ok
18:08:29 <dkayiwa> wyclif: we may have a quick RC3 :)
18:09:04 <dkayiwa> wyclif: i have so far failed to figure out why bugs showing up mostly when one is presenting!!!
18:09:32 <wyclif> dkayiwa, he hehe
18:09:41 <wyclif> dkayiwa, bugs are there to ashame us
18:09:51 <dkayiwa> :D wyclif
18:09:54 <wyclif> dkayiwa, i lost my concettration the more i ran into them
18:10:11 <dkayiwa> wyclif: oh that was such a bad experience for you
18:11:01 <wyclif> dkayiwa, personally i was familar with creating attribute types, so when i hit the bugs i would think that may be i wasn't using the feature right
18:11:18 <dkayiwa> wyclif: lollllllllllll :)
18:11:19 <wyclif> dk`i wasn't familiar
18:12:08 *** suranga has quit IRC
18:13:07 *** mvorobey has quit IRC
18:14:45 *** pm___ has quit IRC
18:15:22 <nribeka> mseaton, do you have time for quick question
18:15:23 <nribeka> :D
18:15:56 <nribeka> dang it mseaton is away ...
18:17:31 <nribeka> mseaton in reporting, one of the unit test to get multi encounters is working, but when i use that bit of code to in my module, the process doesn't seems to be working. is there any special setup that i miss in my module?
18:19:02 *** mseaton has quit IRC
18:20:22 *** jmiranda has quit IRC
18:26:30 *** anu_GSOC has quit IRC
18:26:42 *** chopin has quit IRC
18:27:24 *** applecool has joined #openmrs
18:28:05 *** pm___ has joined #openmrs
18:28:07 <finbrein> bwolfe: TRUNK-3194 - ticket: What about keeping the constants in the interface the class implements rather than a global .properties file? I think it's much better to define the constants in a class they are associated with or belong to.
18:28:39 *** pm___ has quit IRC
18:28:47 *** pm___ has joined #openmrs
18:28:49 <bwolfe> !ticket TRUNK-3194
18:28:50 <OpenMRSBot> bwolfe: [#TRUNK-3194] Make concept word search constants into settings - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3194
18:29:14 <bwolfe> finbrein, GlobalProperty is a database stored object. thats what I was referring to
18:29:21 <bwolfe> it lets the user change the values
18:30:14 <finbrein> ok
18:30:30 *** mseaton has joined #openmrs
18:30:30 *** ChanServ sets mode: +v mseaton
18:32:20 *** snoppy has quit IRC
18:33:06 *** pulasthi7 has quit IRC
18:36:02 *** applecool has quit IRC
18:48:36 *** snoppy has joined #openmrs
18:49:22 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Visit Management Module 1.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=visitmanagement&ampversion=&amp1.0>
18:53:37 *** bee0 has joined #openmrs
18:53:42 <downey> Hi bee0 and welcome to the #openmrs IRC channel.
18:54:00 <bee0> 'lo downey
18:54:08 <bee0> uh. are you a bot?
18:54:15 <downey> bee0: I don't think so.
18:54:35 <downey> :)
18:55:09 <bee0> (+: just making sure before I ask a question ...
18:55:19 <downey> bee0: Go ahead.
18:57:38 <bee0> I'm looking to use OpenMRS to track hereditary infection and would like to maintain a record of merely whether any parent or sibling had the infection. Should this go as demographic, or would it be necessary to create a new concept?
18:58:16 <downey> bee0: Sounds more like a concept to me. But that said, someone like burke might know better than me. :)
18:58:40 <downey> or maybe bwolfe
18:58:45 <bee0> beowulf?
18:58:59 <bee0> j/k
18:59:01 <downey> :D
18:59:04 <burke> bee0wolfe
18:59:21 <bee0> i didn't think bee0wolfe ... i'm doomed
18:59:37 <burke> hereditary infection sounds bad.
18:59:51 <burke> buggy genes?
19:00:00 <bee0> a former schoolmate is doing a project on thallasemia
19:00:20 <burke> ah. hereditary condition. :-)
19:00:26 <bee0> her supervisor's asked for these details. yep. hereditary
19:00:31 <bwolfe> bee0, if its something that doesn't change over time, its better as a demographic, which would be a person attribute.
19:00:57 <bwolfe> https://wiki.openmrs.org/display/docs/Managing+Person+Attribute+Types
19:01:11 <burke> but if it's detected via a labe test (like gene testing), then I would store it as an observation.
19:01:38 <burke> these aren't mutually exclusive – e.g., you can create an observation for the test that detected the condition and then set the person attribute.
19:01:40 <bwolfe> if its something that changes with every visit, its better as a concept + obs (and another obs when they come back, and another obs when they come back again)
19:01:40 <bee0> no. this is at the entry-point - from the horse's mouth, so to speak
19:02:01 <burke> we use observations for height and it doesn't change very often (for adults)
19:02:15 <downey> burke: Depending on the condition it might be active/passive/dormant/etc.
19:02:30 <bee0> again, no. this is pediatric. they're looking to determine this pre-natal
19:02:40 <burke> and, according to my nurses, all of my patients are always breathing at 20 breaths per minutes (which is actually above normal)
19:02:42 * downey isn't a doctor, he just plays one on IRC.
19:03:15 <burke> pre-natal is even before pediatric. it's obstetric. :)
19:03:51 <bee0> burke, also pede, for any cases that come in from OPD
19:03:58 *** chopin has joined #openmrs
19:04:56 <bee0> i'm in india, if that helps clarify why i'm asking seemingly inane questions (+:
19:05:03 *** bee0 is now known as inane
19:05:14 <bwolfe> wyclif, our emails are crossing in the air. :-)
19:05:31 <wyclif> bwolfe, i figured
19:06:33 <inane> Do concept provide graphs?
19:06:42 <burke> s/inane/indiane/ ;)
19:06:53 <burke> your questions are fine, btw.
19:07:15 <bwolfe> per-patient graphs of observations are on the patient's dashboard
19:07:33 <bwolfe> per-database graphs of concepts are on the "stats" link on the Manage Concept page for that question
19:07:35 <inane> ty. i'm usually told they're inane
19:07:36 <burke> many of us are in indiana, which is only two letters different.
19:08:08 <inane> heard of indiana. Is that state code Id, or In?
19:08:08 <bwolfe> !seen dawn_
19:08:08 <OpenMRSBot> bwolfe: dawn_ was last seen in #openmrs 1 day, 3 hours, 58 minutes, and 2 seconds ago: <dawn_> hi mvorobey :)
19:08:20 <bwolfe> ID == Idaho
19:08:22 *** chopin_ has joined #openmrs
19:08:27 <burke> !seen burke
19:08:27 <OpenMRSBot> burke: burke was last seen in #openmrs 50 seconds ago: <burke> many of us are in indiana, which is only two letters different.
19:08:35 <inane> ah
19:08:42 *** chopin has quit IRC
19:08:49 <burke> !seen OpenMRSBot
19:08:49 <OpenMRSBot> burke: OpenMRSBot was last seen in #openmrs 3 years, 23 weeks, 2 days, 11 hours, 28 minutes, and 19 seconds ago: <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: How can an IT Project Manager/Requirements Analyst get invol <http://forum.openmrs.org/viewtopic.php?f=11&t=408#p1416>
19:09:04 <burke> now *that* is specific!
19:09:10 * downey holds a mirror to OpenMRSBot
19:11:04 <inane> anyhow, i'm new to OpenMRS, and also new to this project. They've got a bunch of patients in excel-sheets )+: with evolving column-names ... I'll probably be poking you all off-and-on
19:11:19 <downey> r1friedman: The dot in your user name seems to have grown up.
19:12:01 <wyclif> bwolfe, should limiting encounter search to a patient be considered a feature or a bug?
19:12:15 <bwolfe> bug
19:12:57 <inane> downey: how large is the core source-code sandbox?
19:13:53 <downey> inane: In terms of lines of code? Compiled size in mb?
19:14:03 <downey> square meters? :)
19:14:06 *** jmiranda has joined #openmrs
19:14:21 <inane> source code size in MB (+: traffic-cap on my bandwidth
19:14:27 <r1friedman> downey, the dot produces a random digit, i usually nick to underscore
19:15:05 <downey> inane: If you just need the application without the app server and database, 55mb
19:15:10 *** isharapremadasa has joined #openmrs
19:15:24 <downey> inane: If you want an all-in-one standalone system, it's 239mb
19:15:34 *** harshadura_ has quit IRC
19:15:47 *** isharapremadasa is now known as isharap
19:16:38 <inane> downey: not the binaries. just the source ... albeit perhaps i should try to see whether i may use the app directly.
19:18:36 <isharap> hi bwolfe, are u available?
19:18:37 *** manash_ has quit IRC
19:19:41 <bwolfe> hi isharap
19:19:42 <downey> inane: looks about 83mb
19:19:53 <downey> inane: that's for everything under http://svn.openmrs.org/openmrs/trunk/
19:20:10 <inane> downey: thank you (+: much appreciated
19:20:16 <downey> inane: no problem. :)
19:21:09 <bwolfe> wyclif, dkayiwa, you around? we need to scrum (20 mins late)
19:21:13 <isharap> bwolfe: i was working on TRUNK-2890
19:21:46 <dkayiwa> bwolfe: am around
19:21:50 <isharap> i could add the null string validator for the description field for an existing concept
19:22:03 <bwolfe> that one is done isharap. is your ticket id correct?
19:22:31 <isharap> ops sorry 2809
19:22:48 <inane> how is openMRS with exporting data? Does the app provide a facility to dump data on a per-concept basis, or must it be done from the databases table-wise?
19:23:50 <wyclif> ok
19:24:17 <isharap> however i couldn't find a way to avoid empty description when creating a new Concept
19:26:07 <bwolfe> ok, lets to a quick scrum. hold on a few minutes isharap and inane
19:26:10 <bwolfe> !scrumon bwolfe
19:26:10 * OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster bwolfe- you may begin when ready.
19:26:20 <bwolfe> wyclif, you go first, dkayiwa second, I'll finish up
19:26:34 <bwolfe> (these go a lot faster with half the team missing)
19:27:24 <wyclif> ok
19:27:35 <wyclif> wednesday:
19:27:35 <wyclif> * design call
19:27:35 <wyclif> * Go through tickets created as part of TRUNK-324
19:27:35 <wyclif> * Revisted and spent time trying to figure out the issues with TRUNK-1964
19:27:35 <wyclif> * code review of sprint tickets
19:27:36 <wyclif> thursday:
19:27:38 <wyclif> * Presentation on 1.9 features on the implementers forum
19:27:40 <wyclif> * dev call
19:27:42 <wyclif> * code review of sprint tickets
19:27:44 <wyclif> * TRUNK-1727 - Inconsistencies between exiting a patient from care and marking them as deceased
19:27:46 <wyclif> Blockers: none
19:28:48 <bwolfe> ok, dkayiwa?
19:29:31 <dkayiwa> Did final round of rudimentary testing
19:29:32 <dkayiwa> Fixed and release the release testing helper module
19:29:32 <dkayiwa> Uploaded RC2 maven artifcats
19:29:32 <dkayiwa> Uploading openmrs.war file to sourceforge while building standalone
19:29:32 <dkayiwa> No blockers
19:29:49 <bwolfe> dkayiwa, do you have a plan to upload the standalone?
19:30:00 <dkayiwa> bwolfe: yes
19:30:10 <bwolfe> something that will take less than 3 days? :-)
19:30:20 <bwolfe> actually, hold that for discussion in 1 minute
19:30:27 <bwolfe> my update:
19:30:28 <bwolfe> today:
19:30:29 <bwolfe> impl call
19:30:29 <bwolfe> dev call
19:30:29 <bwolfe> backported TRUNK-3224
19:30:29 <bwolfe> reviewed TRUNK-3205
19:30:31 <bwolfe> reviewed TRUNK-3227
19:30:33 <bwolfe> applied TRUNK-2779
19:30:37 <bwolfe> released visit manager module
19:30:39 <bwolfe> reviewed TRUNK-250
19:30:41 <bwolfe> created tickets for 1.9 bugs seen in demo today
19:30:43 <bwolfe> no blockers
19:30:45 <bwolfe> !scrumoff
19:30:45 * OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
19:30:48 <dkayiwa> bwolfe: rsync is my savior :)
19:30:59 <bwolfe> dkayiwa, ah, thats easy enough
19:31:09 <bwolfe> so disruptions in internet don't force a restart of the upload?
19:31:14 <dkayiwa> bwolfe: i love it so much :D
19:31:20 <dkayiwa> bwolfe: correct :)
19:31:33 <bwolfe> isharap, the validator should be called for both new and edited concepts
19:31:44 <dkayiwa> bwolfe: it is even much faster than when i was using browser to upload :)
19:31:51 <dkayiwa> bwolfe: like 100 times faster
19:31:58 <bwolfe> inane, are you referring to reporting on data stored for a given question (aka concept) ?
19:32:04 <bwolfe> dkayiwa, wow
19:32:09 <bwolfe> dkayiwa, why so much faster??
19:32:23 <dkayiwa> bwolfe: for instance just finised uploading 50MB+ war file in less than 5 mins
19:32:30 <dkayiwa> bwolfe: i have no idea :)
19:32:41 <bwolfe> what port does rsync use?
19:32:49 <dkayiwa> bwolfe: i have no idea :)
19:33:07 <dkayiwa> bwolfe: all i know is that am stupid not to have used it before :)
19:33:27 <isharap> bwolfe: yes i tried to debug it but i don't understand why hibernate doesn't seems to catch the not-null condition with a new concept
19:33:43 <isharap> am i missing something somewhr?
19:35:19 <bwolfe> isharap, is it an empty string?
19:35:34 <bwolfe> isharap, we have a SaveHandler that converts all empty strings to null just before being persisted in the db
19:35:43 <bwolfe> or is it an interceptor dkayiwa?
19:37:02 <isharap> no with the description field empty it passes as null for an existing description
19:39:14 <isharap> bwolfe: but if it is persisted into db as null, shouldnt it fail in this case?
19:39:29 <isharap> as per a string
19:40:31 <bwolfe> isharap, that is what you are trying to fix with this ticket
19:40:33 <dkayiwa> bwolfe: was cross checking but building standalone freezes my laptop :(
19:40:55 <bwolfe> dkayiwa, you need a build machine in your house. :-)
19:41:13 <dkayiwa> bwolfe: :D
19:42:32 *** james_regen has quit IRC
19:46:21 <isharap> bwolfe: i was thinking that it this should only apply when removing exsisting description as error says, so is it not allowed for someone to create new concept without description?
19:49:30 <bwolfe> isharap, hmm
19:49:36 * bwolfe rereads the ticket description
19:49:42 * inane wakes up
19:50:13 <inane> how is openMRS with exporting data? Does the app provide a facility to dump data on a per-concept basis, or must it be done from the databases table-wise?
19:52:22 <downey> inane: Have you seen https://wiki.openmrs.org/display/docs/Obs+Group+Export+Module ?
19:53:13 <inane> no. didn't occur to me. i'll chase it now. thanks (+:
19:55:34 <bwolfe> isharap, no, you are not allowed to create a new concept with no description. neither can you delete a concept description
19:55:39 <downey> inane: It looks like that one needs a caretaker, so not sure how up-to-date it is.
19:55:47 <bwolfe> isharap, ask me your question again, now that I have reread the ticket. :-)
19:56:42 <bwolfe> downey, not sure that module helps necessarily. thats for "Obs Groups" which are a special things in openmrs
19:56:50 <inane> downey: it does look a little dated. at the same time, it is almost what i had in mind
19:57:01 <bwolfe> inane, are you referring to reporting on data stored for a given question (aka concept) ?
19:57:18 <inane> bwolfe: yes
19:58:02 <isharap> bwolfe: ok :) the ticket says, 'Removing a description from an existing concept and trying to save should give a user friendly error message'
19:58:40 <isharap> so should nt the requirement is validating an empty description of a existing concept and disply an error?
19:58:52 <bwolfe> yes
19:59:31 <isharap> in that case should this include validating new concepts too?
20:00:00 <inane> bwolfe: i'm also thinking about a way to get their old spread-sheets populated, and into openMRS. their existing system provided by the hospital provides data from out-patient but only as PDF.
20:00:39 <bwolfe> inane: spreadsheetimport module
20:01:02 <bwolfe> the dev on that one disappeared, and so has some quirks. so needs some TLC as well :-(
20:01:46 <inane> bwolfe: for what reaches the excel-sheet, yes. but that won't wok for the PDF though. perhaps (if i can play with that module, and familiarize myself with the source) i'll try to take ownership
20:02:20 <bwolfe> inane, you have data "stored" in pdfs ??
20:02:23 <inane> s/wok/work
20:03:32 <inane> bwolfe, no. their existing application generates reports but does not export. in-patient data is in manual files. out-patient data is on their intra-net. research data is in spread-sheets. fun!
20:04:08 <inane> so any out-patient data is retrieved by reading from the PDF,and then entered into the spread-sheet
20:04:26 <bwolfe> yes, does sound like fun
20:08:23 <inane> could you point me at the Concept visualization please? i don't see a 'stats' link on the Admin console
20:18:15 <inane> sack time. 'night all. thanks (+:
20:18:25 *** inane has quit IRC
20:26:39 *** dkayiwa has quit IRC
20:31:45 *** help has joined #openmrs
20:33:48 *** burke has quit IRC
20:36:53 *** isharap has quit IRC
20:38:35 *** r1friedman has quit IRC
20:46:38 <wyclif> bwolfe, i uploaded the calculation snapshots to the snapshot repo but it isn't getting picked up by logic , i set the scope in logic to provided
20:47:13 <bwolfe> wyclif, does logic have the SNAPSHOTS repo in its pom.xml ?
20:47:17 <bwolfe> it might only have the RELEASES one
20:48:21 *** burke has joined #openmrs
20:48:21 *** ChanServ sets mode: +o burke
20:48:44 *** burke has quit IRC
20:48:51 *** burke has joined #openmrs
20:48:51 *** ChanServ sets mode: +o burke
20:50:35 <wyclif> bwolfe, checking...
20:52:24 *** bryq has quit IRC
20:52:38 <wyclif> bwolfe, nope, let try to fix that, thanks
20:52:50 *** downey has quit IRC
20:59:31 <wyclif> bwolfe, i added it but still no luck
20:59:38 *** dkayiwa has joined #openmrs
21:00:00 <bwolfe> wyclif, at compile time of logic?
21:00:02 *** gautam has joined #openmrs
21:00:40 *** bwolfe has quit IRC
21:00:44 *** bwolfe_ has joined #openmrs
21:00:44 *** ChanServ sets mode: +o bwolfe_
21:02:06 <wyclif> bwolfe_, cant just see compilation errors since the jar file is not on the classpath
21:04:32 *** bwolfe_ has quit IRC
21:07:30 *** pm___ has quit IRC
21:12:57 *** Albe has joined #openmrs
21:13:04 *** burke has quit IRC
21:19:53 *** carloshpf has joined #openmrs
21:20:36 *** thezultimate has joined #openmrs
21:21:11 *** mseaton has left #openmrs
21:28:04 *** wyclif has quit IRC
21:33:25 *** thezultimate has quit IRC
21:34:17 *** thezultimate has joined #openmrs
21:39:21 *** snoppy has quit IRC
21:39:46 *** chopin_ has quit IRC
21:40:25 *** nribeka has quit IRC
21:41:24 *** gautam has quit IRC
21:42:06 *** Albe has quit IRC
21:42:21 <thezultimate> Hi everyone
22:24:07 *** dkayiwa has quit IRC
22:28:20 *** wyclif has joined #openmrs
22:32:14 *** CARL0S has joined #openmrs
22:34:58 *** carloshpf has quit IRC
22:40:38 *** riomus has joined #openmrs
22:44:41 *** riomus has quit IRC