00:20:56
|
*** kapten_yuba has joined #openmrs
|
00:21:07
|
*** kapten_yuba has left #openmrs
|
00:26:07
|
*** atomicturtle has quit IRC
|
00:37:49
|
*** Ngref has joined #openmrs
|
00:42:11
|
*** agruetz has quit IRC
|
00:51:48
|
*** nribeka has joined #openmrs
|
01:06:33
|
*** Ngref has quit IRC
|
01:45:45
|
*** Ngref has joined #openmrs
|
02:14:42
|
*** [mharrison] has joined #openmrs
|
02:17:12
|
*** Ngref has quit IRC
|
02:36:00
|
*** atomicturtle has joined #openmrs
|
03:55:54
|
*** bwolfe has quit IRC
|
04:34:02
|
*** [mharrison] has quit IRC
|
05:15:31
|
<OpenMRSBot> Recent updates in the world of openmrs: Hugo Rodrigues: About the Cohort Definition Tool <http://openmrs.blogspot.com/2007/05/about-cohort-definition-tool.html> || Hugo Rodrigues: Cohort Builder status in screenshots <http://openmrs.blogspot.com/2007/08/cohort-builder-status-in-screenshots.html>
|
06:09:30
|
<r0bby> http://www.assembla.com/spaces/sumatra/wiki
|
06:49:52
|
*** njero has joined #openmrs
|
06:49:52
|
*** ChanServ sets mode: +v njero
|
08:21:14
|
*** njero has quit IRC
|
08:55:11
|
*** njero has joined #openmrs
|
08:55:11
|
*** ChanServ sets mode: +v njero
|
09:19:52
|
*** njero has quit IRC
|
09:37:45
|
*** r0bby has quit IRC
|
09:41:26
|
*** r0bby has joined #openmrs
|
09:41:57
|
*** r0bby is now known as Guest12668
|
09:43:00
|
*** njero has joined #openmrs
|
09:43:00
|
*** ChanServ sets mode: +v njero
|
09:59:49
|
*** njero has quit IRC
|
11:54:38
|
*** Echidna has quit IRC
|
11:54:52
|
*** Echidna has joined #openmrs
|
12:35:49
|
*** james_regen has joined #openmrs
|
12:35:49
|
*** ChanServ sets mode: +v james_regen
|
13:16:21
|
*** bwolfe has joined #openmrs
|
13:16:21
|
*** ChanServ sets mode: +o bwolfe
|
13:23:58
|
*** bwolfe has quit IRC
|
13:24:27
|
*** bwolfe has joined #openmrs
|
13:24:27
|
*** ChanServ sets mode: +o bwolfe
|
13:43:01
|
*** bmckown has joined #openmrs
|
13:43:01
|
*** ChanServ sets mode: +o bmckown
|
13:50:42
|
*** bmckown has quit IRC
|
14:05:08
|
*** bmckown has joined #openmrs
|
14:05:08
|
*** ChanServ sets mode: +o bmckown
|
14:12:41
|
*** nribeka1 has joined #openmrs
|
14:29:21
|
*** nribeka has quit IRC
|
14:31:59
|
*** nribeka1 has quit IRC
|
14:32:17
|
*** nribeka has joined #openmrs
|
14:32:18
|
*** nribeka has left #openmrs
|
14:32:21
|
*** nribeka has joined #openmrs
|
14:37:10
|
*** Keelhaul has joined #openmrs
|
14:37:10
|
*** ChanServ sets mode: +v Keelhaul
|
14:40:16
|
<Keelhaul> hi
|
14:48:00
|
<bwolfe> hey Keelhaul, long time no see
|
14:48:09
|
<Keelhaul> yea, been hectic
|
14:48:26
|
<Keelhaul> exmatriculating etc heh
|
14:48:53
|
<Keelhaul> i must say though, writing the thesis was easier than applications D=
|
14:51:58
|
<bwolfe> ha
|
14:52:05
|
<bwolfe> how long is the thesis Keelhaul ?
|
14:52:18
|
<Keelhaul> text is about 70 pages
|
14:52:23
|
<Keelhaul> total 81 or so
|
15:18:25
|
*** atomicturtle has quit IRC
|
15:20:51
|
*** bwolfe_ has joined #openmrs
|
15:20:51
|
*** ChanServ sets mode: +o bwolfe_
|
15:21:02
|
*** bwolfe has quit IRC
|
15:22:46
|
*** bmckown_ has joined #openmrs
|
15:24:39
|
*** bmckown has quit IRC
|
15:48:11
|
<Keelhaul> bwolfe_: do you remember that location hierarchy proposal in the dev list a few days ago
|
15:48:24
|
<Keelhaul> with location parent and child links
|
15:53:20
|
<bwolfe_> yes
|
15:53:29
|
<bwolfe_> I replied to it earlier today Keelhaul
|
15:53:44
|
<Keelhaul> oh i think that's a different one
|
15:53:59
|
<bwolfe_> there were two things that the same guy suggested. I replied to both
|
15:54:14
|
<Keelhaul> oh yea
|
15:54:18
|
<bwolfe_> Keelhaul: tell me you've done it already. ;-)
|
15:54:28
|
<Keelhaul> well, not in a way he proposed
|
15:54:34
|
<Keelhaul> i have 3 new types
|
15:54:50
|
<Keelhaul> location -> department ->specialty -> room
|
15:55:47
|
<bwolfe_> I see
|
15:55:55
|
<bwolfe_> no location.parent_location column ?
|
15:56:13
|
<Keelhaul> no
|
15:56:55
|
<Keelhaul> the location object is mostly untouched
|
15:57:05
|
<Keelhaul> well at least the table
|
15:57:22
|
<Keelhaul> the object has been extended to add .getDepartments() for convenience
|
15:57:30
|
<Keelhaul> but it seems to do more harm than good
|
15:58:04
|
<bwolfe_> Keelhaul: if you had a location hierarchy, would that fix things for you ?
|
15:58:41
|
<Keelhaul> if a location could be child of another location, i dont think it would affect me much
|
15:58:55
|
<bwolfe_> but would it solve your problems ?
|
15:59:03
|
<bwolfe_> you could have a parent location of department
|
15:59:04
|
<Keelhaul> the problem i have with the extended Location object is that it somehow bleeds over to the regular location management functions
|
15:59:22
|
<Keelhaul> so when i try to save it, it says incompatible type
|
15:59:40
|
<Keelhaul> departments have a parent location already
|
16:00:19
|
<Keelhaul> i can do LocationService.getDepartments(locationId)
|
16:00:29
|
<Keelhaul> i just extended the Location object so i could do loc.getDepartments
|
16:00:32
|
<Keelhaul> jsut for that
|
16:00:42
|
<Keelhaul> but it came with a catch
|
16:02:01
|
<bwolfe_> right
|
16:02:03
|
<Keelhaul> http://keelhaul.homeip.net/misc/location_hierarchy.png
|
16:02:07
|
<OpenMRSBot> <http://ln-s.net/2T6E> (at keelhaul.homeip.net)
|
16:02:13
|
<Keelhaul> this is a diagram of my hierarchy
|
16:03:06
|
<bwolfe_> interesting
|
16:03:31
|
<bwolfe_> yeah, if each of those were location objects, you could just use parent_location and a location_type to store them all
|
16:03:44
|
<Keelhaul> yea, but the typing would be rather weak then
|
16:03:58
|
<bwolfe_> typing is overrated :-)
|
16:04:02
|
<Keelhaul> and my Room objects have additional attributes
|
16:04:05
|
<Keelhaul> like bed capacity
|
16:05:05
|
<bwolfe_> hmm
|
16:05:36
|
<Keelhaul> http://keelhaul.homeip.net/misc/openmrs_inpatientcare_manage_rooms.png
|
16:05:39
|
<OpenMRSBot> <http://ln-s.net/2T6F> (at keelhaul.homeip.net)
|
16:06:36
|
<bwolfe_> yeah, for that you might need to extend location
|
16:26:05
|
*** atomicturtle has joined #openmrs
|
16:35:12
|
*** bwolfe_ has quit IRC
|
16:47:36
|
*** bwolfe_ has joined #openmrs
|
16:47:36
|
*** ChanServ sets mode: +o bwolfe_
|
16:48:23
|
*** bmckown_ has quit IRC
|
17:21:47
|
*** Guest12668 has quit IRC
|
17:22:11
|
*** r0bby has joined #openmrs
|
17:22:11
|
*** ChanServ sets mode: +v r0bby
|
17:35:34
|
<r0bby> bwolfe_: i found a JS unit testing framework for groovy would probably integrates with java well last night!
|
17:35:52
|
<r0bby> using invokeMethod() magic to integrate rhino
|
17:36:14
|
*** atomicturtle has left #openmrs
|
17:36:40
|
<r0bby> may be of interest
|
17:37:20
|
<r0bby> http://www.assembla.com/spaces/sumatra/wiki
|
17:37:30
|
<r0bby> http://refactr.com/blog/2008/11/sumatra-javascript-testing-framework-in-groovy/
|
17:37:31
|
*** nribeka has left #openmrs
|
17:37:32
|
<r0bby> :)
|
17:37:34
|
<OpenMRSBot> <http://ln-s.net/2T80> (at refactr.com)
|
17:37:47
|
<r0bby> bwolfe_: if you like it
|
17:37:48
|
<r0bby> :)
|
17:38:09
|
<r0bby> I may use it for testing since i already have groovy wired up using the ant tasks :)
|
17:38:21
|
<r0bby> 90% of my project is groovy
|
17:38:26
|
<r0bby> actually more than that
|
17:38:35
|
<r0bby> I have ONE java class (the Activator)
|
17:39:30
|
<r0bby> :))))
|
17:39:40
|
<r0bby> what do ya think
|
17:40:19
|
*** nribeka has joined #openmrs
|
18:16:20
|
<bwolfe_> r0bby: looks interesting
|
18:16:31
|
<bwolfe_> r0bby: would be really cool to see an example of how it could work with our stuff
|
18:20:23
|
*** Echidna has quit IRC
|
18:21:06
|
*** bwolfe_ is now known as bwolfe
|
18:45:18
|
*** Echidna has joined #openmrs
|
19:17:36
|
<r0bby> bwolfe: i wouldn't be the guy to do it though
|
19:17:50
|
<r0bby> (and really not in the mood to do it, not now =/)
|
19:18:10
|
<bwolfe> :-(
|
19:18:13
|
<r0bby> I'm barely in the mood to do hw lately)
|
19:18:20
|
<bwolfe> if not you, who?
|
19:18:38
|
<bwolfe> oh, well, what better way to put off homework than to help us save the world? :-D
|
19:18:39
|
<r0bby> hrm only people who know groovy is me and burke, and I know how to do things idiomatically
|
19:19:42
|
<r0bby> I fixed burke's examples for his original groovy module to be idiomatic :)
|
19:21:47
|
<bwolfe> I don't know what that means, but good job. :-)
|
19:47:50
|
<r0bby> idiomatic means doing it in a way that the language dictates
|
19:48:11
|
<r0bby> iterating a list for example in groovy is done list.each { ... }
|
19:48:22
|
<r0bby> where each takes a Closure
|
19:48:54
|
<bwolfe> ah, right
|
19:48:56
|
<r0bby> finding an element: list.find { it == 3 }
|
19:49:12
|
<r0bby> will return null if not found, otherwise i believe the element
|
19:51:27
|
<r0bby> groovy gotcha if you do this == whatever in an equals() method it will do some lovely stuff
|
19:51:47
|
<r0bby> this.is(that) will check identity (whether or not references match)
|
19:52:21
|
<r0bby> (I got that when i wrote the equals() for one of the classes in my project
|
20:01:20
|
*** nribeka has quit IRC
|
20:10:42
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Point of Contact near the North East US <http://forum.openmrs.org/viewtopic.php?f=11&t=412#p1439>
|
20:26:39
|
*** nribeka has joined #openmrs
|
21:15:21
|
*** james_regen has quit IRC
|
21:50:16
|
*** jacobb has quit IRC
|
22:07:24
|
*** bwolfe has quit IRC
|
22:23:44
|
*** bwolfe has joined #openmrs
|
22:23:44
|
*** ChanServ sets mode: +o bwolfe
|
22:23:47
|
*** bwolfe has quit IRC
|
23:19:04
|
*** nribeka has quit IRC
|
23:30:16
|
*** nribeka has joined #openmrs
|
23:43:46
|
*** bwolfe has joined #openmrs
|
23:43:46
|
*** ChanServ sets mode: +o bwolfe
|