IRC Chat : 2008-09-02 - OpenMRS

01:00:23 *** AndersG has quit IRC
02:46:55 *** [mharrison] has joined #openmrs
03:25:36 *** sioraiocht has joined #openmrs
03:25:36 *** ChanServ sets mode: +v sioraiocht
03:50:09 *** [mharrison] has quit IRC
03:50:55 *** [mharrison] has joined #openmrs
03:55:18 *** maveriick has joined #openmrs
03:57:30 *** maveriick has quit IRC
04:32:56 *** maveriick has joined #openmrs
04:33:06 *** maveriick has quit IRC
06:09:29 *** upul has quit IRC
06:50:47 *** james_regen has joined #openmrs
06:50:47 *** ChanServ sets mode: +v james_regen
06:55:41 *** openmrs_1420 has joined #openmrs
06:58:14 *** TorLye has joined #openmrs
07:10:14 *** openmrs_1420 has quit IRC
07:38:54 *** nribeka has joined #openmrs
08:42:46 *** maveriick has joined #openmrs
08:43:18 <maveriick> hi TorLye
08:48:54 *** sunbiz has joined #openmrs
09:06:50 <TorLye> hi there maveriick
09:07:46 *** atomicturtle has joined #openmrs
09:14:36 <maveriick> TorLye, brb ...need to go out for half an hour.
09:22:09 *** maveriick has quit IRC
10:45:11 *** sprasanna has joined #openmrs
10:53:14 *** nribeka has quit IRC
11:14:46 *** njero has quit IRC
11:18:14 *** maveriick has joined #openmrs
11:19:17 <maveriick> hi everybody
11:19:32 <maveriick> hi TorLye
11:21:26 *** njero has joined #openmrs
11:21:26 *** ChanServ sets mode: +v njero
11:39:08 <TorLye> hi again maveriick, wb
11:39:47 <maveriick> Hi TorLye :)
11:40:02 <maveriick> I am looking at your module .....great work :)
11:42:46 <TorLye> thank you, appreciate it
11:43:02 <TorLye> how did your project go?
11:43:30 <maveriick> Its going so so ....except ....I found current complex obs API is not applicable for my case...
11:44:25 <maveriick> TorLye, at first you are showing a list of all complex obs ..... I guess you need to filter the list by complexObsHandler .....is it?
11:44:53 *** nribeka has joined #openmrs
11:45:20 <TorLye> I should filter it, yes... currently it lists all complex obs
11:48:33 <maveriick> Again another thing ....do you know how to insert/attach a complex obs like image into OpenMRS?
11:48:47 <maveriick> I mean is there any option in the UI to do that?
11:48:55 <TorLye> not yet, no
11:49:17 <TorLye> during development I added entries to the database manually
11:49:40 <TorLye> as I understand, this functionality is covered by another project
11:50:04 <maveriick> I guess image import or person portrait...
11:50:30 <TorLye> yes, those
11:50:32 <maveriick> my project is also supposed to entry complex obs into the system
11:51:35 <sunbiz> hi guys !!
11:51:48 <TorLye> ah, cool... formatted text?
11:51:49 <sunbiz> gr8 work TorLye!
11:51:55 <TorLye> hi, sunbiz
11:53:31 <sunbiz> TorLye: using the Maps API was innovative...
11:53:39 <maveriick> TorLye, yup Rich text ....might be formatted, have images or other files...
11:53:51 <maveriick> sunbiz, I agree ...cool use..
11:54:02 <TorLye> sunbiz: thanks! how's your project? ready for code submission?
11:54:11 <sunbiz> yes
11:54:33 <sunbiz> I dont think LH has anything on the announcement about the submission
11:54:57 <sunbiz> I havent done anything after the 18th... so that I dont add anything and then have to look into what to submit
11:55:21 <TorLye> sunbiz: same here
11:55:25 *** atomicturtle has left #openmrs
11:55:52 <TorLye> maveriick: great. getting the hang of the complex obs part of the API?
11:56:03 <sunbiz> any1 in the room with any ideas on what licenses we can use for code distributed by OpenMRS ??
11:56:30 <sunbiz> can we use CDDL and GPLv2 code as part of anything that is distributed with OpenMRS ??
11:56:58 <maveriick> TorLye, yup trying..... But the problem is complex obs API assumes that only one object might be a complex obs at a time....
11:57:49 <maveriick> just think about a Rich Text - containing some plain text, an image and an attachment ....All of these together should form a single complex obs
12:00:00 <TorLye> maveriick: I see... my module uses images with annotations, so each complex obs may contain both image and xml/text data
12:00:44 <maveriick> TorLye, text data is not a problem ....the problem is say when you want to store two images in a signle complex obs
12:01:08 <TorLye> what I did was to write a parent class that contains an Image object and a set of annotations... this object (the class name is AnnotatedImage) is stored as the complex value
12:03:07 <maveriick> Yes your solution is just cool for your project ...good work indeed
12:04:23 <TorLye> couldn't you do something similar, like write a class that contains references to all objects that should be part of the complex obs?
12:05:33 <maveriick> Yes, I need to do that by extension .....but inherently complex obs should have a list of ComplexData not a single one.
12:05:43 <sunbiz> maveriick: Wrapper classes or Beans are useful...
12:06:48 <TorLye> maveriick: yes, I see how that would be more useful
12:08:51 <sunbiz> Wrapper classes are more useful than a list or indexed list... the whole point of OOP
12:10:07 <sunbiz> maveriick: Isn't Encapsulation more useful... TorLye ??
12:10:09 <maveriick> sunbiz, as complex obs API is still experimental we can propose any logical change into that ..... I can do the task via wrapper class if I want to keep complex obs API untouched.
12:10:48 <maveriick> BTW guyz do you know how to add an encounter in OpenMrs?
12:10:56 <maveriick> I mean from UI
12:13:11 <TorLye> sunbiz: perhaps, depends on your needs of course. What's more useful is not always the same as what's more correct OOP :) A wrapper class worked fine for me, an indexed list would probably have done equally well (but I only have to objects for each complex obs, so it doesn't get too complicated in any case)
12:15:46 <TorLye> Google's new web browser, Chrome, will be released in 45 minutes!
12:15:50 <TorLye> according to wikipedia
12:16:14 <maveriick> Browser!!!!
12:16:24 <sunbiz> TorLye: Google's browser
12:16:41 <maveriick> Google made a browser ....I knew nothing.......but why on the earth they need to do so?
12:17:09 <sunbiz> Hopeully they have made javascript multithreaded so that multiple JavaScripts can be executed from a single page
12:17:20 <sunbiz> maveriick: coz...its a complete new design
12:17:39 <sunbiz> kindof bringing good things from a lot of projects together
12:17:57 <sunbiz> the javaScript engine is like JVM's Rhino
12:17:58 <TorLye> the only information released so far is in the form of a "comic book": http://www.google.com/googlebooks/chrome/
12:18:16 <sunbiz> the comic was pretty good
12:18:40 <sunbiz> but it missed a little humor... I like fun comics
12:18:48 <TorLye> yep, they took a couple of cool ideas from Opera, for example (a Norwegian closed-source browser)
12:19:12 <sunbiz> yea...SpeedDial
12:19:50 <TorLye> and putting the tabs above the address bar :p
12:20:08 <sunbiz> I guess that y they got Ben Goodger some years back
12:20:22 <TorLye> looking forward to testing it
12:20:46 * TorLye hasn't heard of ben goodger
12:21:31 <TorLye> ah, wikipedia saves the day
12:21:55 <sunbiz> for GSoC'ers... you can connect him as LH's BF
12:22:25 <TorLye> wow, that wasn't mentioned at wikipedia :p
12:23:01 * maveriick is reading the chrome comic
12:25:02 <TorLye> you've heard about the hidden flight simulator in google earth right?
12:25:42 * maveriick have no idea of hidden earth simulator
12:26:22 <TorLye> http://en.wikipedia.org/wiki/Google_earth#Flight_simulator
12:26:23 <OpenMRSBot> <http://ln-s.net/2Aoh> (at en.wikipedia.org)
12:26:52 <sunbiz> yes
12:27:07 <TorLye> funny story behind that... back in May last hear I was chatting with a Google employee at a pub here in Trondheim, and I pitched my revolutionary idea to him: combining a flight simulator with google earth's map data
12:27:39 <TorLye> he was nodding and smiling and telling me what a great idea it was
12:27:55 <sunbiz> TorLye: so...they stole ur idea !!!
12:27:58 <TorLye> two months later I read about the flight simulator on slashdot :)
12:28:30 <TorLye> so I met the guy again after that, and jokingly accused him of stealing my idea
12:30:12 <TorLye> turns out that he already knew about the upcoming flightsim feature when I was pitching my idea...
12:30:17 <TorLye> or so he says :p
12:30:20 <TorLye> but he couldn't tell me back then of course
12:31:41 <TorLye> looking back to my recollections of pitching the idea, I seem to remember he looked like he was trying not to laugh :)
12:33:25 <maveriick> TorLye, just guess a next feature ...and I wish this time you could beat Google....
12:34:50 <TorLye> haha, yes
12:35:23 <TorLye> how about... a revolutionary new web browser?
12:35:27 <TorLye> oh, damn.
12:38:47 <maveriick> :-D
12:55:38 *** sprasanna has quit IRC
13:05:49 *** maveriick has quit IRC
14:11:20 <OpenMRSBot> Recent updates in the world of openmrs: Shaun Grannis: Notes from 9/2/2008 Patient Matching Call <http://doctorshaun.blogspot.com/2008/09/922008-patient-matching-notes.html>
14:14:24 <sunbiz> TorLye: Chrome's only for Windows :(
14:15:36 <TorLye> yes.. for the time being
14:16:20 <TorLye> tried running the installer with wine, but no luck
14:27:50 *** AndersG has joined #openmrs
14:46:02 <r0bby> jeus
15:10:44 *** TorLye has quit IRC
15:16:56 *** james_regen has quit IRC
15:35:49 *** sunbiz has left #openmrs
15:58:04 *** sioraiocht has quit IRC
16:05:15 *** sioraiocht has joined #openmrs
16:05:15 *** ChanServ sets mode: +v sioraiocht
16:16:48 *** njero has quit IRC
16:17:34 *** njero has joined #openmrs
16:17:34 *** ChanServ sets mode: +v njero
16:35:30 *** nribeka has quit IRC
16:46:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1021 (task created): Form schema designer should show which fields are select-multi <http://dev.openmrs.org/ticket/1021>
17:05:14 *** sioraiocht has quit IRC
18:18:22 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Error opening Basic Form via dashboard <http://forum.openmrs.org/viewtopic.php?f=3&t=340#p1371>
20:12:34 *** maveriick has joined #openmrs
20:13:20 *** maveriick has quit IRC
20:47:07 *** nribeka has joined #openmrs
20:53:40 *** nribeka has quit IRC
21:02:02 *** njero has quit IRC
21:04:47 *** nribeka has joined #openmrs
21:25:43 *** nribeka has quit IRC
21:30:55 *** sprasanna has joined #openmrs
21:35:47 *** upul has joined #openmrs
21:50:15 *** atomicturtle has joined #openmrs
21:54:04 *** sprasanna has quit IRC
22:25:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1022 (task created): Cannot edit encounter datetime <http://dev.openmrs.org/ticket/1022>
23:24:46 *** sprasanna has joined #openmrs
23:49:13 *** nribeka has joined #openmrs