IRC Chat : 2009-12-30 - OpenMRS

00:51:05 * r0bby burps
01:02:57 *** atomicturtle1 has joined #openmrs
01:07:40 *** atomicturtle1 has left #openmrs
01:09:43 *** openmrs_web589 has joined #openmrs
01:43:29 *** wyclif has quit IRC
02:07:12 *** openmrs_web589 has quit IRC
02:26:57 *** Mkop has quit IRC
02:58:45 *** mcstrother has quit IRC
03:00:32 *** njero_ has joined #openmrs
03:03:00 *** njero has quit IRC
03:04:13 *** estebanpv has quit IRC
03:05:17 *** Mkop has joined #openmrs
03:41:06 *** OpenMRSBot has joined #openmrs
03:41:07 *** ChanServ sets mode: +o OpenMRSBot
04:21:06 *** atomicturtle has joined #openmrs
04:25:40 *** bwolfe has quit IRC
04:27:42 *** atomicturtle has left #openmrs
04:44:12 *** upul has joined #openmrs
04:44:12 *** ChanServ sets mode: +v upul
04:54:25 *** njero_ has quit IRC
04:57:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: uuid does not have a default value exception <http://forum.openmrs.org/viewtopic.php?f=8&t=461#p2009>
06:06:40 *** openmrs_web563 has joined #openmrs
06:07:07 *** openmrs_web563 has quit IRC
06:08:43 *** openmrs_web793 has joined #openmrs
06:08:57 *** openmrs_web793 has quit IRC
06:09:08 *** shrek has joined #openmrs
06:38:12 *** shrek has quit IRC
07:03:01 *** atomicturtle1 has joined #openmrs
08:04:42 *** Mkop1 has joined #openmrs
08:22:28 *** Mkop has quit IRC
09:29:58 *** openmrs_web982 has joined #openmrs
09:30:11 *** openmrs_web982 is now known as Jack-2
09:31:31 <Jack-2> hi
09:32:54 <upul> hi
09:33:30 *** Jack-2 has quit IRC
09:40:36 <r0bby> !logs
09:40:36 <OpenMRSBot> r0bby: "logs" --- The OpenMRS IRC logs are publicly displayed online: http://dev.openmrs.org/irclogs
09:49:14 * r0bby sighs
09:49:29 <r0bby> upul: your hibernate kung-fu is strong is it not?
09:49:38 <upul> what happened r0bby
09:49:49 <r0bby> mine is weak
09:50:03 <r0bby> i'm going to bed i'll tackle this after new years
09:50:08 <r0bby> o/
09:50:23 <upul> only know little, good night
09:50:44 <r0bby> this is the part of the project i was weak on
09:51:03 <r0bby> unfortunately all errors are related to this
09:53:08 <r0bby> i dont think OpenMRS uses many to many
09:56:07 <upul> r0bby: user and role has it
09:56:52 <r0bby> er maybe it does
09:56:55 <r0bby> i just saw
09:58:43 <r0bby> looking like i dont need to do anything special to persist them
09:58:44 <r0bby> ok good
10:01:39 *** atomicturtle1 has quit IRC
10:03:39 *** atomicturtle has joined #openmrs
10:16:24 <Echidna> nope, just map them correctly
10:35:41 <r0bby> ok
10:35:54 <r0bby> many to many one side has to mapped inverse="true"
10:36:03 <r0bby> or is that only for bi-directional?
10:36:16 <r0bby> I still can't figure out when to use unidirectional/bidirectional
10:36:44 <r0bby> basically what I need to do is keep track of what sections exist in what schemas
10:36:57 <r0bby> a section can exist in multiple schemas
10:40:23 <Echidna> whats a section?
10:40:41 *** Mkop2 has joined #openmrs
10:41:00 <r0bby> Echidna: a section holds form questions which hold questions -- it's a way to re-use a question on multiple reports
10:41:14 *** Mkop1 has quit IRC
10:41:39 <Echidna> so you need a report<->section mapping?
10:41:46 <r0bby> si
10:41:51 <r0bby> so it's bi-directional?
10:42:01 <Mkop2> r0bby: what are you doing up at this hour?
10:42:02 <Echidna> well prolly not
10:42:13 <Echidna> you want to know which sections your report has
10:42:21 <r0bby> the section doesn't care about &ALL* schemas
10:42:22 <Echidna> but probably not which reports the section is used in
10:42:24 <Echidna> or maybe you do
10:42:33 <r0bby> well
10:42:34 <r0bby> hold up
10:42:42 <upul> in unidir you have only one set in one side, in bi you have 2 make one of those inverse
10:42:42 <r0bby> erg
10:42:48 <r0bby> my head in spinning
10:43:22 <Echidna> for example, Report.getSections() would be one direction, Section.getReportsUsingThis() the other direction
10:43:25 <upul> in unidir there's only one set so nothing to inverse
10:44:44 <r0bby> there is a List on the Schema side
10:44:49 <r0bby> and a Set on the schema side
10:44:57 <r0bby> and a Set on the section side
10:45:07 *** Mkop2 is now known as Mkop
10:45:08 <upul> then it's bi
10:45:31 <r0bby> it's many to many
10:45:39 <r0bby> but many to many can be unidirectional
10:46:02 <upul> uni means a.getBs but no b.getAs
10:46:11 <Echidna> yea
10:46:22 <Echidna> the only difference is in the missing collection in class B
10:46:33 <r0bby> so iuf i have schema.getSections() section.getSchemas()
10:46:37 <Echidna> and the corresponding mapping in B's hibernate xml
10:46:38 <r0bby> that's bi-directional
10:46:51 <Echidna> yes
10:46:53 <upul> yes bi
10:47:00 <r0bby> thanks for being the voices in my head; the ones that are there took off today
10:47:34 <r0bby> okay... and the section side is inverse="false" so we're good
10:47:44 <Echidna> hmm
10:47:51 <Echidna> not sure how it is with many to many
10:48:01 <Echidna> but with one to many, it usually should be inverse
10:48:01 <upul> you have to make one side "true"
10:48:10 <Echidna> meaning the child table holds the reference
10:48:53 <r0bby> OH DOH
10:49:22 * r0bby sighs
10:49:43 <upul> you don't have to write inverser=false, just make one side true, that's it
10:50:40 <Echidna> actually
10:50:48 <Echidna> with many to many, no table actually has a reference
10:50:52 <Echidna> because there's a mapping table
10:50:58 <Echidna> so i'm not sure inverse even applies
10:51:27 <r0bby> <set name="formSchemas" table="facilitydata_schemas" cascade="all-delete-orphan" inverse="true" lazy="false">
10:51:30 <r0bby> <key column=" schema_id" not-null="true" foreign-key="schema_id"/>
10:51:34 <r0bby> <many-to-many column="section_id" class="org.openmrs.module.facilitydata.model.FacilityDataFormSection"/>
10:51:37 <r0bby> </set>
10:52:05 <r0bby> I love OpenMRS :)
10:52:13 <r0bby> I can code @ 6am
10:53:06 <r0bby> ..and get help :)
10:53:15 <r0bby> Mkop: my sleep habits suck
10:56:40 <Echidna> isnt plural of "schema" "schemata"?
10:56:52 <r0bby> doesntr matter :)
10:56:58 <r0bby> nor do I care :)
10:57:23 <Echidna> look up how it's done in user_role_map
10:57:31 <upul> is singular of schema schemum
10:57:41 <Echidna> dont think so
10:57:56 <r0bby> my cable box needs to die a painful death,.
10:58:25 <r0bby> the idiots who wrote the firmware didn't take into account the hardware they'd be running on...
10:59:28 <Echidna> upul: the other day i bought Terminator Salvation on bluray, and it has hindi and tamil soundtracks for some reason =o
10:59:34 <Echidna> and another one, forgot the name
11:00:51 <upul> hehe that's like telling an american, ni hao
11:01:23 <upul> hmm told this before here
11:02:31 <Echidna> the other language is "telugu"
11:02:33 <Echidna> never heard of it
11:03:16 <upul> you won't find language i use anywhere it is dieing over centuries of genocide and ethnic cleansing
11:03:51 <Echidna> oh i'm sure a lot of nerds still speak klingon =P
11:04:05 <upul> teligu is spoken in a region in india
11:04:33 <Echidna> i wonder why they would put those languages in a european release
11:04:57 <upul> show that bluray can hold everything
11:05:13 <Echidna> yea but they could have put langauges of relevant minorities here
11:05:15 <Echidna> liek turkish
11:05:59 <upul> reason must be there's a big population whos speak those in europe
11:06:23 <Echidna> hardly
11:06:36 <Echidna> and this particular release is for germany only
11:08:55 * r0bby needs to get to bed
11:09:08 <upul> germany has a tamil popuation getting 'asylum' and free dole lieing they are tortured blah blah, in truth they are just looking for rich life, you have seen those crowds
11:09:47 <r0bby> thank god i did laundry -- then i can go out tonight
11:10:10 <r0bby> I'm gonna go out clubbing in my gsoc t-shirt and a hoody :)
11:10:17 <Echidna> i'm sure their numbers can still be neglected
11:10:28 <Echidna> hoody =o
11:10:31 <Echidna> what are you, 16?
11:10:32 <Echidna> =P
11:12:57 *** upul_ has joined #openmrs
11:12:57 *** ChanServ sets mode: +v upul_
11:19:42 <r0bby> Echidna: i love hoodies :)
11:19:47 <r0bby> they're warm and comfy
11:20:20 <upul_> you can vandalise a house or shop and get away :-D
11:20:44 <r0bby> upul_: I'd prefer to *NOT* get a criminal record k?
11:23:21 *** Mkop has quit IRC
11:23:21 <upul_> http://en.wikipedia.org/wiki/Hoodie#Perception
11:26:54 <r0bby> Many US colleges and universities create their own hoodies with their logos on them.
11:26:57 <r0bby> point?
11:27:49 <r0bby> I see no mention of 16 year olds in the US section and clearly we matter most *duck*
11:28:10 <upul_> no point, it's wrong to have a negative view over a dress, that's sterotype or something
11:31:25 *** upul has quit IRC
11:31:34 *** upul_ is now known as upul
11:35:36 <Echidna> well as stated in the article, hoodies are seen on the low end of casual dressing
11:35:43 <Echidna> some clubs might not even let you in
11:36:18 <upul> it must be in UK, where there's the worst children and teenager in the world
11:38:35 <Echidna> yea, hooded teenagers seem to be synonymous with juvenile deliquency there
11:41:51 *** upul_ has joined #openmrs
11:41:51 *** ChanServ sets mode: +v upul_
11:41:51 *** upul has quit IRC
11:48:22 *** upul_ is now known as upul
11:55:06 *** upul_ has joined #openmrs
11:55:06 *** ChanServ sets mode: +v upul_
11:55:27 *** upul has quit IRC
12:50:41 *** njero has joined #openmrs
12:50:41 *** ChanServ sets mode: +v njero
12:56:35 *** upul_ is now known as upul
13:03:38 *** atomicturtle1 has joined #openmrs
13:03:38 *** atomicturtle has quit IRC
13:54:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11595]: chica * removed junky logging <http://dev.openmrs.org/changeset/11595>
14:01:50 *** bwolfe has joined #openmrs
14:01:51 *** ChanServ sets mode: +o bwolfe
14:19:42 *** atomicturtle1 has left #openmrs
14:22:58 <Echidna> hi bw
14:26:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1990 (task created): Obs should be displayed in ascending order of field number on encounters/encounterDisplay.list page <http://dev.openmrs.org/ticket/1990>
14:41:35 <bwolfe> hi ec
14:44:52 *** chopin has joined #openmrs
14:45:58 *** ceekays has joined #openmrs
14:46:33 <ceekays> Hie there!
14:46:46 <bwolfe> hi ceekays
14:46:48 <ceekays> I have a little question.
14:48:18 <ceekays> What are "date_started" and "date_stopped" used for in "obs" table?
14:48:57 <ceekays> That's in OpenMRS database model
14:58:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: uuid does not have a default value exception <http://forum.openmrs.org/viewtopic.php?f=8&t=461#p2010>
15:10:35 <upul> that reminds me of active lists
15:10:44 <bwolfe> ceekays: sorry, just saw your question. it was meant for ongoing type of observations. I can't think of an example off the top of my head though
15:13:14 <upul> is it like fever symptom started, stopped kind of thing?
15:15:03 <ceekays> bwolfe, upul: OK. I asked because I have a problem.
15:15:20 <ceekays> I am developing a diabetes apptn. We are required to capture a treatment and its "year started"
15:15:55 <ceekays> I was wondering as to how I can capture the "year started" for each treatment.
15:17:43 <bwolfe> I'm not 100% sure that using date_started is the right option here
15:17:46 <bwolfe> I might be wrong
15:18:08 <bwolfe> but I think you'd want an obs group and two separate obs. one for the disease, one for the year started
15:18:20 <bwolfe> you could send an email to the implementers list to see what others think
15:18:29 <ceekays> One way I thought was to put the "treatment" and the "year started" as separate observations. So I would have "GLIBENCLAMIDE" and "GLIBENCLAMIDE YEAR STARTED"
15:18:37 <bwolfe> (others that have more concept/obs modeling experience than me)
15:19:51 <ceekays> But That has a problem: the database will grow "2n" for given there are "n" treatments
15:20:07 <ceekays> That's its worst case
15:20:36 <upul> there's also a diabetes management module, you should check that
15:21:02 <ceekays> bwolfe, upul: OK, fine.
15:22:36 <bwolfe> ceekays: eh, once you get up to 1 million observations. the extra 100K obs won't really matter. :-)
15:23:54 <ceekays> bwolfe: :-) LoL!
15:27:52 *** njero has quit IRC
15:28:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1991 (defect created): Remove duplicate privilage: Add Concept Proposal(s) <http://dev.openmrs.org/ticket/1991> || OpenMRS Changesets: Changeset [11596]: jaxws: Fixing global property name to match module id <http://dev.openmrs.org/changeset/11596> || OpenMRS Tickets: Ticket #1990 (task closed): Obs should be displayed in ascending order of field number on encounters/encounterDisplay.list page <http://dev.openmrs.org/ticket/1990#comment:1>
15:51:53 *** ceekays has quit IRC
16:00:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1991 (defect created): Remove duplicate privilages: Add Concept Proposal(s) and Edit Concept Proposal(s) <http://dev.openmrs.org/ticket/1991>
16:02:42 *** atomicturtle has joined #openmrs
16:06:10 *** atomicturtle has left #openmrs
16:32:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1992 (enhancement created): Don't show MRNgen "ID Generator Setup" by default <http://dev.openmrs.org/ticket/1992>
16:33:39 *** njero has joined #openmrs
16:33:39 *** ChanServ sets mode: +v njero
16:56:56 *** upul has quit IRC
17:04:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1993 (enhancement created): HTML Form Entry visible to all users under Administration <http://dev.openmrs.org/ticket/1993>
17:10:31 *** Mkop has joined #openmrs
17:29:54 *** njero has quit IRC
17:36:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [11597]: chica - chica_scorable_jit branch * changed to in scorable … <http://dev.openmrs.org/changeset/11597>
17:52:23 *** njero has joined #openmrs
17:52:23 *** ChanServ sets mode: +v njero
18:16:24 *** estebanpv has joined #openmrs
19:02:08 *** atomicturtle has joined #openmrs
19:02:29 *** atomicturtle has left #openmrs
19:41:24 *** njero has quit IRC
19:41:54 *** njero has joined #openmrs
19:41:54 *** ChanServ sets mode: +v njero
20:49:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: uuid does not have a default value exception <http://forum.openmrs.org/viewtopic.php?f=8&t=461#p2011> || OpenMRS Tickets: Ticket #1995 (task created): Update Tribe module to extend OpenmrsObject <http://dev.openmrs.org/ticket/1995> || OpenMRS Tickets: Ticket #1994 (task created): OpenMRS 1.6 scheduler_task_config table requires uuid <http://dev.openmrs.org/ticket/1994>
21:23:27 *** wrnownrowr has joined #openmrs
21:23:32 *** wrnownrowr has left #openmrs
21:23:55 *** wrnownrowr has joined #openmrs
21:23:58 *** wrnownrowr has left #openmrs
21:52:32 *** bwolfe has quit IRC
21:55:03 *** njero has quit IRC
22:03:48 *** atomicturtle has joined #openmrs
22:34:36 *** atomicturtle has left #openmrs
22:59:44 *** estebanpv has quit IRC
23:03:51 *** SparFux has joined #openmrs
23:05:39 *** njero has joined #openmrs
23:05:39 *** ChanServ sets mode: +v njero