IRC Chat : 2013-06-24 - OpenMRS

00:05:19 *** wyclif has quit IRC
00:38:27 *** r0bby_ has quit IRC
00:38:51 *** r0bby_ has joined #openmrs
00:38:51 *** ChanServ sets mode: +v r0bby_
01:44:23 *** evmw has quit IRC
01:55:03 *** achint has quit IRC
02:32:41 *** evmw has joined #openmrs
02:32:41 *** ChanServ sets mode: +v evmw
02:33:02 *** evmw has quit IRC
04:21:52 *** Guest30579 has joined #openmrs
04:26:27 *** Guest30579 has quit IRC
04:27:25 *** ijkvinay has joined #openmrs
04:56:05 *** wyclif has joined #openmrs
05:18:29 *** kavuri has joined #openmrs
05:55:39 *** ijkvinay has quit IRC
05:57:18 *** ijkvinay has joined #openmrs
06:08:09 *** r0bby_ is now known as robbyoconnor
06:09:51 *** wyclif has quit IRC
06:28:22 *** rcrichton has joined #openmrs
06:29:44 *** ijkvinay has quit IRC
06:31:52 *** ijkvinay has joined #openmrs
06:31:58 *** rcrichton has joined #openmrs
06:33:00 *** sashrika has joined #openmrs
06:33:31 *** ijkvinay has quit IRC
06:37:07 *** sashrika has quit IRC
06:46:09 *** harshadura_ has joined #openmrs
06:47:52 *** ijkvinay has joined #openmrs
06:49:05 *** harshadura__ has quit IRC
06:50:07 *** harshadura has quit IRC
06:54:45 *** robbyoconnor has quit IRC
06:55:19 *** robbyoconnor has joined #openmrs
06:55:19 *** ChanServ sets mode: +v robbyoconnor
07:01:15 *** harshadura has joined #openmrs
07:21:30 *** ijkvinay has quit IRC
07:25:40 *** kavuri has left #openmrs
07:46:19 *** dkayiwa has joined #openmrs
08:02:54 *** KC9YYQ has quit IRC
08:04:48 *** KC9YYQ has joined #openmrs
08:17:41 *** rcrichton has quit IRC
08:18:26 *** rcrichton has joined #openmrs
08:24:19 *** ijkvinay has joined #openmrs
08:28:06 *** kavuri has joined #openmrs
08:29:25 *** garima has joined #openmrs
08:29:38 *** ChanServ sets mode: +v garima
08:32:28 <harshadura> hi dkayiwa
08:32:36 <dkayiwa> harshadura: hi
08:32:55 <harshadura> dkayiwa: can i use html widgets module to embed an html form into a JSP ?
08:33:08 <dkayiwa> harshadura: no
08:33:23 <dkayiwa> harshadura: that module just has widgets which are used in htmlforms
08:33:37 <harshadura> dkayiwa: ohh, ok
08:33:42 <harshadura> dkayiwa: thank you
08:50:35 *** rday has quit IRC
08:53:03 <harshadura> dkayiwa: i am checking the xforms module, Actually i dont see the XMLs of the form i created, can u tell me where i can see it ?
08:53:09 *** kavuri has left #openmrs
08:53:42 <harshadura> in the documentation i saw u have mentioned something called, "XML tab" but i dont see a one :(
08:54:24 <dkayiwa> harshadura: you turn it on using global property
08:54:34 <dkayiwa> xforms.showXformsSource=true
08:54:44 <dkayiwa> harshadura: ^^
08:55:33 <harshadura> do i need to edit the openmrs-runtime properties file dkayiwa ?
08:56:04 <dkayiwa> harshadura: admin -> Settings
08:58:18 <harshadura> dkayiwa: thank you it worked :)
09:16:32 *** dkayiwa_ has joined #openmrs
09:18:24 *** dkayiwa has quit IRC
09:18:25 *** dkayiwa_ is now known as dkayiwa
09:21:09 <harshadura> dkayiwa: i just saw ur project while digging up the xforms module: this is awesome and even open source :) http://code.google.com/p/purcforms/
09:21:25 <harshadura> actualy wats mean of purc
09:21:31 <dkayiwa> harshadura: oh thanks :)
09:21:46 <dkayiwa> harshadura: purc = meaningless :)
09:21:59 <harshadura> xD okay dkayiwa
09:22:28 <dkayiwa> harshadura: i just wanted some combination of characters that i had never heard of :)
09:22:50 <harshadura> dkayiwa: thats weird name, but nice :)
09:23:02 <dkayiwa> harshadura: lollllllll :)
09:27:11 <harshadura> dkayiwa: i think it would be awesome if you can host this on github, so people can easily fork and use :)
09:27:34 <harshadura> dkayiwa: i really like this, feeling like im using a desktop application xD
09:28:24 <dkayiwa> harshadura: i fully agree. its only a matter of time :)
09:29:06 <harshadura> dkayiwa: hmm then its ok
09:34:39 *** dkayiwa has quit IRC
09:35:12 <harshadura> dkayiwa: i see there are two xml types inside xforms module: 1) layout xml and 2) xforms xml -- for embeding purpose which one i need to use ?
09:44:03 *** dkayiwa has joined #openmrs
09:45:14 <harshadura> dkayiwa: i see there are two xml types inside xforms module: 1) layout xml and 2) xforms xml -- for embeding purpose which one i need to use ?
09:45:31 <dkayiwa> harshadura: all
09:45:49 <dkayiwa> harshadura: one is for widget layout while the other is for form structure
09:46:16 <dkayiwa> harshadura: but you do not need to worry about them when embedding because they are taken care of by the widget itself
09:47:39 <harshadura> dkayiwa, do u have any example for embedding this kind of xform ?
09:48:06 <dkayiwa> harshadura: i can guide you. then you can later on summarize all on the wiki :)
09:48:21 <harshadura> xD okay sure dkayiwa
09:48:42 <dkayiwa> harshadura: first step is create a div where you want the xform to be displayed
09:48:57 <harshadura> ok
09:49:13 <dkayiwa> harshadura: something like: <div id="purcformrunner"><div>
09:49:37 <harshadura> right
09:49:56 <dkayiwa> harshadura: have you looked at formEntry.jsp in the xforms module?
09:50:31 <harshadura> dkayiwa: mm no dkayiwa
09:50:53 <dkayiwa> harshadura: take a look at it because you are going to copy alot of text from there
09:51:14 <dkayiwa> harshadura: that is the example where the xform is embedded
09:51:16 <harshadura> ok sure i will check it
09:51:24 <harshadura> great
09:51:48 <dkayiwa> harshadura: so after you have put the div, then i ask me for the next step
09:52:03 <harshadura> ok dkayiwa
10:00:49 <harshadura> dkayiwa: i am done
10:01:58 *** dkayiwa has quit IRC
10:11:28 *** dkayiwa has joined #openmrs
10:15:04 *** garima_ has joined #openmrs
10:17:15 *** garima has quit IRC
10:17:20 *** ijkvinay has quit IRC
10:18:01 *** garima_ is now known as garima
10:18:25 *** ChanServ sets mode: +v garima
10:18:37 <harshadura> dkayiwa: i am done with the work
10:18:49 <harshadura> wat i need to do next
10:19:06 <harshadura> i have included <div id="purcformrunner"></div>
10:19:15 <dkayiwa> harshadura: now copy the PurcFormText javascript object in formEntry.jsp
10:21:48 <harshadura> dkayiwa: right done
10:22:26 <dkayiwa> harshadura: copy the function initialize(){ too
10:22:33 <dkayiwa> harshadura: but leave its body empty
10:23:37 <harshadura> dkayiwa: done :)
10:24:17 <dkayiwa> harshadura: copy these functions too: isUserAuthenticated, authenticateUser, checkIfLoggedInCallback
10:24:55 <harshadura> with bodies dkayiwa ?
10:25:02 <dkayiwa> harshadura: yes
10:25:07 <harshadura> ok
10:25:49 <harshadura> done dkayiwa
10:26:28 <dkayiwa> harshadura: include this too: <openmrs:htmlIncludefile="/moduleResources/xforms/formrunner/FormRunner.nocache.js"/>
10:26:33 <dkayiwa> harshadura: and the line next to it
10:26:42 <harshadura> ok
10:27:39 *** ijkvinay has joined #openmrs
10:27:47 <harshadura> ok dkayiwa
10:29:09 <harshadura> dkayiwa: done :)
10:29:37 <dkayiwa> harshadura: also copy the divs from: <div id="formId" style="visibility:hidden;">${formId}</div>
10:29:43 <dkayiwa> harshadura: to: <div id="formatXml" style="visibility:hidden;">${formatXml}</div>
10:30:36 <harshadura> dkayiwa: done
10:30:54 <dkayiwa> harshadura: do you have a controller for your jsp?
10:32:01 <harshadura> yes dkayiwa
10:32:57 <dkayiwa> harshadura: it should be the one to supply the values in the divs. eg ${formatXml}
10:33:23 <harshadura> dkayiwa: ok
10:33:53 <dkayiwa> harshadura: and example is: https://github.com/openmrs/openmrs-module-xforms/blob/master/omod/src/main/java/org/openmrs/module/xforms/web/controller/XformEntryController.java
10:33:58 <OpenMRSBot> <http://ln-s.net/-JZU> (at github.com)
10:39:13 <harshadura> dkayiwa: what is an encounter ?
10:39:57 <dkayiwa> harshadura: do not copy the else part
10:40:18 <dkayiwa> harshadura: just copy the contents of the if
10:40:27 <dkayiwa> harshadura: and also do not include the if statement
10:40:53 <harshadura> ok dkayiwa, just can u tell me whats an encounter ?
10:41:59 <dkayiwa> harshadura: https://wiki.openmrs.org/display/docs/Encounters+and+observations
10:42:23 <harshadura> dkayiwa: thanks :)
10:43:10 *** Madhu has joined #openmrs
10:46:24 <harshadura> dkayiwa: done :)
10:46:37 *** Madhu has quit IRC
10:47:20 <dkayiwa> harshadura: which formId value have you supplied in the div?
10:48:54 <harshadura> dkayiwa: <div id="formId" style="visibility:hidden;">${formId}</div>
10:49:37 <dkayiwa> harshadura: do you supply an actual value in the controller?
10:55:15 <harshadura> no dkayiwa
10:55:27 <harshadura> do i need to map it on a bean
10:55:29 <dkayiwa> harshadura: you need to
10:55:41 <dkayiwa> harshadura: i mean you need to supply an actual formId
10:56:21 <harshadura> oops so before that do i need to create a form dkayiwa ?
10:56:50 <dkayiwa> harshadura: before what?
10:57:18 <harshadura> dkayiwa: sorry where i can get the formID ?
10:57:39 <dkayiwa> harshadura: admin -> Manage Forms
10:57:58 <harshadura> i think i found it :) http://192.168.1.4:8080/openmrs/module/xforms/xformDesigner.form?formId=0
10:58:06 <harshadura> dkayiwa: ^
10:58:13 <dkayiwa> harshadura: oh yes :)
10:58:17 <harshadura> 0 correct dkayiwa
10:58:42 <dkayiwa> harshadura: you need to click the design xform link on the form schema screen
10:59:00 <dkayiwa> harshadura: then you will be take to the form designer and save an actual xform
10:59:12 *** ijkvinay has quit IRC
10:59:41 <harshadura> ok dkayiwa
11:01:44 *** rafa has joined #openmrs
11:01:45 *** ChanServ sets mode: +v rafa
11:13:40 <harshadura> dkayiwa, I did that and hardcoded form id in controller: Integer formId = 1; is it okay?
11:14:15 <dkayiwa> harshadura: its ok for now
11:14:35 <harshadura> ok done dkayiwa
11:14:41 <dkayiwa> harshadura: but do you really have an xform attached to that form id?
11:14:51 <harshadura> yes dkayiwa
11:15:08 <dkayiwa> harshadura: how do u tell
11:15:44 <harshadura> in admin -> forms i see that listed: http://192.168.1.4:8080/openmrs/admin/forms/formEdit.form?formId=1
11:16:29 <harshadura> dkayiwa: ^
11:17:00 <dkayiwa> harshadura: that does not mean you have an xform for it
11:17:22 <dkayiwa> the design xform link is what takes you to the form designer and you attach an xform
11:17:55 <harshadura> yes dkayiwa
11:27:21 *** rafa has quit IRC
11:31:17 *** rafa has joined #openmrs
11:31:17 *** ChanServ sets mode: +v rafa
11:42:01 *** dkayiwa has quit IRC
11:47:40 *** dkayiwa has joined #openmrs
12:06:59 <garima> jkeiper: hi :)
12:16:32 *** harshadura_ has quit IRC
12:33:05 <suranga> hi garima
12:33:16 <garima> hi suranga
12:33:40 <suranga> garima: I did some piliminary searches, but could not find the algorithems you wanted
12:34:11 <garima> thanks for your time :)
12:34:25 <suranga> thats not to say that i've given up though.. I'll take a more detailed look tonight, and hopefully i'll find something
12:34:28 <suranga> (fingers crossed)
12:34:39 <garima> yeah fingers crossed
12:34:47 <garima> m running a week late on my project :(
12:35:01 <garima> cant start without the algorithms
12:35:42 *** NameFILIP has joined #openmrs
12:35:50 <garima> please let me know if you find anything :)
12:36:12 <garima> and thanks a lot for investing so much time in this :) :)
12:36:44 <garima> oops suranga: ^^ ;)
12:44:42 *** evmw has joined #openmrs
12:44:42 *** ChanServ sets mode: +v evmw
13:01:17 *** cospih has joined #openmrs
13:04:05 *** wyclif has joined #openmrs
13:19:57 *** ojwangantony__ has joined #openmrs
13:25:36 *** achint has joined #openmrs
13:25:54 *** evmw has quit IRC
13:26:51 *** evmw has joined #openmrs
13:26:51 *** ChanServ sets mode: +v evmw
13:31:37 *** ijkvinay has joined #openmrs
13:33:52 *** evmw has quit IRC
13:34:51 *** evmw has joined #openmrs
13:34:51 *** ChanServ sets mode: +v evmw
13:35:41 *** dkayiwa_ has joined #openmrs
13:38:19 *** dkayiwa has quit IRC
13:38:19 *** dkayiwa_ is now known as dkayiwa
13:39:16 *** ijkvinay has quit IRC
13:47:57 *** dkayiwa has quit IRC
13:52:37 *** harshadura_ has joined #openmrs
13:55:10 *** achint has quit IRC
13:55:49 *** GitHub107 has joined #openmrs
13:55:49 <GitHub107> [openmrs-core] rkorytkowski opened pull request #348: TRUNK-3843 Introduce API performance tests (master...TRUNK-3843) http://git.io/r1Oayw
13:55:49 *** GitHub107 has left #openmrs
13:57:38 *** dkayiwa has joined #openmrs
14:00:35 <cpower_> Hello everyone are we ready to scrum?
14:01:11 <cpower_> I'll go with silence is golden
14:01:15 <cpower_> !scrumon cpower
14:01:15 * 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:02:00 <cpower_> Order: dkayiwa , rafa , wyclif , GSOC or others wanting to provide an update
14:03:31 <dkayiwa> Did another commit about the gender bug for: Begin registration process for a new patient - RA-72
14:03:31 <dkayiwa> Working on keyboard navigation which is already supported by the existing calendar widget - RA-72
14:03:32 <dkayiwa> No Blockers
14:04:41 <rafa> Today:
14:04:41 <rafa> * Issued a pull request for TRUNK-3843 Introduce API performance tests
14:04:41 <rafa> https://tickets.openmrs.org/browse/TRUNK-3843
14:04:41 <rafa> * GSoC mentoring
14:04:41 <rafa> No blockers.
14:05:24 <wyclif> Friday:
14:05:24 <wyclif> -Complete RA-82 - Registration screen navigation bar re-ordered
14:05:26 <wyclif> -Weekly chat with Ishara about her GSoC project
14:05:27 <wyclif> -Review GSoC code for 2 projects i.e Validation module and Concept Management Apps
14:05:29 <wyclif> Monday:
14:05:30 <wyclif> -RA-88 - Create a Pharmacist Role
14:05:32 <wyclif> -Merge code for deleting old patient files into master repo
14:05:32 <wyclif> -Possibly pick up another ticket
14:05:33 <wyclif> Blockers: None
14:05:41 <cpower_> Ok thanks everyoen!
14:05:45 <cpower_> !scrumoff
14:05: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.
14:06:19 *** cpower_ is now known as cpower
14:06:23 *** dkayiwa_ has joined #openmrs
14:06:44 *** ChanServ sets mode: +v cpower
14:07:13 *** rday has joined #openmrs
14:07:45 *** dkayiwa has quit IRC
14:07:46 *** dkayiwa_ is now known as dkayiwa
14:12:50 <h3llborn> rafa: good evening :P
14:13:10 *** rday has quit IRC
14:13:59 <rafa> h3llborn: hello
14:14:25 <rafa> h3llborn: ready to chat?
14:14:29 <h3llborn> rafa: yep
14:14:36 <rafa> h3llborn: so what's the status?
14:15:05 <h3llborn> rafa: so openmrs now runs with h2, with some minor modifications in the core like the skipping of one of the tests
14:15:17 <h3llborn> rafa: and that insertion of that huge xml file in the sql table
14:15:31 <h3llborn> rafa: I tried trimming it a bit but still no luck
14:15:44 <rafa> h3llborn: ok, I'll have a look today
14:15:45 <h3llborn> rafa: I alos managed to store the db in ~/.Openmrs
14:15:57 <h3llborn> rafa: *also
14:15:57 <rafa> h3llborn: cool!
14:16:23 <h3llborn> rafa: and user creation/deletion seems to work fine, however the automated adding of openmrs modules from the web seems to cause trouble
14:16:41 <rafa> h3llborn: what trouble?
14:17:09 <h3llborn> rafa: well the modules can't start if yous elect them to be downloaded from the web
14:17:28 <rafa> h3llborn: yes, but wha't the stacktrace?
14:17:28 <h3llborn> rafa: however I would assume manuel integration would work, something to check onlater today!
14:17:38 <h3llborn> rafa: It was just some sql error I think
14:17:48 <h3llborn> rafa: last time I tried was on friday
14:17:58 <h3llborn> rafa: so thats is something to revisit today
14:17:59 <rafa> h3llborn: I'm curious if it comes from a module or from core..
14:18:12 <h3llborn> rafa: ok, I will get back to you on that!
14:18:20 <rafa> h3llborn: ok
14:18:34 <h3llborn> rafa: but everything else seems fine as far as I can tell
14:18:46 <rafa> h3llborn: could you please push everything you've done to github so that I can test it
14:18:47 <h3llborn> rafa: and I will also write my next blog post today
14:19:03 <h3llborn> rafa: yessir! I will msg you the link once I got it all pushed
14:19:14 <rafa> h3llborn: great, thanks! please do it asap
14:19:20 <h3llborn> rafa: will do!
14:20:18 <h3llborn> rafa: is there a way to replace the default sql url when it comes to advanced setup?
14:20:28 <h3llborn> rafa: so that I don't always have to put it in manually
14:20:48 <rafa> h3llborn: yes, it's the last thing I wanted you to ask to do when it comes to this feature
14:21:38 <h3llborn> rafa: ok, Ill see if i can find the file manually :P
14:21:44 <rafa> h3llborn: we want to provide url from a command line
14:22:17 <h3llborn> rafa: sorry could you eleborate on that?
14:22:21 <h3llborn> *elaborate
14:23:07 <rafa> h3llborn: sure
14:23:21 <h3llborn> rafa: thanks :)
14:25:02 <rafa> h3llborn: actually thinking longer...
14:25:24 <h3llborn> rafa: no problem
14:26:52 <rafa> h3llborn: we want to make it so that openmrs installation wizard reads default db connection settings from a file at the given location
14:27:41 <rafa> h3llborn: so you can run openmrs with mvn jetty:run -Ddatabase.properties=path_to_database_properties_file
14:27:49 <rafa> h3llborn: I was thinking if it is already possible
14:27:54 <rafa> h3llborn: but I don't think so
14:28:14 <h3llborn> rafa: so what do we need to modify for that? pom.xml?
14:28:40 <rafa> h3llborn: let me check
14:28:46 <h3llborn> ok
14:30:06 <rafa> h3llborn: you need to look at InitializationFilter
14:30:17 *** achint has joined #openmrs
14:31:01 <h3llborn> rafa: ok! and is there anything or any documentation that explains how you can modify settings via commandline?
14:31:11 <h3llborn> like -DskipTests thing
14:32:50 <achint> Hi downey, could you please tell me where I can create a ticket for JIRA issues ?
14:32:51 <rafa> h3llborn: these are normal java global properties which you can read with System.getProperty
14:33:01 <achint> downey: thanks
14:33:19 <h3llborn> rafa: ok
14:34:05 <h3llborn> rafa: as always if I am stuck on something Ill let you know :)
14:34:14 <rafa> h3llborn: very well
14:34:15 <downey> achint: You can find a list of all projects in JIRA at https://tickets.openmrs.org/secure/BrowseProjects.jspa#all. From there, click on the project for which you'd like to create an issue, and then you'll find "Create" links in the upper right.
14:35:01 <h3llborn> rafa: so Ill go a head and push the stuff to my fork and then send you a mesg with what I have so far!
14:35:55 <achint> downey: Oh I thought you had a different place where you made me create a ticket last time with having issues with JIRA
14:37:05 <achint> downey: maybe not, I can't remember. However, if I'm having JIRA woes, create a ticket for that in RA project you say?
14:37:15 <downey> achint: Yes, for IT support issues it's the ITSM project. http://go.openmrs.org/helpdesk is a shortcut, or https://tickets.openmrs.org/secure/CreateIssue.jspa?pid=10062&issuetype=6
14:37:32 <achint> downey: ah! that's what it was
14:37:36 <achint> downey: thanks
14:38:44 <rafa> h3llborn: heading out for dinner now, but I'll be back in an hour
14:41:56 *** ijkvinay has joined #openmrs
14:43:07 <h3llborn> rafa: ok!
14:49:45 *** rafa has quit IRC
15:00:32 *** harsz89 has joined #openmrs
15:02:51 *** ijkvinay has quit IRC
15:11:25 *** rcrichton has quit IRC
15:11:33 *** wyclif has quit IRC
15:18:25 *** evmw has quit IRC
15:20:23 *** elliott_w has joined #openmrs
15:20:23 *** ChanServ sets mode: +o elliott_w
15:26:19 <harshadura> dkayiwa: you there ?
15:26:25 <dkayiwa> harshadura: yes
15:27:36 <harshadura> dkayiwa: sorry for the delay in getting you back, Can we continue now ?
15:28:06 <dkayiwa> harshadura: ok
15:28:25 <harshadura> dkayiwa: i have a form 1 saved already, what i have to do next
15:29:27 <dkayiwa> harshadura: with what id
15:30:00 <harshadura> id=1
15:30:05 <harshadura> dkayiwa: id =1
15:30:18 <dkayiwa> how did you save the xform?
15:32:26 <harshadura> dkayiwa: i navigated to admin -> forms. then new form -> design (it opened up xforms designer) then i saved it
15:32:29 *** ijkvinay has joined #openmrs
15:32:57 <dkayiwa> harshadura: can you show me the url while in the form designer with this form?
15:33:24 <harshadura> ok dkayiwa
15:34:37 <harshadura> dkayiwa: http://192.168.1.4:8080/openmrs/module/xforms/xformDesigner.form?formId=1
15:35:47 <dkayiwa> harshadura: ok thats correct
15:36:11 <dkayiwa> harshadura: now load your jsp and we see the error message it shows
15:37:12 <harshadura> ok dkayiwa
15:40:26 *** evmw has joined #openmrs
15:40:26 *** ChanServ sets mode: +v evmw
15:50:24 *** ijkvinay has quit IRC
16:12:05 *** davidpardz has joined #openmrs
16:12:05 *** ChanServ sets mode: +v davidpardz
16:23:07 *** rush_wm has joined #openmrs
16:26:07 <rush_wm> how i can find unassigned openmrs projects?
16:32:40 <harshadura> rush_wm: did you mean unassigned tickets? you can use search tool on jira..
16:34:13 <harsz89> hi jkeiper
16:35:07 <rush_wm> harshadura : nope, the projects which i found in https://wiki.openmrs.org/display/projects/Unassigned+Projects looks like already assigned, so i'm looking for some other available porjects,
16:36:07 <harshadura> rush_wm: aha, got it. I think downey may help you.
16:38:54 <achint> wyclif: you there?
16:41:19 *** wyclif has joined #openmrs
16:45:41 *** harshadura__ has joined #openmrs
16:48:36 *** davidpardz has quit IRC
16:49:00 *** harshadura has quit IRC
16:49:17 *** harshadura_ has quit IRC
16:49:50 *** davidpardz has joined #openmrs
16:49:50 *** ChanServ sets mode: +v davidpardz
16:54:34 <davidpardz> hi downey is it me or the IRC channel at irc.openmrs.org is down? I get this error: http://pastebin.com/bnHNVFhc
16:55:45 *** davidpardz has quit IRC
17:02:34 *** harshadura has joined #openmrs
17:03:50 *** davidpardz has joined #openmrs
17:03:50 *** ChanServ sets mode: +v davidpardz
17:05:06 <downey> davidpardz: Looks like Freenode is having trouble resolving your hostname for some reason, or, at least that specific freenode host was.
17:06:10 <davidpardz> downey: okay, thank you!
17:08:06 <harshadura> downey: morning i noticed logs are not accessible :) https://wiki.openmrs.org/display/IRC/Logs+-+OpenMRS
17:08:06 <OpenMRSBot> <http://ln-s.net/92S2> (at wiki.openmrs.org)
17:08:11 *** NameFILIP has quit IRC
17:09:45 <suranga> hi downey , are you back from your travels ? :)
17:14:40 <garima> suranga: hi, good news!
17:15:06 <garima> suranga: jeremy has a r script which calculates the field metrics :)
17:15:09 <suranga> garima: let me guess, you found the algorithem ? :P
17:15:23 <garima> suranga: he will email me the script soon
17:15:27 <suranga> aha, which algorithem did you receive ? :)
17:15:49 <garima> suranga: i haven't gotten the script yet, but it has all of them :)
17:15:57 <downey> rush_wm: What kind of projects are you looking for?
17:21:40 *** garima_ has joined #openmrs
17:22:46 <harsz89> hi jkeiper
17:22:48 <harsz89> :)
17:24:00 <rush_wm> downey: projects which are similar to gsoc
17:24:53 *** vidudaya has joined #openmrs
17:25:43 *** harshadura__ has quit IRC
17:26:01 <downey> rush_wm: I guess what I meant to ask, is what type of technology stack, functional purpose, etc. Are you wanting to contribute to OpenMRS by writing code? If so you should check out https://wiki.openmrs.org/display/docs/Getting+Started+as+a+Developer for guidance. :)
17:26:01 <OpenMRSBot> <http://ln-s.net/8bkO> (at wiki.openmrs.org)
17:26:56 <vidudaya> a
17:27:27 *** harshadura_ has joined #openmrs
17:29:06 *** garima_ has quit IRC
17:33:17 *** breeze has joined #openmrs
17:37:40 <wyclif> hi achint
17:38:03 <wyclif> what privilege do you want to assign to the pharmacist role
17:38:30 <wyclif> achint: and i think that role should be metadata and not really part of the application
17:38:34 *** NameFILIP has joined #openmrs
17:39:02 *** NameFILIP has joined #openmrs
17:39:35 <wyclif> achint: there, i will add it to the referencemetadata module as a MDS package
17:40:49 <vidudaya> msg rush_wm where
17:41:20 <suranga> hi dkayiwa , are you around ? :)
17:42:43 <wyclif> hi mo
17:42:57 *** rday has joined #openmrs
17:43:57 <dkayiwa> suranga: hi
17:45:11 <suranga> dkayiwa: Im adding validation of module dependencies when shutting down a module (Ticket 4009). For this, I need to write a DWR method that interacts with the moduleFactory. I was wondering where I should put this method...
17:45:31 <suranga> dkayiwa: does it deserve its own DWR class for modules ?
17:45:41 <dkayiwa> suranga: i think so
17:46:41 <suranga> aha, thanks, will create a new class then. itll have only a single method for now though :)
17:47:55 *** NameFILIP has quit IRC
17:48:01 *** rafa has joined #openmrs
17:48:01 *** ChanServ sets mode: +v rafa
17:50:55 <achint> wyclif: have you started working on RA-88?
17:51:22 <achint> wyclif: you still have the 2 stories assigned to you.. Do you want to close those out and then work on the new one?
17:51:23 <achint> :)
17:51:28 <wyclif> i just noticed that needs to be an MDS package
17:52:38 *** harshadura__ has joined #openmrs
17:52:48 <wyclif> achint: sure i will
17:53:25 <wyclif> achint: RA-88 is something probably that doesn't have to be part of the reference app
17:54:00 <wyclif> achint: it is just metadata that will be part of the referencemetadata module as an MDS package
17:54:19 <achint> wyclif: what is MDS package?
17:54:34 <wyclif> achint: metadata sharing package
17:54:44 *** harshadura_ has quit IRC
17:55:27 <breeze> mseaton: hi
17:55:50 <achint> wyclif: and what is the referencemetadata module.. sorry, haven't touched this part before.. Can you explain a little in detail please?
17:58:08 *** harshadura__ has quit IRC
17:59:50 *** harshadura_ has joined #openmrs
18:00:16 <wyclif> achint: the idea is that the application technically shouldn't ship with any data in the DB, this is not 100% correct, any data we want to add to the tables e.g a role, visit type etc is bundled into metadata sharing packages that we add to the referencemetadata module which knows how to import into the openmrs installation the first time it is started
18:01:34 <wyclif> achint: meaning if you want this role to be created, then someone will just create the MDS package and add it to the referencemetadata module and done
18:02:06 <achint> wyclif: okay, I see.
18:02:13 <wyclif> achint: can you please also specify the privileges the role should have? Or you are not sure?
18:02:44 <achint> wyclif: I can list those in the story
18:02:56 <wyclif> achint: great!!
18:03:13 <wyclif> do you think we still have to handle that ticket now?
18:03:28 *** harshadura__ has joined #openmrs
18:03:35 *** harshadura_ has quit IRC
18:03:55 <achint> wyclif: no, let's wait. Anyway, I 'd think first get the registration ones 'done' done :-)
18:04:20 <wyclif> achint: i know that darius has suggested we create an MDS package server that will be accessible to implementations running the reference application distro
18:04:51 <wyclif> achint: let me close them out, i just switched one to needs testing
18:04:57 <achint> So can you make a technical story for that please?
18:05:34 <wyclif> achint: so some else will have to approve it besides me cuase jura won't let me
18:05:37 <achint> wyclif: or, just add the tech details to the same story
18:05:39 <wyclif> achint: for what?
18:05:52 <wyclif> achint: which story? RA-88?
18:06:11 <achint> wyclif: yes, 88
18:06:33 <achint> wyclif: also, tech story for creating the MDS package server that will be accessible to implementations running the reference application distro
18:07:30 <achint> wyclif: what did you want the approval for in JIRA?
18:08:15 *** harshadura__ is now known as harshadura_
18:18:29 <wyclif> achint: when i change the status of a ticket to needs testing, statuses need to be changed until it gets closed
18:18:37 <wyclif> achint: it is just jura workflows
18:18:54 <wyclif> achint jura -> jira
18:20:59 <achint> wyclif: you might need to create a ticket at https://tickets.openmrs.org/secure/CreateIssue.jspa?pid=10062&issuetype=6 so that downey and his team can help
18:21:11 <achint> fix thos e issues
18:21:45 <harshadura_> hi dkayiwa: u still there :)
18:22:20 <harshadura_> dkayiwa: i got it working, but it has some errors :/
18:24:57 <harshadura_> :(
18:26:05 *** vidudaya has quit IRC
18:31:38 <dkayiwa> harshadura_: what errors?
18:32:01 <harshadura_> dkayiwa: awesome, i thought you have went to sleep :)
18:32:53 <dkayiwa> harshadura_: i still have a couple of hours before that :)
18:33:34 <wyclif> achint: how about moving RA-88 to reference metadata module, i don't know if we have a jura project for that module yet
18:34:33 <achint> wyclif: Do we need a separate epic for that? Right now, this one is under dispensing epic
18:40:23 <harshadura_> dkayiwa, i had to comment couple of these lines in the java controller.. but still after that when i run it pops up an alert msg saying "No formId or patientIdNo formId or "
18:41:25 *** evmw has quit IRC
18:41:39 <harshadura_> / map.put("patientId", Integer.parseInt(request.getParameter("patientId")));
18:41:39 <harshadura_> / map.put("formName", ((FormService)Context.getService(FormService.class)).getForm(formId).getName());
18:41:39 <harshadura_> / map.put("entityFormDefDownloadUrlSuffix", "moduleServlet/xforms/xformDownload?target=xformentry&contentType=xml&");
18:41:39 <harshadura_> / map.put("formDataUploadUrlSuffix", "module/xforms/xformDataUpload.form");
18:41:40 <harshadura_> / map.put("afterSubmitUrlSuffix", "patientDashboard.form?");
18:43:11 *** rafa has quit IRC
18:43:56 *** NameFILIP has joined #openmrs
18:44:41 <harshadura_> dkayiwa: what should i use for "patientId" ?
18:45:12 *** evmw has joined #openmrs
18:45:12 *** ChanServ sets mode: +v evmw
18:46:06 <achint> burke: hi, you there/
18:46:08 <achint> ?
18:48:34 *** NameFILIP has quit IRC
18:50:51 <dkayiwa> harshadura_: have you committed your work somewhere?
18:51:40 <harsz89> jkeiper: hi :)
18:51:45 <harshadura_> dkayiwa: yes
18:52:12 <harshadura_> dkayiwa: https://github.com/harshadura/openmrs-module-patientnarratives
18:52:16 <OpenMRSBot> <http://ln-s.net/-JgJ> (at github.com)
18:52:24 <dkayiwa> harshadura_: can i look at it?
18:52:29 *** davidpardz has quit IRC
18:52:38 <harshadura_> dkayiwa: ^
18:54:33 <dkayiwa> harshadura_: and which file should it look at?
18:55:14 <harshadura_> dkayiwa: sorry, https://github.com/harshadura/openmrs-module-patientnarratives/blob/master/omod/src/main/java/org/openmrs/module/patientnarratives/web/controller/PatientNarrativesSubmitController.java
18:55:17 <OpenMRSBot> <http://ln-s.net/-JgP> (at github.com)
18:56:45 <harshadura_> dkayiwa: here is the jsp: https://github.com/harshadura/openmrs-module-patientnarratives/blob/master/omod/src/main/webapp/submitPatientNarrative.jsp
18:56:47 <OpenMRSBot> <http://ln-s.net/-JgR> (at github.com)
18:58:40 <dkayiwa> harshadura_: and what url do you use to access this jsp?
18:59:21 <harshadura_> dkayiwa: submitPatientNarrative.form
18:59:50 <harshadura_> dkayiwa: http://localhost:8088/openmrs/module/patientnarratives/submitPatientNarrative.form
19:00:28 <dkayiwa> harshadura_: ok looking at your code now
19:00:44 <harshadura_> cool thank you dkayiwa :)
19:09:51 *** tobin_g has joined #openmrs
19:12:41 <wyclif> achint: am not sure how the ticket are setup, tickets should belong to the projects where the fix or feature has to be made
19:19:18 <harshadura_> dkayiwa: u there ?
19:19:24 <dkayiwa> harshadura_: yes
19:20:02 <harshadura_> dkayiwa: did you found any issues in the code ?
19:20:23 <dkayiwa> harshadura_: yes
19:20:39 <harshadura_> dkayiwa: ohh, could u please tell me
19:20:41 <dkayiwa> harshadura_: your controller does not put anything in the map
19:21:35 <dkayiwa> harshadura_: you need to put in what the xforms module formentry controller does
19:22:22 <dkayiwa> harshadura_: everything in the divs that is like ${} needs to be replaced
19:22:29 <dkayiwa> harshadura_: by the controller
19:23:41 <harshadura_> Ok dkayiwa
19:27:14 <harshadura_> dkayiwa: what i need to use for the patient Id
19:27:37 <dkayiwa> harshadura_: put in something like 1 for now
19:27:44 <harshadura_> ok dkayiwa
19:32:35 *** tobin_g has quit IRC
19:33:12 <harshadura_> dkayiwa: now its works: but it displays error saying: ERROR - XformsUtil.reportDataUploadError(605) |2013-06-25 00:54:42,276| org.openmrs.Person cannot be cast to org.openmrs.Patient
19:33:12 <harshadura_> java.lang.ClassCastException: org.openmrs.Person cannot be cast to org.openmrs.Patient
19:33:45 <dkayiwa> harshadura_: can you pastebin the entire stack trace?
19:33:53 <harshadura_> ok dkayiwa
19:34:09 <dkayiwa> harshadura_: or can you just use a real patientId
19:34:18 <dkayiwa> harshadura_: and then see if you still get the same error?
19:34:28 <harshadura_> ok dkayiwa i i will do that
19:36:03 <achint> downey: Hi, do you recall the design call on dispensing ?
19:37:06 <downey> achint: This one? http://notes.openmrs.org/Design-Forum-2013-05-01
19:37:48 *** rush_wm has quit IRC
19:38:13 <achint> downey: yes! TY !! :)
19:38:26 <harshadura_> dkayiwa: thank you so much, finally i see the embedded form :)
19:38:52 <dkayiwa> harshadura_: with the layout that you gave it?
19:38:59 <harshadura_> yes dkayiwa
19:39:05 <dkayiwa> harshadura_: ok
19:39:51 <harshadura_> dkayiwa: i have a lil issue, some fields seems like disabled and cannot edit the text fields
19:40:33 <dkayiwa> harshadura_: because you said so in the form designer
19:41:11 <harshadura_> dkayiwa: oops, yeah i see now, sorry
19:42:37 <achint> wyclif: is RA-82 deployed on devtest01 ?
19:42:51 <wyclif> achint: i don't know
19:43:04 <achint> wyclif: deployed anywhere ?
19:43:19 <achint> wyclif : did you push your changes ?
19:43:32 <wyclif> achint: i check with devtest02
19:44:14 <achint> wyclif : I thought our dev env was devtest01.. is it not ?
19:44:14 *** NameFILIP has joined #openmrs
19:44:58 <harshadura_> dkayiwa: anymore steps i need to take for completing the embed of the xform?
19:46:09 <dkayiwa> harshadura_: does it work as you wanted it?
19:46:24 <harshadura_> dkayiwa: yes :)
19:46:37 <dkayiwa> harshadura_: then that should be all :)
19:47:05 <harshadura_> dkayiwa: but there's a lil blue line goes beyond the borders of that div ?
19:47:09 <harshadura_> :(
19:47:48 <dkayiwa> harshadura_: can i see the image at snagy?
19:47:57 <harshadura_> ok dkaywa
19:48:26 *** tobin_g has joined #openmrs
19:50:25 *** nribeka_ is now known as nribeka
19:50:36 *** ChanServ sets mode: +v nribeka
19:53:02 <harshadura_> dkayiwa: http://imagebin.org/262388
19:54:08 *** tobin_g has quit IRC
19:56:11 *** garima has quit IRC
19:56:49 <dkayiwa> harshadura_: which lines are u refering to
19:57:08 <harshadura_> blue line dkayiwa.
19:58:02 <dkayiwa> harshadura_: do you need? <div id="content-wrap">
19:59:06 <wyclif> achint: devtest01 is for running web based tests against
20:01:32 <harshadura_> yes dkayiwa: there will be some other divs gathered
20:01:44 <harshadura_> on right side :)
20:02:13 <harshadura_> dkayiwa: somthing look like this: http://www.gliffy.com/pubdoc/4486736/L.png :)
20:02:40 <dkayiwa> harshadura_: can you remove them for now and we see if they are the cause
20:02:59 <achint> wyclif : Which one is the QA env ?
20:03:53 <wyclif> we use devtest02
20:04:12 <wyclif> achint: we use devtest02 with the latest changes
20:05:36 <harshadura_> ok dkayiwa, thank u very much for your help. its 1.30PM here gonna sleep now xD
20:06:08 <achint> wyclif: So even on devtest02, address still shows up under Demographics still
20:06:24 <achint> wyclif: Do you still need to push the changes ?
20:06:35 <wyclif> achint: haven't yet pushed that yet
20:07:08 <wyclif> i just ran into something that wasn't working as expected
20:07:18 <wyclif> achint: i just ran into something that wasn't working as expected
20:07:19 <achint> wyclif: okay, I thought you did
20:07:37 *** tobin_g has joined #openmrs
20:07:39 <wyclif> achint: will let you know
20:07:45 *** tobin_g has quit IRC
20:08:09 <achint> wyclif: okay, thnaks
20:08:45 *** dkayiwa has quit IRC
20:09:47 *** tobin_g has joined #openmrs
20:15:04 *** tobin_g has quit IRC
20:27:33 *** dkayiwa has joined #openmrs
20:29:01 <dkayiwa> harshadura_: please do not dream about patient narratives :)
20:29:18 <dkayiwa> harshadura: ^^
20:32:25 *** elliott_w has quit IRC
20:48:44 *** tobin_g has joined #openmrs
21:10:38 *** wyclif has quit IRC
21:38:25 *** elliott_w has joined #openmrs
21:38:25 *** ChanServ sets mode: +o elliott_w
21:46:49 *** elliott_w has quit IRC
21:53:34 *** breeze has quit IRC
21:55:26 *** achint has quit IRC
21:59:46 *** Ozge has joined #openmrs
22:15:05 *** wyclif has joined #openmrs
22:30:01 *** Ozge has quit IRC
22:52:10 *** wyclif has quit IRC
23:06:48 *** NameFILIP has quit IRC
23:07:25 *** NameFILIP has joined #openmrs
23:11:55 *** NameFILIP has quit IRC
23:37:36 *** NameFILIP has joined #openmrs
23:37:53 *** dkayiwa has quit IRC
23:38:05 *** upul has joined #openmrs
23:42:06 *** NameFILIP has quit IRC
23:50:45 *** dkayiwa has joined #openmrs