IRC Chat : 2011-10-16 - OpenMRS

00:05:03 *** r0bby has quit IRC
03:12:45 *** morristic has joined #openmrs
03:12:48 <morristic> anyone around?
03:20:21 *** bwolfe has quit IRC
03:21:22 *** djazayeri has joined #openmrs
03:21:22 *** ChanServ sets mode: +o djazayeri
03:22:08 *** bwolfe has joined #openmrs
03:22:08 *** ChanServ sets mode: +o bwolfe
03:40:12 *** djazayeri has quit IRC
04:42:50 *** nickwilkie has quit IRC
04:43:46 *** nickwilkie has joined #openmrs
05:54:07 *** bryq has joined #openmrs
05:54:07 *** ChanServ sets mode: +v bryq
08:07:08 *** dkayiwa has joined #openmrs
11:09:35 *** bwolfe has quit IRC
11:31:19 *** bryq has quit IRC
14:05:48 *** bryq has joined #openmrs
14:05:48 *** ChanServ sets mode: +v bryq
15:30:27 *** Echidna_ has quit IRC
16:12:41 *** dkayiwa has quit IRC
17:05:30 *** djazayeri has joined #openmrs
17:05:30 *** ChanServ sets mode: +o djazayeri
17:08:21 *** djazayeri has quit IRC
17:08:24 *** djazayeri1 has joined #openmrs
17:24:31 *** morristic has quit IRC
17:32:44 *** morristic has joined #openmrs
17:32:52 <morristic> anyone around this morning?
17:32:57 <morristic> having a strange error.
17:35:38 *** bwolfe has joined #openmrs
17:35:38 *** ChanServ sets mode: +o bwolfe
18:16:49 *** chopin has joined #openmrs
18:16:49 *** ChanServ sets mode: +v chopin
18:49:53 *** umashanthi has joined #openmrs
18:49:53 *** ChanServ sets mode: +v umashanthi
18:50:06 *** umashanthi has left #openmrs
18:59:28 *** mnunez has joined #openmrs
19:04:55 <morristic> A javascript error has occurred: hideOtherStandards is not defined
19:04:56 <morristic> The full stacktrace for this error can usually be found in your server's error logs. Hide error
19:05:02 <morristic> anyone know what this error is from?
19:47:07 *** dkayiwa has joined #openmrs
19:47:31 *** bwolfe has quit IRC
19:49:34 *** bwolfe has joined #openmrs
19:49:34 *** ChanServ sets mode: +o bwolfe
19:49:51 <morristic> Hey Dkayiwa are you around?
19:49:55 <dkayiwa> yes
19:50:11 <morristic> Could you please help me with two quick questions.
19:50:27 *** mnunez has quit IRC
19:50:46 <dkayiwa> i can try
19:50:49 <morristic> first, running into an issue with the autocomplete for managing drug concepts
19:51:26 <morristic> When press the button to search for a concept, the search box appears but the autocomplete doesn't work
19:51:48 <morristic> If I try to submit I get the following error: ERROR - CommonsLoggingOutput.error(75) |2011-10-15 13:45:32,882| Parameter mismatch parsing signatures section in dwr.xml on line: DWRProgramWorkflowService.updatePatientProgram(Integer patientProgramId, String enrollmentDateYmd, String completionDateYmd, Integer locationId)
19:51:51 <morristic> on the server
19:52:15 <morristic> chrome dev view shows the following error: "Failed to load resource: the server responded with a status of 404 (Not Found)" for DWRConceptService.js
19:52:36 <morristic> any ideas what's going on? works fine on my other installation.
19:53:13 <morristic> we are attempting a re-deployment now, but not sure what caused the problem
19:53:36 <dkayiwa> when you say it works on your other installation, do you mean the same war file?
19:53:59 <morristic> yes
19:54:12 <dkayiwa> does the concept dictionary page work well?
19:54:13 <morristic> same war file on a virtual box install
19:54:17 <morristic> yes
19:54:28 <morristic> just the concept drug management
19:54:40 <morristic> and the program management have the autocomplete problem
19:54:48 <dkayiwa> are you the one who has written that page?
19:55:11 <morristic> what do you mean written that page?
19:55:23 <dkayiwa> the concept drug management page
19:55:27 <morristic> I am just an implementor, I haven't done much development except within htmlforms
19:55:35 <dkayiwa> oh i see
19:55:43 <dkayiwa> and which version of openmrs is that?
19:55:50 <morristic> the manage concept drugs page is where you add drugs to use in orders
19:55:54 <morristic> 1.8.2
19:56:30 <dkayiwa> has it ever worked for you on this server?
19:57:05 <morristic> not on this new server, no
19:57:20 <morristic> I imagine it has to do with our server settings
19:57:24 <morristic> since it works fine on virtual box
19:57:41 <dkayiwa> can you try clear browser cache
19:57:42 <morristic> but it would be great if you could offer any suggestions on what we might have wrong.
19:57:57 <morristic> yea, I tried that.
19:58:14 <dkayiwa> can u pastebin the server log
19:58:37 <dkayiwa> and how many browsers have u tried?
19:58:45 <morristic> chrome, safari, firefox
19:58:49 <dkayiwa> ok
19:59:02 <dkayiwa> can u pastebin the server log
19:59:16 <morristic> paste it here? I already submitted the error to issues
19:59:22 <dkayiwa> no
19:59:37 <dkayiwa> pastebin.org
20:00:34 <morristic> http://pastebin.com/dzdMzCi7
20:01:09 <morristic> i think that error is just due to the fact that concept has to be filled
20:01:20 <morristic> and it's not being filled due to the search not working.
20:01:21 <dkayiwa> ok
20:01:43 <morristic> best I could tell, it had to do with the dwr.xml file
20:02:05 <dkayiwa> can u give me the actual tomcat log file contents
20:02:16 <morristic> sure
20:02:55 <morristic> pretty sure that was : ERROR - CommonsLoggingOutput.error(75) |2011-10-15 13:45:32,882| Parameter mismatch parsing signatures section in dwr.xml on line: DWRProgramWorkflowService.updatePatientProgram(Integer patientProgramId, String enrollmentDateYmd, String completionDateYmd, Integer locationId)
20:03:09 <morristic> but asking our server admin to pull it up again. might be a moment
20:03:19 <morristic> in the mean time, perhaps I could ask you about the second question?
20:03:41 <dkayiwa> ok
20:03:52 *** mnunez has joined #openmrs
20:03:59 <morristic> the second question is regarding the best practices for actually ordering new regimens for patients
20:05:00 <morristic> the button on the regimens tab for (+)add/Change Regimen doesn't seem to do anything
20:05:32 <morristic> it toggles the add your own drug regimen section, but there is no submit button for that form
20:06:13 <morristic> the only way that I've found to add drug orders is via the administration page, but our providers don't have access to the administration page
20:06:23 <morristic> how does openmrs prefer drug orders to be placed?
20:06:40 <morristic> I was looking for a way to do it within htmlforms
20:07:45 <dkayiwa> doesnt htmlform have a drug order tag
20:07:53 <morristic> but I'm very confused how the <drugOrder> tag works. it seems that you have to specify the drug you are ordering within the code for that tab, which makes it useless in a form unless you already know what drug you want to order
20:08:01 <morristic> unless I an mis-understanding
20:08:39 <dkayiwa> did you say that you have no submit button on the regimen tab
20:09:13 <morristic> correct
20:09:33 <morristic> in the wiki article the screenshot doesn't either, so I don't think it's just my installation
20:09:35 <dkayiwa> under Add your own drug regimen?
20:09:41 <morristic> https://wiki.openmrs.org/display/docs/Administering+Drug+Regimens
20:09:42 <OpenMRSBot> <http://ln-s.net/9Bia> (at wiki.openmrs.org)
20:09:42 <morristic> yeah
20:09:46 <morristic> looks just like that one
20:10:10 <dkayiwa> select the drug and it will come
20:11:11 <morristic> I get an error when I select the drug that says: "hideOtherStandards is not defined"
20:11:22 <morristic> tried searching for that error, but couldn't find any info on it
20:12:21 <morristic> in safari: Can't find variable: hideOtherStandards
20:12:32 <dkayiwa> and firefox
20:12:47 <morristic> I checked global properties, and couldn't find that property in there anywhere
20:16:48 <morristic> I suppose drug order tag could be tried, the downside is that it doesn't seem to support autocomplete
20:16:49 <morristic> drugNames: Determines which drug names appear in the list
20:16:49 <morristic> REQUIRED
20:16:49 <morristic> Example: <drugOrder drugNames='kaletra' />
20:16:49 <morristic> Value: Comma separated list of drug id, drug name, drug UUID
20:16:50 <morristic> Default: None
20:17:10 <morristic> so you have to individually add the id's for each med you want to be able to choose from
20:18:28 <morristic> trying regimens in firefox still, just loading really slow
20:18:34 <dkayiwa> ok
20:21:12 <morristic> are you familiar with how other implementers do orders?
20:21:25 <dkayiwa> no
20:21:39 <morristic> kk, wow firefox is loading really slowly
20:22:05 <morristic> is the order sprint still going on?
20:22:34 <morristic> firefox: hideOtherStandards is not defined
20:22:36 <dkayiwa> next time
20:23:08 <dkayiwa> and on the other server?
20:23:49 <morristic> same error
20:25:03 <dkayiwa> can you pastebin contents of your view page source (for a demo patient)
20:25:11 <morristic> sure
20:26:01 <morristic> http://pastebin.com/byNQGSwD
20:26:02 <dkayiwa> by the way did you install demo data?
20:26:06 <morristic> no
20:26:11 <dkayiwa> oh i see
20:26:17 <dkayiwa> that could be the reason why
20:26:28 <morristic> demo data is required?
20:26:33 <dkayiwa> no
20:27:06 <dkayiwa> can you first set the global properties
20:27:17 <dkayiwa> as specified here: https://wiki.openmrs.org/display/docs/Administering+Drug+Regimens
20:27:18 <OpenMRSBot> <http://ln-s.net/9Bia> (at wiki.openmrs.org)
20:27:32 <morristic> sure
20:29:23 <morristic> i changed it because we don't use the ARV as much.
20:29:34 <morristic> trying it now
20:29:36 <dkayiwa> ok
20:30:11 <morristic> ah, yup that fixed it
20:30:16 <dkayiwa> ok
20:30:28 <morristic> so do you have to have at least one standard regimen or something?
20:30:50 <dkayiwa> yes
20:32:33 <morristic> ok, good to know
20:32:47 <morristic> I added a comment to that affect on the https://wiki.openmrs.org/display/docs/Administering+Drug+Regimens?focusedCommentId=27690207&#comment-27690207
20:32:53 <OpenMRSBot> <http://ln-s.net/9EHz> (at wiki.openmrs.org)
20:33:04 <dkayiwa> oh thats so good
20:33:14 <dkayiwa> but you can still even create a ticket for it
20:33:34 <dkayiwa> one should not get an error message
20:33:44 <morristic> ok, I'll create a ticket too
20:33:54 <morristic> thanks for helping me to figure that out!
20:34:02 <dkayiwa> yo welcome
20:34:30 <morristic> as for the <drugOrder> tag, do you know if there is any way to get autocomplete working with it?
20:34:37 <morristic> or have to just list each one you want?
20:35:00 <dkayiwa> am not sure but i think there should be away
20:35:20 <dkayiwa> you can send an email to the implementers list
20:35:30 <dkayiwa> am sure there are people who have used what you want
20:35:31 <morristic> ok, will do.
20:35:48 <morristic> yeah, I was searching all around, but couldn't find a good discussion about it
20:35:55 <dkayiwa> ok
20:35:58 <morristic> I figure that there must be others who write drug orders :D
20:36:07 <dkayiwa> :)
20:54:10 *** Gagaman has joined #openmrs
20:58:10 *** mnunez has quit IRC
20:58:18 *** mnunez has joined #openmrs
20:59:24 <mnunez> Hi everyone!
20:59:35 <dkayiwa> hi
21:00:22 <mnunez> How was the Implementers Meeting?
21:00:34 <dkayiwa> exciting!!! :)
21:03:14 <mnunez> Really a lot of ideas discussed I see. Impressive.
21:04:00 <dkayiwa> sure
21:38:15 <morristic> Hey dkayiwa are you still around?
21:38:20 <morristic> I have one more question for yah :D
21:38:21 <dkayiwa> ok
21:38:27 <morristic> the feedback module
21:38:39 <morristic> I've noticed that there are other modules that seem to affect it in a strange way
21:39:09 <morristic> When I have it loaded, every time I open an htmlform when adding an encounter for a patient, the feedback module pops open over the form
21:39:42 <morristic> Also, when using the reporting module, when you click the reporting tab, the feedback module opens overtop of it as well.
21:39:56 <morristic> it doesn't open in the typical centered window
21:40:17 <morristic> it just displays the container in the upper right corner.
21:40:33 <morristic> the only way I can get it to go away is to submit feedback or disable the feedback module
21:40:33 <dkayiwa> ok
21:40:48 <morristic> any idea what could be causing that or a potential fix?
21:41:00 <dkayiwa> that need to be addressed. so you should create a ticket for it
21:43:43 *** Gagaman has quit IRC
21:45:51 <morristic> ok, thanks
21:46:15 <morristic> so definitely a bug?
21:46:35 <dkayiwa> i think so
21:52:32 *** bryq has quit IRC
22:36:42 *** Gagaman has joined #openmrs
22:38:24 *** mnunez has quit IRC
22:38:38 *** morristic has quit IRC
22:56:08 *** dkayiwa has quit IRC
23:05:51 *** Gagaman has quit IRC
23:09:36 *** morristic has joined #openmrs
23:24:54 *** morristic has quit IRC