IRC Chat : 2009-01-06 - OpenMRS

00:03:31 *** Keelhaul has quit IRC
00:49:46 *** glen_ has quit IRC
00:54:34 *** glen_ has joined #openmrs
01:02:00 *** kapten_yuba has joined #openmrs
01:02:43 *** kapten_yuba has left #openmrs
01:04:09 *** bwolfe has quit IRC
01:27:18 *** [mharrison] has joined #openmrs
01:31:34 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Release & Nightly build downloads mixing up ? <http://forum.openmrs.org/viewtopic.php?f=9&t=417#p1457> || OpenMRS Changesets: Changeset [6538]: remoteformentry: Added archive and logging to all upload/download of files <http://dev.openmrs.org/changeset/6538>
01:37:49 *** glen_ has quit IRC
02:24:16 *** upul has joined #openmrs
02:29:06 *** bwolfe has joined #openmrs
02:29:06 *** ChanServ sets mode: +o bwolfe
02:35:44 *** atomicturtle has joined #openmrs
03:30:02 *** bwolfe has quit IRC
03:39:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Release & Nightly build downloads mixing up ? <http://forum.openmrs.org/viewtopic.php?f=9&t=417#p1458>
03:50:45 *** [mharrison] has quit IRC
04:11:31 *** nribeka has joined #openmrs
04:23:27 *** [mharrison] has joined #openmrs
04:24:45 *** [m_harrison] has joined #openmrs
04:25:07 *** [mharrison] has quit IRC
04:25:13 *** [m_harrison] is now known as [mharrison]
04:26:13 *** nribeka1 has joined #openmrs
04:43:48 *** nribeka has quit IRC
09:39:00 *** upul has quit IRC
09:42:07 *** Echidna_ has joined #openmrs
09:45:39 *** Nzeyi has joined #openmrs
09:53:28 *** Echidna has quit IRC
10:02:07 *** Echidna_ has quit IRC
10:02:13 *** Echidna has joined #openmrs
10:18:18 *** Echidna has quit IRC
10:18:32 *** Echidna has joined #openmrs
10:34:58 *** Echidna_ has joined #openmrs
10:41:23 *** Echidna has quit IRC
10:48:59 *** upul has joined #openmrs
11:05:19 *** Echidna has joined #openmrs
11:05:30 *** Echidna_ has quit IRC
11:14:11 *** Echidna_ has joined #openmrs
11:14:59 *** Echidna has quit IRC
11:22:46 *** Echidna has joined #openmrs
11:25:35 *** Echidna_ has quit IRC
11:29:39 *** Nzeyi has quit IRC
11:36:43 *** upul has quit IRC
11:51:32 *** Echidna has quit IRC
12:37:30 *** kapten_yuba has joined #openmrs
12:37:49 *** kapten_yuba has left #openmrs
12:54:00 *** james_regen has joined #openmrs
12:54:00 *** ChanServ sets mode: +v james_regen
13:14:00 *** upul has joined #openmrs
13:21:46 *** bwolfe has joined #openmrs
13:21:46 *** ChanServ sets mode: +o bwolfe
14:37:44 * r0bby sighs
14:48:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6543]: Added note about module loading/unloading and its effects on the system - … <http://dev.openmrs.org/changeset/6543> || OpenMRS Changesets: Changeset [6542]: -- chica * updated atd jar <http://dev.openmrs.org/changeset/6542> || OpenMRS Changesets: Changeset [6541]: -- nbs * updated atd jar <http://dev.openmrs.org/changeset/6541> || OpenMRS Changesets: Changeset [6540]: -- atd * updated module version <http://dev.openmrs.org/changeset/6540> || OpenMRS Changesets: Changeset [6539]: -- atd * fixed a bug generating JITS <http://dev.openmrs.org/changeset/6539>
15:01:28 *** kapten_yuba has joined #openmrs
15:20:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1184 (task closed): Person.getAge doesn't always return the correct age sometimes <http://dev.openmrs.org/ticket/1184#comment:5> || OpenMRS Changesets: Changeset [6545]: 1.4.x branch: Backporting [6544]: Fixed Person.getAge method to return … <http://dev.openmrs.org/changeset/6545> || OpenMRS Changesets: Changeset [6544]: Fixed Person.getAge method to return correct age when comparing same day … <http://dev.openmrs.org/changeset/6544>
15:23:19 *** kapten_yuba has quit IRC
15:23:45 *** kapten_yuba has joined #openmrs
15:23:52 *** kapten_yuba has left #openmrs
15:47:22 *** openmrs_1489 has joined #openmrs
15:48:34 *** openmrs_1489 has quit IRC
16:09:10 *** atomicturtle has quit IRC
16:09:11 *** bmckown has joined #openmrs
16:09:11 *** ChanServ sets mode: +o bmckown
16:24:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #802 (task closed): Add format drop down to PersonAttributeType.form <http://dev.openmrs.org/ticket/802#comment:2> || OpenMRS Changesets: Changeset [6546]: Made PersonAttributeType.format a drop down pick list on the admin … <http://dev.openmrs.org/changeset/6546>
16:37:49 *** atomicturtle has joined #openmrs
16:40:18 *** atomicturtle has left #openmrs
16:44:06 <nribeka1> bwolfe
16:44:14 <bwolfe> nribeka1:
16:44:19 <nribeka1> hehe ...
16:44:36 <nribeka1> i have a question about the user/patient/person
16:44:36 <nribeka1> :D
16:45:45 <bwolfe> fire away
16:46:01 <nribeka1> ticket 725 means the patient / user won't be the subclass of person anymore?
16:46:08 <nribeka1> but only have ref to person?
16:46:12 <nribeka1> is it?
16:49:29 <bwolfe> nribeka1: I think it could be a subclass of it...but hibernate can't know of it
16:50:39 <nribeka1> any good reference about this bwolfe
16:50:47 <nribeka1> never heard about this one before
16:50:48 <bwolfe> what do you mean ?
16:51:11 <bwolfe> nribeka1: you'll have to do some research on some fancy or not so fancy hibernate mapping techniques
16:51:36 <nribeka1> i thought it's going to completely separate person and user / patient (in the mapping)
16:51:54 <bwolfe> you might have to do that.
16:52:20 <bwolfe> but I would rather see a way that we don't have to copy/paste the person stuff to a person.hbm, user.hbm and a patient.hbm fil
16:52:22 <bwolfe> *file
16:53:38 <nribeka1> need to do some mapping research then :D
16:56:42 *** kapten_yuba1 has joined #openmrs
16:56:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6547]: Removed database version from uncaught exception page <http://dev.openmrs.org/changeset/6547>
16:56:56 <bwolfe> nribeka1: http://www.hibernate.org/hib_docs/v3/reference/en/html_single/ is the page I used for most when doing mappings
16:56:58 *** kapten_yuba1 has left #openmrs
16:56:58 <OpenMRSBot> <http://ln-s.net/2gSk> (at www.hibernate.org)
16:57:06 <bwolfe> but hibernate.org has some other tutorials, etc
17:02:50 *** kapten_yuba2 has joined #openmrs
17:03:44 *** kapten_yuba2 has left #openmrs
17:19:17 *** kapten_yuba has joined #openmrs
17:21:29 *** kapten_yuba has left #openmrs
17:26:54 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #868 (defect closed): Should not allow saving Person Attribute Types with no name, or same name more than once <http://dev.openmrs.org/ticket/868#comment:6> || OpenMRS Changesets: Changeset [6548]: Added validator for PersonAttributeTypes to check for blank names and … <http://dev.openmrs.org/changeset/6548>
17:39:05 *** [mharrison] has quit IRC
17:59:50 *** nribeka1 has quit IRC
18:09:27 *** Echidna has joined #openmrs
18:39:50 *** nribeka has joined #openmrs
18:47:08 *** upul has quit IRC
19:15:24 <nribeka> bwolfe
19:15:30 <nribeka> another question :)
19:15:31 <bwolfe> nribeka
19:16:10 <nribeka> this one about the person / user / patient sql update that we (me + james_regen) sent to james arbaugh
19:18:04 <nribeka> after we update it, the problem still exist bwolfe
19:18:30 <bwolfe> well, you missed one somewhere then :-p
19:18:43 <nribeka> we do:
19:18:45 <nribeka> create table users_and_patients (patient_id integer);
19:18:56 <nribeka> insert into users_and_patients (patient_id) (select patient_id from patient where patient_id in (select user_id from users));
19:19:04 <nribeka> update patient set creator = 1, changed_by = 1 where changed_by in (select patient_id from users_and_patients);
19:19:11 <nribeka> drop table users_and_patients;
19:20:16 <nribeka> did we miss anything bwolfe?
19:24:16 <bwolfe> nribeka: I think person, person_name, person_address, person_attribute, etc also have creator fields
19:25:24 <nribeka> so, we need to update all of them?
19:26:14 <bwolfe> yeah, probably
19:26:29 <bwolfe> but your time would be better spent trying to fix it in the code :-)
19:26:51 <bwolfe> arbaugh runs off of nightly builds anyway, so if you fix it he could update to the latest and then test your module again
19:28:08 <nribeka> hmmm that's a good idea
19:28:21 <nribeka> but what going to happen to existing data? :P
19:33:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #489 (defect closed): Users Who Are Also Patients <http://dev.openmrs.org/ticket/489#comment:1>
19:54:46 <bwolfe> nribeka: what do you mean existing data?
19:54:54 <bwolfe> nribeka: you mean after you fix the code? :-)
19:54:59 <nribeka> yes
19:55:25 <nribeka> reading this one now
19:55:33 <nribeka> http://www.hibernate.org/hib_docs/reference/en/html/inheritance.html
19:55:36 <OpenMRSBot> <http://ln-s.net/2gW9> (at www.hibernate.org)
19:58:20 <bwolfe> nribeka: hopefully after you fix the code hibernate will know how to do with users that are also patients!
19:58:53 <bwolfe> future person_ids and patient_ids won't have to match in the system, but it will be ok if past ones still match up
19:59:14 <nribeka> ok ok :D
19:59:19 <nribeka> i'm off to class now :)
19:59:22 <nribeka> ttyl bwolfe
19:59:30 <bwolfe> ok
19:59:32 <bwolfe> enjoy!
19:59:40 <bwolfe> or at least don't sleep :-p
20:05:06 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1195 (task created): ObsService.getObservations fails to include obs on passed dates <http://dev.openmrs.org/ticket/1195>
20:10:00 *** atomicturtle1 has joined #openmrs
20:10:44 *** atomicturtle1 has left #openmrs
21:19:36 *** james_regen has quit IRC
21:43:25 *** Echidna has quit IRC
21:43:38 *** Echidna has joined #openmrs
21:51:26 *** nribeka has quit IRC
22:01:16 *** [mharrison] has joined #openmrs
22:26:02 *** Echidna has quit IRC
22:32:58 *** nribeka has joined #openmrs
22:33:03 *** pearlbear has joined #openmrs
22:33:03 *** ChanServ sets mode: +v pearlbear
22:44:02 *** nribeka has quit IRC
23:34:33 *** nribeka has joined #openmrs