IRC Chat : 2012-03-09 - OpenMRS

00:01:44 *** djazayeri has joined #openmrs
00:01:44 *** ChanServ sets mode: +o djazayeri
00:03:12 *** djazayeri has quit IRC
00:10:15 *** bwolfe_ has quit IRC
00:36:20 *** IamNewbie has joined #openmrs
00:37:55 *** anu_GSOC has joined #openmrs
00:52:12 *** a2n has joined #openmrs
00:52:35 *** a2n has left #openmrs
01:11:55 *** harshadura has joined #openmrs
02:11:08 *** anu_GSOC has quit IRC
02:50:53 *** maurya has joined #openmrs
02:59:51 *** upul` has joined #openmrs
02:59:51 *** ChanServ sets mode: +v upul`
03:43:15 *** bwolfe_ has joined #openmrs
03:43:15 *** ChanServ sets mode: +o bwolfe_
03:43:43 *** bwolfe_ is now known as bwolfe
03:54:04 <IamNewbie> mm.. hi bwolfe
03:54:17 <IamNewbie> bwolfe, I am wondering if u can guide me on..
03:54:17 <bwolfe> hello newbie
03:54:51 <IamNewbie> Gents, I have a question.
03:54:53 <IamNewbie> Is openmrs capable of retrieving information in specified aggregates or domain specific subsets (such as
03:54:53 <IamNewbie> those associated with a pregnancy)
03:54:53 <IamNewbie> for example,
03:54:53 <IamNewbie> 1. get all pregnancy related records of patient A
03:54:53 <IamNewbie> or
03:54:55 <IamNewbie> 2. Get all pregnancy related records of all patients
03:55:16 <IamNewbie> (I actually asked this question yesterday, so re pasting it here :-)
03:55:50 <IamNewbie> I was wondering if this can this be done using clinical summary or reporting module...
03:56:47 <bwolfe> depends what is meant by "pregnancy records"
03:56:53 <bwolfe> if its just a concept, then yes, easy
03:57:13 <bwolfe> if a "pregnancy record" is defined as multiple encounters over a known date period, thats also easy
03:57:22 <bwolfe> if that date period is not known, well, thats harder
03:57:26 <bwolfe> but reporting is probably what you want.
03:57:31 *** maurya has quit IRC
03:57:36 <bwolfe> clinicalsummary and patientsummary are 1 per patient
03:58:16 <IamNewbie> mm.. How do you group together encounters ? :-(
03:58:56 <IamNewbie> as in, in the event that I want to do something like you mentioned above ?
04:04:49 *** djazayeri has joined #openmrs
04:04:49 *** ChanServ sets mode: +o djazayeri
04:14:07 <IamNewbie> mm.. bwolfe I see that theres a ticket for grouping encounters, but it hjas not been completed yet :P
04:14:43 <bwolfe> depends what you mean by "group" IamNewbie
04:15:25 <IamNewbie> sorry bwolfe , its like this, so say a pragnant lady has several encounters.. and I want to group them to show that they represent a single pregnancy ?
04:16:07 <IamNewbie> so i need to find a way to show that encounters 1,2,4, 6 are related, etc...
04:17:27 <bwolfe> IamNewbie, the current way to do that is with a program
04:17:41 <bwolfe> and with ProgramWorkflow
04:17:45 <bwolfe> and ProgramWorkflowStates
04:18:40 <IamNewbie> oooh
04:18:45 * IamNewbie goes to look
04:26:18 <IamNewbie> thanks bwolfe , i think that will do the trick ! :-)
04:39:26 *** harshadura has quit IRC
05:43:03 *** bwolfe has quit IRC
06:18:38 *** maurya has joined #openmrs
06:22:15 *** maurya has quit IRC
06:23:53 *** maurya has joined #openmrs
06:24:56 *** djazayeri has quit IRC
06:28:21 *** maurya has quit IRC
06:37:42 *** dkayiwa has joined #openmrs
06:39:58 *** maurya has joined #openmrs
06:49:11 *** dkayiwa has quit IRC
06:51:42 *** maurya has quit IRC
06:51:43 *** IamNewbie has quit IRC
06:52:07 *** maurya has joined #openmrs
06:52:31 *** dkayiwa has joined #openmrs
06:53:08 <maurya> dkayiwa: hi
06:55:20 <dkayiwa> hi maurya
06:56:28 <maurya> dkayiwa: while saving the locale and the theme even if a garbage value is entered it is being stored in the database shouldn't a check must be made before storing it in the database whether the value entered is there in the allowed locales
06:58:36 <maurya> or was it ignored intentionally?
06:59:19 <dkayiwa> maurya: would you like to display an error message about the value being invalid?
07:01:49 <maurya> yes..i'm working on trunk-2880 ,so for giving a failure message we need to check whether the given value is in the allowed locales and if it is not then i guess it shouldn't be stored in the database.
07:02:50 <maurya> so should i keep a check in the controller before saving it?
07:03:29 <dkayiwa> maurya: i think giving the user feedback for invalid values would be better than just ignoring
07:03:38 <dkayiwa> maurya: so yes i think so
07:03:59 <maurya> okay:-)
07:05:46 <maurya> and i just wanted to be clear, i shouldn't store it in the database if it is a garbage value ,right?
07:06:40 <dkayiwa> maurya: right
07:06:55 <maurya> thank you:)
07:17:28 *** dkayiwa_ has joined #openmrs
07:17:31 *** maurya has quit IRC
07:18:38 *** dkayiwa has quit IRC
07:18:39 *** dkayiwa_ is now known as dkayiwa
07:26:06 *** bryq has joined #openmrs
07:26:06 *** ChanServ sets mode: +v bryq
08:35:33 *** bryq has quit IRC
08:39:58 *** dkayiwa has quit IRC
08:42:48 *** dkayiwa has joined #openmrs
08:45:17 *** bryq has joined #openmrs
08:45:17 *** ChanServ sets mode: +v bryq
09:14:11 *** upul` has quit IRC
09:25:20 *** dkayiwa has quit IRC
09:41:26 *** rafa has joined #openmrs
09:41:26 *** ChanServ sets mode: +v rafa
11:11:40 *** james_regen has joined #openmrs
11:11:40 *** ChanServ sets mode: +v james_regen
11:16:19 *** djazayeri has joined #openmrs
11:16:19 *** ChanServ sets mode: +o djazayeri
12:24:57 *** djazayeri has quit IRC
12:34:47 *** mvorobey has joined #openmrs
12:34:59 <mvorobey> hi all
12:59:13 *** wyclif has quit IRC
13:09:00 *** bryq has quit IRC
13:10:45 *** djazayeri has joined #openmrs
13:10:45 *** ChanServ sets mode: +o djazayeri
13:12:32 *** dkayiwa has joined #openmrs
13:15:13 *** bwolfe has joined #openmrs
13:15:13 *** ChanServ sets mode: +o bwolfe
13:17:49 *** pkirwa has joined #openmrs
13:20:35 <rafa> hi bwolfe
13:20:43 <bwolfe> hi rafal
13:21:04 <rafa> when I want to back port a changset that adds new service method what should stand in @since
13:22:07 <rafa> bwolfe: ?
13:22:29 <bwolfe> the next number in that release line
13:22:50 <rafa> @since 1.8.something?
13:22:55 <rafa> makes sense
13:23:00 <rafa> thx
13:23:31 <djazayeri> rafa: or else you could try somthing like doing "@since 1.6.6, 1.7.4, 1.8.3" on all of them
13:23:43 <djazayeri> at least that's my newest thought.
13:23:45 <djazayeri> bwolfe?
13:24:05 <bwolfe> djazayeri, thats what I meant for you to do when you asked on the ticket last week...
13:24:15 <bwolfe> so yes, I approve of that as well.
13:24:28 <bwolfe> this means that all brnaches/trunk have the same @since, which makes patches easier in the future
13:24:44 <djazayeri> okay, I lied, it's not "my" latest thought, it's ben's. :-)
13:24:54 <rafa> haha
13:25:04 <rafa> okay, it's nice
13:26:11 <bwolfe> djazayeri, iirc, I was replying to your ticket question from my phone, so didn't have the longest reply for you. :-/
13:27:53 *** downey has joined #openmrs
13:27:53 *** ChanServ sets mode: +o downey
13:30:59 *** downey sets mode: +v dkayiwa
13:37:14 *** robbyoconnor has quit IRC
13:38:49 *** bryq has joined #openmrs
13:38:49 *** ChanServ sets mode: +v bryq
13:47:13 *** wyclif has joined #openmrs
14:05:59 <rafa> djazayeri: do you think my idea from TRUNK-348 would work?
14:06:09 <rafa> !ticket TRUNK-348
14:06:10 <OpenMRSBot> rafa: [#TRUNK-348] PortletController should have synchronized use of session caching - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-348
14:06:24 <djazayeri> rafa: i saw your comment
14:06:27 <djazayeri> i haven't had coffee yet
14:06:32 <rafa> :)
14:06:34 <djazayeri> and I'm not sure.
14:07:05 <rafa> djazayeri: do you know how to easily reproduce it?
14:07:40 <djazayeri> rafa: I don't know
14:08:11 <djazayeri> rafa: maybe if you set up an htmlformflowsheet, which uses iframes that include a portlet
14:08:21 *** pkirwa has quit IRC
14:08:37 *** mnunez has joined #openmrs
14:08:42 <djazayeri> rafa: that solution won't 100% work
14:09:20 <rafa> djazayeri: so it's no good
14:09:32 *** mnunez has quit IRC
14:09:35 <djazayeri> rafa: well, the bad case I can think of is very rare
14:09:48 <djazayeri> rafa: is portletUUID generated once?
14:09:52 *** mnunez has joined #openmrs
14:10:05 <djazayeri> or is it needed every htmlInclude or something?
14:10:22 <rafa> djazayeri: Frankly speaking I have no idea what that is :)
14:10:44 <rafa> djazayeri: I was looking for something unique :)
14:11:28 <rafa> djazayeri: at least it sounded like unique
14:11:33 <djazayeri> rafa: actually, I don't think that's going to work
14:11:54 <djazayeri> it's the "uniqueRequestId" from the request
14:12:07 <rafa> djazayeri: it's described as portletUUID // unique for each instance of any portlet
14:13:12 <rafa> djazayeri: and it's stored like this: model.put("portletUUID", UUID.randomUUID().toString().replace("-", ""));
14:16:04 *** mnunez has quit IRC
14:16:36 <djazayeri> rafa: that's not used in the framework though
14:16:48 <djazayeri> rafa: i have to start paying attention to the meeting again, sorry
14:17:01 <rafa> djazayeri: ok no worries
14:17:04 <rafa> djazayeri: thx
14:18:51 *** djazayeri has quit IRC
14:24:20 *** mvorobey has quit IRC
14:26:00 *** djazayeri has joined #openmrs
14:26:00 *** ChanServ sets mode: +o djazayeri
14:33:09 *** mnunez has joined #openmrs
14:35:29 *** mnunez has quit IRC
14:53:29 <sgithens_> Where is the most recent code for HTMLFormEntry? http://svn.openmrs.org/openmrs-modules/htmlformentry/trunk seems to be at 1.7.4 while the version pulled from the online repo is 1.9.0
14:55:33 <rafa> downey: hey
14:55:47 <rafa> downey: I've just got a strange message when I tried to post to the dev list:
14:55:50 <rafa> Your message dated Fri, 9 Mar 2012 15:53:54 +0100 with subject "Hibernate
14:55:50 <rafa> flush mode" has been submitted to the moderators of the openmrs-devel-l
14:55:50 <rafa> list.
14:56:47 <rafa> downey: Do you know what I'm doing wrong?
14:57:36 <downey> rafa: nothing :)
14:57:41 <downey> i think bwolfe approved it
14:58:01 <bwolfe> I did
14:58:04 <rafa> downey: ohh okay :)
14:58:05 <bwolfe> it'll show up soon
14:58:17 <rafa> bwolfe: thx
14:58:30 <rafa> it's just that I haven't seen it before
14:59:04 <bwolfe> the list is supposed to moderate first-time-posters only. however, its doing something weird internally and choosing random people to moderate that are not first-time-posters. :-/
14:59:21 <downey> rafa: guess you wrote like a newbie :)
14:59:31 <rafa> downey: haha
14:59:43 <bwolfe> yeah, too many words and links
14:59:54 <bwolfe> and no written proof you did a google search before emailing
15:00:21 <bwolfe> rafa, wyclif, dkayiwa, can you guys email your scrum updates today?
15:00:32 <dkayiwa> bwolfe: ok
15:00:34 <rafa> bwolfe: nice AI
15:00:35 <rafa> :D
15:00:38 <wyclif> ok
15:04:48 <rafa> bwolfe: in fact I spent hours googling on that thing. Maybe I should have used bing ;)
15:05:24 *** anu_GSOC has joined #openmrs
15:06:59 <sgithens_> djazayeri: ^^ Checking to make sure I have the right htmlformentry trunk since the last commit was nov, and the version seems old.
15:12:09 <rafa> bwolfe: btw I really like the yellow box on the current dashboard. I'm stealing it for my private dashboard :D
15:12:36 <bwolfe> rafa, the content/query, or the color?
15:12:51 <rafa> bwolfe: both :D
15:22:33 <djazayeri> sgithens_: the one in svn is old and no longer current
15:22:43 <djazayeri> look at github/openmrs/openmrs-module-htmlformentry
15:29:58 *** dkayiwa has left #openmrs
15:31:31 <sgithens_> djazayeri++
15:36:02 *** IamNewbie has joined #openmrs
15:43:26 *** IamNewbie has quit IRC
15:44:56 *** suranga has joined #openmrs
15:45:17 <suranga> hi guys
15:45:24 <suranga> I need to make a clarification...
15:46:40 <downey> hey suranga
15:46:53 <suranga> hi downey :-)
15:47:05 <suranga> lets say that a user makes a request for a set of data, but hes not allowed access to some of that data (due to permission problems)
15:47:33 <suranga> what would happen then ? would he get partial data, or a warning message or no data at all ? :-)
15:48:00 <suranga> downey, as you can see, im hard at work requirements gathering for new job :-)
15:50:25 <downey> suranga: i'm sitting with your new boss ;-)
15:50:29 <downey> (somewhat boss)
15:50:47 <suranga> oh, Dr. Chris, is it :-)
15:51:14 <suranga> I dont think Carl is in US ?
15:55:42 <djazayeri> suranga: depends on the situation
15:56:14 <suranga> oho.. djazayeri can u point me to a doc or example as to what I should expect ?
15:56:33 <suranga> or at least whats the most common scenario ? :-)
15:56:34 <djazayeri> normally I think it's better to fail with an error message, rather than returning some info without the user knowing that they didn't get some other parts.
15:57:06 <djazayeri> but it depends on the context of what you're trying to do
15:58:40 <suranga> I see... so generally in openmrs, what would happen is that such an attempt would fail is it ? (the most commen scenario ? )
15:59:52 *** mnunez has joined #openmrs
16:09:48 <downey> suranga: yes, chris :)
16:11:54 <suranga> downey, put in a good word for me.... at the very least u can say that I hav insomina, so generally awake most of the time :D
16:13:21 *** mnunez has quit IRC
16:17:04 *** djazayeri has quit IRC
16:17:18 *** sdan has joined #openmrs
16:27:12 *** djazayeri has joined #openmrs
16:27:12 *** ChanServ sets mode: +o djazayeri
16:34:51 <bwolfe> downey, why is ci dead?
16:34:53 <bwolfe> https://ci.openmrs.org
16:35:05 <bwolfe> I don't see any tasks hanging that are holding things up...
16:35:15 <downey> bwolfe: will take a look
16:35:24 <downey> bwolfe: i'm a bit paralyzed without my laptop :)
16:35:50 <bwolfe> no ssh plugin for chrome yet?
16:39:18 <downey> bwolfe: there is :)
16:39:31 <downey> bamboo is restarting, stand by
16:43:58 <downey> bwolfe: things are clearing out
16:44:14 <bwolfe> what was the issue?
16:46:08 <downey> bwolfe: not sure, there were no builds running
16:57:08 *** anu_GSOC has quit IRC
17:08:44 *** suranga is now known as surangakas
17:09:14 *** surangakas is now known as suranga
17:12:41 *** ChanServ sets mode: +v suranga
17:19:12 *** mvorobey has joined #openmrs
17:20:35 *** mansi_ has joined #openmrs
17:27:52 *** sdan has quit IRC
17:30:03 <rafa> LISTSERV doesn't like me today
17:30:23 <downey> don't worry, we still like you :)
17:30:53 <mvorobey> rafa: too bad :) hi Rafal!
17:31:09 <rafa> hi mvorobey!
17:31:46 <mvorobey> rafa: OpenMRSBot still does not love me but it's ok :)
17:32:50 *** mvorobey_ has joined #openmrs
17:32:52 <rafa> mvorobey: I always knew love is complicated ;)
17:33:07 <mvorobey_> rafa: :D
17:34:03 <mvorobey_> rafa: but I'm gonna work on it
17:36:15 *** mvorobey__ has joined #openmrs
17:36:17 *** mvorobey has quit IRC
17:38:14 <mvorobey__> having terrible connection today
17:39:40 *** mvorobey_ has quit IRC
17:42:00 *** sdan has joined #openmrs
17:42:00 *** bryq has quit IRC
17:43:02 *** mvorobey__ is now known as mvorobey
17:43:12 *** suranga has quit IRC
17:51:36 *** IamNewbie has joined #openmrs
17:55:06 *** IamNewbie is now known as suranga
17:55:12 *** ChanServ sets mode: +v suranga
17:57:25 *** mvorobey has quit IRC
17:58:21 *** mansi_ has quit IRC
18:01:08 *** suranga has quit IRC
18:12:15 *** robbyoconnor has joined #openmrs
18:12:15 *** ChanServ sets mode: +v robbyoconnor
18:30:16 *** suranga has joined #openmrs
18:30:16 *** ChanServ sets mode: +v suranga
18:49:36 *** downey has quit IRC
18:59:18 *** sdan has quit IRC
19:00:28 *** robbyoconnor has quit IRC
19:01:19 *** robbyoconnor has joined #openmrs
19:01:19 *** ChanServ sets mode: +v robbyoconnor
19:21:44 *** james_regen has left #openmrs
19:34:09 *** bryq has joined #openmrs
19:34:09 *** ChanServ sets mode: +v bryq
20:11:16 *** rafa has quit IRC
20:13:32 *** suranga has quit IRC
20:14:16 *** downey has joined #openmrs
20:14:16 *** ChanServ sets mode: +o downey
20:46:16 *** djazayeri has quit IRC
20:55:53 *** bwolfe has quit IRC
21:00:26 *** downey has quit IRC
21:38:48 *** bryq has quit IRC
21:47:32 *** rafa has joined #openmrs
21:48:15 *** downey has joined #openmrs
21:48:15 *** ChanServ sets mode: +o downey
21:48:15 *** OpenMRSBot sets mode: +o downey
21:49:41 *** wluyima has joined #openmrs
21:49:41 *** wyclif has quit IRC
21:49:58 *** wluyima has quit IRC
21:50:35 *** wyclif has joined #openmrs
21:56:31 *** downey has quit IRC
21:59:21 *** downey has joined #openmrs
21:59:21 *** ChanServ sets mode: +o downey
21:59:21 *** OpenMRSBot sets mode: +o downey
21:59:47 *** downey has quit IRC
22:03:22 *** downey has joined #openmrs
22:03:22 *** ChanServ sets mode: +o downey
22:03:22 *** OpenMRSBot sets mode: +o downey
22:07:44 *** downey has quit IRC
22:10:07 *** djazayeri has joined #openmrs
22:10:07 *** ChanServ sets mode: +o djazayeri
22:20:08 *** lh has joined #openmrs
22:20:19 *** lh has joined #openmrs
22:20:25 *** downey has joined #openmrs
22:20:25 *** OpenMRSBot sets mode: +o downey
22:20:25 *** ChanServ sets mode: +o downey
22:32:19 *** wyclif has quit IRC
22:32:39 *** djazayeri has quit IRC
22:32:40 *** lh has quit IRC
22:37:20 *** lh has joined #openmrs
22:39:52 *** djazayeri has joined #openmrs
22:39:52 *** ChanServ sets mode: +o djazayeri
22:40:49 *** djazayeri has quit IRC
22:57:45 *** downey has quit IRC
23:19:50 *** robbyoconnor has quit IRC
23:57:22 *** robbyoconnor has joined #openmrs
23:57:22 *** ChanServ sets mode: +v robbyoconnor