IRC Chat : 2012-09-10 - OpenMRS

00:44:05 *** djazayeri has joined #openmrs
00:44:06 *** ChanServ sets mode: +o djazayeri
01:01:05 *** djazayeri has quit IRC
02:15:03 *** suranga has joined #openmrs
02:15:03 *** ChanServ sets mode: +v suranga
03:29:06 *** suranga has quit IRC
05:24:56 *** kavuri has joined #openmrs
06:01:09 <kavuri> Hi, anyone knows the source code repository of atomfeed module? I am unable to find it in github (or anywhere else, infact)
06:10:23 <kavuri> wyclif: ^^^ ?
07:47:39 *** dkayiwa has joined #openmrs
07:51:44 <kavuri> dkayiwa: I gave up trying to use an application outside the J2EE container :)
07:51:58 <dkayiwa> kavuri: i knew :)
07:51:59 <kavuri> dkayiwa: tried a lot..but was still missing some libraries and am not able to get the right combination
07:52:42 <kavuri> dkayiwa: do you know where I can get the source code for atomfeed module?
07:54:40 *** dkayiwa_ has joined #openmrs
07:54:42 *** dkayiwa has quit IRC
07:54:42 *** dkayiwa_ is now known as dkayiwa
07:54:49 <kavuri> dkayiwa: do you know where I can get the source code for atomfeed module?
07:55:24 <dkayiwa> kavuri: http://svn.openmrs.org/openmrs-modules/atomfeed/
07:55:53 <kavuri> dkayiwa: thank you
08:09:07 *** upul` has joined #openmrs
08:09:07 *** ChanServ sets mode: +v upul`
08:55:17 *** judygichoya has joined #openmrs
08:55:31 <judygichoya> hey dkayiwa
08:55:41 <dkayiwa> hey judygichoya
08:56:17 <judygichoya> i have a question
08:56:18 <kavuri> dkayiwa: any experience using atomfeed module? When I try to start it, it gets stuck and the spinner in the admin console goes on forever
08:56:40 <dkayiwa> kavuri: which version of openmrs
08:57:03 <kavuri> dkayiwa: 1.10.0
08:57:26 <dkayiwa> can you restart tomcat and try again
08:57:32 <judygichoya> what is a good way to pick the patient name on the dashboard and other details like identifiers..
08:57:37 <kavuri> dkayiwa: did that, same result
08:57:51 <dkayiwa> kavuri: which version of module
08:58:06 <kavuri> dkayiwa: 1.1 Just took it from the svn trunk
08:58:15 <dkayiwa> judygichoya: am not sure i get you
08:58:16 <judygichoya> I am creating a module that adds the tab on the patient dashboard
08:58:19 <kavuri> dkayiwa: built it and deployed it
08:58:32 <judygichoya> and would like to autofill these details on an order form
08:58:32 <dkayiwa> kavuri: can you try the released version
08:58:44 <kavuri> dkayiwa: infact, tried that too. Same result
08:59:05 <dkayiwa> kavuri: can you try on 1.9 and see if same problem
08:59:15 <kavuri> dkayiwa: ok, will give it a shot
09:00:04 <dkayiwa> judygichoya: you can use a patient object in your jsp
09:00:23 <judygichoya> i thought i needed to give in a specific identifier...
09:00:42 <judygichoya> a similar case is displaying encounters for a selected patient...
09:00:43 <dkayiwa> judygichoya: patient can have multiple identifiers
09:01:09 <dkayiwa> judygichoya: or you can use the xforms module :)
09:01:22 <judygichoya> in a module?
09:01:42 <dkayiwa> judygichoya: no just create an xform
09:23:10 <kavuri> dkayiwa: I now used 1.9 and the atomfeed module starts fine. But when I try to use it (as in view feed), it asks me to configure a username/password. When I set a password, it throws an error: Failed to start ActiveMQ JMS Message Broker. Reason: javax.management.InstanceAlreadyExistsException: org.apache.activemq:BrokerName=localhost,Type=Broker
09:23:29 <kavuri> dkayiwa: did not know that there is a need for an external JMS server
09:24:13 <kavuri> dkayiwa: infact, looks like it tries to connect here: rmi://localhost:1099/jmxrmi
09:24:24 <kavuri> and I have no such rmi server running at 1099
09:24:25 <dkayiwa> kavuri: oh i see!!!
09:25:56 <dkayiwa> kavuri: did you read this? https://wiki.openmrs.org/display/docs/Atom+Feed+Module
09:26:32 <kavuri> dkayiwa: yes, I did
09:26:42 <dkayiwa> kavuri: ok
09:26:49 <kavuri> dkayiwa: I tried accessing that url specified there, but I get no result
09:26:55 <dkayiwa> kavuri: ok
09:27:16 <dkayiwa> kavuri: can you send out an email to the dev list?
09:27:22 <kavuri> dkayiwa: any clue about this? Or maybe I will wait for few more hrs and check with bwolfe
09:27:30 <kavuri> dkayiwa: ok even better, will send an email
09:27:55 <dkayiwa> kavuri: email will give you wider audience :)
09:28:03 <kavuri> dkayiwa: right :)
09:36:26 *** Peter_____ has joined #openmrs
10:08:17 *** judygichoya has quit IRC
10:16:23 *** dkayiwa_ has joined #openmrs
10:16:41 *** dkayiwa has quit IRC
10:16:42 *** dkayiwa_ is now known as dkayiwa
10:55:25 *** Peter_____ has quit IRC
11:03:56 *** james_regen has joined #openmrs
11:03:56 *** ChanServ sets mode: +v james_regen
11:10:56 *** judygichoya has joined #openmrs
11:18:56 *** robbyoconnor has quit IRC
11:29:29 *** upul` has quit IRC
11:32:57 *** suranga has joined #openmrs
11:32:57 *** ChanServ sets mode: +v suranga
11:33:03 <suranga> helooo dkayiwa :)
11:33:10 <dkayiwa> suranga: hey :)
11:33:37 <suranga> dkayiwa, I have a small question... umm.. how can I add person attributes to Person objects in openmrs 1.8,2 ?
11:33:43 <suranga> dkayiwa, persons, not patients...
11:34:12 <dkayiwa> suranga: yes
11:34:30 <suranga> dkayiwa, umm.. which page should I use ? :)
11:35:35 <dkayiwa> suranga: Person.addAttribute
11:39:03 <suranga> dkayiwa, are the 'manage persons' and 'manage patients pages the same in openmrs 1.8,2 ? :-(
11:39:24 <suranga> dkayiwa, im having some trouble identifying the difference beetween these
11:39:33 <dkayiwa> suranga: have you tried both of them?
11:39:57 <suranga> dkayiwa, im using 1.8.2, whioch has only manage patients page
11:40:10 <suranga> dkayiwa, but it seems to display both patients and persons...
11:40:59 <dkayiwa> suranga: ok
11:42:38 <suranga> dkayiwa, wondering if you can remember the behaviour that was put into 1.8.2... does the page show both persons and patients ? :-)
11:42:56 <dkayiwa> suranga: which page?
11:43:28 <suranga> dkayiwa, this page, openmrs/admin/patients/index.htm in openmrs 1.8,2
11:43:43 <suranga> dkayiwa, in 1.8,2, does it display both persons AND patients ?
11:44:44 <dkayiwa> suranga: only patients
11:45:07 <suranga> dkayiwa, hmm.. I tried it practically, and it displayed perosns as well...
11:45:20 <suranga> dkayiwa, thats why I wanted to ask you...
11:46:26 <dkayiwa> suranga: because they were patients too?
11:48:05 <suranga> dkayiwa, I see
11:48:09 <suranga> thats embarassing
11:48:33 <suranga> dkayiwa, so there is no way to add person attributes to actual perons in 1.8,2, is there ? :)
11:49:26 <dkayiwa> suranga: am not sure :)
11:49:56 <suranga> dkayiwa, I see
11:50:01 <suranga> dkayiwa, no problem, let me see what I can find...
11:50:16 <dkayiwa> ok
11:57:34 *** kishoreyekkanti has joined #openmrs
12:19:32 *** wyclif has quit IRC
12:20:31 *** suranga has quit IRC
12:40:25 *** bwolfe has joined #openmrs
12:40:25 *** ChanServ sets mode: +o bwolfe
12:41:51 *** downey has joined #openmrs
12:41:51 *** ChanServ sets mode: +o downey
12:41:51 *** OpenMRSBot sets mode: +o downey
12:54:12 *** rfriedman has joined #openmrs
12:57:46 <kavuri> bwolfe: I am trying to use atomfeed module, but facing issues with trying to start it. Sent an email to dev list. Could you please check and help
12:59:02 *** judygichoya has quit IRC
12:59:35 * bwolfe looks
13:04:00 <bwolfe> kavuri, replied
13:04:08 <kavuri> bwolfe: thanks
13:09:03 *** judygichoya has joined #openmrs
13:11:25 *** wyclif has joined #openmrs
13:13:26 *** jkeiper has joined #openmrs
13:13:33 *** harshadura_ has joined #openmrs
13:13:43 <jkeiper> bwolfe, have you seen this before? http://pastebin.com/PTUkACHy
13:14:13 <bwolfe> jkeiper, no...
13:14:22 <jkeiper> we restarted tomcat but it's still happening ...
13:14:24 <bwolfe> weird
13:14:28 <jkeiper> think maybe i should stop formentry
13:14:30 <jkeiper> and start it again
13:14:37 <bwolfe> is xforms loaded?
13:14:37 <jkeiper> or stop RFE
13:14:40 * jkeiper looks
13:14:47 <jkeiper> oh, i bet it is
13:15:13 <bwolfe> there was an issue at one point because he called the objects the same thing...so we had to reference by full package path
13:15:23 <jkeiper> yep
13:15:28 <jkeiper> o
13:15:53 *** harshadura has quit IRC
13:16:10 <jkeiper> do you remember if that was fixed in formentry, or xforms?
13:16:18 * jkeiper might have to roll it back in formentry
13:18:14 <bwolfe> jkeiper, I think it was fixed a long time ago...
13:21:09 <jkeiper> that's what i thought
13:21:54 <bwolfe> jkeiper, that might not be the problem though
13:22:11 <jkeiper> right
13:22:14 <jkeiper> could be module loader
13:23:40 *** judygichoya has quit IRC
13:49:11 *** sgithens has joined #openmrs
13:57:30 *** rubailly has joined #openmrs
14:00:44 <sgithens> What's the best tool to use for importing concepts from the "Download the concept dictionary in CSV format" from the Concept Dict Maint page?
14:01:35 *** andreapat has joined #openmrs
14:04:25 *** djazayeri has joined #openmrs
14:04:25 *** ChanServ sets mode: +o djazayeri
14:04:36 *** andrea_ has joined #openmrs
14:05:05 <andrea_> anyone there? had trouble connecting
14:05:43 <djazayeri> I just logged in also, a bit late, is scrum going on?
14:05:43 *** andreapat has quit IRC
14:05:58 <andrea_> i'm here -
14:06:24 <andrea_> can you see me?
14:06:32 <djazayeri> andrea_: yes, I can see your messages
14:06:41 <andrea_> good
14:07:18 <andrea_> are we it?
14:07:31 *** suranga has joined #openmrs
14:07:31 *** ChanServ sets mode: +v suranga
14:07:38 <djazayeri> I see everyone else online...
14:07:42 <djazayeri> bwolfe: want to scrum?
14:07:59 <djazayeri> I need to walk to the office soon
14:08:17 <andrea_> I'm here
14:08:24 * suranga here
14:09:37 <rfriedman> andrea_, welcome, i've seen you around lately, would you mind doing a 1-line intro?
14:10:12 <rfriedman> djazayeri, you don't have your wearable computer yet?
14:10:28 <djazayeri> finally got my phone to be a wifi hotspot yesterday...
14:10:31 <suranga> hi rfriedman ! will we be seeing you in the philipines next month ?
14:10:33 <andrea_> I'm a new developer out here in San Francisco
14:10:33 <djazayeri> so I'm 2% of the way there
14:10:51 <rfriedman> suranga, absoloutely
14:11:01 <andrea_> rfriedman, who are you?
14:11:12 <suranga> rfriedman, great ! also beware that im buying a new camera !
14:11:16 <dkayiwa> andrea_: rfriedman is CDC :)
14:11:18 <rfriedman> andrea_, i'm a systems analyst at CDC
14:11:33 *** cpower has joined #openmrs
14:11:34 <andrea_> ah nice to meet you
14:11:49 <cpower> hello everyone sorry I'm late...did you start without me?
14:11:49 <rfriedman> dkayiwa, i am a Northropo Grumman contractor at CDC, not CDC. If you get that wrong, I'll send a Predator after you
14:12:01 <dkayiwa> rfriedman: :D
14:12:04 <suranga> andrea_, rfriedman is way more importaint than that.. he just pretends to be an ordinary guy
14:12:13 <andrea_> I see
14:12:27 <dkayiwa> andrea_: he does lots of coding too :)
14:12:35 <rfriedman> rofl
14:12:41 <cpower> Has the scrum happened yet?
14:12:45 <andrea_> good!
14:13:11 <dkayiwa> cpower: only introductions between rfriedman and andrea_ :)
14:13:15 <djazayeri> cpower: waiting for you
14:13:19 <rfriedman> i'm not a developer, i just play one on IRC
14:13:22 <cpower> good deal...
14:13:26 <cpower> then let's begin
14:13:32 <cpower> !scrumon cpower
14:13:32 * 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 cpower- you may begin when ready.
14:13:59 <dkayiwa> rfriedman: i never said you are a developer, i only said that you write lots of code too :)
14:14:40 <cpower> It's a mini sprint
14:15:10 <cpower> Order: Bwolfe, wycilf, Andreapat, Nathan (if you are out there), rfriedman
14:15:39 <bwolfe> Friday
14:15:39 <bwolfe> emails
14:15:39 <bwolfe> review pull requests
14:15:39 <bwolfe> review sprint pages with Kiran
14:15:39 <bwolfe> attempt to fix scheduler service tests failing randomly
14:15:40 <bwolfe> Monday
14:15:42 <bwolfe> emails
14:15:49 <bwolfe> (and set up scrum page yesterday)
14:15:54 <bwolfe> no other progress yet today...
14:16:22 <bwolfe> no blockers, shoudl get to reviewing restws code soon!
14:16:38 <cpower> good deal, wyclif you are up!
14:17:23 <wyclif> Friday:
14:17:23 <wyclif> Spike on replacing cohort builder
14:17:23 <wyclif> Created ui framework patient summary support module - UIFR-73
14:17:23 <wyclif> Created a ticket to fix blocker that stops ui framework patient summary support module from working
14:17:23 <wyclif> Monday:
14:17:24 <wyclif> RESTWS-245 - Implement encounter search
14:17:26 <wyclif> RESTWS-247 - Support Visits when running 1.9+
14:17:28 <wyclif> Blockers: None
14:17:48 <cpower> Andreapat you are next
14:17:59 <andrea_> Got OpenMRS deployed, created a git hub account, looked at open tickets.
14:17:59 <andrea_> met with Patrick
14:18:17 <andrea_> No blockers
14:18:19 <andrea_> today Merck training, find an open ticket. plan trip to Indy
14:18:34 <rfriedman> garden spot of universe
14:18:45 <cpower> indeed
14:18:45 <andrea_> is it?
14:19:26 <cpower> I grow some nice green peppers here ...yes..but I digress Nathan are you out there?
14:20:05 <cpower> I'll take that as a no, rfriedman you are up
14:20:10 <rfriedman> RESTWS-267
14:20:10 <rfriedman> About 60% complete
14:20:11 <rfriedman> Need to review design with dj
14:20:11 <rfriedman> Have jury duty today
14:20:11 <rfriedman> Need to reply to dk query re members and answers
14:20:37 <cpower> any blockers?
14:20:44 <djazayeri> rfriedman: I'm running around lots today, so probably won't get to your email today
14:20:58 <rfriedman> laziness
14:21:05 <dkayiwa> Investigated: "answers" and "setMembers" don't work correctly - RESTWS-286
14:21:05 <dkayiwa> Now working on: Patient method does not return "identifiers" field for default and full representation - RESTWS-273
14:21:05 <dkayiwa> No Blockers
14:21:08 <cpower> so normal...check ;-)
14:21:09 <bwolfe> cpower, rfriedman, what is nathan's nick?
14:21:27 <cpower> no clue which is why I was asking if he was around
14:21:41 <rfriedman> nleiby i think, it's 9 pm in India now
14:22:14 <cpower> Well someone needs to tell him OpenMRS never sleeps ;-)
14:22:15 <djazayeri> My report: Today: * try to work with a TWer to come up with a good CI plan for a module-based distro (for mirebalais)
14:22:41 <cpower> Anyone else like to give an update?
14:22:42 <djazayeri> blockers: not knowing CI best-practices.
14:22:55 <djazayeri> (that blocker isn't addressable on this call.)
14:22:57 <suranga> and me too, please. Today / yesterday : I investigated hl7qry -55 for the best possible design. will bug Ben about picking one of them later today... :-)
14:24:01 <djazayeri> off to office
14:24:03 *** djazayeri has quit IRC
14:24:46 <andrea_> I know it will be much better after I come to Indy but looked at open tickets and they didn't make much sense - any suggestions as how to proceed???
14:24:51 <cpower> Blockers: rfriedman's laziness, CI-best practices need to be reviewed for djazayeri (just not here), Suranga needs Ben's help.
14:25:09 <bwolfe> andrea_, if you are ready for a ticket, I can pick one out for you
14:25:20 <cpower> And one last one: How to pick a ticket (Ben will help)
14:25:28 <andrea_> Good - lets chat later
14:25:30 <rfriedman> i have a question
14:25:30 <cpower> !scrumoff
14:25:30 * 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.
14:25:40 <bwolfe> sgithens, that was meant as a simple dump, not to be re-imported anywhere. :-p but you might be able to use the spreadsheet import to do it. not sure if that works for metadata too or only data though
14:25:47 <cpower> go for it rfriedman
14:26:07 <rfriedman> bwolfe, are we working in svn or git?
14:26:28 <bwolfe> rfriedman, RESTWS is still in svn I believe
14:26:52 <rfriedman> bwolfe, my understanding also
14:27:02 <rfriedman> just wanted to make sure
14:27:07 <bwolfe> andrea_, how are your javascript skills?
14:27:22 <bwolfe> rfriedman, we're rockin it old school this week. :-)
14:29:15 *** lh has joined #openmrs
14:29:15 *** lh has joined #openmrs
14:31:07 <andrea_> much better with Java - saw you have a lot of jquey out there - have just started learning it - I like it but for a first ticket I'd like Java code if that's ok
14:32:26 <andrea_> bwolfe, you there?
14:33:03 * bwolfe looks for a java ticket
14:36:59 <andrea_> bwolfe, you still lookng?
14:37:14 <jkeiper> dkayiwa, do you remember having a class conflict generating org.hibernate.MappingException: Unknown entity: org.openmrs.module.formentry.FormEntryError with XForms?
14:37:52 <dkayiwa> jkeiper: yes i think with some older versions of the xforms module
14:39:02 <jkeiper> dkayiwa, do you know what version it stopped being a problem?
14:39:48 <bwolfe> andrea_, uh, yes? sorry got distracted. :-/
14:39:53 <bwolfe> (happens easily enough...)
14:40:06 <dkayiwa> jkeiper: i do not remember. but am sure the latest does not have that problem
14:40:12 <rfriedman> bwolfe, once you have kids, you're never undistracted again
14:41:05 <dkayiwa> rfriedman: do you mean bwolfe is kidless?
14:42:02 <rfriedman> dkayiwa, he is as kidful as a man can be
14:42:14 <dkayiwa> rfriedman: hahaha :)
14:42:42 <dkayiwa> by the way rfriedman are you married?
14:43:33 <rfriedman> dkayiwa, 23 years
14:43:41 <dkayiwa> rfriedman: lollllllllllllll :)
14:43:58 <andrea_> bwolfe, we can talk later if you want. Need to figure out when Indy trip will be - next week or week after. Would like to talk about ir.
14:44:02 <rfriedman> dkayiwa, 5 years with one, 11 with another, 7 with a third
14:44:21 <dkayiwa> rfriedman: one, another, and third kid?
14:44:32 <bwolfe> andrea_, "ir" ?
14:44:48 <bwolfe> andrea_, did you mean "it"
14:44:49 <bwolfe> ?
14:44:58 <andrea_> sorry meant "it"
14:45:01 <bwolfe> andrea_, both next week and the week after are fine
14:45:06 <rfriedman> no, just one kid, but he's high maintenance
14:45:15 <bwolfe> andrea_, yeah, sorry, I puzzled it out, just slow today :-(
14:45:41 <andrea_> good!!
14:45:51 <bwolfe> andrea_, so its up to you
14:46:21 <rfriedman> dkayiwa, had to keep marrying to have enough help with him
14:46:34 <andrea_> ok - will let you know today - after I get into the office
14:47:20 <dkayiwa> rfriedman: oh sorry!!!. At least you at last got what you wanted.
14:49:33 <sgithens> bwolfe: Ok, thanks!
14:51:30 <rfriedman> dkayiwa, i love all 3
14:51:38 <dkayiwa> rfriedman: ohhhhhhh
14:51:47 <dkayiwa> rfriedman: why
14:52:34 <rfriedman> dkayiwa, i learned in Africa that it's much better to have multiple wives
14:53:08 <dkayiwa> rfriedman: not any more now :)
14:53:56 *** djazayeri has joined #openmrs
14:53:56 *** ChanServ sets mode: +o djazayeri
14:54:11 <rfriedman> yes, i think 3 is my limit
14:55:46 <jkeiper> dkayiwa, hrm ... we're running 4.0.9.5 on 1.8.2 and i had to turn off xforms in order to ... oh wait, it might be AMRS Mobile Forms
14:55:47 <jkeiper> :|
14:55:49 * jkeiper checks the code
14:55:56 <jkeiper> dkayiwa, i couldn't find a related ticket
14:55:58 <jkeiper> do you have one?
14:56:28 *** djazayeri1 has joined #openmrs
14:56:50 <dkayiwa> jkeiper: by then the module had no JIRA tickets
14:56:58 <jkeiper> oh haha
14:59:03 *** djazayeri has quit IRC
15:06:31 *** suranga has quit IRC
15:17:56 *** andrea_ has quit IRC
15:18:59 *** djazayeri has joined #openmrs
15:18:59 *** ChanServ sets mode: +o djazayeri
15:18:59 *** djazayeri1 has quit IRC
15:21:34 <dkayiwa> hi bwolfe
15:22:20 <dkayiwa> hi rfriedman
15:25:50 *** rubailly has quit IRC
15:28:20 <rfriedman> dkayiwa, hi daniel
15:28:58 <rfriedman> dkayiwa, i wish alerts worked with x-chat on linux
15:35:30 <dkayiwa> rfriedman: RESTWS-286
15:35:36 <dkayiwa> !ticket RESTWS-286
15:35:38 <OpenMRSBot> dkayiwa: [#RESTWS-286] "answers" and "setMembers" dont work correctly - OpenMRS JIRA - https://tickets.openmrs.org/browse/RESTWS-286
15:36:48 <rfriedman> dkayiwa, yes?
15:37:03 <dkayiwa> rfriedman: did you see my comment there
15:37:22 <rfriedman> dkayiwa, i saw it, I have to research it still, the problem was found by Martin Gielow during GSOC.
15:37:36 <dkayiwa> rfriedman: ok
15:37:52 <dkayiwa> bwolfe: djazayeri any pointers for RESTWS-273?
15:37:53 <rfriedman> dkayiwa, I have to load the module from scratch
15:38:02 <dkayiwa> rfriedman: ok
15:38:07 <dkayiwa> !ticket RESTWS-273
15:38:08 <djazayeri> on a call now
15:38:09 <OpenMRSBot> dkayiwa: [#RESTWS-273] Patient method does not return "identifiers" field for default and full representation. - OpenMRS JIRA - https://tickets.openmrs.org/browse/RESTWS-273
15:38:17 <dkayiwa> djazayeri: ok
15:40:18 *** harshadura_ has quit IRC
15:42:27 *** harshadura has joined #openmrs
15:42:54 *** rfriedman has quit IRC
15:44:07 <djazayeri> dkayiwa: could you say what the infinite loop on restws-273 actually is?
15:44:25 <dkayiwa> djazayeri: yes
15:44:49 <dkayiwa> djazayeri: oh sorry. not yet got what causes it
15:45:13 <dkayiwa> djazayeri: first of all, is reversing the order a correct thing?
15:45:23 <djazayeri> dkayiwa: to answer your question, I don't know what approach to take, but it seems like you're on the right track, i.e. discovered that the order needs to be reversed.
15:45:33 <djazayeri> dkayiwa: yeah, I think spring considers a lower number to be higher priority
15:45:40 <dkayiwa> djazayeri: ok
15:47:25 *** kishoreyekkanti has quit IRC
15:52:25 *** dkayiwa has quit IRC
15:53:30 <wyclif> hi djazayeri
15:53:34 <djazayeri> hi wyclif
15:54:08 <wyclif> djazayeri, about UIFR-73
15:55:07 <wyclif> djazayeri, bascially if i add a fragment from another module, it doesnt work because the framework can't load the controller and view gsp
15:55:21 <djazayeri> wyclif: are you using uiframework 1.8?
15:55:30 <djazayeri> (which is actually not available in the module repo)
15:56:10 <wyclif> am building it from the code in github
15:57:37 <djazayeri> wyclif: what I'm asking in comments on UIFR-73 is to please give a specific example of a line of code that doesn't work right.
15:58:15 *** suranga has joined #openmrs
15:58:15 *** ChanServ sets mode: +v suranga
15:59:04 *** djazayeri1 has joined #openmrs
16:02:01 *** djazayeri has quit IRC
16:34:28 *** kavuri has quit IRC
16:48:01 *** basic` has quit IRC
16:50:08 *** basic` has joined #openmrs
17:12:24 *** lh has quit IRC
17:15:10 *** dkayiwa has joined #openmrs
17:27:11 <suranga> hi james_regen
17:27:47 <james_regen> suranga: hi
17:27:53 <suranga> james_regen, sorry to disturb you, I just wanted to ping you because I couldnt talk to you after the conclusion of GSOC.. :)
17:28:08 <james_regen> suranga: no problem
17:28:25 <suranga> james_regen, you probably knoe that i'll be in RG in october
17:28:36 <suranga> james_regen, haa haa.. so we will finally meet !
17:28:51 <james_regen> suranga: i did not know that, actually. what dates?
17:29:16 <suranga> james_regen, somewhere around the 14th to the 18th, I belive :)
17:30:11 <james_regen> suranga: great, i'm sure it'll be a good trip
17:30:35 <suranga> james_regen, looking forward to meeting you.. anything you want me to bring from Sri Lanka ?
17:32:06 <james_regen> suranga: that's a good question. i'd have to give it some thought. maybe some patches for some open tickets? :)
17:32:31 <suranga> james_regen, he hee... I sure hope so ! :P
17:54:50 *** kdeeq has joined #openmrs
18:09:45 *** kdeeq has quit IRC
18:24:56 <downey> heh
18:25:06 * downey is slow
19:13:31 *** lh has joined #openmrs
19:13:31 *** lh has joined #openmrs
19:28:30 <suranga> hi bwolfe :-)
19:28:37 <bwolfe> hi suranga
19:28:56 <suranga> bwolfe, I wanted to ask you opinion on a ticket.. can I ?
19:31:08 <suranga> bwolfe, please see my comments on https://tickets.openmrs.org/browse/HLQRY-55 when u are free...
19:32:11 <bwolfe> suranga, commented
19:32:35 <suranga> bwolfe, u r fast :-)
19:32:57 <bwolfe> I aim to please
19:36:23 <suranga> bwolfe, could you also look at this code sample, and see if it pleases you :P
19:36:27 <suranga> http://pastebin.com/VmV1BDeA
19:36:45 <suranga> bwolfe, just the top part of it, to see how im managing XMl and JSON error messages
19:36:50 <bwolfe> linebreaks--
19:42:35 <suranga> bwolfe, oops, sorry'maybe u can look at it in the 'Raw' format (there's a link on the page for that ?)
19:42:39 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: OpenMRS UI Framework 1.8.1 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=uiframework&ampversion=&amp1.8.1>
19:45:54 <dkayiwa> hi bwolfe
19:46:15 <dkayiwa> bwolfe: do you have any ideas for RESTWS-273 ?
19:46:17 <bwolfe> hi dkayiwa
19:46:21 <dkayiwa> !ticket RESTWS-273
19:46:23 <OpenMRSBot> dkayiwa: [#RESTWS-273] Patient method does not return "identifiers" field for default and full representation. - OpenMRS JIRA - https://tickets.openmrs.org/browse/RESTWS-273
19:46:51 <bwolfe> suranga, found the little <> button in the far upper right. better than raw. :-)
19:47:35 <bwolfe> suranga, lots of extra if/elses...
19:47:42 <bwolfe> seems you could do that if check in the method instead
19:47:55 *** james_regen has left #openmrs
19:48:03 <bwolfe> suranga, why are you using isPipeDelimited and then json in the names?
19:48:12 <bwolfe> are the pipes surrounded by json?
19:48:26 <bwolfe> shouldn't it be "generateHL7Message" instead?
19:49:51 <suranga> bwolfe, hmm.. I was afraid of that
19:49:51 <bwolfe> (although I'd vote for ExceptionUtils.generateMessage(boolean isPipe, ErrorMessageConstant errorType, String idOrName)
19:50:01 <suranga> bwolfe, I thought we agreed that the error message would be json for pipe delimited hl7 messages, and xml for xml hl7 messages
19:50:08 * bwolfe moves on to daniel's question
19:50:15 <dkayiwa> :)
19:50:17 <bwolfe> suranga, why did we decide that?
19:50:46 <bwolfe> dkayiwa, no quick ideas without doing a lot of debugging. thats why I put it in the sprint, so someone like you could investigate
19:50:52 <suranga> bwolfe, in this case, we are not returning HL7. we are basically saying "your parameters are invalid"
19:50:56 <dkayiwa> bwolfe: ok
19:51:04 <bwolfe> dkayiwa, I did the same thing you did, changed the priority and got the error.
19:51:18 <bwolfe> dkayiwa, you will need to debug and step through to see where/when it is getting the person instead of the patient
19:51:20 <dkayiwa> bwolfe: ok let me keep investigating
19:51:29 <dkayiwa> bwolfe: i saw that already
19:51:32 <bwolfe> suranga, isn't there a way to say "there is an error" in hl7 speak?
19:51:53 <dkayiwa> bwolfe: and if i reverse the order, it correctly gets the PersonResource
19:52:07 <dkayiwa> bwolfe: but now i end up with infinite recursion
19:52:31 <bwolfe> dkayiwa, somewhere the resource is being looked up. figure out where the switch is happening by stepping through with debugger
19:52:39 <suranga> bwolfe, yes, there is, but these happen before the hl7 speak. these basically signify that the url paramters are wrong.
19:52:56 <bwolfe> suranga, shouldn't we be setting http error codes then too?
19:52:59 <dkayiwa> bwolfe: what do you mean by switch?
19:53:08 <suranga> bwolfe, therefore, if someone had requested the message in pipe delimited, I guess they would prefer tothe error message in json format ? (maybe im wrong)
19:53:13 <suranga> bwolfe, u are right :)
19:53:23 <bwolfe> dkayiwa, meaning somewhere the framewok is supposed to get the patientresource but instead it gets the patientresource
19:53:28 <suranga> bwolfe, um.. but what error code to use ?
19:53:54 <bwolfe> dkayiwa, or maybe the goal should be to find that infinite loop. because it does seem that "patient" should be more important than "person"
19:54:11 <bwolfe> e.g. find the "subtype" before finding the "generic parent" type
19:54:18 <dkayiwa> bwolfe: ok
19:54:35 <bwolfe> !refer suranga [google http+error+codes]
19:54:35 * OpenMRSBot refers suranga to http://www.google.com/search?q=http+error+codes
19:54:37 <bwolfe> :-D
19:55:08 <bwolfe> suranga, it just so happens I have a link that lists out all the http error codes. I saved the link to that page on google.com. :-D
19:56:12 <suranga> bwolfe, ah, i thought that you were thinking of custom error codes..
19:56:18 <suranga> bwolfe, cool !
19:56:52 <suranga> bwolfe, in this case it will always be 400, i think....
19:57:49 <bwolfe> suranga, not necessarily
19:58:10 <bwolfe> there are some that mean "retry this later" and some that mean "don't try this again without changing your url"
20:06:41 *** jkeiper has quit IRC
20:09:59 *** downey has quit IRC
20:21:09 *** sgithens has quit IRC
21:15:03 *** dkayiwa has quit IRC
21:40:12 *** bwolfe has quit IRC
21:45:57 *** wyclif has quit IRC
21:53:06 *** djazayeri1 has quit IRC
22:44:02 *** suranga has quit IRC
23:23:35 *** lh has quit IRC