IRC Chat : 2011-08-09 - OpenMRS

00:09:28 *** lh has joined #openmrs
00:09:52 <jprice> http://127.0.0.1:8081/openmrs/ws/rest/hl7
00:10:31 <jprice> sorry, do you see any problems in the command below :
00:10:34 <jprice> echo '{ "BP Monitor":"LOCAL", "sourceKey":"test", "data":"OBR|1|||1238^MEDICAL RECORD OBSERVATIONS^DCT|"}'
00:12:08 <djazayeri> what's the error?
00:13:03 <jprice> the command was actuallly :
00:13:06 <jprice> echo '{ "source":"BP Monitor", "sourceKey":"test", "data":"OBR|1|||1238^MEDICAL RECORD OBSERVATIONS^DCT|"}'
00:13:23 <jprice> error is Bad Request
00:13:43 <djazayeri> Is any part of the error message helpful?
00:14:13 <jprice> only says HTTP 400 Bad Request......Connection:close
00:14:25 <jprice> so i do not think it is very helpful to me anyway
00:15:28 <djazayeri> the server is running on that port?
00:15:40 <jprice> yes.
00:15:55 <djazayeri> who truncated the error message there? You or curl?
00:17:18 <jprice> me. the whole thing is :
00:17:22 <jprice> HTTP/1.1 400 Bad Request Server: Apache-Coyote/1.1 Transfer-Encoding: chunked Date: Tue, 09 Aug 2011 00:16:34 GMT Connection: close
00:17:59 <djazayeri> doesn't sound like an error coming from openmrs
00:18:51 <djazayeri> i.e. I think the command must not be right...
00:19:02 <djazayeri> do you need a v1?
00:20:24 <jprice> i have not idea but will try it. where does it go in the url after 'rest' ?
00:20:37 <djazayeri> I think, but look it up
00:25:11 <jprice> so when I replace 'openmrs' with 'openmrs' i get a large traceback from openMRS. can i pastebin it to you ?
00:25:27 <djazayeri> yes
00:28:51 <jprice> for some reason i cannot get to pastebin.com but here is the beginning of it :
00:28:57 <jprice> HTTP/1.1 405 Method Not Allowed Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=1717DE9706B8045DA2AFE377DC5BA2C0; Path=/openmrs-standalone Content-Type: application/json;charset=UTF-8 Content-Length: 5771 Date: Tue, 09 Aug 2011 00:26:21 GMT {"error":{"message":"Request method 'POST' not supported","code":"org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$Servl
00:29:24 <djazayeri> what url are you posting to?
00:29:59 <jprice> http://127.0.0.1:8081/openmrs-standalone/ws/rest/hl7
00:30:20 <djazayeri> add the v1
00:31:46 <jprice> HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=F6AF46311F8E8F01B77E321D6DCB98DD; Path=/openmrs-standalone Content-Type: application/json;charset=UTF-8 Content-Length: 11054 Date: Tue, 09 Aug 2011 00:31:07 GMT Connection: close {"error":{"message":"Unable to convert object into response content","code":"org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource:293","detail":"org.
00:32:41 <djazayeri> that seems almost like the post might have been successful, but the there's some programmer error on the server side
00:32:52 <djazayeri> try going through the web ui to see if the message made it into the queue
00:34:02 <jprice> it shows 0 of 0 entries
00:35:45 <jprice> i am not sure if it is a valid hl7 msg. Taras sent it to me as an example
00:36:57 <djazayeri> if it posted it should be in either in / archive / error
00:37:02 <djazayeri> (there are three different queues)
00:37:43 <djazayeri> also, try to pastebin the full error message for this one
00:39:28 <jprice> all 3 ques empty. http://pastebin.com/RQXm0ex0
00:40:41 <djazayeri> hmm, I'm surprised it didn't make it in
00:40:56 <djazayeri> So, can you create a bug report for this?
00:41:00 <djazayeri> on tickets.openmrs.org
00:41:17 <jprice> should it show up even it it is an invalid hl7 msg ?
00:41:29 <djazayeri> I suppose that could be the problem.
00:41:40 <djazayeri> get the example hl7 message from the wiki
00:42:44 <djazayeri> and try that one
00:46:58 <jprice> got the same result
00:56:11 <djazayeri> okay, then file a bug report for this one.
00:56:28 <djazayeri> include the whole command, and the whole stack trace.
00:56:36 <djazayeri> rather the whole error message
01:16:58 <jprice> ok. just submitted the report.
01:18:13 <jprice> ru thinking what I am doing now is okay and the problem is in openMRS ?
01:20:54 <jprice> btw, thanks for the help today.
01:21:51 <djazayeri> 5xx is server error, so I assume you've found a bug in this method
01:22:02 <djazayeri> (which clearly hasn't been tested much)
01:29:23 <jprice> have you successfully inserted hl7 msgs into the correct using curl with 1.8.1-standalone-stable-with-WS-alpha ?
01:30:12 <jprice> i meant correct patient record
01:36:11 <djazayeri> jprice: I have never done anything with that standalone distribution
01:36:26 <djazayeri> I or someone else will verify and investigate when we have time
01:37:48 <jprice> thank you
01:38:26 <jprice> do u think i should stop trying to get it to work until i hear back ?
01:40:50 <jprice> or should i try another version (which one ?) that is known to work for that feature ?
01:49:36 *** jportela has quit IRC
02:40:49 *** jriley has quit IRC
03:08:43 *** upul` has joined #openmrs
03:08:43 *** ChanServ sets mode: +v upul`
03:25:46 *** surangak has joined #openmrs
04:04:15 *** finbrein has joined #openmrs
04:08:34 *** finbrein has quit IRC
04:17:28 *** mccallumg has joined #openmrs
04:17:28 *** ChanServ sets mode: +v mccallumg
04:17:36 <mccallumg> hello surangak
04:17:46 <surangak> mccallumg helooo
04:18:07 <surangak> mccallumg, hows it going ?
04:18:41 <mccallumg> surangak: good. Are you ready for a practice?
04:18:57 <surangak> mccallumg, yeps, im on connect.adobe
04:19:02 <surangak> mccallumg, shall we use that ?
04:19:47 <mccallumg> surangak: Yes. I'm going to listen via adobe connect. I'm still waiting for my new headset to come (old one is giving me problems). I'll type comments.
04:20:22 <surangak> mccallumg, umm... so u can hear me, but cant speak, right ?
04:21:04 <mccallumg> right. my headset should be here in the mail tomorrow.
04:53:40 *** jwishnie has quit IRC
04:57:39 *** mccallumg has quit IRC
05:16:26 *** saimanohar has joined #openmrs
05:22:27 *** dkayiwa has joined #openmrs
05:25:00 *** saimanohar has quit IRC
05:51:28 *** robbyoconnor has joined #openmrs
05:51:28 *** ChanServ sets mode: +v robbyoconnor
05:56:50 *** r0bby has joined #openmrs
05:56:50 *** ChanServ sets mode: +v r0bby
05:58:49 *** robbyoconnor has quit IRC
06:08:46 *** bwolfe has quit IRC
06:09:37 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (obs-codes-expanded): Improving on validations <http://feedproxy.google.com/~r/OMRStrunk/~3/4kW0Bw1eAMo/OpenMRS>
06:09:59 <surangak> thanks bot !
06:10:46 *** bwolfe has joined #openmrs
06:10:46 *** ChanServ sets mode: +o bwolfe
06:58:46 <dkayiwa> surangak: you and bot must be great buddies :)
07:04:23 <surangak> dkayiwa, for some reason, the bot is continously stalking me !
07:04:32 <dkayiwa> hahahahaha
07:04:34 <surangak> dkayiwa, I should get a restraining order, probably :D
07:04:43 <dkayiwa> :D
07:13:41 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (obs-codes-expanded): Improving on validations. Prevent getValue() from trying to evaluate chars as ids <http://feedproxy.google.com/~r/OMRStrunk/~3/o4a2G7cjXwM/OpenMRS>
07:48:54 *** rafa has joined #openmrs
07:48:54 *** ChanServ sets mode: +v rafa
07:49:30 <dkayiwa> hi bwolfe
07:49:37 <bwolfe> good morning dkayiwa
07:49:48 <dkayiwa> morning :)
07:50:05 <dkayiwa> bwolfe: should i close this ticket? https://tickets.openmrs.org/browse/OCC-76
07:53:34 <bwolfe> dkayiwa, yeah
07:53:43 <dkayiwa> ok
07:55:34 <dkayiwa> bwolfe: i do not have close permissions for this ticket :)
07:56:33 <bwolfe> probably because the reivew is still open
07:56:39 <dkayiwa> oh i see
07:56:44 <dkayiwa> let me check it
07:56:51 *** magoo has joined #openmrs
08:17:44 *** Dodo_ has joined #openmrs
08:17:57 <Dodo_> hi
08:18:32 <Dodo_> i want the source code of "registration-1.3.1.18850.omod"
08:18:40 <Dodo_> urjently
08:18:47 <Dodo_> can anyone of you help me
08:18:52 *** goutham has joined #openmrs
08:18:53 <Dodo_> ?
08:20:16 <dkayiwa> try http://svn.openmrs.org/openmrs-modules/registration/trunk/
08:20:20 <OpenMRSBot> <http://ln-s.net/93Dg> (at svn.openmrs.org)
08:21:17 <Dodo_> i have already tried this SVN link this is not working
08:22:00 *** bryq has joined #openmrs
08:22:00 *** ChanServ sets mode: +v bryq
08:22:06 *** muthah_ has joined #openmrs
08:22:48 *** muthah has quit IRC
08:22:49 *** muthah_ is now known as muthah
08:23:49 <Dodo_> ?
08:24:31 <dkayiwa> what error message do u get
08:27:04 <Dodo_> when i cehckout 3 folders are downloaded "API,fingerprintapp, omod" but there is not buuild.xml file to biuild it
08:27:08 *** muthah has quit IRC
08:28:15 <dkayiwa> because it was mavenised
08:28:26 <Dodo_> ohhhh
08:29:00 <Dodo_> can you give tell me how to use meven to build it
08:29:59 *** muthah has joined #openmrs
08:41:32 *** magoo has quit IRC
08:45:12 *** goutham has quit IRC
08:46:12 *** muthah has quit IRC
08:49:39 *** dkayiwa has quit IRC
08:52:56 *** muthah has joined #openmrs
08:53:30 *** dkayiwa has joined #openmrs
09:08:28 <bwolfe> !refer Dodo_ [maven]
09:08:29 * OpenMRSBot refers Dodo_ to "maven" --- http://wiki.openmrs.org/display/docs/Maven
09:12:28 *** bryq has quit IRC
09:12:45 *** bryq has joined #openmrs
09:12:45 *** ChanServ sets mode: +v bryq
09:43:41 *** dkayiwa has quit IRC
09:48:06 *** magoo has joined #openmrs
09:50:27 *** dkayiwa has joined #openmrs
09:58:56 *** muthah_ has joined #openmrs
09:59:03 *** muthah has quit IRC
09:59:03 *** muthah_ is now known as muthah
10:03:57 *** bwolfe has quit IRC
10:04:02 *** muthah has quit IRC
10:04:36 *** bwolfe has joined #openmrs
10:04:45 *** ChanServ sets mode: +o bwolfe
10:04:59 *** muthah has joined #openmrs
10:07:29 *** muthah has quit IRC
10:07:54 *** Dodo_ has quit IRC
10:09:40 *** muthah has joined #openmrs
10:10:25 *** muthah has quit IRC
10:10:40 *** muthah has joined #openmrs
10:11:23 <surangak> dkayiwa, hello, r u there ?
10:12:13 <dkayiwa> yes
10:12:36 *** bwolfe has quit IRC
10:12:43 <surangak> dkayiwa, I was trying to re created my openmrs db..
10:12:52 <dkayiwa> ok
10:13:05 <surangak> and ran into some sort of errror... r u aware if there is some known issue regarding this ?
10:13:22 <dkayiwa> ok
10:13:31 <surangak> im getting
10:13:39 <surangak> org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-schema-only.xml. Error: liquibase-schema
10:13:39 <surangak> -only.xml does not exist
10:13:39 <surangak> at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:151)
10:13:39 <surangak> at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1113)
10:13:39 <surangak> at java.lang.Thread.run(Thread.java:662)
10:13:41 <surangak> Caused by: liquibase.exception.ChangeLogParseException: liquibase-schema-only.xml does not exist
10:13:43 <surangak> at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:65)
10:13:45 <surangak> at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
10:13:47 <surangak> at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:523)
10:13:49 <surangak> at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:206)
10:13:53 <surangak> at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:163)
10:13:55 <surangak> at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
10:13:57 <surangak> ... 2 more
10:13:59 <surangak> Aug 9, 2011 3:38:58 PM liquibase.database.template.JdbcTemplate comment
10:14:09 <surangak> i had totally erased my db, and was starting out newly..
10:14:50 <surangak> org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration f
10:14:50 <surangak> ailed for change set liquibase-update-to-latest.xml::0::bwolfe:
10:14:50 <surangak> Reason:
10:14:50 <surangak> Table 'openmrs.global_property' doesn't exist
10:14:50 <surangak> :
10:14:53 <surangak> Caused By: Precondition Error
10:14:55 <surangak> at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:151)
10:14:57 <surangak> at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1170)
10:15:02 <surangak> at java.lang.Thread.run(Thread.java:662)
10:15:04 <dkayiwa> can u pastebin
10:15:04 <surangak> Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::0::bwolfe:
10:15:09 <surangak> Reason:
10:15:11 <surangak> Table 'openmrs.global_property' doesn't exist
10:15:13 <surangak> :
10:15:15 <surangak> Caused By: Precondition Error
10:15:17 <surangak> at liquibase.ChangeSet.execute(ChangeSet.java:204)
10:15:19 <surangak> at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)
10:15:23 <surangak> at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:197)
10:15:25 <surangak> at liquibase.parser.ChangeLogIterator.run(ChangeLogIterator.java:41)
10:15:27 <surangak> sure..
10:16:23 <surangak> dkayiwa, http://pastebin.com/BPMUscq9
10:16:28 <dkayiwa> ok
10:18:33 <dkayiwa> surangak: is that with trunk?
10:18:41 <surangak> dkayiwa, afraid so...
10:18:56 <dkayiwa> surangak: so what exactly did you try do?
10:19:17 <dkayiwa> surangak: run openmrs setup?
10:19:17 <surangak> dkayiwa, I deleted my db, and was trying to re created everything :)
10:19:23 <surangak> dkayiwa, yep..
10:19:46 <dkayiwa> surangak: can you do it again?
10:20:03 <surangak> dkayiwa, sure, ill tell the steps as I go..
10:20:13 <dkayiwa> surangak: and i would love to know the options you chose from the setup
10:21:42 <surangak> advanced -> continue
10:22:14 <surangak> step 1 -> no -> set mysql root password
10:22:32 <dkayiwa> ok
10:22:39 <surangak> step 2
10:22:46 <surangak> add demo data - yes
10:22:50 <dkayiwa> ok
10:23:19 <surangak> do not have a current db, create one, assign password root
10:23:35 <surangak> step 3 ->
10:23:39 <dkayiwa> surangak: am also also assuming you have deleted the existing openmrs database
10:23:59 <surangak> dkayiwa, oh yep, and app data / openmrs
10:24:07 <dkayiwa> ok
10:24:11 <surangak> updates -> yes
10:24:14 <surangak> step 4
10:24:17 <surangak> set password
10:24:17 <dkayiwa> ok
10:24:32 <dkayiwa> ok
10:25:04 <surangak> from there, i go 'continue coutinue till end
10:25:09 <surangak> and it just failed again...
10:25:20 <dkayiwa> pastebin the current log
10:25:21 <surangak> Reason:
10:25:22 <surangak> Table 'openmrs.global_property' doesn't exist
10:25:25 <surangak> hmm...
10:25:26 <dkayiwa> the eact one from log file
10:26:07 <surangak> mm.. im using jetty.. where should i look for it please :-)
10:26:19 <dkayiwa> surangak: hahahaha
10:26:43 <dkayiwa> surangak: what did you do to trigger the setup?
10:26:53 <dkayiwa> did u delete the runtime properties file?
10:27:00 <surangak> dkayiwa, ran a maven command..
10:27:04 <surangak> from cmd
10:27:55 <surangak> this is what cmd looks like :(
10:27:56 <surangak> http://pastebin.com/uutzP7uY
10:28:00 <dkayiwa> did u delete the runtime properties file?
10:28:28 <surangak> dkayiwa, oh yep, tghis time i erased entire app data / openmrs
10:28:47 <dkayiwa> how many tables do you have in your current openmrs database?
10:29:15 <surangak> dkayiwa, sorry, i deleted entire db... but it should be normal size as trunk...
10:29:41 <dkayiwa> can you check now
10:29:54 <dkayiwa> for a list of databases that you have
10:29:55 <dkayiwa> ?
10:30:08 <surangak> dkayiwa, ah
10:30:14 <surangak> dkayiwa, liquibase files !
10:30:25 <surangak> dkayiwa, 2 of them, thats suspicious !
10:30:56 <dkayiwa> which and which?
10:30:57 <surangak> dkayiwa, and theres a lock in liquibase changelog lock
10:31:07 <surangak> liquibasechangelog
10:31:13 <surangak> and liquibasechangeloglock
10:31:22 <surangak> liquibasechangeloglock has a single value
10:31:28 <dkayiwa> how many databases do you have?
10:32:02 <surangak> dkayiwa, 4 other dbs,
10:32:09 <surangak> but only one openmrs db...
10:32:20 <dkayiwa> on the database setup, did you chose to create the schema (tables) for you?
10:32:38 <surangak> yeps...
10:32:55 <dkayiwa> now drop that database
10:33:06 <surangak> aha
10:33:22 <surangak> dropped
10:33:37 <dkayiwa> check again for the database list
10:34:20 <surangak> dkayiwa, nopz, only a bunch of some other dbs
10:34:25 <surangak> dkayiwa, no openmrs stuff
10:34:28 <dkayiwa> ok
10:34:40 <dkayiwa> now run setup again
10:34:49 <dkayiwa> but before that
10:34:52 <dkayiwa> clear the logs
10:35:14 <surangak> dkayiwa, do u mean app data/openmrs ?
10:35:38 <dkayiwa> ok
10:39:25 <surangak> dkayiwa, wierd.. it gives same :(
10:46:22 *** rafa has quit IRC
10:47:03 *** muthah has quit IRC
10:50:03 <dkayiwa> did it again create the openmrs database?
10:50:13 *** muthah has joined #openmrs
10:51:11 <surangak> dkayiwa, hi, unfortunately no
10:51:18 <surangak> dkayiwa, it gave me the same result..
10:51:28 <dkayiwa> now lets do it again
10:51:39 <dkayiwa> and u tell me a bit more details
10:51:49 <surangak> dkayiwa, ok... starting now...
10:51:50 <dkayiwa> is the error log you send me all it has?
10:52:02 <surangak> i copied that from the cmd
10:52:10 <dkayiwa> ok
10:52:24 <dkayiwa> now start again
10:52:26 <surangak> it keeps saying that liquibase-demo-data.xml does not exist
10:52:57 <dkayiwa> can you try a non trunk war file
10:53:09 <dkayiwa> and see if it succeeds
10:53:10 <dkayiwa> ?
10:53:17 <surangak> dkayiwa, is there one ?
10:53:26 <dkayiwa> any release
10:53:34 <dkayiwa> eg the 1.8 release
10:53:34 <surangak> aha, let me check...
10:54:28 *** muthah has quit IRC
10:58:00 <surangak> dkayiwa, its pretty big...
10:58:21 <dkayiwa> how big
11:00:45 <surangak> 187 mb, isnt it ?
11:01:00 <dkayiwa> thats not the war file
11:01:08 <dkayiwa> thats the standalone
11:01:23 <dkayiwa> look for the war file
11:01:35 *** muthah has joined #openmrs
11:01:39 <dkayiwa> it should be around 37 mb
11:04:40 <surangak> dkayiwa, thanks daniel...ill get that one...
11:04:45 <dkayiwa> ok
11:05:52 *** muthah has quit IRC
11:07:26 *** surangak has quit IRC
11:07:50 *** magoo has quit IRC
11:11:15 *** rafa has joined #openmrs
11:11:15 *** ChanServ sets mode: +v rafa
11:13:21 *** gauravpaliwal has joined #openmrs
11:13:21 *** ChanServ sets mode: +v gauravpaliwal
11:14:15 <gauravpaliwal> djazayeri: hi , could you please tell me which concept jsp page uses jquery datatable ?
11:17:25 *** magoo has joined #openmrs
11:18:07 *** muthah has joined #openmrs
11:18:11 *** james_regen has joined #openmrs
11:18:11 *** ChanServ sets mode: +v james_regen
11:22:40 *** muthah has quit IRC
11:23:06 *** upul` has quit IRC
11:24:23 *** muthah has joined #openmrs
11:26:04 *** muthah has quit IRC
11:26:07 *** muthah_ has joined #openmrs
11:30:48 *** muthah_ has quit IRC
11:46:25 *** gauravpaliwal has left #openmrs
11:48:53 *** bwolfe has joined #openmrs
11:48:53 *** ChanServ sets mode: +o bwolfe
11:54:12 *** bwolfe has quit IRC
12:06:14 *** bwolfe has joined #openmrs
12:06:14 *** ChanServ sets mode: +o bwolfe
12:12:14 *** muthah has joined #openmrs
12:12:39 *** bwolfe has quit IRC
12:13:37 <bryq> rafa, djazayeri: Hi. Regarding to our last chat: we have an input textbox where we can paste the URL for package subscription. How this process should work? After clicking "Import package" we should: 1) add subscription and import the package 2) only import the package and ask user if he wants to add subscription for future updates (ask in the same place as during importing zipped file) ?
12:15:18 <rafa> bryq: 2) but add subscription should be checked by default as while importing a zipped file
12:17:00 <rafa> bryq: I don't remember how it looks right now for importing a zipped file, but can't you use the same screen with that checkbox?
12:19:14 <bryq> rafa: On the new "Import Package" page (where we have two forms) you want to have a checkbox (selected by default) "Subscribe to future pacage updates"?
12:19:45 <bryq> rafa: Now we have the checkbox "Subscribe to future pacage updates" on the page where we display version, name, description, et.c
12:20:13 <rafa> bryq: it can stay on the page where we display name
12:20:23 <rafa> bryq: in fact it's better
12:21:01 <rafa> because on the first screen you can't tell if a zip contains a subscription url
12:21:48 <rafa> btw Piotr, can you test if 'ant clean' and 'ant' works on your branch?
12:22:00 <bryq> rafa: But this means, that we cannot add a subscription without importing the package. Is it right?
12:22:34 <rafa> bryq: ohh you're right
12:22:50 <bryq> rafa: We can redirect to a page when the subscription is unavailable
12:23:04 <bryq> rafa: The page with text like: "Add subscription anyway?"
12:23:34 <rafa> bryq: that would be perfect
12:23:51 <rafa> bryq: do we have a timeout for querying the url?
12:24:00 <bryq> rafa: Yes
12:24:08 *** bwolfe has joined #openmrs
12:24:08 *** ChanServ sets mode: +o bwolfe
12:24:23 <rafa> bryq: great
12:25:05 <bwolfe> dkayiwa, do you know that josh kayiwa?
12:25:14 <dkayiwa> bwolfe yes
12:25:21 <dkayiwa> :)
12:25:27 <bwolfe> is he your brother?
12:25:33 <dkayiwa> no :)
12:25:42 <bryq> rafa: Ant and ant clean works from Eclipse. I'll test using console
12:26:12 <bryq> rafa: Works in console too.
12:26:19 <dkayiwa> bwolfe: he is the IT head for JCRC in the around 8 sites they have in Uganda
12:26:34 <bryq> rafa: (I wasn't commiting my build.xml file. This might be the problem)
12:26:38 <dkayiwa> bwolfe: so i advised him to try openmrs :)
12:27:02 <dkayiwa> bwolfe: we were in the same primary school with him for one year :)
12:27:04 <bwolfe> jcrc?
12:27:05 <rafa> bryq: If you changed it, please commit
12:27:13 <bwolfe> ah, very cool
12:27:15 <dkayiwa> Joint Clinical Reseach Center
12:27:18 <bwolfe> so you go 'way back' :-)
12:27:24 <dkayiwa> yes
12:27:26 <dkayiwa> :)
12:27:45 <dkayiwa> bwolfe: we come from the same clan
12:27:53 <dkayiwa> hence the clan name Kayiwa :)
12:27:55 <bwolfe> I could have guessed ;-)
12:27:59 <dkayiwa> lolllll
12:28:35 <dkayiwa> bwolfe: am working on OCC-61 Do you know any way i can pass the search phrase to the add new concept page without modifying openmrs core.
12:28:39 <dkayiwa> ?
12:29:25 <bwolfe> !ticket OCC-61
12:29:26 <OpenMRSBot> bwolfe: [#OCC-61] Improved workflow for showing suggestions during concept creation - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-61
12:29:54 <bwolfe> dkayiwa, read the description or my comment again. we don't really need that
12:30:04 <dkayiwa> oh
12:30:24 <bwolfe> darius suggested it, but I think its overkill after the slight rework I suggested (having two search boxes instead of just one with ajax)
12:30:46 <bwolfe> (well, darius suggested it as an alternative and I accepted it...so I'm claiming the idea ;-))
12:30:51 <bryq> rafa: My build.xml file differs from the latest repository's only in deploy-web target. Im deploying to 'openmrs16' instead of 'openmrs'. I think it isn't a problem
12:31:00 <dkayiwa> :)
12:32:07 <rafa> bryq: I see. All right. I guess I need a fresh checkout.
12:32:58 <bryq> rafa: I'll work on it in the evening if you still have problems
12:34:13 <dkayiwa> bwolfe: about the other ticket OCC-68 OCC search should be triggered from any field when creating concept. What i meant is that when creating a new concept, the page loads with the data type and class already selected as Numeric and Test respectively
12:34:59 <dkayiwa> bwolfe: so when the user starts typing the concept name, it is not filtered by data type and class, untill when the user explicitly changes the data type or class
12:35:39 <dkayiwa> bwolfe: that is for occ search results
12:36:18 <bwolfe> dkayiwa, ok, those are selected just because they are the first ones in the list?
12:36:27 <dkayiwa> bwolfe: yes
12:36:43 <bwolfe> if they don't click on them they shoudl be null
12:36:47 <bwolfe> err, null should be sent
12:36:53 *** gbastien has joined #openmrs
12:36:57 <dkayiwa> bwolfe: that is what it is
12:37:24 <rafa> bwolfe: Do we distinguish occ clients by some sort of implementation id?
12:38:18 <dkayiwa> rafa: i think yes
12:38:45 <rafa> I need to gather statistics and want to know where they come from.
12:39:06 <rafa> A unique id would be useful :)
12:39:28 <dkayiwa> rafa: implementation id is the candidate i see for that :)
12:39:57 <rafa> dkayiwa: ok thanks
12:40:29 <dkayiwa> sure
12:42:34 <bwolfe> yes, the impl id was created way back when just for the occ. :-)
12:42:47 <bwolfe> and on the occ server the impl id gets converted over to a conceptsource
12:43:14 <bwolfe> dkayiwa, just thought of this, make sure that the passphrase you just put into the conceptsource is NOT sent out to each implementation when they download a concpet!
12:43:26 <bwolfe> the conceptsource.passphrase should be set to be ignored by xstream
12:43:47 <bwolfe> (or you figure out how to make it so that you don't put passphrase on as a property and then don't worry about xstream)
12:44:30 <dkayiwa> bwolfe: the only reason i put it as a property is to let xtream give it to me when the java object is created
12:44:41 <rafa> bwolfe: what is 2) Number of internal server mappings in:
12:44:45 <rafa> !ticket OCC-60
12:44:46 <OpenMRSBot> rafa: [#OCC-60] Develop algorithm for concept priority - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-60
12:45:52 <bwolfe> dkayiwa, ok, just make sure it isn't serialized again. that'd be a HUGE problem!
12:46:30 <dkayiwa> bwolfe: let me try import and see if its serialized
12:47:34 <dkayiwa> bwolfe: would the import be on the Import from OCC page?
12:47:57 <bwolfe> rafa, I updated the ticket for you. htat should have been "links" instead of "mappings"
12:48:10 <bwolfe> dkayiwa, thats a good guess :-)
12:48:42 <dkayiwa> bwolfe: and i assume the import from occ page is not yet working. unless i just do not know how to use it. :)
12:48:43 <rafa> bwolfe: thanks
12:48:54 <bwolfe> it should be working
12:49:00 <bwolfe> make sure you have an occ server running with concpets in it though
12:49:11 <dkayiwa> i have that bwolfe
12:49:24 <dkayiwa> bwolfe: am able to see concepts from occ when creating a new concept
12:49:44 <bwolfe> dkayiwa, ok, make sure you pick that source and download
12:49:54 <dkayiwa> ok
12:51:28 <dkayiwa> bwolfe: i have selected all concept sources, type the concept name, and clicked the search button. i get No matching records found
12:53:45 <dkayiwa> bwolfe: maybe the current version no longer works
12:55:16 <bwolfe> hmm, that would stink. that needs to be fixed :-p
12:55:26 <bwolfe> not sure why it would not be working now...
12:55:34 <bwolfe> perhaps because you put in that passphrase ;-)
12:55:39 <dkayiwa> hahahaha
12:55:57 <dkayiwa> any way let me see if i can fix it now :)
13:02:16 *** jriley has joined #openmrs
13:02:49 <jriley> Another day, another unit test.
13:05:37 <bwolfe> just one unit test jriley?
13:05:54 <jriley> No! You can't stop with just one!
13:06:17 <jriley> They're like potato chips. That little green light is addictive
13:06:34 <bwolfe> haha
13:06:45 <bwolfe> or you avoid writing them so the little red light doesn't appear ;-)
13:07:51 *** gagaman has joined #openmrs
13:07:56 <jriley> That's the dark side. I usually remove the @Ignores from stubs one at a time so I don't get discouraged inadvertantly
13:08:20 <bwolfe> heh
13:08:58 <jriley> "The light is green, the code is clean."
13:11:41 <bwolfe> "the light is red, go to bed"
13:12:21 <jriley> Always tempting. How can I make 'red' rhyme with 'blame the computer'?
13:12:45 <jriley> "The light is red. You commit, your'e dead."
13:22:17 <bwolfe> nice
13:24:14 <bwolfe> dkayiwa, is your occ server still running?
13:24:21 <bwolfe> can you validate this one for me? https://tickets.openmrs.org/browse/OCC-43
13:24:39 <dkayiwa> bwolfe: yes it is running
13:24:45 <dkayiwa> let me do so
13:25:56 <dkayiwa> bwolfe: how do i reproduce it
13:25:57 <dkayiwa> ?
13:26:14 <bwolfe> I dunno. I'd assume just visit the site and look at the error console
13:26:22 <dkayiwa> ok
13:27:12 <dkayiwa> hahaha, yes seen it on the console
13:27:16 <dkayiwa> bwolfe
13:27:28 <bwolfe> dkayiwa
13:27:47 <dkayiwa> bwolfe: yes it happens
13:29:08 <bwolfe> ok, thanks
13:34:39 <dkayiwa> bwolfe: looks like OCC-68 is working as it should. Is there any missing issue about it?
13:36:03 <bwolfe> !ticket OCC-68
13:36:04 <OpenMRSBot> bwolfe: [#OCC-68] OCC search should be triggered from any field when creating concept - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-68
13:36:20 <bwolfe> dkayiwa, hmm, no, I guess not
13:36:32 <dkayiwa> :)
13:37:29 <dkayiwa> bwolfe: the reported issue seems to be working. doesn't it work for you?
13:37:51 <bwolfe> I made the ticket because I was not seeing the dwr "searching" box after changing the class or datatype
13:37:57 *** james_regen has quit IRC
13:38:18 <dkayiwa> bwolfe: may be someone fixed it long time ago before the sprint started
13:39:46 <bwolfe> hmm, potentially
13:39:54 <bwolfe> ok, well, if its working, great, go ahead and close it
13:40:07 <dkayiwa> ok
13:40:21 <dkayiwa> bwolfe: close it with cancelled?
13:40:25 <bwolfe> yeah
13:40:30 <dkayiwa> ok
13:48:17 *** james_regen has joined #openmrs
13:48:17 *** ChanServ sets mode: +v james_regen
13:52:11 <rafa> bwolfe: I'll change pom in the occ project so that it'll install libs automatically. Is that all right?
13:53:48 <bwolfe> yeah, thats fine
13:57:25 *** wyclif has joined #openmrs
13:58:17 <bwolfe> rafa, dkayiwa, djazayeri, wyclif: you about ready for the scrum?
13:58:30 <wyclif> yeah
13:58:33 <dkayiwa> yes
13:59:32 <wyclif> my router at the house failed, so i might be offline later when they are fixing it
14:00:26 <rafa> hey!
14:00:58 <bwolfe> wyclif, how are you online now?
14:01:06 <bwolfe> dkayiwa, you go first today
14:01:15 <dkayiwa> ok
14:01:31 <wyclif> they have wireless at the leasing office
14:01:45 <wyclif> so am in the leasing office
14:02:05 *** bryq has quit IRC
14:02:12 <wyclif> exploiting every last dime
14:02:13 <bwolfe> wyclif, ha, nice
14:04:00 *** jportela has joined #openmrs
14:04:00 *** ChanServ sets mode: +v jportela
14:04:44 <dkayiwa> Looked into OCC search should be triggered from any field when creating concept - OCC-68 and found that it was already fixed.
14:04:44 <dkayiwa> Worked on Add implementation id authentication check - OCC-77
14:04:45 <dkayiwa> Now working on Improved workflow for showing suggestions during concept creation - OCC-61
14:04:45 <dkayiwa> Looking into why import concepts from OCC does not work for me
14:04:45 <dkayiwa> And also checking to ensure that passphrase is not exported during concept import
14:05:45 *** bryq has joined #openmrs
14:05:45 *** ChanServ sets mode: +v bryq
14:08:30 <wyclif> dkayiwa, i noticed there is a little bug on the import concept form popup
14:08:42 <dkayiwa> aha
14:09:04 <wyclif> the taglib element in web.xml sets an invalid value for the body-content element
14:09:16 <bwolfe> wyclif, have you fixed it yet?
14:09:24 <wyclif> bwolfe, yes\
14:09:30 <wyclif> but i couldnot commit it last night
14:09:34 <wyclif> since i was offline
14:09:40 <bwolfe> heh
14:09:45 <bwolfe> right
14:09:49 <wyclif> but am going to
14:10:19 <bwolfe> ok, dkayiwa, does that remove your one blocker? anything else in your way with OCC-61?
14:11:03 <dkayiwa> bwolfe no blocker for now
14:11:17 <bwolfe> ok. wyclif?
14:12:44 <wyclif> yesterday:
14:12:45 <wyclif> * Made the changes to 0CC:70
14:12:45 <wyclif> * worked on occ-73
14:12:45 <wyclif> today:
14:12:45 <wyclif> * finish the other ticket thats depend on OCC-73
14:12:45 <wyclif> * more occ-tickets
14:12:58 <bwolfe> blockers?
14:13:05 <bwolfe> !ticket OCC-73
14:13:06 <OpenMRSBot> bwolfe: [#OCC-73] Record original owner of downloaded concepts - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-73
14:13:18 <wyclif> not really
14:13:27 <wyclif> question
14:16:05 <bwolfe> ??
14:16:26 <bwolfe> rafa, you go why wyclif is typing apparently
14:16:29 <wyclif> i take it back
14:16:34 <bwolfe> ok
14:16:37 <rafa> Today:
14:16:37 <rafa> * Closed:
14:16:37 <rafa> - OCC-53: When importing concepts the OCC Concept mapping is only set on the parent concept
14:16:37 <rafa> https://tickets.openmrs.org/browse/OCC-53
14:16:37 <rafa> * Started with:
14:16:38 <rafa> - OCC-60: Develop algorithm for concept priority
14:16:38 <rafa> https://tickets.openmrs.org/browse/OCC-60
14:16:39 <rafa> - OCC-19: Send data to OCC about how many forms, obs, a concept is used on
14:16:39 <rafa> https://tickets.openmrs.org/browse/OCC-19
14:16:40 <rafa> * Abandoned the idea of changin pom due to the lib folder being used by ant as well
14:16:40 <rafa> Tomorrow:
14:16:41 <rafa> * Complete OCC-60 and OCC-19
14:16:41 <rafa> * Ben, shall I pick up OCC-74 first?
14:16:42 <rafa> No blockers.
14:17:14 <bwolfe> !ticket OCC-74
14:17:15 <OpenMRSBot> bwolfe: [#OCC-74] Remove OCC concept source - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-74
14:18:09 <rafa> bwolfe: it's the one that invalidates OCC-53
14:19:45 *** gagaman has quit IRC
14:20:13 <bwolfe> rafa, you don't necessarily have to jump over to it.
14:20:22 <rafa> bwolfe: ok, fine
14:20:30 <bwolfe> rafa, ant is still there?
14:20:37 <rafa> yes
14:20:40 <bwolfe> rafa, how is ant being used?
14:21:09 <rafa> As far as I can see it allows you to build either with ant or mvn
14:21:31 <bwolfe> weird
14:21:33 <bwolfe> ok
14:21:57 <bwolfe> not worth messing with it now. the shell script in the root works nice enough for those of us with a REAL operating system ;-)
14:22:21 <bwolfe> my update:
14:22:26 <bwolfe> today:
14:22:26 <bwolfe> reviewed smart sprint tickets
14:22:26 <bwolfe> started review of aja's smart code
14:22:26 <bwolfe> reviewed occ tickets
14:22:26 <bwolfe> tomorrow:
14:22:27 <bwolfe> occ, meetings, finish smart review, etc
14:23:00 <bwolfe> oh, and I came to ampath to help diagnose some problems
14:23:05 <bwolfe> (and am still here)
14:23:15 <bwolfe> no blockers
14:23:19 <bwolfe> djazayeri, are you awake?
14:24:07 <djazayeri> yes
14:24:23 <djazayeri> Monday:
14:24:23 <djazayeri> * Worked on OCC-56 (Add ability to export Concepts in 1.6 format). Got the 1.6-to-1.7 XSLT written, added clientOpenmrsVersion to upload, added concept validation.
14:24:23 <djazayeri> Today:
14:24:23 <djazayeri> * SMART code review
14:24:24 <djazayeri> * Finish OCC-56. (Improved validation, 1.7-to-1.6 XSLT for downloading.)
14:24:27 <djazayeri> no blockers
14:25:26 <bwolfe> ok, that was a nice quick finish
14:25:30 <bwolfe> wyclif, has ankur been around?
14:25:43 <wyclif> last week
14:25:54 <wyclif> last evening i never heard from him
14:26:16 <wyclif> but i know he is not yet done with that ticket for drug ingredients
14:26:29 <bwolfe> ok
14:26:37 <wyclif> he is working is being able to add and remove new ingredients from the UI
14:26:58 <wyclif> i think it is a pretty complex task for him thought he thinks he will be able to do it
14:27:19 *** lh has quit IRC
14:27:56 <wyclif> i asked him to instead create a ticket for that for some else to work on instead of him wasting alongtime on it
14:28:26 <bwolfe> ok
14:28:38 <bwolfe> well, tell him to be online at 10am tomorrow and we can discuss it. :-)
14:28:51 <bwolfe> I gotta go. I'll be back on later
14:28:58 <wyclif> ok
14:29:31 <dkayiwa> wyclif can you commit the import concept popup fix. i get the same error
14:29:38 <wyclif> i have committed it
14:29:42 <dkayiwa> oh thanks
14:29:48 <wyclif> just do svn update
14:29:53 <dkayiwa> ok :)
14:30:02 <dkayiwa> bwolfe are you still on?
14:31:04 <djazayeri> sounds like he isn't. :-)
14:31:15 <dkayiwa> ok thanks :)
14:32:54 <wyclif> he is gone
14:32:57 <wyclif> i guess
14:33:30 *** bwolfe has quit IRC
14:33:55 *** judy has joined #openmrs
14:35:50 <wyclif> dkayiwa, by the way was in conceptTree.tld and not web.xml
14:35:57 <dkayiwa> ok
14:44:58 *** dkayiwa has quit IRC
14:58:35 *** jwishnie has joined #openmrs
15:04:05 *** muthah has quit IRC
15:10:43 *** muthah has joined #openmrs
15:10:43 *** chopin has joined #openmrs
15:11:09 <chopin> hey folks ... is the GP log.level.openmrs supposed to still work in 1.8.2?
15:11:44 <chopin> seems like sync module, hl7 service and others are still throwing INFOs after I set it to "error".
15:11:51 <djazayeri> chopin: I don't think we (intentionally) disabled it
15:11:59 <chopin> hmm .. k
15:12:01 * chopin investigates
15:12:14 <chopin> btw our servers were just running at 600% cpu (all in tomcat)
15:12:31 <chopin> for a few days
15:12:42 <chopin> JMX was enabled ... but shouldn't have had that effect on it
15:13:57 <djazayeri> But they're running less now?
15:25:39 <chopin> yeah, servers are back to "normal"
15:25:41 <chopin> under 100%
15:25:51 <chopin> JMX still enabled
15:25:53 <djazayeri> did you all change anything?
15:25:59 <chopin> tried to turn down logging to see if it would change
15:26:06 <chopin> but the log is still filled with INFOs from sync module
15:26:14 <chopin> restarted tomcat, mostly
15:50:42 *** rafa has quit IRC
15:54:30 *** wyclif has quit IRC
15:58:46 *** Suranga has joined #openmrs
15:59:20 *** magoo has quit IRC
16:05:22 *** jportela has left #openmrs
16:08:54 *** lh has joined #openmrs
16:25:47 *** magoo has joined #openmrs
16:28:14 *** rafa has joined #openmrs
16:28:14 *** ChanServ sets mode: +v rafa
16:34:56 *** rafa has quit IRC
16:50:48 <OpenMRSBot> Recent updates in the world of openmrs: Shazin Sadakath: Java 7 Hands On <http://shazsterblog.blogspot.com/2011/08/java-7-hands-on.html>
17:18:25 *** Suranga_ has joined #openmrs
17:20:24 *** Suranga has quit IRC
17:28:28 *** rafa has joined #openmrs
17:28:28 *** ChanServ sets mode: +v rafa
17:30:49 *** jwishnie has quit IRC
17:35:36 *** saimanohar has joined #openmrs
17:35:56 <saimanohar> hello all,
17:36:51 <djazayeri> hi
17:37:55 <saimanohar> I am trying to extend the patient long form to have some more fields
17:38:33 <saimanohar> I have a question here
17:40:47 <saimanohar> I am binding my fields to some other model attribute which i include as parameter in the onSubmit method by saying @ModelAttribute("staff") HrStaff staff
17:41:36 <saimanohar> but looks like all the address and names on the other model object person are also trying to get binded to staff
17:42:07 <saimanohar> if that made sense :(
17:44:42 <djazayeri> I don't know exactly how spring does the binding
17:45:07 <djazayeri> It's trying to bind just "name" (or whatever) to staff?
17:46:49 <saimanohar> ahh actually i have two models in one form..i am trying to bind few fields to one model and few others to the other
17:47:37 <saimanohar> like the patient form binds names and addresses and processes them in onSubmit and saves the person
17:48:00 <saimanohar> I should say patient instead of person there...
17:48:46 <djazayeri> I would have assumed that @ModelAttribute("staff") will look for "staff.name", etc.
17:48:57 <saimanohar> so if one model is person and other model is staff,the names and addresses should get binded to person and there is one filed called status which should bind to staff
17:49:11 <saimanohar> ya something like that
17:49:15 <djazayeri> I understand what you're trying to do.
17:49:24 <djazayeri> I'm sure you can do it with spring, I'm just not sure how.
17:49:47 <saimanohar> okay.
17:50:52 <saimanohar> i am also trying to add staff attributes which are similar to person attributes
17:51:42 <saimanohar> is attributeMap in person necessary or it is just added for Convenience?
17:53:31 <djazayeri> gah
17:53:38 <djazayeri> I'd never noticed that code snippet before
17:53:45 <djazayeri> It's definitely not necessary
17:54:31 <djazayeri> If your module is for OpenMRS 1.9+, you could use BaseCustomizable, BaseAttribute, etc.
17:54:47 <saimanohar> but unfortunatetly no
17:55:19 <saimanohar> its for 1.8+
17:57:37 <saimanohar> but thanks,I was thinking to use attributeMap in staff and use forEachDisplayAttributeType like it is done in editPersonInfo.jsp
17:58:18 <saimanohar> but i think i can find some other way to it
18:05:06 *** judy has quit IRC
18:11:20 *** magoo has quit IRC
18:15:44 *** saimanohar has quit IRC
18:20:20 <jprice> hi djazayeri, thanks for the response. i cut and pasted what you suggested and it did not work for me. was i suppose to include the '>' characters ?
18:20:41 <djazayeri> presumably > were because I did quoted text in an email
18:20:41 <djazayeri> no
18:20:48 <djazayeri> the only change is \ -> \\
18:21:46 <jprice> i thought not. i removed them and tried it and it still did not work. when you did it you saw the hl7 message in the queue ?
18:22:44 <djazayeri> I didn't check the queue, but just verified that the response was 201 Created
18:23:19 <djazayeri> and there was no error message in the http response.
18:23:37 <djazayeri> take exactly the message you were submitting before, change the one \ to a \\, and submit again
18:23:47 <djazayeri> if that doesn't work, do you get the same error as before?
18:23:54 <djazayeri> and can you point me to the ticket you created?
18:25:27 <jprice> i do not see the ticket # in the email confirmation 'no-reply' msg i got back
18:25:52 <djazayeri> where did you file the bug report?
18:26:36 <jprice> http://openmrs.org/help/report-a-bug/
18:28:49 *** rafa has quit IRC
18:31:22 *** bwolfe has joined #openmrs
18:31:22 *** ChanServ sets mode: +o bwolfe
18:32:29 <djazayeri> hmm, okay, I actually can't find it
18:32:45 <djazayeri> So, can you re-send me the actual error message you're getting, either on the email thread or here through pastebin?
18:35:52 <jprice> when i tried the same msg as before and escaped the \ i got the same result as you did '202 Created' and saw it in the Q !!! thats great progress Thanks ! . I have a patient with id '3' (the PID in the HL7 message) but did not see the entry in that patient's record. do i need to do something else ?
18:36:22 <djazayeri> go to Manage Scheduler on the admin page and make sure that the Process HL7 Queue task is running.
18:37:38 *** mario_ has joined #openmrs
18:37:53 <mario_> Hola Darius
18:38:00 <djazayeri> hola mario
18:38:29 <djazayeri> cual era la parte de ese formulario que lo causa a demorrar?
18:38:41 <mario_> la parte de diagnosticos
18:39:01 <jprice> it says it is started, and when i check back it is not longer in the Q, so it looks like it de-queued it. am i doing the right thing by matching the PID in the hl7 message with the Patient Identifier field in openMRS ?
18:39:54 <djazayeri> mario_: ah, okay, yo habia quitado eso por no tener el concepto
18:39:58 <djazayeri> lo voy a agregar otra vez
18:40:06 <mario_> ok
18:40:32 <djazayeri> jprice: is there an admin screen to look at the queues and see if it's in the archive or error queue?
18:40:36 <mario_> si quiere le paso una copia de la base de datos para que la descargue y pueda montarla y tenga todos los conceptos
18:40:48 <djazayeri> mario_: no, eso seria mas dificil
18:41:40 <djazayeri> pero cuentame como esta tu concepto 160175
18:42:35 <mario_> Código diagnóstico principal
18:42:47 <mario_> Class Diagnosis
18:42:54 <mario_> datatype COded
18:43:08 <djazayeri> okay, logre a reproducir el problema
18:43:28 <mario_> excelente
18:44:34 *** bryq has quit IRC
18:44:49 <jprice> it is in the error Q. is specifying the PID in the hl7 msg to be the same as the Patient Identifier field I used when I created the patient record all I have to do to get it into the correct patient's record ?
18:45:23 <djazayeri> looking at the message, "3^^^^" isn't enough
18:45:25 *** bryq has joined #openmrs
18:45:25 *** ChanServ sets mode: +v bryq
18:45:40 <djazayeri> That _may_ look for a patient with internal patientId = 3, I'm not sure
18:45:57 <djazayeri> but there's a way to indicate what the name of the patient identifier type is.
18:46:15 <djazayeri> something like "3^^^^Name of Identifier Type", but I don't remember exactly
18:47:07 *** jportela has joined #openmrs
18:47:07 *** ChanServ sets mode: +v jportela
18:47:16 <jprice> once i figure that out, is that all i have to do is get the PID in the msg to match what i entered in the Patient Id field when I created the patient record ?
18:47:27 <djazayeri> yes
18:47:48 <djazayeri> in theory the entry in the hl7 error queue will give you some hint as to why the message failed
18:48:14 <djazayeri> mario_: el formulario todavia se esta guardando. Cuando termina voy a intentar a cargarlo con el debugger o el profiler.
18:48:32 <mario_> ok aqui estoy pendiente gracias
18:53:23 <jprice> the first part of the error msg is :
18:53:29 <jprice> at org.openmrs.hl7.impl.HL7ServiceImpl.processHL7Message(HL7ServiceImpl.java:917) at [ignored] ... at $Proxy552.processHL7Message(Unknown Source) at [ignored] ... at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:114) at [ignored] ... at $Proxy553.processHL7Message(Unknown Source)
18:54:19 <jprice> I am using "LOCAL" as the source. when I tried changing it to "BP Monitor" the source you helped me create last week it did not get into the Q at all
18:54:29 <djazayeri> okay
18:56:13 <jprice> is there a way to see what hl7 sources are defined ?
18:57:54 *** rafa has joined #openmrs
18:57:54 *** ChanServ sets mode: +v rafa
19:00:05 *** rafa has quit IRC
19:15:09 *** wyclif has joined #openmrs
19:24:14 <bwolfe> jprice, Manage Concept Sources
19:24:20 <bwolfe> on the admin screen
19:26:00 *** Suranga_ has quit IRC
19:28:02 <jprice> i created one with a groovy script called "BP Monitor" (djazayeri told me what to do). when i look at Concept Soruce Form page it is empty
19:28:33 <jprice> when would I use "LOCAL" and when "BP Monitor" ?
19:28:34 <djazayeri> I thought there wasn't a Manage Concept Sources page in 1.8
19:28:53 <djazayeri> oh, sorry, not concept source
19:28:57 <djazayeri> no manage hl7 sources
19:29:11 <djazayeri> you can list them all using the groovy module again
19:29:14 <bwolfe> sorry, yes hl7 sources
19:30:33 <djazayeri> anyway, you can list them with the groovy module
19:30:59 <djazayeri> the point is to indicate where the hl7 message comes from
19:31:05 <djazayeri> LOCAL means it's locally generated within openmrs.
19:31:28 <djazayeri> Your goal is to send messages from an external device to OpenMRS, so you should use a source representing the external device.
19:33:00 <jprice> thats what I thought, but when I specifiy "BP Monitor" the source we created last week I am back to that other Internal Server error
19:33:38 <djazayeri> okay, so keep using LOCAL until that error gets resolved in the next release of the web service module
19:38:54 <jprice> ok. when I use LOCAL, the messages in the hl7 error queue mention 'Unknown Source' , but later in the stack trace it says the Exception is 'Missing patient identifier in PID segment' so I gues I have to figure out how to correctly specifiy that
19:41:32 *** jprice__ has joined #openmrs
19:42:22 <jprice__> can i ignore the 'Unknown source' msgs or are they related to the missing PID issue ?
19:42:30 <djazayeri> no idea
19:42:40 *** dkayiwa has joined #openmrs
19:42:46 <djazayeri> fix the PID issue first, you definitely need to fix it at some point.
19:43:22 *** jprice has quit IRC
19:43:53 <jprice__> ok. u mentioned i can use a groovy script to see the hl7 source to see if i actually created it ?
19:44:20 <djazayeri> yes
19:44:28 *** muthah has quit IRC
19:44:28 <djazayeri> do whatever the first line of the previous script I gave you was
19:44:35 <djazayeri> (the one that get the hl7 service)
19:44:48 <djazayeri> (that).allHL7Sources
19:44:49 *** muthah has joined #openmrs
19:46:28 <jprice__> hl7.allHL7Sources.collect { it.name } ?
19:46:55 <djazayeri> that's going to give you all the names (collected as a list)
19:50:41 <chopin> idk if hl7 gives you HL7Service (groovy, right?)
19:50:48 <chopin> i think I had to request it before
19:50:49 <chopin> from Context
19:51:06 <djazayeri> groovy module doesn't give it by default
19:51:16 <djazayeri> you need to fetch it by classname from the context
19:51:25 <chopin> well
19:51:33 <chopin> you can ask for Context.getHL7Service()
19:51:44 <chopin> but you have to import org.openmrs.api.context.Context
19:52:23 <djazayeri> ah, right
19:54:22 *** mario_ has quit IRC
19:57:03 *** jriley has quit IRC
19:59:05 *** jwishnie has joined #openmrs
19:59:57 *** james_regen has quit IRC
20:03:47 *** bryq has quit IRC
20:11:04 *** jportela has quit IRC
20:12:41 *** dkayiwa has quit IRC
20:16:03 *** jriley has joined #openmrs
20:16:36 *** jriley has joined #openmrs
20:25:44 *** dkayiwa has joined #openmrs
20:26:31 *** r0bby is now known as robbyoconnor
20:28:06 *** rafa has joined #openmrs
20:28:06 *** ChanServ sets mode: +v rafa
20:46:12 *** dkayiwa has quit IRC
20:47:02 *** rafa has quit IRC
20:59:54 *** jportela has joined #openmrs
20:59:54 *** ChanServ sets mode: +v jportela
21:07:36 *** bwolfe has quit IRC
21:35:59 *** jwishnie has quit IRC
21:38:25 <jprice__> hi djazayeri: so i just got back and saw the comments about getting the hl7 sources defined but did not understand what I need to do now
21:42:17 <djazayeri> you can just keep using LOCAL for now
21:42:46 <djazayeri> and once the bug that you reported is fixed, in the next release of the web services module, you can switch to doing things "correctly".
21:44:02 <djazayeri> jprice__: ^^
21:49:50 <jprice__> ok. did u find the bug report.? the one I submitted was for the issue you helped me fix by escaping the '\', not the one where I get the HTTP 500 Internal server error when I use a source of "BP Monitor". should i file a new bug report ?
21:50:13 <djazayeri> yes, please file a bug report for the 500 error
21:51:08 <jprice__> ok. i think the one i filed yesterday can be considered resolved. should i report it using the same link i sent earlier ?
21:51:16 <djazayeri> yes
21:51:30 <djazayeri> let me know if it gives you any sort of confirmation number or link after submitting.
21:51:35 <jprice__> ok
21:51:38 <djazayeri> (either way, it'll get to me eventually)
22:01:25 <jprice__> i just submitted it and there was no ticket number. i got the no-reply confirmation email but it does not have a ticket number either. can you see the bug ?
22:39:58 *** jriley has left #openmrs
22:41:32 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @andyjudson: Off to find out more about getting involved in @OpenMRS, an open source medical records system for developing countries. <http://twitter.com/OpenMRS/statuses/101057169289523200>
22:51:40 *** lh has quit IRC
22:56:41 *** gbastien has quit IRC
22:56:43 <jprice__> hi djazayeri, hopefully i am nearing the end of having to bother you so much. i think i am pretty close to getting to what i need. i cut and pasted the last hl7 msg from https://wiki.openmrs.org/display/docs/HL7 and still am getting the missing patient identifier in PID segment issue. i am assuming the msg on the hl7 page is correct; i put the command and trace back at http://pastebin.com/FXGNKRf0
22:57:14 <jprice__> do u have any suggestions (other than stop bothering you so much ) ?
23:08:54 <djazayeri> jprice__: you need the patientId of an existing patient
23:09:15 <djazayeri> find a patient in your app, go to their patient dashboard, and get the "patientId" from the url of that page
23:09:20 <djazayeri> use that instead of 123
23:09:27 <djazayeri> in the PID segment
23:20:35 <jprice__> so the patient ID is not what I specify on the "Create a new patient" page when I create a patient (that is what 123 was)
23:25:08 <djazayeri> "patientId" is supposed to be an internal number, not exposed outside
23:25:11 <djazayeri> it's the database primary key
23:25:25 <djazayeri> that's what the 123 is in the sample message
23:25:44 <djazayeri> The number you specify when creating the patient is a "patient identifier".
23:26:17 <djazayeri> To specify one of those you need to give both the identifier, and the schema
23:26:28 <djazayeri> sorry, schema -> identifier type
23:26:47 <djazayeri> e.g. there may be multiple identifier types in the system. so just "123
23:26:57 <djazayeri> "123" could refer to multiple people
23:27:08 <djazayeri> but "OpenMRS Identifier"="123" is unique
23:27:34 <djazayeri> anyway, the whole "123^^^" is a field in an HL7 message
23:27:53 <djazayeri> there's a way to give the "assigning authority" of the id number as part of that
23:28:12 <djazayeri> I think it would go after the last ^ but I forget
23:28:19 <djazayeri> you'll have to look that up in some HL7 documentation
23:28:27 <djazayeri> jprice__: ^^
23:28:38 <djazayeri> jportela: you there?
23:28:54 *** wyclif has quit IRC
23:28:58 <jportela> djazayeri: yes
23:29:17 <djazayeri> Is the code in svn in a state that I can look at it?
23:30:03 <jportela> yes
23:30:08 <jportela> I'll commit my latest changes
23:30:09 <djazayeri> okay, trying
23:30:13 <djazayeri> ah okay
23:30:45 <djazayeri> to both modules? or is the branch of the main module already there?
23:30:50 <jprice__> so now i am a bit confused. you said to use the number in the url in the PID field (in this case 9347) http://localhost:8081/openmrs-standalone/patientDashboard.form?patientId=9347&phrase=123
23:31:12 <djazayeri> jprice__: that is an internal patientId. To be correct, you're not supposed to use that.
23:31:30 <djazayeri> for test purposes, however, you may use 9347.
23:32:00 <jprice__> thats what i thought. then what is the correct thing to use ? (when i tried 9347 i got same result as before...)
23:32:18 <jportela> djazayeri: htmlformentry designer branch hasn't changed since yesterday, htmlformentrydesigner gsoc11 branch has changed a few minutes ago
23:33:39 <djazayeri> jprice__: The correct solution, which you'll need to switch to eventually, is to use something like 123^^^OpenMRS Identifier
23:35:01 <jportela> djazayeri: the changes I'm making right now are mostly UI changes and some minor fixes, so I'll be updating the htmlformentrydesigner gsoc11 branch frequently, but with no major changes
23:41:28 *** poorroop has joined #openmrs
23:41:36 <poorroop> hello
23:43:59 *** djazayeri has quit IRC