00:01:21
|
*** Echidna has joined #openmrs
|
00:08:06
|
*** HongJun has joined #openmrs
|
00:10:46
|
*** gilbert has quit IRC
|
00:11:58
|
*** gilbo1981 has joined #openmrs
|
00:31:25
|
*** nribeka_ has quit IRC
|
00:58:20
|
*** maveriick has joined #openmrs
|
01:03:21
|
*** udai has quit IRC
|
01:48:26
|
*** HongJun has quit IRC
|
01:58:21
|
<maveriick> hi everybody...
|
01:58:31
|
*** Keelhaul has joined #openmrs
|
01:58:31
|
*** ChanServ sets mode: +v Keelhaul
|
01:58:44
|
<maveriick> http://dev.openmrs.org/ticket/516 - is this solved?
|
02:11:07
|
<jmiranda> maveriick: i don't believe so
|
02:12:06
|
<jmiranda> doesn't look like it's been assigned to or accepted by anyone either
|
02:12:12
|
<Keelhaul> jmiranda: is it wise to put a boolean includeVoided in api methods
|
02:12:33
|
<jmiranda> hey Keelhaul
|
02:12:35
|
<Keelhaul> hi
|
02:12:42
|
<jmiranda> in my opinion, no
|
02:12:58
|
<jmiranda> the API methods should not worry about voided
|
02:13:00
|
<Keelhaul> how are you gonna access voided entries then
|
02:13:09
|
<Keelhaul> if no method has that option
|
02:13:12
|
<jmiranda> they should assume that voided entities are deleted
|
02:13:18
|
<Keelhaul> oh
|
02:14:14
|
<Keelhaul> also
|
02:14:42
|
<Keelhaul> lets say i have an object that that contains a list of objects of a different type
|
02:14:52
|
<Keelhaul> similar to encounters containing a list of obs
|
02:15:19
|
<Keelhaul> and i want to load that list during the getObjects api call
|
02:15:36
|
<Keelhaul> should i do that in the service implementation or rather in the hibernate dao implementation
|
02:16:21
|
<jmiranda> we'll need to have some methods that allow includeVoided
|
02:17:05
|
<jmiranda> and actually, we had a lot of discussion on this on a recent conference call (re: API refactoring)
|
02:17:25
|
<jmiranda> http://openmrs.org/wiki/OpenMRS_API_Service_Template
|
02:17:25
|
<OpenMRSBot> <http://ln-s.net/1l:8> (at openmrs.org)
|
02:17:59
|
<jmiranda> the only method that allow the includeVoided (and also includeRetired) is getAllThings()
|
02:18:06
|
<Keelhaul> hm
|
02:18:33
|
<Keelhaul> was that ThingService table there last night
|
02:18:36
|
<jmiranda> getThingsBySomething() should not (again in my opinion) allow voided objects to be returned
|
02:18:37
|
<Keelhaul> i dont recall seeing it =oi
|
02:18:58
|
<jmiranda> http://openmrs.org/index.php?title=OpenMRS_API_Service_Template&action=history
|
02:19:06
|
<OpenMRSBot> <http://ln-s.net/1lH2> (at openmrs.org)
|
02:19:11
|
<jmiranda> it was added yesterday :)
|
02:19:35
|
<Keelhaul> hm i last checked it.. 8h ago
|
02:19:41
|
<jmiranda> (or tonight, depending on where you are)
|
02:20:03
|
<Keelhaul> is OpenmrsService in trunk
|
02:20:08
|
<Keelhaul> or only api refactoring
|
02:21:45
|
<jmiranda> yeah, for now it's only in api refactoring
|
02:22:27
|
<Keelhaul> ok
|
02:22:33
|
<jmiranda> we have a bit more work to do before it's merged into trunk
|
02:22:35
|
<Keelhaul> where's @Authorized declared
|
02:23:42
|
<jmiranda> it's an AOP annotation, defined in the spring app context, Authorized class defined under org.openmrs.aop (i think)
|
02:24:25
|
<jmiranda> correction: AuthorizationAdvice is the name of the class
|
02:24:53
|
*** njero has joined #openmrs
|
02:24:54
|
*** ChanServ sets mode: +v njero
|
02:26:54
|
<Keelhaul> thx
|
02:26:58
|
<Keelhaul> um
|
02:27:04
|
<Keelhaul> whats the difference between delete and purge
|
02:27:12
|
<Keelhaul> ah deprecated
|
02:42:17
|
<r0bby> Keelhaul: what are you working on?
|
02:42:42
|
<Keelhaul> a module that allows inpatient care expression
|
02:42:55
|
<r0bby> erm pardon?
|
02:43:13
|
<Keelhaul> like if you have to stay at the hospital for a few days
|
02:43:43
|
<Keelhaul> currently, encounters can only express discrete moments of interaction
|
02:44:25
|
<njero> Keelhaul: how would that change?
|
02:45:13
|
<Keelhaul> ?
|
02:46:00
|
<njero> Keelhaul: even if you are at a hospital as inpatient how would you change the way encounters are used?
|
02:46:21
|
<Keelhaul> i made encounters have a hiearchy
|
02:46:28
|
<Keelhaul> and a second datetime field
|
02:46:45
|
<maveriick> jmiranda: I think its a fairly simple bug....
|
02:46:54
|
<njero> Keelhaul: interesting
|
02:46:56
|
<Keelhaul> this way you can have an encounter to express your inpatient stay, and child encounters that staff visits during your stay etc
|
02:46:59
|
<maveriick> jmiranda: http://dev.openmrs.org/ticket/516
|
02:47:07
|
<Keelhaul> for*
|
02:47:50
|
<njero> Keelhaul: we have talked about something like a Visit to capture groups of encounters. Do you find that you need to nest more than one level deep?
|
02:48:23
|
<Keelhaul> so far, no
|
02:48:34
|
<jmiranda> maveriick: yes, i think you're probably correct
|
02:49:12
|
<Keelhaul> jmiranda: i included AuthorizatioAdvice, @Authorized is still no recognized
|
02:49:15
|
<Keelhaul> did you recently add it?
|
02:49:19
|
<njero> For the start and stop times we still use the encounter_datetime (which we use to signify the start of the encounter) and then there is usually a specific encounter type or observation (like outcome) that signifies the ends... this keeps us from double describing
|
02:49:36
|
<jmiranda> no, it's been around for a while now
|
02:49:46
|
<Keelhaul> njero: whos we
|
02:49:55
|
<njero> Baobab Health
|
02:50:03
|
<maveriick> jmiranda: Why its not get fixed though? as there are more priority's?
|
02:50:16
|
<njero> we have a Ruby on Rails branch of the software that uses the same data model with slightly different conventions
|
02:50:34
|
<Keelhaul> oh
|
02:50:35
|
<njero> Basically we steal all of the Java ideas and pretend we invented them ;)
|
02:50:44
|
<Keelhaul> hehe
|
02:50:59
|
<Keelhaul> never checked ruby out
|
02:51:06
|
<Keelhaul> is it really so great?
|
02:51:19
|
<njero> It is way better than Java^w^w^w is nice to use
|
02:51:23
|
<jmiranda> maveriick: yeah, we're all working on numerous other features
|
02:51:37
|
<jmiranda> and refactorings
|
02:51:46
|
<jmiranda> but i'll take a look
|
02:51:51
|
<njero> ;)
|
02:51:53
|
<jmiranda> just put it down on my todo list
|
02:52:30
|
<jmiranda> njero: stop spreading lies again :)
|
02:52:36
|
<njero> heh
|
02:52:50
|
<jmiranda> you sound like our president
|
02:53:28
|
<jmiranda> Keelhaul: where are you using @Authorized?
|
02:53:57
|
<njero> What do you mean by "our" :D
|
02:53:58
|
<Keelhaul> ThingService =)
|
02:54:30
|
<Keelhaul> Authorized cannot be resolved to a type
|
02:54:50
|
<jmiranda> njero: sorry, forgot you were an ex-pat
|
02:54:52
|
<maveriick> jmiranda: Can I submit a patch for that?
|
02:55:01
|
<jmiranda> maveriick: sure, please do!
|
02:55:46
|
<jmiranda> once you upload the patch to the ticket, assign the ticket to me and i'll work on getting it into trunk
|
02:55:49
|
<r0bby> Keelhaul: ah :)
|
02:56:15
|
<r0bby> I really do hope to at some pt (hopefully after soc) come on as a full developer
|
02:56:41
|
<r0bby> ...these sleep patterns aren't healthy
|
02:56:45
|
<r0bby> Wed Apr 2 04:56:45 EDT 2008
|
02:57:18
|
<jmiranda> Keelhaul: sorry, forgot about the annotation class org.openmrs.annotation.Authorized
|
02:57:29
|
<Keelhaul> oh
|
02:57:30
|
<jmiranda> import that interface
|
02:57:32
|
<Keelhaul> do i need both?
|
02:57:34
|
<jmiranda> sorry
|
02:57:43
|
<jmiranda> you need to import that
|
02:57:53
|
<jmiranda> the implementation (the advice) is the other class
|
02:58:36
|
<Keelhaul> ok thx
|
02:59:40
|
<r0bby> Keelhaul: use an IDE -- this should care of things for you =)
|
03:00:45
|
<Keelhaul> i use eclipse
|
03:05:56
|
<r0bby> i use IDEA =)
|
03:10:21
|
<jmiranda> alright, i'll talk to y'all in the morning
|
03:14:55
|
<maveriick> jmiranda : how do I attach a patch to a ticket?
|
03:17:48
|
<maveriick> anybody else here know ....how to attach a patch with an existing ticket?
|
03:22:15
|
<Keelhaul> gnite thne
|
03:58:47
|
*** gilbo1981 has quit IRC
|
04:58:16
|
<maveriick> jmiranda: I sent you an email.
|
05:19:00
|
*** upul has quit IRC
|
05:22:08
|
*** ime has joined #openmrs
|
05:23:55
|
<ime> hello
|
05:27:35
|
*** ime has quit IRC
|
05:37:32
|
*** atomicturtle has joined #openmrs
|
05:53:12
|
*** njero has quit IRC
|
05:59:32
|
*** ime has joined #openmrs
|
06:24:22
|
*** ime has quit IRC
|
06:29:57
|
*** bwolfe has joined #openmrs
|
06:29:57
|
*** OpenMRSBot sets mode: +o bwolfe
|
06:29:57
|
*** ChanServ sets mode: +o bwolfe
|
06:29:58
|
<OpenMRSBot> Hey there Ben!
|
06:30:30
|
<maveriick> hi bwolfe
|
06:31:07
|
<bwolfe> hey masonf
|
06:31:10
|
<bwolfe> grrr
|
06:31:13
|
<bwolfe> hey maveriick
|
06:31:35
|
<bwolfe> its incredibly inconvenient when two nicks share the same first two letters :-p
|
06:32:10
|
<bwolfe> we should institute a policy of "everyone must choose a nickname starting with a different character from everyone else in #openmrs if possible" :-D
|
06:32:11
|
<maveriick> Yould u suggest to change one's? ;-)
|
06:32:16
|
<maveriick> *would
|
06:32:34
|
*** bwolfe is now known as xbwolfe
|
06:32:39
|
<xbwolfe> :-)
|
06:32:56
|
<xbwolfe> ...although there are no other "b"s in here right now
|
06:34:20
|
<maveriick> And there might be some x... coming in this channel near future
|
06:38:56
|
*** xbwolfe is now known as bwolfe
|
06:39:54
|
*** Keelhaul has quit IRC
|
07:25:50
|
*** nribeka has joined #openmrs
|
07:44:57
|
*** njero has joined #openmrs
|
07:45:16
|
*** ChanServ sets mode: +v njero
|
07:50:53
|
*** bmckown has joined #openmrs
|
07:50:53
|
*** ChanServ sets mode: +o bmckown
|
07:52:44
|
*** sandor has joined #openmrs
|
07:58:05
|
<maveriick> bwolfe, bmckown : hi
|
07:58:45
|
<bmckown> hi, maveriick
|
08:00:32
|
<maveriick> I have submitted an app for patient portrait support .... will it be justified to also apply for another openMRS project which interests me like patient note writer?
|
08:00:49
|
<bwolfe> go for it maveriick
|
08:01:04
|
<bwolfe> just make a note in the other app that you've done so...just in case we miss it
|
08:03:48
|
<maveriick> Ok, thanks.
|
08:04:52
|
*** Wiss has joined #openmrs
|
08:15:18
|
*** sandor has quit IRC
|
08:16:46
|
*** sandor has joined #openmrs
|
08:30:50
|
<maveriick> bmckown: Its not clearl to me what you meant by -- "designed in a way that its readily available to integrate" for patient note writer proposal
|
08:36:29
|
<OpenMRSBot> Recent updates in the world of openmrs: Ime Asangansi: Archetypes? Subforms? <http://asangansi.blogspot.com/2008/04/archetypes-subforms.html>
|
08:40:41
|
*** rmalla has joined #openmrs
|
08:41:03
|
*** rmalla has left #openmrs
|
08:43:20
|
*** rmall1 has joined #openmrs
|
08:44:48
|
<bmckown> maveriick, I cannot remember when/where I said "designed in a way that its readily available to integrate" for patient note writer proposal. Can you help remind me? Did I actually say that?
|
08:46:08
|
*** rmall1 has left #openmrs
|
08:46:54
|
*** rmalla has joined #openmrs
|
08:48:23
|
<maveriick> bmckown, Sorry I distorted the proposal writing a bit..... its written as - "Should be designed in such a manner that it could be re-used for other situations where rich text observations are needed"
|
08:49:34
|
<maveriick> bmckown: As FckEditor can be integrated in Spring, all we need to do is add a field to command object and inseritng the corresponding widget in view layer for reuse.
|
08:50:58
|
<bmckown> what's wrong with my tab completion?
|
08:52:45
|
<jmiranda> maveriick, bmckown: i think maverick is talking about the project proposal for note writer
|
08:53:02
|
<bmckown> In short maveriick, we are looking at having complex obs support in OpenMRS. I Think what is meant there (I didn't write it myself) is that we would like the patient note writer to take that into consideration.
|
08:53:04
|
<jmiranda> however, i think burke or paul wrote that project abstract
|
08:53:10
|
<bmckown> ... because
|
08:53:37
|
<bmckown> ... there are other types of complex obs that will also need to be supported, i.e. images, etc.
|
08:53:45
|
<bmckown> thanks jmiranda
|
08:54:25
|
<bwolfe> bmckown: are the notes not being stored in the note table?
|
08:54:33
|
* bwolfe goes to read the project desc for note writer
|
08:54:38
|
<bwolfe> !projects
|
08:54:38
|
<OpenMRSBot> bwolfe: "projects" --- OpenMRS Projects: http://projects.openmrs.org
|
08:54:41
|
<bmckown> That's funny. Every time I type m and then tab I get:
|
08:54:49
|
<bmckown> Sorry about that.
|
08:55:36
|
<bwolfe> you get a blank?
|
08:55:42
|
<bwolfe> I'm confused
|
08:55:50
|
*** TorLye has joined #openmrs
|
08:56:23
|
<bmckown> I could not tell what shows up for everyone else and what shows up for me. I get two suggested names. Just that I thought they were showing up for everyone.
|
08:56:39
|
<bmckown> hmm. xchat. maybe I need a different client.
|
08:56:43
|
<bwolfe> hmm, well, we'll need to clear this up with burke/paul. we have a note table...why are they suggesting it go in complex obs?
|
08:56:50
|
<bwolfe> bmckown: nope, they only show up for you
|
08:57:01
|
<bwolfe> you can tab through them
|
08:57:16
|
<bwolfe> just type m<tab><tab> to get maveriick's nick :-)
|
08:57:28
|
<bmckown> thanks. Yes, I'm not sure in this situation whether we plan to have the patient note writer show up as a complex obs or as a note.
|
08:57:39
|
<bwolfe> ....or you can do what I do and just always respond to maveriick with masonf (because masonf comes up first with ma<tab> :-/)
|
08:58:20
|
*** maveriick has quit IRC
|
08:58:51
|
<bmckown> Yes but I type b<tab> and get bmckown bwolfe and that's it. Cannot tab complete. It just keeps reentering bmckown bwolfe
|
08:59:09
|
<bmckown> anyway. anomaly.
|
08:59:15
|
<bwolfe> odd
|
08:59:25
|
<bwolfe> xchat-gnome or straight up xchat?
|
08:59:25
|
<rmalla> hi ben
|
08:59:30
|
<bwolfe> hey rmalla !
|
08:59:43
|
<rmalla> I was just about to type you a mail
|
08:59:44
|
<bwolfe> we finally are on at the same time :-)
|
08:59:48
|
<bmckown> xchat-gnome 0.18
|
09:00:01
|
<rmalla> yeah. I have a quick question
|
09:00:19
|
<rmalla> I decided that if I have to catch you, I need to wake up early :)
|
09:00:49
|
<bwolfe> bmckown: ah...I've found xchat-gnome to be subpar. I switched to xchat...same integration with gnome, except that it allows me to see the user list on the side instead of as a popup. :-)
|
09:00:57
|
*** maveriick has joined #openmrs
|
09:01:05
|
<maveriick> sorry I got an accidental reboot :-(
|
09:01:15
|
<bwolfe> rmalla: early?? :-) aren't you back in the US now?
|
09:01:46
|
<rmalla> yes I am on the west coast it is 8 AM
|
09:02:22
|
<rmalla> I am implementing the MRNGen module, and as per your advice I implemented a
|
09:02:34
|
<rmalla> PatientServieAroundAdvisor
|
09:03:06
|
<rmalla> It works fine with oldMRN identification number but with the Open MRS ID
|
09:03:21
|
<rmalla> it is failing as it is checking for checkdigit
|
09:03:49
|
<rmalla> before invoking the PatientService (in the NewPatientFormController)
|
09:04:05
|
*** bmckown_ has joined #openmrs
|
09:04:39
|
<bmckown_> Sweet. Good-bye Xchat-gnome
|
09:04:53
|
*** bmckown has quit IRC
|
09:05:13
|
*** njero has quit IRC
|
09:06:31
|
*** bmckown_ is now known as bmckown
|
09:06:54
|
*** ChanServ sets mode: +o bmckown
|
09:07:19
|
<bwolfe> rmalla: hmm
|
09:07:40
|
<bwolfe> so when doing the auto-assign for an identifierType that requires a check digit it fails?
|
09:08:05
|
<bmckown> tab completion works much better in xchat than in xchat-gnome.
|
09:08:33
|
<bwolfe> the auto-assign feature should be generating a valid check digit in your AroundAdvisor before going on to the normal patientservice
|
09:08:44
|
<bwolfe> rmalla: ...or is it failing in the controller??
|
09:08:58
|
<rmalla> But the check digit is being checked in the controller
|
09:09:16
|
<rmalla> before our advisor is called
|
09:09:18
|
<bwolfe> bmckown: see there, some unsolicited advice from me that was a benefit ;-)
|
09:09:43
|
<bmckown> that's 1.
|
09:09:53
|
<bmckown> hehe
|
09:10:06
|
<bwolfe> rmalla: hmm, yes, thats a problem we should fix. the controller shouldn't be doing all of that
|
09:10:22
|
<bwolfe> rmalla: the quick workaround is to give your temporary string a valid check digit :-)
|
09:10:37
|
<maveriick> bwolfe: about complex_obs ....I guess patient portrait is not a paitent observation ...so should it be in complex_obs ...
|
09:10:49
|
<rmalla> bwolfe: yes that was what I was wondering
|
09:11:05
|
<bwolfe> !refer rmalla [checkdigit]
|
09:11:05
|
* OpenMRSBot refers rmalla to "checkdigit" --- http://openmrs.org/wiki/Check_Digit_Algorithm
|
09:11:52
|
<bwolfe> maveriick: I think we're going to put patient portraits into the person attribute table
|
09:12:20
|
<bwolfe> maveriick: personAttributes are a way for an implementation to essentially add columns to the person (and hence patient) table
|
09:13:07
|
<bwolfe> maveriick: some implementations want to collect "phone number"...some want to collect "ten cell leader"...some want to collect "preferred shoe color"
|
09:13:29
|
<rmalla> bwolfe: TEMPID_NEEDS_TO_REPLACE-2
|
09:13:40
|
<rmalla> bwolfe: we can use that ID
|
09:13:45
|
<bwolfe> rmalla: yep, something like that.
|
09:14:08
|
<bwolfe> rmalla: it doesn't really matter what string you use because no one will see it except for your code :-)
|
09:14:27
|
<bwolfe> bmckown: xchat-gnome is one example of a bad fork
|
09:14:41
|
<bmckown> yes.
|
09:15:13
|
<maveriick> bmckown, bwolfe: Yup, thats fine. Another thing complex_value of complex_obs has type longtext ...shouldn't it be blob type for storing like image data?
|
09:15:32
|
<rmalla> bwolfe: that works, but I need to populate the textbox with this String
|
09:15:43
|
<rmalla> bwolfe: hence it will show up
|
09:15:52
|
<rmalla> bwolfe: on the front screen
|
09:15:58
|
<bmckown> Well, maveriick that is subject to change.
|
09:16:16
|
<rmalla> bwolfe: otherwise the controller complains of missing value
|
09:16:25
|
<bwolfe> rmalla: hmm, I was thinking you could use a "type=hidden" in that case...but a first pass can be visible I guess
|
09:16:51
|
<bmckown> Before GSoC begins, the complex_obs table will be gone and obs.value_complex will be a uri
|
09:17:01
|
<bmckown> ticket is ...
|
09:17:42
|
<rmalla> bwolfe: then I have to change the existing textbox code, I am not sure whether u want me to do that
|
09:17:46
|
<bmckown> http://dev.openmrs.org/ticket/656
|
09:19:06
|
<bwolfe> rmalla: I'll have to see your implementation. how you're doing it is fine for now
|
09:20:04
|
<rmalla> ok, I will forward you the omod, and maybe u can deploy it on your machine
|
09:21:02
|
<maveriick> bmckown: then storing notes in notes table is sufficient...
|
09:21:06
|
<rmalla> bwolfe: another question, how would I add the changes I made to the newpatientform.jsp part of the omod?
|
09:22:53
|
<bwolfe> rmalla: you can only modify current jsps through extension points
|
09:22:59
|
<bwolfe> !refer rmalla [extensionpoints]
|
09:22:59
|
* OpenMRSBot refers rmalla to "extensionpoints" --- http://openmrs.org/wiki/Module_Extension_Points
|
09:23:18
|
<bwolfe> rmalla: we'll need to add some extension points to that newPatientForm.jsp page that you can hook onto
|
09:23:33
|
<rmalla> bwolfe: yes I did that
|
09:23:44
|
<bmckown> The idea of obs.value complex is to store something of any type into the file system, or wherever else the uri points to. That is not to say we couldn't store notes in the notes table. That may be better or maybe be able to store notes either way.
|
09:23:52
|
<bmckown> That's not much of an answer I know.
|
09:24:41
|
<rmalla> bwolfe: and then how do I distriute the newpatientform.jsp with the extension points in the omod?
|
09:25:13
|
<bmckown> 'note' table that is.
|
09:25:30
|
<bwolfe> rmalla: ah, excellent! we'll need to add those extension points to core then
|
09:25:56
|
<bwolfe> rmalla: you can create a ticket that asks for those to be added. attach a patch file
|
09:26:04
|
<bwolfe> !newticket
|
09:26:04
|
<OpenMRSBot> bwolfe: "newticket" --- You can create a new bug or enhancement request here: http://dev.openmrs.org/newticket
|
09:26:06
|
<bmckown> And if we store them in the note table, you are right, there could be an argument for having note.text be a blob instead of text.
|
09:26:28
|
<rmalla> bwolfe: got it
|
09:28:38
|
<maveriick> bmckown: blob or longtext?
|
09:30:01
|
<bmckown> Can you store an image in longtext?
|
09:31:03
|
<bmckown> Actually, it still seems that having implemented the changes to complex obs, it would be much easier to store the note in obs.value_complex as a uri.
|
09:31:23
|
<bmckown> Then it is irrelevant what format the note takes and what it's contents are.
|
09:32:11
|
<bmckown> The issue then is not how it is stored, but how it will be rendered.
|
09:36:05
|
<rmalla> bwolfe: ok ben, I will make the necessary changes, and will keep u posted.
|
09:36:10
|
<rmalla> bwolfe: bye
|
09:36:23
|
*** rmalla has left #openmrs
|
09:37:41
|
<maveriick> bmckown, sorry I forgot about images ....
|
09:38:18
|
<bmckown> sure
|
09:38:27
|
<bmckown> i mean. that's okay.
|
09:46:19
|
*** burke has joined #openmrs
|
09:46:19
|
*** ChanServ sets mode: +o burke
|
09:49:06
|
*** Val`hw` has joined #openmrs
|
09:54:49
|
*** Wiss has quit IRC
|
09:57:56
|
*** Wiss has joined #openmrs
|
09:58:30
|
*** maveriick has quit IRC
|
10:02:04
|
*** Wiss has quit IRC
|
10:03:54
|
*** Wiss has joined #openmrs
|
10:04:07
|
*** Ngref has quit IRC
|
10:08:55
|
*** sandor has quit IRC
|
10:09:11
|
*** openmrs_3404 has joined #openmrs
|
10:10:27
|
*** openmrs_3404 has quit IRC
|
10:29:22
|
*** nribeka has quit IRC
|
10:30:40
|
*** burke has quit IRC
|
10:33:26
|
*** burke has joined #openmrs
|
10:33:26
|
*** ChanServ sets mode: +o burke
|
10:34:15
|
*** ekrub has joined #openmrs
|
10:34:15
|
*** ChanServ sets mode: +o ekrub
|
10:34:48
|
*** burke has quit IRC
|
10:34:51
|
*** ekrub is now known as burke
|
10:35:02
|
*** burke is now known as burke_openmrs
|
10:35:33
|
*** burke_openmrs is now known as burke
|
10:36:58
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #663 (task created): Remove Java 6 dependency in report xml macro handling <http://dev.openmrs.org/ticket/663>
|
10:57:47
|
*** nribeka has joined #openmrs
|
10:59:31
|
*** atomicturtle has quit IRC
|
11:01:08
|
*** Echidna_ has joined #openmrs
|
11:01:14
|
*** Echidna has quit IRC
|
11:01:14
|
*** pombreda has quit IRC
|
11:01:50
|
*** jmiranda has quit IRC
|
11:07:04
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #658 (enhancement closed): project name fixes <http://dev.openmrs.org/ticket/658#comment:5>
|
11:12:25
|
*** njero has joined #openmrs
|
11:12:38
|
*** ChanServ sets mode: +v njero
|
11:18:21
|
*** njero has quit IRC
|
11:19:55
|
*** njero has joined #openmrs
|
11:19:55
|
*** ChanServ sets mode: +v njero
|
11:20:39
|
*** nribeka has quit IRC
|
11:20:48
|
*** otoscano has joined #openmrs
|
11:21:12
|
*** nribeka has joined #openmrs
|
11:21:17
|
*** otoscano has quit IRC
|
11:23:55
|
*** bmckown has quit IRC
|
11:24:17
|
*** udai has joined #openmrs
|
11:27:21
|
*** pombreda has joined #openmrs
|
11:27:21
|
*** ChanServ sets mode: +v pombreda
|
11:43:35
|
*** burke has quit IRC
|
11:43:43
|
*** burke has joined #openmrs
|
11:43:43
|
*** ChanServ sets mode: +o burke
|
12:04:03
|
*** burke has quit IRC
|
12:07:48
|
*** docpaul has quit IRC
|
12:08:29
|
*** docpaul has joined #openmrs
|
12:08:29
|
*** ChanServ sets mode: +o docpaul
|
12:13:33
|
*** bmckown has joined #openmrs
|
12:13:33
|
*** ChanServ sets mode: +o bmckown
|
12:14:44
|
*** burke has joined #openmrs
|
12:14:45
|
*** ChanServ sets mode: +o burke
|
12:15:46
|
*** docpaul_ has joined #openmrs
|
12:27:54
|
*** Wiss has quit IRC
|
12:32:48
|
*** docpaul has quit IRC
|
12:57:22
|
<udai> hi
|
12:57:49
|
<bwolfe> hey
|
13:04:34
|
<udai> bwolfe:how r u?
|
13:04:55
|
<bwolfe> doing well
|
13:04:56
|
<bwolfe> you?
|
13:06:24
|
<udai> bwolfe:Can I discuss about my application status with you if you have no issue
|
13:06:24
|
<udai> I am fine :)
|
13:06:55
|
<bwolfe> everybody's application status is "pending"
|
13:06:56
|
<bwolfe> :-)
|
13:07:03
|
<bwolfe> we haven't done our full review yet
|
13:07:07
|
<bwolfe> and won't until next week
|
13:11:06
|
*** udai has quit IRC
|
13:11:06
|
*** Val`hw` has quit IRC
|
13:14:31
|
*** udai has joined #openmrs
|
13:14:31
|
*** Val`hw` has joined #openmrs
|
13:14:48
|
*** udai has quit IRC
|
13:19:45
|
*** udai has joined #openmrs
|
13:36:21
|
*** Keelhaul has joined #openmrs
|
13:36:21
|
*** ChanServ sets mode: +v Keelhaul
|
13:37:50
|
<Keelhaul> http://www.youtube.com/watch?v=KyLqUf4cdwc
|
13:37:55
|
*** burke is now known as burke_openmrs
|
13:42:35
|
<burke_openmrs> ROTF!!! :D very funny
|
13:44:14
|
<bwolfe> ahahaha
|
13:44:28
|
<bwolfe> it was doing very well the first minute or so
|
13:45:01
|
<burke_openmrs> "press capital N" ... M
|
13:49:16
|
<bwolfe> at some point it seems to be making up words for him
|
13:49:41
|
<bwolfe> he's not even muttering some of the words under his breath and they appear
|
13:50:07
|
<burke_openmrs> some of the deletion and selection seems to happen before he gets the words out
|
13:51:31
|
<bwolfe> result: obviously perl is not considered "speech" or "language" :-)
|
13:52:08
|
<bwolfe> pretty amazing
|
13:52:25
|
<bwolfe> thanks Keelhaul :-)
|
13:52:36
|
<Keelhaul> i wish it worked better =/
|
13:52:45
|
<bwolfe> nice diversion. hope my boss doesn't find out I watched it...
|
13:52:49
|
<Keelhaul> i need something like that for my robot army
|
13:53:07
|
<bwolfe> as long as you don't speak perl code at them, its probably fine :-)
|
13:53:14
|
<Keelhaul> lol
|
13:56:17
|
<bwolfe> I've always wanted to code via speech. I think the best language to do that in would be python. perl is probably one of the hardest
|
14:03:44
|
<burke_openmrs> Everyone wants to code via speech until they actually try it.
|
14:03:55
|
<burke_openmrs> one mouth != ten fingers
|
14:04:17
|
<burke_openmrs> we need thought recognition
|
14:04:57
|
<bwolfe> even better, we need "intent recognition"
|
14:05:29
|
<bwolfe> I say: "fix the openmrs api"...and bam! its done
|
14:07:44
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #662 (defect closed): HibernatePatientSetDAO method getPatientAttributes shouldn't return a voided attributes <http://dev.openmrs.org/ticket/662#comment:4>
|
14:28:05
|
<r0bby> bmckown: ping
|
14:28:32
|
<bmckown> Hi, r0bby
|
14:28:35
|
<Keelhaul> whats are the criteria methods in hibernate for ">=" and "<="?
|
14:29:32
|
<bmckown> criteria.add(Expression.get("value_numeric", 100)
|
14:29:41
|
<bmckown> I think. Let me double check.
|
14:29:43
|
<bwolfe> gt
|
14:29:50
|
<bwolfe> close bmckown :-)
|
14:29:51
|
<bmckown> criteria.add(Expression.gt("value_numeric", 100)
|
14:29:55
|
<bwolfe> yep
|
14:30:01
|
<bmckown> criteria.add(Expression.lt("value_numeric", 100)
|
14:30:04
|
<Keelhaul> ah thx
|
14:30:11
|
<bmckown> No but he said >= bwolfe
|
14:30:14
|
<Keelhaul> oh
|
14:30:15
|
<Keelhaul> hm
|
14:30:16
|
<Keelhaul> yea
|
14:30:47
|
<r0bby> bmckown: have you tried dual heads (spanning) on hardy heron?
|
14:30:54
|
<Keelhaul> ge/le?
|
14:31:23
|
<r0bby> greater than or equal to and you get the other.
|
14:31:40
|
<r0bby> greater than*
|
14:31:45
|
<Keelhaul> i think ge means greater or equal
|
14:32:01
|
<r0bby> Keelhaul: do you know x86 assembly?
|
14:32:07
|
<Keelhaul> lol noes
|
14:32:11
|
*** Wiss has joined #openmrs
|
14:32:38
|
<r0bby> well if you did one of the conditional jumps: jge jle jg jl
|
14:32:52
|
<r0bby> those are used to test conditions
|
14:33:19
|
<bwolfe> Keelhaul: yes, ge/le
|
14:33:23
|
<r0bby> (not having working kwnowledge of the code; just going w/ my asm experience; i'd say i'm pretty close)
|
14:34:05
|
<bmckown> r0bby, you mean dual monitors? no I haven't
|
14:35:17
|
<r0bby> bmckown: same concept :)
|
14:35:28
|
<r0bby> thanks
|
14:35:33
|
<r0bby> there's an annoying bug
|
14:35:42
|
<bmckown> criteria.add(Expression.ge("value_numeric", 100)
|
14:35:44
|
<r0bby> where i can't switch CRT/LCD
|
14:36:12
|
<r0bby> what sucks worse if i can't even code asm anymore :< (least not w/ what i know :<
|
14:36:12
|
<bmckown> You cannot switch crt/lcd on gutsy?
|
14:36:21
|
<r0bby> I'm using hardy now.
|
14:36:30
|
<r0bby> I upgraded specifically for this.
|
14:36:35
|
<r0bby> on gutsy i could.
|
14:36:44
|
<bmckown> Okay. Cool. Hmm. That sucks.
|
14:37:54
|
<bmckown> Anyhow Keelhaul is right. It is ge and le
|
14:41:10
|
<r0bby> I have a headache
|
14:41:15
|
<r0bby> this is getting bafd
|
14:42:47
|
<r0bby> Delivered NEW WINDSOR NY 12553 04/02/08 11:36am
|
14:42:50
|
<r0bby> YESSSSSSSSSS!!!!
|
14:43:11
|
* r0bby will finally begin fiddling
|
14:45:50
|
<napi> what is it? :o
|
14:46:56
|
<r0bby> napi: Books
|
14:46:57
|
<r0bby> :>
|
14:48:30
|
<r0bby> mostly stuff i should prolly know for SOC
|
14:48:37
|
<r0bby> and stuff i've been wanting :D
|
14:49:00
|
<r0bby> Groovy/Grails (Grails Esp.) is popping up left and right in the industry
|
14:49:29
|
<r0bby> it's a rapid way to write a webapp and deploy it quickly
|
14:49:54
|
* napi adds it to list of summer reading
|
14:52:05
|
<r0bby> napi: it's just a cool language overall
|
14:52:13
|
<r0bby> just stay away from my project :<
|
14:52:48
|
<napi> haha don't panic
|
14:53:12
|
<napi> i got half a dozen projects to start working through after a I graduate-no less than half of them are web app orientated in some respect
|
14:55:16
|
* r0bby retracts claws
|
14:56:09
|
<r0bby> http://mybawx.org/web/uml.png
|
14:56:29
|
<r0bby> that's the uml dependency diagram of my domain classes for this grails app im writing
|
15:01:09
|
<Keelhaul> whats the difference between Expression and Restriction?
|
15:15:51
|
*** nribeka has quit IRC
|
15:25:55
|
*** njero has quit IRC
|
15:41:32
|
*** Val`hw` has quit IRC
|
15:41:32
|
*** bmckown has quit IRC
|
15:41:32
|
*** TorLye has quit IRC
|
15:41:32
|
*** elad has quit IRC
|
15:41:32
|
*** Keelhaul has quit IRC
|
15:41:32
|
*** docpaul_ has quit IRC
|
15:41:32
|
*** masonf has quit IRC
|
15:41:32
|
*** Wiss has quit IRC
|
15:41:32
|
*** sior|away has quit IRC
|
15:41:32
|
*** udai has quit IRC
|
15:41:32
|
*** pombreda has quit IRC
|
15:41:32
|
*** r0bby has quit IRC
|
15:41:32
|
*** Feez has quit IRC
|
15:41:32
|
*** Echidna_ has quit IRC
|
15:43:47
|
*** bmckown has joined #openmrs
|
15:43:47
|
*** Wiss has joined #openmrs
|
15:43:47
|
*** Keelhaul has joined #openmrs
|
15:43:47
|
*** udai has joined #openmrs
|
15:43:47
|
*** Val`hw` has joined #openmrs
|
15:43:47
|
*** docpaul_ has joined #openmrs
|
15:43:47
|
*** pombreda has joined #openmrs
|
15:43:47
|
*** Echidna_ has joined #openmrs
|
15:43:47
|
*** TorLye has joined #openmrs
|
15:43:47
|
*** r0bby has joined #openmrs
|
15:43:47
|
*** masonf has joined #openmrs
|
15:43:47
|
*** sior|away has joined #openmrs
|
15:43:47
|
*** elad has joined #openmrs
|
15:43:47
|
*** Feez has joined #openmrs
|
15:43:47
|
*** irc.freenode.net sets mode: +ovv bmckown Keelhaul pombreda
|
15:48:46
|
*** bmckown has quit IRC
|
16:02:05
|
*** Val`hw` has quit IRC
|
16:02:26
|
*** Ngref has joined #openmrs
|
16:04:31
|
*** elad has quit IRC
|
16:04:31
|
*** TorLye has quit IRC
|
16:04:31
|
*** Keelhaul has quit IRC
|
16:04:31
|
*** masonf has quit IRC
|
16:04:31
|
*** docpaul_ has quit IRC
|
16:04:31
|
*** Wiss has quit IRC
|
16:04:31
|
*** sior|away has quit IRC
|
16:04:31
|
*** Ngref has quit IRC
|
16:04:31
|
*** udai has quit IRC
|
16:04:31
|
*** Feez has quit IRC
|
16:04:31
|
*** r0bby has quit IRC
|
16:04:31
|
*** pombreda has quit IRC
|
16:04:31
|
*** Echidna_ has quit IRC
|
16:06:33
|
<burke_openmrs> wow...cleaning house. Did freenode just boot half of its users off?
|
16:07:14
|
<burke_openmrs> i feel like Dr. Crusher in that Star Trek TNG episode where everyone starts disappearing b/c she's in a warp bubble.
|
16:07:22
|
<burke_openmrs> I hope I'm not in a warp bubble.
|
16:07:36
|
<burke_openmrs> That would suck.
|
16:07:41
|
<burke_openmrs> I think.
|
16:07:58
|
<burke_openmrs> Then again, I've never been in a warp bubble before...so I can't say for sure.
|
16:09:07
|
* bwolfe desparately wants to make the comment that no one is here and so burke is in a warp bubble...but then my actual speaking totally screws it up
|
16:09:55
|
<burke_openmrs> Actually, in TNG, Dr. Beverly Crusher keeps noticing people going missing. And the rest of the people don't remember those that have disappeared.
|
16:10:20
|
<burke_openmrs> So speaking doesn't really ruin the effect. You just have to not know anything about docpaul or bmckown or djazayeri, etc.
|
16:10:29
|
<bwolfe> who?
|
16:10:38
|
<burke_openmrs> aaaaaaaaaaahhhhhhhhhhhhhhhhhhh :O
|
16:10:42
|
<burke_openmrs> !boom
|
16:10:42
|
<OpenMRSBot> burke_openmrs: "boom" --- BOOOOOOOMMMMMMMMM!!!!!!!!!!!!
|
16:11:05
|
<burke_openmrs> Although, I'm not sure what sound an imploding warp bubble would make.
|
16:11:23
|
<burke_openmrs> maybe just a little "pop" at the end, like a soap bubble?
|
16:11:29
|
<burke_openmrs> bwolfe?
|
16:11:37
|
<burke_openmrs> aaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhh :O
|
16:11:42
|
<burke_openmrs> *pop*
|
16:12:07
|
*** bwolfe has left #openmrs
|
16:12:26
|
*** bwolfe has joined #openmrs
|
16:12:27
|
*** OpenMRSBot sets mode: +o bwolfe
|
16:12:28
|
<OpenMRSBot> Hey there Ben!
|
16:12:40
|
*** burke_openmrs has quit IRC
|
16:12:47
|
<bwolfe> nice
|
16:16:18
|
<napi> lol
|
16:23:44
|
*** OpenMRSBot` has joined #openmrs
|
16:23:44
|
*** OpenMRSBot` has joined #openmrs
|
16:24:28
|
*** burke has joined #openmrs
|
16:24:28
|
*** burke has joined #openmrs
|
16:24:28
|
*** nribeka has joined #openmrs
|
16:24:28
|
*** nribeka has joined #openmrs
|
16:24:28
|
*** Ngref has joined #openmrs
|
16:24:28
|
*** Ngref has joined #openmrs
|
16:24:28
|
*** Wiss has joined #openmrs
|
16:24:28
|
*** Wiss has joined #openmrs
|
16:24:28
|
*** Keelhaul has joined #openmrs
|
16:24:28
|
*** Keelhaul has joined #openmrs
|
16:24:28
|
*** udai has joined #openmrs
|
16:24:28
|
*** udai has joined #openmrs
|
16:24:28
|
*** docpaul_ has joined #openmrs
|
16:24:28
|
*** docpaul_ has joined #openmrs
|
16:24:28
|
*** pombreda has joined #openmrs
|
16:24:28
|
*** pombreda has joined #openmrs
|
16:24:28
|
*** Echidna_ has joined #openmrs
|
16:24:28
|
*** Echidna_ has joined #openmrs
|
16:24:28
|
*** TorLye has joined #openmrs
|
16:24:28
|
*** TorLye has joined #openmrs
|
16:24:28
|
*** r0bby has joined #openmrs
|
16:24:28
|
*** masonf has joined #openmrs
|
16:24:28
|
*** sior|away has joined #openmrs
|
16:24:28
|
*** r0bby has joined #openmrs
|
16:24:28
|
*** masonf has joined #openmrs
|
16:24:28
|
*** sior|away has joined #openmrs
|
16:24:28
|
*** elad has joined #openmrs
|
16:24:28
|
*** Feez has joined #openmrs
|
16:24:28
|
*** elad has joined #openmrs
|
16:24:28
|
*** Feez has joined #openmrs
|
16:24:28
|
*** irc.freenode.net sets mode: +ovv burke Keelhaul pombreda
|
16:24:28
|
*** irc.freenode.net sets mode: +ovv burke Keelhaul pombreda
|
16:24:47
|
* nribeka looking around
|
16:24:47
|
* nribeka looking around
|
16:24:49
|
<burke> yea!!
|
16:24:49
|
<burke> yea!!
|
16:25:00
|
*** OpenMRSBot has quit IRC
|
16:25:04
|
*** OpenMRSBot has joined #openmrs
|
16:25:04
|
*** OpenMRSBot has joined #openmrs
|
16:25:04
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:25:04
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:25:10
|
<burke> man...freenode is freakin' out
|
16:25:10
|
<burke> man...freenode is freakin' out
|
16:26:07
|
*** OpenMRSBot has quit IRC
|
16:26:07
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:26:07
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:26:13
|
*** OpenMRSBot` has joined #openmrs
|
16:26:15
|
*** OpenMRSBot has joined #openmrs
|
16:26:15
|
*** OpenMRSBot has joined #openmrs
|
16:26:15
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:26:15
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:26:49
|
*** bwolfe changes topic to "Welcome to the OpenMRS Collaborative, an open-source effort toward medical record systems for developing countries! http://dev.openmrs.org/irclogsha for chat history"
|
16:26:49
|
*** bwolfe changes topic to "Welcome to the OpenMRS Collaborative, an open-source effort toward medical record systems for developing countries! http://dev.openmrs.org/irclogsha for chat history"
|
16:27:09
|
<bwolfe> ?
|
16:27:09
|
<bwolfe> ?
|
16:27:23
|
*** bwolfe changes topic to "Welcome to the OpenMRS Collaborative, an open-source effort toward medical record systems for developing countries! http://dev.openmrs.org/irclogs for chat history"
|
16:27:23
|
*** bwolfe changes topic to "Welcome to the OpenMRS Collaborative, an open-source effort toward medical record systems for developing countries! http://dev.openmrs.org/irclogs for chat history"
|
16:27:23
|
*** OpenMRSBot has quit IRC
|
16:27:23
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:27:24
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:27:27
|
*** OpenMRSBot` has joined #openmrs
|
16:27:27
|
*** OpenMRSBot` has joined #openmrs
|
16:27:27
|
*** OpenMRSBot has quit IRC
|
16:27:27
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:27:28
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:27:31
|
*** OpenMRSBot` has joined #openmrs
|
16:27:31
|
*** OpenMRSBot` has joined #openmrs
|
16:27:31
|
*** OpenMRSBot has quit IRC
|
16:27:31
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:27:33
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:27:35
|
*** OpenMRSBot` has joined #openmrs
|
16:27:35
|
*** OpenMRSBot` has joined #openmrs
|
16:27:35
|
*** OpenMRSBot has quit IRC
|
16:27:36
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:27:36
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:27:39
|
*** OpenMRSBot` has joined #openmrs
|
16:27:39
|
*** OpenMRSBot` has joined #openmrs
|
16:27:40
|
*** OpenMRSBot has quit IRC
|
16:27:40
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:27:40
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:27:43
|
*** OpenMRSBot` has joined #openmrs
|
16:27:43
|
*** OpenMRSBot` has joined #openmrs
|
16:27:43
|
*** OpenMRSBot has quit IRC
|
16:27:43
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:27:44
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:27:45
|
*** OpenMRSBot was kicked by bwolfe (bwolfe)
|
16:27:47
|
*** OpenMRSBot` has joined #openmrs
|
16:27:51
|
*** OpenMRSBot has joined #openmrs
|
16:27:51
|
*** OpenMRSBot has joined #openmrs
|
16:27:51
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:27:51
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:28:03
|
<burke> does this happen often?
|
16:28:03
|
<burke> does this happen often?
|
16:28:22
|
*** OpenMRSBot has quit IRC
|
16:28:22
|
*** OpenMRSBot` is now known as OpenMRSBot
|
16:28:22
|
*** ChanServ sets mode: +o OpenMRSBot
|
16:28:34
|
<nribeka> burke: what happen?
|
16:28:37
|
<bwolfe> burke: the bot freaking out?
|
16:28:47
|
<bwolfe> there were two instances of the bot running for soem reason
|
16:28:49
|
<burke> no it's happening everywhere on freenode
|
16:28:51
|
<bwolfe> I killed one of them
|
16:29:02
|
<bwolfe> yeah, one of the nodes died (kubrick)
|
16:29:02
|
<burke> probably my fault
|
16:29:18
|
<bwolfe> if you were attached to freenode through that node, you get kicked
|
16:29:52
|
<burke> i used the nifty google doc to restart our bot when it left...
|
16:29:58
|
<burke> apparently it hadn't left, left.
|
16:30:42
|
<bwolfe> burke: ha, ok, that explains it then
|
16:30:55
|
<burke> how do you check for instances running? ps?
|
16:31:01
|
<bwolfe> burke: add a note to the google doc saying "do a ps-Af"
|
16:31:07
|
<bwolfe> and looking for supybot
|
16:31:13
|
<bwolfe> I think there's a way to do that even
|
16:31:32
|
<burke> ps -Af
|
16:32:24
|
<bwolfe> yeah, but through ps I think theres a way too
|
16:32:29
|
<bwolfe> but piping to grep works just fine
|
16:33:04
|
*** bwolfe has left #openmrs
|
16:39:55
|
<r0bby> :)
|
16:40:39
|
<napi> lol
|
17:00:00
|
*** udai has quit IRC
|
17:01:35
|
*** burke has quit IRC
|
17:01:48
|
<r0bby> burke++
|
17:01:50
|
<r0bby> HAHA
|
18:07:50
|
*** HongJun has joined #openmrs
|
18:42:26
|
*** bmckown has joined #openmrs
|
18:42:26
|
*** ChanServ sets mode: +o bmckown
|
18:57:25
|
*** bmckown has quit IRC
|
20:15:44
|
*** mib_sgdred has joined #openmrs
|
20:15:45
|
*** mib_sgdred has quit IRC
|
20:16:09
|
*** mib_iynmc6 has joined #openmrs
|
20:18:27
|
*** bwolfe has joined #openmrs
|
20:18:27
|
*** ChanServ sets mode: +o bwolfe
|
20:18:55
|
*** mib_iynmc6 has left #openmrs
|
20:20:17
|
*** pombreda has quit IRC
|
20:20:42
|
*** bmckown has joined #openmrs
|
20:20:42
|
*** ChanServ sets mode: +o bmckown
|
20:21:04
|
<Keelhaul> whats the difference between Expression and Restriction?
|
20:21:32
|
*** udai has joined #openmrs
|
20:22:03
|
*** udai has quit IRC
|
20:25:02
|
<bwolfe> Keelhaul: I have no idea why they have both
|
20:25:12
|
<bwolfe> Keelhaul: they seem to do the same thing
|
20:25:16
|
<Keelhaul> ah ok
|
20:25:32
|
<Keelhaul> can you tell me how to run api unit tests?
|
20:26:42
|
<r0bby> there's an ant task
|
20:26:53
|
<Keelhaul> oh
|
20:27:10
|
<r0bby> ant junit i think
|
20:27:23
|
<Keelhaul> not for modules =/
|
20:27:24
|
<bwolfe> Keelhaul: you can run all tests in openmrs with the ant target "junit-report" as r0bby said
|
20:27:43
|
<bwolfe> or you can right click on your junit test java file and choose "run as-->junit test"
|
20:27:49
|
<Keelhaul> ah i tried that
|
20:27:56
|
<Keelhaul> got a bunch of errors
|
20:28:01
|
<Keelhaul> java.lang.NoClassDefFoundError: org/dbunit/dataset/IDataSet
|
20:28:09
|
<Keelhaul> it says 10 more lines in the end
|
20:28:10
|
<r0bby> set up classpath right ;)
|
20:28:15
|
<Keelhaul> not sure how to get those..
|
20:28:28
|
<bwolfe> your module needs to have the /lib/junit/* libraries that are in core in your module
|
20:28:33
|
<bwolfe> or at least referenced from your module
|
20:28:52
|
<bwolfe> you're so helpful r0bby :-p
|
20:28:57
|
<Keelhaul> junit is referenced
|
20:29:53
|
<r0bby> bwolfe: yeh yeh yeh :P
|
20:30:15
|
<Keelhaul> <classpathentry kind="lib" path="lib-common/junit-3.8.1.jar"/>
|
20:31:18
|
<Keelhaul> oh hm
|
20:31:39
|
<Keelhaul> there are 2 more in trunk
|
20:31:45
|
<bwolfe> Keelhaul: :-)
|
20:36:54
|
*** pombreda has joined #openmrs
|
20:36:54
|
*** ChanServ sets mode: +v pombreda
|
20:36:59
|
<Keelhaul> ok at least the tests "run" now
|
20:37:24
|
<Keelhaul> failures are when assertSomething isnt satisfied?
|
20:37:40
|
<Keelhaul> as opposed to errors
|
20:37:42
|
<Keelhaul> i only get errors..
|
20:38:21
|
*** nribeka has quit IRC
|
20:39:17
|
<bwolfe> Keelhaul: errors should generate stack traces in console in eclipse as well
|
20:40:21
|
<Keelhaul> http://rafb.net/p/cVwbg632.html
|
20:40:40
|
<Keelhaul> are there more libs i need? =o
|
20:40:52
|
*** nribeka has joined #openmrs
|
20:41:10
|
<bwolfe> yeah
|
20:41:19
|
<bwolfe> get all of the libs listed on the module junit testing page
|
20:42:56
|
<bwolfe> !junit
|
20:42:56
|
<OpenMRSBot> bwolfe: "junit" --- OpenMRS uses unit testing. See http://openmrs.org/wiki/Unit_Testing and http://openmrs.org/wiki/Module_Unit_Testing
|
20:43:08
|
<Keelhaul> yep got it
|
20:43:13
|
<Keelhaul> openmrs-alpha heh
|
20:43:23
|
<bwolfe> that is so last year
|
20:45:10
|
*** atomicturtle has joined #openmrs
|
20:45:57
|
<Keelhaul> progress! =)
|
20:47:00
|
<Keelhaul> whats a good xml editor btw
|
20:47:43
|
<bwolfe> eclipse
|
20:47:45
|
<bwolfe> :-p
|
20:47:50
|
<bwolfe> notepad
|
20:48:00
|
<bwolfe> xmlspy ?
|
20:48:08
|
<Keelhaul> notepad sucks @ linux created files
|
20:48:16
|
<Keelhaul> \n
|
20:48:31
|
<Keelhaul> i'm using wordpad atm but it doesnt seem to have a way to display the line #
|
20:48:39
|
<bwolfe> r0bby: what was burke's exit message earlier? The irclogs didn't put our parting messages in there :-/
|
20:48:52
|
<bwolfe> Keelhaul: vim
|
20:49:00
|
<Keelhaul> lol
|
20:49:01
|
<Keelhaul> no.
|
20:49:04
|
<bwolfe> gvim
|
20:49:10
|
<bwolfe> gvim for windows
|
20:52:02
|
<Keelhaul> heh
|
20:52:14
|
<Keelhaul> doesnt like my syntax
|
20:52:15
|
<Keelhaul> <bean id="@MODULE_ID@EncounterFormController"
|
20:57:17
|
<Keelhaul> guess i have to be careful where to use those ant things
|
20:58:24
|
<bwolfe> ha, yeah
|
20:58:39
|
<bwolfe> those are only replaced in files when compiling to an omod
|
21:06:16
|
*** upul has joined #openmrs
|
21:06:27
|
<r0bby> bwolfe: burke has left the chat -- backwards.
|
21:08:25
|
<Keelhaul> ok this one beats me =/
|
21:08:26
|
<Keelhaul> org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.openmrs.module.inpatientcare.CaseServiceTest': Unsatisfied dependency expressed through bean property 'transactionManager': Set this property value or disable dependency checking for this bean.
|
21:08:58
|
<Keelhaul> the servicecontext is just like in all the examples i saw
|
21:09:19
|
<bwolfe> hmm
|
21:09:26
|
<bwolfe> there should be more to it
|
21:09:32
|
<bwolfe> that is just the beginning usually
|
21:09:55
|
<Keelhaul> http://rafb.net/p/eMj9HL21.html
|
21:10:00
|
<bwolfe> and further down...usually the second to last error (in a very large paragraph) is the REAL problem
|
21:10:20
|
<Keelhaul> yea thats how it usually is
|
21:10:30
|
<Keelhaul> here, i only get errors in classes that arent mine =/
|
21:11:12
|
<bwolfe> is this "org.openmrs.module.inpatientcare.CaseServiceTest" the test you're running now ?
|
21:11:30
|
<Keelhaul> yes
|
21:11:40
|
<bwolfe> hmm
|
21:11:43
|
<bwolfe> no other errors ?
|
21:11:47
|
<bwolfe> no console output?
|
21:11:56
|
<Keelhaul> no
|
21:14:13
|
<bwolfe> your unit test extends the basemodulecontextsensitivetest or something like that ?
|
21:15:00
|
<Keelhaul> yes
|
21:15:14
|
<bwolfe> candlelight, eh upul ?
|
21:15:31
|
<bwolfe> how often does your power go out? :-/
|
21:15:45
|
<upul> we had heavy rain yesterday
|
21:16:07
|
<upul> somehow it happened to our place only
|
21:17:01
|
<upul> it doesn't usually happen
|
21:17:10
|
<Keelhaul> where are you from
|
21:18:19
|
<upul> sri lanka
|
21:19:33
|
<Keelhaul> bwolfe: on another issue, i'd like to ask for your opinion
|
21:20:01
|
<Keelhaul> if oyu remember that pdf i linked you to the other day, i have that CaseEncounters table that only does some mapping
|
21:20:16
|
<Keelhaul> so i hid its existance completely in the caseservice
|
21:20:26
|
<Keelhaul> the api used isnt supposed to even know of its existance
|
21:20:58
|
<Keelhaul> so whenever i load cases from the db, it automatically makes calls to load the associated encounters from that table
|
21:21:16
|
<Keelhaul> and when i purge a case, it purges all the caseencounter entries, etc
|
21:21:38
|
<Keelhaul> where should i make those calls, in the service implementation, or the hibernate implementation, rather?
|
21:22:01
|
<bwolfe> give me an example of the code
|
21:22:20
|
<bwolfe> I'm assuming the table is similar to the user_role or role_privilege table
|
21:22:37
|
<bwolfe> those tables aren't even known about in the implementation...just in the hibernate mapping files
|
21:23:04
|
<Keelhaul> http://rafb.net/p/5ecYAu84.html
|
21:23:28
|
<Keelhaul> yes pretty much
|
21:23:32
|
<Keelhaul> just 2 columns
|
21:23:45
|
<Keelhaul> no void functionality either
|
21:25:17
|
<bwolfe> ah, using the new purge* functionality? :-)
|
21:25:22
|
<Keelhaul> yea
|
21:25:25
|
<bwolfe> nice
|
21:25:29
|
<Keelhaul> i saw the wiki page last night
|
21:25:31
|
<bwolfe> CaseEncounter is the table?
|
21:25:40
|
<Keelhaul> though i find delete more intuitive a word than purge
|
21:25:57
|
<bwolfe> heh
|
21:26:06
|
<Keelhaul> CaseEncounter just contains pairs of caseId and encounterId
|
21:26:38
|
<bwolfe> having that kind of code in the implementation is corrent (as opposed to in the dao layer)
|
21:27:01
|
<Keelhaul> ok good
|
21:28:32
|
<Keelhaul> http://rafb.net/p/8ReMam32.html
|
21:28:33
|
<Keelhaul> in fact
|
21:28:39
|
<Keelhaul> i have a private method in serviceimpl
|
21:29:30
|
<Keelhaul> its not utilized in all methods though atm
|
21:29:47
|
<Keelhaul> i dont think it would be wise to auto load encounters for lists of cases
|
21:30:36
|
<bwolfe> I'm lost. what're you asking?
|
21:31:16
|
<Keelhaul> since i want to hide all CaseEncounter related stuff from the api user
|
21:31:41
|
<Keelhaul> i though it'd make freshly loaded Case objects
|
21:31:59
|
<Keelhaul> (which contain a list of encounters)
|
21:32:20
|
<Keelhaul> auto load those encounters when the case object gets loaded from the db
|
21:34:56
|
<Keelhaul> like when you load an List<Encounter> in the encounterservice
|
21:35:13
|
<Keelhaul> at what point do you load the associated obs and orders
|
21:35:23
|
<Keelhaul> for each of em
|
21:42:38
|
<bwolfe> a case object contains a list of encounters, doesn't it?
|
21:42:46
|
<bwolfe> so it shouldn't have to load them separately
|
21:43:05
|
<bwolfe> the obs of an encounter are loaded only when they are requested via Encounter.getObs()....thats the beauty of hibernate
|
21:43:13
|
<bwolfe> or at least one of the beauties
|
21:43:51
|
<r0bby> /jj/jj
|
21:43:54
|
<r0bby> er
|
21:44:02
|
<Keelhaul> hm
|
21:44:15
|
<Keelhaul> but obs are linked differently
|
21:44:31
|
<Keelhaul> they have the encounter_id of their parent encounter
|
21:45:13
|
<bwolfe> Keelhaul: ok, look at user and roles
|
21:45:19
|
<bwolfe> there is a User.getRoles() method
|
21:45:22
|
<bwolfe> and a user table
|
21:45:24
|
<bwolfe> a role table
|
21:45:28
|
<bwolfe> and a user_role table that links them
|
21:45:57
|
<Keelhaul> public Set<Role> getRoles() {
|
21:45:57
|
<Keelhaul> return roles;
|
21:45:57
|
<Keelhaul> }
|
21:46:24
|
<Keelhaul> wait nm
|
21:47:49
|
<Keelhaul> return sessionFactory.getCurrentSession().createQuery("from Role r order by r.role").list();
|
21:47:51
|
<Keelhaul> hm
|
21:49:53
|
<Keelhaul> ok that isnt it either lol
|
21:49:59
|
<Keelhaul> 22h no sleep, sry =/
|
22:00:31
|
*** bmckown has quit IRC
|
22:04:06
|
<Keelhaul> oooh
|
22:04:06
|
<Keelhaul> <!-- bi-directional many-to-many association to Role -->
|
22:04:06
|
<Keelhaul> <set name="roles" table="user_role" lazy="false"
|
22:04:06
|
<Keelhaul> cascade="save-update,merge,evict">
|
22:04:09
|
<Keelhaul> lol
|
22:04:22
|
<r0bby> Keelhaul: use a pastebin ffs!
|
22:04:36
|
<Keelhaul> it's 3 lines..
|
22:06:02
|
*** TorLy1 has joined #openmrs
|
22:10:29
|
*** udai has joined #openmrs
|
22:13:36
|
*** nribeka has quit IRC
|
22:14:03
|
*** nribeka has joined #openmrs
|
22:15:13
|
*** bwolfe has quit IRC
|
22:19:53
|
*** nribeka has quit IRC
|
22:20:38
|
*** nribeka has joined #openmrs
|
22:23:24
|
*** TorLye has quit IRC
|
22:27:32
|
*** HongJun has quit IRC
|
22:57:09
|
*** Wiss has left #openmrs
|
23:02:35
|
*** njero has joined #openmrs
|
23:02:36
|
*** ChanServ sets mode: +v njero
|
23:34:05
|
*** TorLy1 has quit IRC
|
23:34:37
|
*** upul has quit IRC
|
23:37:50
|
*** Keelhaul has quit IRC
|
23:47:58
|
*** gilbo1981 has joined #openmrs
|
23:52:24
|
*** njero has quit IRC
|
23:54:47
|
*** nribeka has quit IRC
|