IRC Chat : 2008-09-30 - OpenMRS

00:12:44 *** njero has quit IRC
00:22:17 *** [mharrison] has joined #openmrs
00:47:59 *** TorLye has quit IRC
03:06:59 *** TorLye has joined #openmrs
03:46:51 *** upul has quit IRC
03:47:13 *** nribeka has quit IRC
03:48:19 *** nribeka has joined #openmrs
03:54:45 *** upul has joined #openmrs
04:06:57 *** Echidna has quit IRC
04:18:26 *** upul has quit IRC
04:18:36 *** Echidna has joined #openmrs
05:34:09 *** Phantal has quit IRC
06:27:46 *** james_regen has joined #openmrs
06:27:46 *** ChanServ sets mode: +v james_regen
07:43:05 *** bwolfe has joined #openmrs
07:43:05 *** ChanServ sets mode: +o bwolfe
07:51:55 *** bmckown has joined #openmrs
07:51:55 *** ChanServ sets mode: +o bmckown
08:12:22 <nribeka> bwolfe, is there a way to get the count of patient in the database?
08:12:31 <nribeka> select count(*) from patient
08:12:42 <nribeka> morning all :D
08:21:18 <bwolfe> nribeka: yes, that works...but that includes voided and dead patients
08:21:52 <nribeka> how can i send the query through openmrs api?
08:21:54 <nribeka> can i?
08:26:29 <bwolfe> Context.getPatientService().getAllPatients();
08:28:28 *** TorLye has quit IRC
08:30:04 <nribeka> i use it but i get out of memory exception :(
08:30:31 <nribeka> when i try list.size() after getAllPatients()
08:32:10 <bwolfe> nribeka: try an interator
08:32:14 <bwolfe> err iterator
08:32:52 <nribeka> iterate over the list to get the size?
08:36:58 <nribeka> i will give it a try
08:38:51 <bwolfe> nribeka: you can write your own hibernate criteria query and tell it to just get the size
08:38:56 <bwolfe> I can't remember the exact syntax though
08:42:32 <nribeka> how can i execute the query bwolfe?
08:43:16 <nribeka> because i don't think i can get the sessionFactory to do getCurrentSession() and then executeQuery(String query)
08:49:22 <bwolfe> you have to execute it at a dao level where you have the sessionFactory
08:52:37 <nribeka> ah ic ic
08:56:52 <nribeka> thanks bwolfe
08:57:23 <nribeka> i will add it in one of the dao :)
09:26:59 *** atomicturtle has joined #openmrs
09:45:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1047 (task created): specimentracking module: phase 2 enhancements <http://dev.openmrs.org/ticket/1047>
10:17:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1048 (enhancement created): Tag to enforce configuration prior to using a page <http://dev.openmrs.org/ticket/1048>
10:40:05 *** TorLye has joined #openmrs
10:50:53 *** nribeka has quit IRC
11:03:42 *** nribeka has joined #openmrs
11:25:15 *** nribeka has quit IRC
11:31:57 *** [mharrison] has quit IRC
11:32:32 *** atomicturtle has quit IRC
11:33:09 *** Phantal has joined #openmrs
11:36:18 *** atomicturtle has joined #openmrs
12:09:23 *** nribeka has joined #openmrs
12:12:45 * r0bby looks around
12:12:59 <nribeka> o/ rob
12:20:03 *** nribeka has quit IRC
12:29:51 *** njero has joined #openmrs
12:29:51 *** ChanServ sets mode: +v njero
12:37:03 *** nribeka has joined #openmrs
12:46:12 *** bmckown has quit IRC
12:59:00 *** njero has quit IRC
12:59:31 *** njero has joined #openmrs
12:59:31 *** ChanServ sets mode: +v njero
12:59:40 *** pearlbear has joined #openmrs
12:59:40 *** ChanServ sets mode: +v pearlbear
13:26:02 *** atomicturtle1 has joined #openmrs
13:26:16 *** bmckown has joined #openmrs
13:26:16 *** ChanServ sets mode: +o bmckown
13:26:33 *** atomicturtle has quit IRC
13:52:13 *** [mharrison] has joined #openmrs
15:00:32 *** james_regen has quit IRC
15:19:52 *** [mharrison] has quit IRC
15:58:08 <nribeka> off
15:58:09 <nribeka> :D
15:58:16 <nribeka> bye all
15:58:30 <nribeka> c ya'll tonight :D
15:58:36 *** nribeka has quit IRC
16:14:23 *** Keelhaul has joined #openmrs
16:14:23 *** ChanServ sets mode: +v Keelhaul
16:14:32 <Keelhaul> hai
16:15:02 <Keelhaul> bwolfe: when listing publications on a reference list, should i put both names' initials for people or just the first name?
16:15:24 <Keelhaul> like Wolfe, B. or Wolfe, B.A.
16:16:19 <njero> Keelhaul: I think generally it is both
16:16:31 <njero> but you should check with the people you are listing
16:16:41 <Keelhaul> lol wat
16:16:49 <Keelhaul> they're like a dozen per paper
16:17:07 <Keelhaul> well they're the same people mostly
16:17:08 <Keelhaul> but stil
16:17:09 <Keelhaul> l
16:19:48 <njero> :D
16:19:49 <bwolfe> Keelhaul: I don't know that it matters too much. I'd go with whatever the other papers do in their references of those people
16:20:21 <Keelhaul> ah ok
16:29:56 <Keelhaul> bwolfe: is there comprehensive documentation for the reporting framework?
16:30:09 <Keelhaul> i found docs for the report template module
16:30:18 <Keelhaul> which seems to be the same as the core stuff
16:39:23 <bwolfe> Keelhaul: I think there is a little more
16:39:28 <bwolfe> but just around the xml part of it
16:39:46 <bwolfe> I don't think anybody has made some real comprehensive stuff yet :-/
16:39:50 <Keelhaul> damn
16:40:00 <Keelhaul> i dont quite understand how it works
16:40:01 <bwolfe> the cohort-report branch should make it easier though
16:40:09 <Keelhaul> you design patterns as xml docs
16:40:15 <Keelhaul> how do you render them
16:40:48 <Keelhaul> when's the branch due?
16:41:02 <bwolfe> its set to be reviewed, then merged...so anytime :-p
16:41:07 <Keelhaul> hm
16:41:15 <Keelhaul> because my thesis is due by the end of the month heh
16:41:24 <Keelhaul> and i need to write how i'm gonna solve the reporting issue
16:41:38 <Keelhaul> (end of october that is)
16:41:42 <Keelhaul> not today
16:43:02 <bwolfe> Keelhaul: you can check out the branch
16:43:15 <bwolfe> its close...it just needs some inline commenting on the jsp pages
16:44:15 <Keelhaul> bwolfe: do the templates support custom data types added by modules?
16:47:20 <bwolfe> Keelhaul: data types like what ?
16:48:15 <Keelhaul> like extended encounter objects
16:48:25 <Keelhaul> or completely new container objects
16:50:26 <njero> bwolfe: do you guys typically see apache used with tomcat in production. Or just tomcat by itself?
16:52:30 <bwolfe> njero: its a tossup. we prefer to use apache in front, pih prefers to use just tomcat
16:52:40 <bwolfe> I've heard it split about 50/50
16:52:52 <njero> but those are generally the two options?
16:53:10 <njero> In Neno, we stuck a proxy (nginx) in front of tomcat and split it off for our app...
16:53:26 <njero> but I am thinking of moving our stuff to apache and trying to get a standard setup going
16:53:54 <bwolfe> Keelhaul: you should be able to because it using a not type sensitive...it uses xml, etc
16:54:58 <Keelhaul> bwolfe: i'll have to try it out then. but templates alone arent enough for rendering the reports though, are they
16:55:33 <njero> bwolfe: do you guys have docs on your standard apache install?
16:55:34 <Keelhaul> njero: i guess an advantage would be that you wont have to use different ports for them
16:55:57 <njero> Keelhaul: true
16:56:56 <bwolfe> Keelhaul: the report-template module depends on using something like excel to render the reports I think. the reporting framework really just gives you a list of patient counts...which is what most reports are
16:57:18 <bwolfe> njero: hmm
16:58:22 <bwolfe> njero: not sure we do. its just a matter of installing mod-jk
16:58:41 <njero> jk = jakarta right/
16:58:44 <njero> ?
16:59:04 <bwolfe> I have no idea
16:59:07 <njero> k
16:59:18 <njero> it is... google :)
16:59:18 <bwolfe> I think its actually mod_jk
16:59:27 <njero> http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html
16:59:34 <OpenMRSBot> <http://ln-s.net/2HDw> (at tomcat.apache.org)
17:00:12 <Keelhaul> how do you restart it when it runs as a mod, when it overflows again
17:00:16 <Keelhaul> restart apache?
17:00:54 <njero> you could probably still just restart it in tomcat... I think it just plugs in and points to tomcat right?
17:02:50 <njero> alright... thanks bwolfe... I will ty to have this working better this evening
17:03:01 <njero> thanks Keelhaul too
17:03:05 *** njero has quit IRC
17:03:30 <bwolfe> Keelhaul: you just restart tomcat as njero said
17:03:41 <bwolfe> Keelhaul: I think mod_jk is just a redirector
17:04:55 <Keelhaul> so it still has its own service/demon?
17:05:39 <Keelhaul> i thought it would be completely dependent on apache, like mod_php
17:21:01 *** njero has joined #openmrs
17:21:01 *** ChanServ sets mode: +v njero
17:25:11 *** bmckown has quit IRC
17:31:53 *** pearlbear has quit IRC
17:37:36 <bwolfe> Keelhaul: yes, tomcat is a separate daemon
17:43:05 *** njero has quit IRC
18:25:20 *** njero has joined #openmrs
18:25:20 *** ChanServ sets mode: +v njero
19:37:44 *** Keelhaul has quit IRC
19:39:58 *** atomicturtle has joined #openmrs
19:47:00 *** atomicturtle1 has quit IRC
21:26:15 *** sgrannis has joined #openmrs
21:58:34 *** upul has joined #openmrs
21:58:59 *** pearlbear has joined #openmrs
21:58:59 *** ChanServ sets mode: +v pearlbear
22:27:42 *** pearlbear has quit IRC
22:35:30 <OpenMRSBot> Recent updates in the world of openmrs: Ben Wolfe: Enable Autofill in Firefox When Autocomplete is Off <http://blog.eflow.org/archives/81> || OpenMRS Forum: Re: auditing and logging in OpenMRS <http://forum.openmrs.org/viewtopic.php?f=23&t=405#p1404> || OpenMRS Forum: auditing and logging in OpenMRS <http://forum.openmrs.org/viewtopic.php?f=23&t=405#p1403>
22:45:01 *** nribeka has joined #openmrs
22:46:11 <nribeka> hi sgrannis
22:46:17 <nribeka> r u still there?
22:50:51 <nribeka> switching to ubuntu
22:50:55 *** nribeka has quit IRC
22:58:15 *** nribeka has joined #openmrs
23:09:02 *** atomicturtle has quit IRC
23:11:46 *** bwolfe has quit IRC
23:27:57 *** sgrannis has quit IRC