IRC Chat : 2009-07-02 - OpenMRS

00:25:46 *** scottyaz has quit IRC
01:38:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8857]: facility data: Again, not tested; should void the values entered and … <http://dev.openmrs.org/changeset/8857>
02:00:57 *** jmiranda has joined #openmrs
02:00:57 *** ChanServ sets mode: +o jmiranda
02:10:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8858]: facility data: ensure that voided values aren't included. <http://dev.openmrs.org/changeset/8858>
02:42:00 *** atomicturtle has joined #openmrs
02:42:00 *** atomicturtle1 has quit IRC
03:16:49 *** Mkop has quit IRC
05:05:26 *** bwolfe has quit IRC
05:13:44 *** nribeka has joined #openmrs
05:13:44 *** ChanServ sets mode: +v nribeka
05:34:10 *** Mkop has joined #openmrs
05:42:32 *** atomicturtle1 has joined #openmrs
05:42:32 *** atomicturtle has quit IRC
06:45:14 *** pascal` has joined #openmrs
07:13:50 *** suneeth has joined #openmrs
07:14:01 <suneeth> hi all
07:16:02 <suneeth> iam trying to submit patch for ticket 1331
07:16:37 <suneeth> but i am not able to find the way how to submit patch
07:17:06 <suneeth> can any one help me?
07:18:15 <Mkop> suneeth: hi
07:18:36 <Mkop> you might need ticket editing privileges to submit the patch, I'm not sure
07:18:43 <Mkop> !ticket 1331
07:18:43 <OpenMRSBot> Mkop: Ticket #1331: http://dev.openmrs.org/ticket/1331
07:19:41 <suneeth> how can i get the privileges?
07:20:32 <Mkop> are you logged in?
07:20:34 <suneeth> should i attach my patch using that 'attach' button in the above link
07:20:43 <Mkop> yes, the attach button
07:21:09 <suneeth> thank you mkop..
07:21:33 <suneeth> how to know that my patch is correct?
07:21:52 <Mkop> does it compile? does it run correctly?
07:22:02 <suneeth> yes
07:22:12 <Mkop> and you won't necessarily know the answer to this, but does it fail any unit tests?
07:22:28 <Mkop> if you don't know how to run unit tests that's fine, ben will run them before committing the patch
07:23:21 <suneeth> okey.. thank you
07:28:56 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8859]: mdrtb module: adding simple drug forecast tool (not yet hooked up to the … <http://dev.openmrs.org/changeset/8859> || OpenMRS Forum: OpenMRS doesnt seem to run updates <http://forum.openmrs.org/viewtopic.php?f=9&t=472#p1712>
07:33:37 *** suneeth has quit IRC
07:40:23 *** jmiranda has quit IRC
08:00:57 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8860]: mdrtb module: added simple drug usage calculation to homepage <http://dev.openmrs.org/changeset/8860>
08:26:05 *** jmiranda has joined #openmrs
08:26:05 *** ChanServ sets mode: +o jmiranda
08:33:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8861]: mdrtb module: replace a line I accidentally took out of … <http://dev.openmrs.org/changeset/8861>
08:40:44 *** atomicturtle1 has quit IRC
08:42:28 *** atomicturtle has joined #openmrs
11:12:30 *** Mkop has quit IRC
11:32:27 *** james_regen has joined #openmrs
11:32:27 *** ChanServ sets mode: +v james_regen
11:41:21 *** atomicturtle has quit IRC
11:41:55 *** atomicturtle has joined #openmrs
12:13:07 *** upul has joined #openmrs
12:13:07 *** ChanServ sets mode: +v upul
12:20:04 *** bwolfe has joined #openmrs
12:20:04 *** ChanServ sets mode: +o bwolfe
12:35:04 *** bmckown has joined #openmrs
12:35:05 *** ChanServ sets mode: +o bmckown
12:45:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: OpenMRS doesnt seem to run updates <http://forum.openmrs.org/viewtopic.php?f=9&t=472#p1714> || OpenMRS Forum: Re: How to detect when a module is being unloaded <http://forum.openmrs.org/viewtopic.php?f=8&t=470#p1713>
12:48:29 *** luzhuangwei has joined #openmrs
13:17:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8862]: OpenMRS Sync: create new child node, adding functionality for exporting … <http://dev.openmrs.org/changeset/8862>
13:25:58 *** atomicturtle has left #openmrs
13:31:43 <upul> Hi bwolfe
13:33:19 <bwolfe> hi upul
13:33:53 <upul> bwolfe: does concept has the short_name column?
13:34:17 <bwolfe> iy shouldnt
13:34:21 <bwolfe> iy=it
13:34:50 <upul> so other than the id is there any way to lookup a concept like with a name?
13:35:01 <upul> in the concept table alone
13:35:13 <bwolfe> why concept table alone?
13:35:25 <bwolfe> concept_name has a concept_id column you could use
13:35:37 <upul> i want to reference a newly created concept
13:35:41 <bwolfe> select concept_id from concept_name where name like '%upul%';
13:37:00 <upul> is there a concept_name?
13:37:08 <upul> bwolfe:
13:37:38 <bwolfe> there is a concept_name table, yes
13:40:46 <upul> bwolfe: ah, table. what is the usual locale for core data?
13:41:42 <bwolfe> "en"
13:43:23 <upul> bwolfe: for that component-scan, isn't it possible to put an exclude-filter type="regex" for *Test classes as the first filter line
13:43:58 <bwolfe> upul: in the spring tag ?
13:44:56 <upul> bwolfe: i haven't tried, but it's there in http://static.springsource.org/spring/docs/2.5.x/reference/beans.html
13:44:59 <OpenMRSBot> <http://ln-s.net/3RPb> (at static.springsource.org)
13:45:07 <upul> bwolfe: 3.12.3. Using filters to customize scanning
13:45:17 <upul> regex
13:49:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8863]: mdrtb14. Fixed lazy loading issue on concept tags, fixed path error … <http://dev.openmrs.org/changeset/8863>
13:55:06 <upul> bwolfe: how do i lookup the concept_id of the last created concept, does something like concept.description still valid?
13:55:31 <upul> to create the concept_name i need the conceptid
13:56:34 <bwolfe> upul: are you doing this in a sqldiff? is that why you don't have the concept_id ?
13:56:44 <bwolfe> upul: otherwise I suggest just letting the api do it all for you
13:56:59 <upul> bwolfe: yes, creating allergy etc. in sql diff
13:57:11 <bwolfe> upul: that spring exclude might be our solution. I didn't know that existed. can you reply to justin with that?
13:57:59 <upul> bwolfe: how about i generate unique uuid and put them in the insert concept and use it for concept_name
13:58:53 <bwolfe> upul: yeah, uuid might be a good solution. be sure to generate a new one...don't hard code one into the sqldiff
13:59:00 <jmiranda> upul, nice
14:02:31 *** luzhuangwei has quit IRC
14:04:08 <upul> bwolfe: i have to generate one and hard code it, otherwise it's the same as concept_id, i need something i insert to refer
14:04:53 <upul> jmiranda: might work
14:05:17 *** nribeka has quit IRC
14:05:57 *** nribeka has joined #openmrs
14:05:57 *** irc.freenode.net sets mode: +v nribeka
14:06:46 <bwolfe> upul: SET uuid = select uuid();
14:07:11 <upul> bwolfe: would that work in all dbs?
14:07:27 <upul> bwolfe: is it a sin to generate new uuid and put in sqldiff? ;-)
14:07:27 <bwolfe> no
14:07:33 <bwolfe> but the sqldiff is mysql specific anyway
14:07:57 <bwolfe> upul: yeah, because we don't want everyone in the world to have the same uuid for their Allergy concept...that defeats the whole reason for a uuid! :-)
14:09:44 <upul> bwolfe: are there anything else like description in concept, that i can put a unique uuid like id may be
14:10:08 <upul> bwolfe: otherwise creating concept programmatically is the solution
14:10:13 <bwolfe> upul: you could temporarily put something into void_reason or something
14:11:10 <upul> bwolfe: ok
14:11:15 <upul> bwolfe: is description invalid now/
14:11:48 <bwolfe> those short_name and description columns need to be deleted. those are in concept_name and concept_description tables now as a many-to-one with concept
14:12:03 <upul> bwolfe: ok
14:44:29 *** pascal` has quit IRC
14:52:09 <upul> why is that concept gets retired, concept_name gets voided. concept_name looks like metadata
14:52:16 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: How to detect when a module is being unloaded <http://forum.openmrs.org/viewtopic.php?f=8&t=470#p1716> || OpenMRS Forum: how to develop code and avoid the module load/unload lag ? <http://forum.openmrs.org/viewtopic.php?f=8&t=473#p1715>
14:52:44 <bwolfe> upul: hehe
14:52:59 <bwolfe> upul: we've had this discussion somewhere on the dev list I think
14:53:20 <bwolfe> upul: I believe the original thought was: "a name on a concept is data, but the concept itself is metadata"
14:54:45 <bwolfe> I haven't seen this, but springsource training is usually pretty good. If anyone wants some AOP basics: http://www.springsource.org/node/1677
14:54:48 <upul> i thought data means patient specific things like obs, relationships entries. concept, concept_names are not changing for each patient, it's like master data
14:55:51 <upul> concept_name should be metadata!
14:56:15 <upul> it's free. great
14:58:21 *** atomicturtle has joined #openmrs
14:59:17 *** atomicturtle has left #openmrs
15:12:14 *** atomicturtle has joined #openmrs
15:20:40 *** bmckown_ has joined #openmrs
15:22:58 *** bmckown has quit IRC
15:23:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: How to detect when a module is being unloaded <http://forum.openmrs.org/viewtopic.php?f=8&t=470#p1717> || OpenMRS Tickets: Ticket #1612 (defect created): Problem with some dates in OpenMRS <http://dev.openmrs.org/ticket/1612>
15:26:35 *** kane77 has joined #openmrs
15:27:01 *** luzhuangwei has joined #openmrs
15:35:06 *** sdefabbiakane has joined #openmrs
15:51:59 <upul> Hi sdefabbiakane
15:52:08 <sdefabbiakane> hi
15:52:58 <upul> are you working at trinity college sdefabbiakane
15:53:09 <sdefabbiakane> upul: yep
15:53:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Saving multiple complexOBS in a group : hibernate trouble. <http://forum.openmrs.org/viewtopic.php?f=2&t=474#p1719> || OpenMRS Forum: Re: How to detect when a module is being unloaded <http://forum.openmrs.org/viewtopic.php?f=8&t=470#p1718>
16:05:36 *** atomicturtle has left #openmrs
16:09:13 *** bmckown_ has quit IRC
16:16:49 *** sdefabbiakane has quit IRC
16:23:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8864]: reporting: added a test method "shouldSavePersonAddress" in … <http://dev.openmrs.org/changeset/8864>
16:52:46 *** upul has quit IRC
16:56:28 *** sdefabbiakane has joined #openmrs
18:00:42 *** luzhuangwei has quit IRC
18:15:18 *** bmckown has joined #openmrs
18:15:18 *** ChanServ sets mode: +o bmckown
18:15:32 *** bmckown has quit IRC
18:15:35 *** bmckown has joined #openmrs
18:15:35 *** ChanServ sets mode: +o bmckown
18:41:48 *** Mkop has joined #openmrs
18:45:02 *** jmiranda has quit IRC
18:48:20 *** jmiranda has joined #openmrs
18:48:20 *** ChanServ sets mode: +o jmiranda
18:53:22 *** bmckown has quit IRC
19:03:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8865]: 1.4.x: Switched escaped characters to utf-8 characters in pt messages … <http://dev.openmrs.org/changeset/8865>
19:05:56 *** bmckown has joined #openmrs
19:05:56 *** ChanServ sets mode: +o bmckown
19:08:10 <nribeka> http://pastie.org/532401
19:08:12 <nribeka> bwolfe
19:35:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8868]: 1.5.x: Fixed date formatting to work with all known java locales - #1612 <http://dev.openmrs.org/changeset/8868> || OpenMRS Changesets: Changeset [8867]: 1.4.x: Reverting unit tests back to what they were even though they fail … <http://dev.openmrs.org/changeset/8867> || OpenMRS Changesets: Changeset [8866]: 1.4.x: Fixed date formatting to work with all known java locales - #1612 <http://dev.openmrs.org/changeset/8866>
19:50:48 *** james_regen has quit IRC
20:07:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1612 (defect closed): Problem with some dates in OpenMRS <http://dev.openmrs.org/ticket/1612#comment:2> || OpenMRS Changesets: Changeset [8869]: Fixed date formatting to work with all known java locales - #1612 <http://dev.openmrs.org/changeset/8869>
20:12:55 *** kane77 has quit IRC
20:13:39 *** Mkop has quit IRC
20:23:55 *** bmckown has quit IRC
20:39:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1331 (enhancement closed): Move "Manage Locations" to its own group on the admin panel <http://dev.openmrs.org/ticket/1331#comment:4> || OpenMRS Changesets: Changeset [8870]: Moved Manage Locations to its own admin group - #1331 Author: madanmohan <http://dev.openmrs.org/changeset/8870>
21:02:36 *** sdefabbiakane has quit IRC
21:25:02 *** bwolfe_ has joined #openmrs
21:25:02 *** ChanServ sets mode: +o bwolfe_
21:26:59 *** bwolfe has quit IRC
21:37:47 *** Agnor has joined #openmrs
21:37:52 <Agnor> id
21:37:54 <Agnor> oops
21:37:56 <Agnor> forgot the /
21:37:58 <Agnor> hello!
21:43:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8872]: Initial commit of remarks files. (todo: rename remarks module to remarks … <http://dev.openmrs.org/changeset/8872> || OpenMRS Changesets: Changeset [8871]: Initial import. <http://dev.openmrs.org/changeset/8871>
21:47:22 *** bwolfe__ has joined #openmrs
21:49:33 *** bwolfe_ has quit IRC
22:15:52 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8873]: birtreport-1.8.x: Backported fix for critical parameter bug [7578]. * … <http://dev.openmrs.org/changeset/8873>
22:18:31 *** Keelhaul has joined #openmrs
22:18:31 *** ChanServ sets mode: +v Keelhaul
22:47:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8874]: Fixed #1527 - FileNotFoundException thrown for test class during module … <http://dev.openmrs.org/changeset/8874>
23:33:52 *** Keelhaul has quit IRC
23:51:56 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8875]: mdrtb module: trivial cosmetic fix to simple usage results display <http://dev.openmrs.org/changeset/8875>