IRC Chat : 2008-09-23 - OpenMRS

02:56:20 *** njero has quit IRC
06:05:26 *** james_regen has joined #openmrs
06:05:26 *** ChanServ sets mode: +v james_regen
06:24:16 *** TorLye has joined #openmrs
06:41:26 *** upul has quit IRC
07:09:44 *** bwolfe has joined #openmrs
07:09:44 *** ChanServ sets mode: +o bwolfe
07:15:05 *** bmckown has joined #openmrs
07:15:06 *** ChanServ sets mode: +o bmckown
07:18:57 *** bwolfe has quit IRC
07:19:48 *** bwolfe has joined #openmrs
07:19:48 *** ChanServ sets mode: +o bwolfe
07:30:42 *** nribeka has quit IRC
07:43:32 *** nribeka has joined #openmrs
08:15:04 <nribeka> good morning everyone :D
08:15:07 <nribeka> morning james_regen
08:15:18 <james_regen> hi
08:15:24 <nribeka> wow 7.03
08:17:46 <james_regen> did you check if duplicate patients were being loaded into the scratch table?
08:18:31 <nribeka> yep
08:18:38 <nribeka> duplicate 2.5k
08:25:40 *** atomicturtle has quit IRC
09:17:59 *** atomicturtle has joined #openmrs
09:19:05 *** njero has joined #openmrs
09:19:05 *** ChanServ sets mode: +v njero
09:32:43 *** njero has quit IRC
09:32:49 *** njero has joined #openmrs
09:32:49 *** ChanServ sets mode: +v njero
09:54:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #714 (defect closed): PersonAttributeType with a format of java.Util.Date <http://dev.openmrs.org/ticket/714#comment:10>
10:14:04 *** sioraioc_ has joined #openmrs
10:14:34 *** sioraiocht has quit IRC
10:58:32 <OpenMRSBot> Recent updates in the world of openmrs: Shaun Grannis: Notes from 9/23/2008 Patient Matching Call <http://doctorshaun.blogspot.com/2008/09/notes-from-92308-patient-matching-call.html>
11:53:54 *** bmckown has quit IRC
12:05:40 *** bmckown has joined #openmrs
12:05:40 *** ChanServ sets mode: +o bmckown
12:06:16 <bmckown> gotta love roadrunner. :-\
12:08:09 <bwolfe> no you don;t
12:08:13 <bwolfe> you just have to live with it :-p
12:08:20 <bmckown> basically.
12:08:31 <bmckown> cable has been doing that for weeks now.
12:14:55 *** nribeka has quit IRC
12:35:41 <bwolfe> bmckown: is it your router or the cable company?
12:36:13 <bmckown> i'm assuming the cable company. btw it's really their router.
12:36:26 <bmckown> did you just restart openmrs?
12:36:49 <bwolfe> no
12:37:03 <bwolfe> which "openmrs" ?
12:37:09 <bmckown> wiki
12:37:11 <bwolfe> demo? dev? .org? eldoret? my laptop? :-p
12:37:14 <bwolfe> :-)
12:37:23 <bmckown> openmrs.org
12:37:24 <bwolfe> its working for me
12:37:29 <bwolfe> was it down for a bit?
12:37:32 <bmckown> was down for a few minutes
12:37:37 <bwolfe> odd
12:37:42 <bmckown> i was about to restart it and then it came back
12:37:44 <bwolfe> nope, haven't touched it recently
12:37:48 <bwolfe> heh
12:37:53 <bwolfe> it sensed you coming to restart it
12:37:56 <bmckown> yea
12:37:58 <bwolfe> so it started behaving
12:38:10 <bmckown> >-|
12:38:21 <bmckown> take that, server!
12:46:47 *** nribeka has joined #openmrs
13:20:32 * r0bby squeaks
13:20:41 <r0bby> I lost my vista install :<
13:20:58 <r0bby> so I had to reinstall
13:30:10 <nribeka> hi r0bby
13:30:19 <nribeka> why do you need vista?
13:30:28 <r0bby> dont need
13:30:33 <r0bby> just easier to deal w/
13:31:55 *** njero has quit IRC
13:33:02 *** openmrs_8727 has joined #openmrs
13:37:15 <nribeka> ah ic ic
13:37:27 <nribeka> i use my vista only for arcgis
13:37:28 <nribeka> :D
13:38:33 *** openmrs_8727 has quit IRC
13:41:37 *** sunbiz has joined #openmrs
13:44:58 <sunbiz> hey guys
13:45:14 <bwolfe> hey
13:45:26 <nribeka> hey sunbiz
13:45:45 <sunbiz> hey bwolfe, nribeka
13:49:09 <nribeka> bwolfe or bmckown: how can i get all data from patient, patient_name, patient_address, person_attribute and person identifier at the same time without lazy loading?
13:49:16 <nribeka> use a select query?
13:49:36 <bwolfe> you can use hql
13:49:45 <bwolfe> and still use the java method names instead of the columns
13:49:55 <bwolfe> or you can use hibernate criteria projections
13:50:07 <nribeka> select patient.* blablabla from patient join blabla
13:50:12 <nribeka> like that bwolfe?
13:50:18 <bwolfe> yeah
13:50:47 <bwolfe> or critiera.setProjection(ProjectionList().add("patent.name") etc
13:51:06 <nribeka> projection?
13:51:11 <nribeka> *first timer*
13:51:38 <bwolfe> yeah, in criteria land, a projection is what ends up between "select" and "from"
13:52:01 <bwolfe> and you don't end up getting patient objects or PersonName objects back
13:52:08 <bwolfe> you get a list of Object[]
13:52:13 <bwolfe> so essentially a list of row
13:52:16 <bwolfe> *rows
13:52:48 <nribeka> list of rows or list of patients?
13:54:58 <nribeka> because if i use query and call setProperties of the query with a bean i will get the bean with all value initialized with query result right bwolfe?
13:55:16 <bwolfe> right
13:55:24 <nribeka> with projection what i will get?
13:55:41 <bwolfe> same as if you did it with a query
13:56:04 <nribeka> ah that sounds cool
13:56:08 <nribeka> i will try
14:09:49 <nribeka> bwolfe, so if we want all the properties value to be loaded to the bean, we need to enumerate all the field in the projection?
14:10:40 <bwolfe> you might be able to just give it the bean name
14:10:42 <bwolfe> I'm not sure
14:11:10 <nribeka> wait ... brb :D
14:11:11 <bwolfe> you also might be able to pass something into the criteria to "turn off" lazy loading for that bean
14:11:21 <bwolfe> I'm not sure though, you'll have to check the javadoc for hibernate
14:13:42 <r0bby> sowwy for not coding lately :S
14:19:49 <nribeka> where've you been r0bby :D
14:27:55 *** njero has joined #openmrs
14:27:55 *** ChanServ sets mode: +v njero
14:33:07 <nribeka> james_regen, 9 seconds to get 10k patient
14:33:18 * nribeka dancing
14:34:19 <james_regen> down from 7 minutes to 9 seconds?
14:34:43 <nribeka> 2008-09-23 15:29:13,836| Patient ID: 4
14:34:51 <nribeka> 2008-09-23 15:29:22,377| Patient ID: 10003
14:35:15 <nribeka> i hope this will speed up everything :D
14:35:40 <james_regen> what did you do, exactly?
14:40:00 <nribeka> Session session = sessionFactory.getCurrentSession();
14:40:00 <nribeka> List l = session.createCriteria(Patient.class).list();
14:40:10 <nribeka> this will list all patient right bwolfe?
14:40:34 <nribeka> and their field values?
14:40:39 <bwolfe> it will give you all patient objects, yea
14:58:50 *** Keelhaul has joined #openmrs
14:58:50 *** ChanServ sets mode: +v Keelhaul
15:04:09 *** james_regen has quit IRC
15:30:54 *** sunbiz has quit IRC
15:34:23 <r0bby> nribeka: school
15:34:38 <nribeka> hahaha
15:34:45 <nribeka> no class today r0bby
15:34:53 <nribeka> how is it going down there?
15:35:05 <nribeka> haven't heard anything from u for a while
15:42:03 <Keelhaul> hmm
15:42:10 <Keelhaul> what concept sync efforts are there currently?
15:43:59 *** bmckown has quit IRC
15:46:42 <Keelhaul> just the OCC?
15:46:46 <Keelhaul> whats the status
15:57:47 <r0bby> (I procrastinate)
16:05:51 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1044 (enhancement created): Clarify answer/question concepts in Obs <http://dev.openmrs.org/ticket/1044> || OpenMRS Modules: Simple Lab Entry 1.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=simplelabentry&version=&1.0>
16:06:03 *** bmckown has joined #openmrs
16:06:03 *** ChanServ sets mode: +o bmckown
16:06:20 <bmckown> serves me right for messing with the firewall. :-\
16:06:40 <Keelhaul> lol
16:06:41 <Keelhaul> waht did you do
16:07:04 <bmckown> experiment with the firewall. I have a hacky wireless card that goes down frequently
16:07:20 <Keelhaul> o
16:07:25 <r0bby> viagra for wifi cards: keeping it up longer
16:07:33 <r0bby> god that was a distasteful joke
16:07:41 <Keelhaul> indeed.
16:08:41 <nribeka> hahaha ...
16:08:42 <nribeka> :D
16:10:10 <r0bby> I could have taken that furthur but i didn't
16:11:00 <nribeka> r0bby, how?
16:11:41 <r0bby> nribeka: just think in th gutter it'll come to you :P
16:12:20 <bwolfe> Keelhaul: there are some modules that are out there now that let you import/export concepts
16:12:33 <Keelhaul> oh
16:12:49 <Keelhaul> bwolfe: are they functional?
16:13:03 <bwolfe> I don't know...I didn't write them. :-)
16:13:07 <Keelhaul> heh
16:13:08 <Keelhaul> lol
16:13:09 <bwolfe> and I haven't used them
16:13:13 <Keelhaul> ok
16:13:20 <Keelhaul> i think i'll disregard them for now
16:14:58 *** atomicturtle has left #openmrs
16:30:21 *** nribeka has quit IRC
16:31:31 <Keelhaul> http://lifehacker.com/399407/how-to-sync-any-desktop-calendar-with-google-calendar
16:31:36 <Keelhaul> does anyone use google calendar
16:31:37 <OpenMRSBot> <http://ln-s.net/2FZV> (at lifehacker.com)
16:36:34 <bwolfe> Keelhaul: yep
16:37:18 <Keelhaul> is it good?
16:37:34 <Keelhaul> i dont trust google much..
16:37:45 <Keelhaul> it stretches its slimy tentacales too far in every direction =/
16:37:51 <Keelhaul> -a
16:38:29 <bwolfe> I like it
16:38:37 <bwolfe> only for transportability
16:38:43 <bwolfe> I sync thunderbird to it
16:38:46 <bwolfe> and my palm to it
16:38:53 <Keelhaul> i have an ical file on my web server via webdav
16:39:01 <bwolfe> so that I can add events from either and both will be up-to-date
16:39:02 <Keelhaul> but i'm not sure my WM device can use trhat
16:39:04 <Keelhaul> havent tried
16:39:37 <bwolfe> and, if my wife ever figured out how to use it, she is authorized to add events to my calendar via the google calendar site...
16:39:55 <bwolfe> however, she still calls me and asks if we have anything, or if I need to put something on the calendar for us
16:39:59 <Keelhaul> lol
16:40:08 <bwolfe> she's not quite geek enough yet. :-)
16:40:12 <Keelhaul> she's authorized to alter your appointments as she pleases
16:47:16 *** TorLye has quit IRC
16:52:26 *** bwolfe has quit IRC
17:19:39 *** bwolfe has joined #openmrs
17:19:40 *** ChanServ sets mode: +o bwolfe
17:25:00 <Keelhaul> bwolfe: ok i just got google calendar to work with my thunderbird
17:25:08 <Keelhaul> not sure how to proceed about the windows mobile though
17:40:42 *** bwolfe_ has joined #openmrs
17:40:42 *** ChanServ sets mode: +o bwolfe_
17:40:53 *** bwolfe has quit IRC
17:43:42 *** bwolfe_ has quit IRC
18:04:50 *** bwolfe_ has joined #openmrs
18:04:50 *** ChanServ sets mode: +o bwolfe_
18:05:09 *** bwolfe_ is now known as bwolfe
18:16:27 *** atomicturtle has joined #openmrs
19:00:25 <Keelhaul> oo lab entry module
19:30:27 *** bmckown has quit IRC
20:28:32 *** bwolfe_ has joined #openmrs
20:28:32 *** ChanServ sets mode: +o bwolfe_
20:39:21 *** bwolfe has quit IRC
20:41:50 *** njero has quit IRC
21:00:01 *** bwolfe_ has quit IRC
21:11:57 *** Keelhaul has quit IRC
21:47:36 *** nribeka has joined #openmrs
21:58:42 *** upul has joined #openmrs
22:13:17 *** njero has joined #openmrs
22:13:17 *** ChanServ sets mode: +v njero
22:21:05 *** [mharrison] has joined #openmrs
22:46:01 *** nribeka has quit IRC
23:52:35 *** njero has quit IRC