00:01:43
|
*** Echidna has quit IRC
|
00:27:20
|
*** sioraiocht has joined #openmrs
|
00:32:27
|
*** sioraioc_ has quit IRC
|
00:35:10
|
*** Echidna has joined #openmrs
|
01:25:31
|
*** sioraioc_ has joined #openmrs
|
01:30:18
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Reporting Tutorial at HISA <http://forum.openmrs.org/viewtopic.php?f=12&t=382#p1253>
|
01:38:25
|
*** sioraiocht has quit IRC
|
02:15:28
|
*** sioraioc_ has quit IRC
|
02:18:08
|
*** Nzeyi has joined #openmrs
|
02:33:58
|
*** TorLye has joined #openmrs
|
03:02:37
|
<OpenMRSBot> Recent updates in the world of openmrs: Nyoman Ribeka: GSoC - Week 2 - 4 <http://nyomanribeka.wordpress.com/2008/06/25/gsoc-week-2-4/> || OpenMRS Changesets: Changeset [4680]: tbla module: Added installation instructions and updated jars. <http://dev.openmrs.org/changeset/4680> || OpenMRS Changesets: Changeset [4679]: Fixing permissions error on patient dashboard - #825 <http://dev.openmrs.org/changeset/4679> || OpenMRS Changesets: Changeset [4678]: Fixing #821 <http://dev.openmrs.org/changeset/4678> || OpenMRS Changesets: Changeset [4677]: FormEntryModule. Updated lib-common to version 1.3 openmrs jars, and ⦠<http://dev.openmrs.org/changeset/4677> || OpenMRS Changesets: Changeset [4676]: Fixing schema-with-core-and-demo sql script (thanks to jacobb) <http://dev.openmrs.org/changeset/4676> || OpenMRS Changesets: Changeset [4675]: Fixing demo data create script (thanks for machosry) <http://dev.openmrs.org/changeset/4675> || OpenMRS Changesets: Changeset [4674]: in patientmatching module, added new target to build.xml for creating the ⦠<http://dev.openmrs.org/changeset/4674> || OpenMRS Changesets: Changeset [4673]: -- atd * changed int to Integer in a couple of places * added better ⦠<http://dev.openmrs.org/changeset/4673> || OpenMRS Changesets: Changeset [4672]: -- openmrs logic-api-refactoring * added code to set the datasource * ⦠<http://dev.openmrs.org/changeset/4672> || OpenMRS Changesets: Changeset [4671]: modulerepository: Adding sql create scripts <http://dev.openmrs.org/changeset/4671> || OpenMRS Changesets: Changeset [4670]: -- openmrs-logic-api refactoring * shortened arbitrarily long scheduled ⦠<http://dev.openmrs.org/changeset/4670> || OpenMRS Changesets: Changeset [4669]: double-entry-reconcile: don't list voided patients. <http://dev.openmrs.org/changeset/4669> || OpenMRS Changesets: Changeset [4668]: Creating addresshierarchy module directory for machosry <http://dev.openmrs.org/changeset/4668> || OpenMRS Changesets: Changeset [4667]: Creating data-synchronization-admin-ui branch off of ⦠<http://dev.openmrs.org/changeset/4667> || OpenMRS Changesets: Changeset [4666]: -- sockethl7listener * added toProperCase method <http://dev.openmrs.org/changeset/4666> || OpenMRS Changesets: Changeset [4665]: double entry reconciliation module: bugfix to allow ⦠<http://dev.openmrs.org/changeset/4665> || OpenMRS Changesets: Changeset [4664]: Creating a new branch for playing with an example module <http://dev.openmrs.org/changeset/4664> || OpenMRS Changesets: Changeset [4663]: Created branches directory. <http://dev.openmrs.org/changeset/4663> || OpenMRS Changesets: Changeset [4662]: OASIS Team - import export functionality committed <http://dev.openmrs.org/changeset/4662> || OpenMRS Changesets: Changeset [4661]: data_sync_bidrectional: removing snychronizable from cohort until cohorts ⦠<http://dev.openmrs.org/changeset/4661> || OpenMRS Changesets: Changeset [4660]: data_sync_bidrectional: removing snychronizable from cohort until cohorts ⦠<http://dev.openmrs.org/changeset/4660>
|
03:07:30
|
*** cancerb0y has quit IRC
|
03:28:52
|
*** rfoecking has quit IRC
|
03:28:52
|
*** Echidna has quit IRC
|
03:28:52
|
*** nribeka has quit IRC
|
03:28:52
|
*** TorLye has quit IRC
|
03:28:52
|
*** Nzeyi has quit IRC
|
03:28:52
|
*** r0bby has quit IRC
|
03:28:52
|
*** atomicturtle has quit IRC
|
03:29:37
|
*** TorLye has joined #openmrs
|
03:29:37
|
*** Nzeyi has joined #openmrs
|
03:29:37
|
*** Echidna has joined #openmrs
|
03:29:37
|
*** r0bby has joined #openmrs
|
03:29:37
|
*** rfoecking has joined #openmrs
|
03:29:37
|
*** nribeka has joined #openmrs
|
03:29:37
|
*** atomicturtle has joined #openmrs
|
03:29:37
|
*** irc.freenode.net sets mode: +v r0bby
|
03:32:44
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4681]: Synchronization Admin UI first codes commit <http://dev.openmrs.org/changeset/4681>
|
03:37:44
|
*** sunbiz has joined #openmrs
|
04:32:56
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4682]: Adding popup tabs to the "Manage Synchronization" page and basic pagging ⦠<http://dev.openmrs.org/changeset/4682>
|
04:50:08
|
*** sunbiz has quit IRC
|
04:50:17
|
*** sunbiz has joined #openmrs
|
04:57:14
|
<sunbiz> anyone home ??
|
06:03:19
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4683]: Synchronization Admin UI first codes commit <http://dev.openmrs.org/changeset/4683>
|
06:15:04
|
*** james_regen has joined #openmrs
|
06:15:04
|
*** ChanServ sets mode: +v james_regen
|
06:32:36
|
*** upul has quit IRC
|
06:32:37
|
*** sunbiz has quit IRC
|
06:33:28
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: HISA 2008 - Reporting Tutorial <http://forum.openmrs.org/viewtopic.php?f=24&t=383#p1254>
|
07:00:05
|
*** bwolfe has joined #openmrs
|
07:00:05
|
*** ChanServ sets mode: +o bwolfe
|
07:03:05
|
*** Nzeyi has quit IRC
|
07:26:58
|
*** atomicturtle has quit IRC
|
07:39:20
|
*** bmckown has joined #openmrs
|
07:39:20
|
*** ChanServ sets mode: +o bmckown
|
07:58:23
|
*** bwolfe_ has joined #openmrs
|
07:58:23
|
*** ChanServ sets mode: +o bwolfe_
|
07:58:27
|
*** bwolfe has quit IRC
|
07:58:33
|
*** bwolfe_ is now known as bwolfe
|
08:24:07
|
* nribeka is away
|
08:24:16
|
*** atomicturtle has joined #openmrs
|
08:24:48
|
*** atomicturtle has quit IRC
|
08:25:05
|
*** atomicturtle has joined #openmrs
|
08:33:53
|
*** nribeka is now known as nribeka_away
|
08:53:41
|
*** njero has joined #openmrs
|
08:53:41
|
*** ChanServ sets mode: +v njero
|
09:04:04
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #857 (defect closed): An Error when you don't put an identifier while creating a patient <http://dev.openmrs.org/ticket/857#comment:2> || OpenMRS Tickets: Ticket #847 (defect closed): Filled in fields cleared when adding patients incorrectly <http://dev.openmrs.org/ticket/847#comment:3> || OpenMRS Tickets: Ticket #202 (enhancement closed): Clean up "Create New Patient" UI <http://dev.openmrs.org/ticket/202#comment:1>
|
09:34:10
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #828 (defect closed): View Patient summaries Error <http://dev.openmrs.org/ticket/828#comment:9> || OpenMRS Changesets: Changeset [4684]: Removed unused patientSummaries page and servlet - #828 Added ⦠<http://dev.openmrs.org/changeset/4684>
|
09:41:09
|
*** sgrannis has joined #openmrs
|
09:41:09
|
*** ChanServ sets mode: +v sgrannis
|
09:46:10
|
<rfoecking> bwolfe: im getting class cast exception when i try to cast that concept to a concept numeric :) so i'm guessing thats not gonna work?
|
09:46:55
|
<bwolfe> rfoecking: hmm, thats unfortunate
|
09:47:41
|
<bwolfe> rfoecking: there is a method in ObsFormController that will translate the Concept to a ConceptNumeric. apparently that isn't getting called before the validator
|
09:48:06
|
<bwolfe> rfoecking: can you look up the order of method calls by Spring and see if we can get that method called earlier ? :-)
|
09:48:42
|
<rfoecking> bwolfe: sure, i'll take a look
|
10:04:22
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4686]: in patientmatching module, fixed build.xml to copy directories correctly ⦠<http://dev.openmrs.org/changeset/4686> || OpenMRS Tickets: Ticket #829 (defect closed): Generate Identifiers error <http://dev.openmrs.org/ticket/829#comment:5> || OpenMRS Changesets: Changeset [4685]: Removing unused link to Generate Identifiers page - #829 <http://dev.openmrs.org/changeset/4685>
|
10:16:03
|
<rfoecking> bwolfe: i'm not seeing this magical method that translates the concept to a concept numeric in ObsFormController, what would it be called?
|
10:17:26
|
<bwolfe> rfoecking: argh. you're right. I was thinking of the ConceptFormController
|
10:18:15
|
<bwolfe> rfoecking: in fact, you can disregard my entire comment on that. Fetching a new ConceptNumeric object is ok because the value the user typed in is stored on Obs.getValueNumeric() :-/
|
10:18:40
|
<bwolfe> rfoecking: sorry for sending you unnecessarily down that path! :-/
|
10:18:50
|
<rfoecking> bwolfe: haha, its fine :) thanks for the help
|
10:19:15
|
<rfoecking> bwolfe: does everything else look good then? should i attach another .patch file with the comments?
|
10:19:37
|
<bwolfe> rfoecking: yeah, you can just replace the first patch with the new one actually
|
10:22:44
|
*** nribeka_away is now known as nribeka
|
10:23:50
|
<nribeka> sgrannis, are you still there?
|
10:28:09
|
<nribeka> sgrannis, i'm going to the library in a few mins
|
10:29:02
|
<nribeka> can we chat after that?
|
10:34:29
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #840 (defect closed): Error message when trying to delete an encounter type <http://dev.openmrs.org/ticket/840#comment:2> || OpenMRS Tickets: Ticket #839 (defect closed): Error message when trying to delete a location <http://dev.openmrs.org/ticket/839#comment:2> || OpenMRS Tickets: Ticket #835 (defect closed): Error handling needed when trying to delete a relationship which is in use <http://dev.openmrs.org/ticket/835#comment:2> || OpenMRS Tickets: Ticket #877 (enhancement created): Maintain history of recent configuration files loaded in RecMatch GUI <http://dev.openmrs.org/ticket/877> || OpenMRS Tickets: Ticket #757 (defect closed): Download of concept dictionary cannot handle special characters <http://dev.openmrs.org/ticket/757#comment:1> || OpenMRS Tickets: Ticket #836 (defect closed): Creator and Changed by columns are transposed in Concept Dictionary CSV download <http://dev.openmrs.org/ticket/836#comment:3> || OpenMRS Tickets: Ticket #830 (defect closed): Concept Dictionary CSV Download doens't show Answer Names for Coded Concepts <http://dev.openmrs.org/ticket/830#comment:2> || OpenMRS Changesets: Changeset [4687]: Fixed dictionary download headers - #836 Fixed dictionary download answer ⦠<http://dev.openmrs.org/changeset/4687> || Nzeyimana Antoine: OPENMRS first commit <http://nzeyi.wordpress.com/2008/06/25/openmrs-first-commit/>
|
10:35:45
|
<bwolfe> nribeka: sgrannis just went to a meeting, so I'm guessing that'll be fine :-p
|
10:36:32
|
<nribeka> thanks bwolfe
|
10:36:42
|
<nribeka> off in a few mins
|
10:45:55
|
<rfoecking> bwolfe: woops, i meant to overwrite the old patch file, but apparently the name was a bit off. well either way, its there now :p
|
10:52:45
|
<rfoecking> and also bwolfe, i'd like to get started on a project, i think. possibly the patient portrait module? i emailed david thomas and he hasn't gotten back to me yet. what do i need to do to get started?
|
10:55:29
|
*** nribeka has quit IRC
|
10:57:46
|
*** TorLye has quit IRC
|
10:58:14
|
<bwolfe> rfoecking: well, I don't /think/ anyone is working on that on eyet
|
10:58:42
|
<bwolfe> rfoecking: unfortunately your first step would be to connect with Dave and figure out what the project needs
|
10:59:02
|
<bwolfe> rfoecking: but before that I suppose you could follow the "creating my first module" page
|
11:00:28
|
<rfoecking> bwolfe: okay, i figured as much :) i'll play around with some module stuff till dave emails me
|
11:04:35
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4688]: Added a sample dummy form <http://dev.openmrs.org/changeset/4688> || OpenMRS Tickets: Ticket #878 (enhancement created): Implement option to either a) load field names from first row of a datasource, or b) skip the first row <http://dev.openmrs.org/ticket/878>
|
11:14:10
|
*** cancerb0y has joined #openmrs
|
11:14:24
|
<cancerb0y> bwolfe hi ben
|
11:14:49
|
<bwolfe> hey
|
11:15:12
|
<cancerb0y> bwolfe I was wondering whether users create different hierarchies for same country.. in clear words... an user creates hierarchy as follows
|
11:15:43
|
<cancerb0y> india(country)-->x1(state)-->y1(sublocation1)
|
11:15:45
|
<cancerb0y> and
|
11:16:03
|
<cancerb0y> india(country)-->y2(sublocation1)
|
11:16:12
|
<cancerb0y> is this possible anyway??
|
11:17:09
|
<bwolfe> cancerb0y: that would not be advised
|
11:17:32
|
<cancerb0y> bwolfe so you mean i need not worry about it as of now?
|
11:17:33
|
<bwolfe> we don't have an "address type" option, so all addresses would be displayed the same
|
11:17:48
|
<bwolfe> right, don't worry about it! (yet)
|
11:17:55
|
<cancerb0y> bwolfe thanks :)
|
11:24:21
|
*** nribeka has joined #openmrs
|
11:47:32
|
*** jacobb has joined #openmrs
|
12:03:10
|
*** Echidna has quit IRC
|
12:03:29
|
*** Echidna has joined #openmrs
|
12:04:49
|
*** nribeka has quit IRC
|
12:04:49
|
*** rfoecking has quit IRC
|
12:04:49
|
*** Echidna has quit IRC
|
12:04:49
|
*** sgrannis has quit IRC
|
12:04:49
|
*** njero has quit IRC
|
12:04:49
|
*** atomicturtle has quit IRC
|
12:04:49
|
*** bmckown has quit IRC
|
12:04:49
|
*** jacobb has quit IRC
|
12:04:49
|
*** cancerb0y has quit IRC
|
12:04:49
|
*** r0bby has quit IRC
|
12:04:49
|
*** bwolfe has quit IRC
|
12:04:53
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4688]: patientnotes module: Added a sample dummy form <http://dev.openmrs.org/changeset/4688>
|
12:09:08
|
*** bwolfe has joined #openmrs
|
12:09:08
|
*** irc.freenode.net sets mode: +o bwolfe
|
12:09:23
|
*** bmckown has joined #openmrs
|
12:09:23
|
*** nribeka has joined #openmrs
|
12:09:23
|
*** Echidna has joined #openmrs
|
12:09:23
|
*** jacobb has joined #openmrs
|
12:09:23
|
*** cancerb0y has joined #openmrs
|
12:09:23
|
*** sgrannis has joined #openmrs
|
12:09:23
|
*** njero has joined #openmrs
|
12:09:23
|
*** atomicturtle has joined #openmrs
|
12:09:23
|
*** r0bby has joined #openmrs
|
12:09:23
|
*** irc.freenode.net sets mode: +ovvv bmckown sgrannis njero r0bby
|
12:09:23
|
*** rfoecking has joined #openmrs
|
12:12:55
|
*** bwolfe has quit IRC
|
12:12:55
|
*** rfoecking has quit IRC
|
12:12:55
|
*** nribeka has quit IRC
|
12:12:55
|
*** Echidna has quit IRC
|
12:12:55
|
*** njero has quit IRC
|
12:12:55
|
*** sgrannis has quit IRC
|
12:12:55
|
*** bmckown has quit IRC
|
12:12:55
|
*** atomicturtle has quit IRC
|
12:12:55
|
*** cancerb0y has quit IRC
|
12:12:55
|
*** jacobb has quit IRC
|
12:12:55
|
*** r0bby has quit IRC
|
12:13:05
|
*** bwolfe has joined #openmrs
|
12:13:05
|
*** nribeka has joined #openmrs
|
12:13:05
|
*** Echidna has joined #openmrs
|
12:13:05
|
*** jacobb has joined #openmrs
|
12:13:05
|
*** cancerb0y has joined #openmrs
|
12:13:05
|
*** sgrannis has joined #openmrs
|
12:13:05
|
*** njero has joined #openmrs
|
12:13:05
|
*** atomicturtle has joined #openmrs
|
12:13:05
|
*** bmckown has joined #openmrs
|
12:13:05
|
*** irc.freenode.net sets mode: +ovvo bwolfe sgrannis njero bmckown
|
12:13:05
|
*** r0bby has joined #openmrs
|
12:13:05
|
*** rfoecking has joined #openmrs
|
12:13:05
|
*** irc.freenode.net sets mode: +v r0bby
|
12:17:13
|
<atomicturtle> Burke! Paul! You have to tell them! Soylent green is peeeeeeeopppppple!
|
12:18:46
|
*** bmckown_ has joined #openmrs
|
12:19:01
|
*** bmckown has quit IRC
|
12:31:19
|
*** sunbiz has joined #openmrs
|
12:35:06
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4689]: data_sync_bidrect: fixing hardcoded name of treatment group in neal report <http://dev.openmrs.org/changeset/4689>
|
13:05:15
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4690]: pih hacks module: Added compare chart abstraction with EMR data feature. ⦠<http://dev.openmrs.org/changeset/4690> || OpenMRS Tickets: Ticket #845 (defect closed): Cohort Builder Excel Reports - Give same results for location query <http://dev.openmrs.org/ticket/845#comment:1>
|
13:30:32
|
<r0bby> I just got burke's idea
|
13:31:02
|
<r0bby> we're not gonna "bind" a "groovy" string for templates, i'm just when i go to process it replace it with the static method calls :)
|
13:31:19
|
<r0bby> I have no clue how to bind when we actually run it through groovy natively :P
|
13:35:20
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #879 (task created): modulerepository: delete option for added modules <http://dev.openmrs.org/ticket/879>
|
13:35:33
|
*** sunbiz has left #openmrs
|
13:48:48
|
<r0bby> oh mai
|
13:50:17
|
<r0bby> upul++
|
13:50:19
|
<r0bby> upul++
|
13:50:21
|
<r0bby> upul++
|
13:50:21
|
<r0bby> !karma upul
|
13:50:21
|
<OpenMRSBot> r0bby: Karma for "upul" has been increased 3 times and decreased 0 times for a total karma of 3.
|
13:50:23
|
<bwolfe> I'll second that
|
13:50:27
|
<bwolfe> upul++
|
13:50:34
|
<r0bby> I was gonna do it
|
13:51:02
|
<bwolfe> r0bby: theres another module repository ticket out there already I think. its for adding thumbnails
|
13:51:07
|
<bwolfe> :-)
|
13:51:25
|
<r0bby> find it for me
|
13:51:28
|
* r0bby cracks the whip[
|
13:51:47
|
* bwolfe catches whip and breaks it over his knee
|
13:51:53
|
* bwolfe scowls at r0bby
|
13:52:02
|
<bwolfe> err
|
13:52:14
|
* bwolfe squints at r0bby while raising one eyebrow
|
13:52:18
|
<r0bby> http://dev.openmrs.org/ticket/687 << that looks fun
|
13:52:30
|
*** bmckown_ has quit IRC
|
13:53:08
|
<bwolfe> !ticket 558
|
13:53:08
|
<OpenMRSBot> bwolfe: Ticket #558: http://dev.openmrs.org/ticket/558
|
13:53:12
|
<r0bby> found it
|
13:53:13
|
<bwolfe> linked to from that 687 one
|
13:53:42
|
<bwolfe> 687 would require changing openmrs to add in that option to the config.xml
|
13:54:10
|
<r0bby> that's breaking
|
13:54:16
|
<r0bby> it'd be fun tho :)
|
13:54:37
|
<r0bby> I'll pass i have enough on my plate right now
|
13:54:43
|
<r0bby> I feel like i'm doing the impossible here
|
13:54:52
|
<r0bby> writing tests
|
13:54:54
|
<r0bby> :/
|
13:54:57
|
<r0bby> Good news is tho
|
13:55:06
|
<r0bby> i played with burke's original code
|
13:55:14
|
<r0bby> m.value will give me the reference to the object
|
13:55:39
|
<r0bby> so doing: Concept c = m.value; c && c.answers ? ... : ...
|
13:55:56
|
<r0bby> ternary for compactness while typing here
|
13:56:25
|
<r0bby> I could clean up my template generation code greatly by using (read: abusing) ternary operators!
|
13:56:43
|
<r0bby> for some reason I got a nice thing for them
|
13:57:04
|
<r0bby> kind of like my weird practice of using the stack in x86 assembly to keep the registers free
|
13:57:29
|
* r0bby snickers
|
13:57:39
|
<r0bby> I liked typing push, pop, etc :)
|
14:00:25
|
*** bmckown_ has joined #openmrs
|
14:01:03
|
*** bmckown_ is now known as bmckown
|
14:01:22
|
*** ChanServ sets mode: +o bmckown
|
14:05:26
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #858 (task closed): Cause of death limited by the number of options <http://dev.openmrs.org/ticket/858#comment:2>
|
14:09:03
|
<nribeka> http://www.phdcomics.com/comics.php << this is so us, F1-ers
|
14:23:07
|
<r0bby> nribeka: HAHAHA
|
14:23:17
|
* r0bby loves this country
|
14:23:25
|
<r0bby> ---NOT
|
14:24:10
|
<nribeka> wake up at 5am and get in the line in front of US Consulate :P
|
14:35:31
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #831 (defect closed): Don't allow Identifier Numbers to be deleted if they are in use, give pretty error <http://dev.openmrs.org/ticket/831#comment:4> || OpenMRS Tickets: Ticket #855 (defect created): When stopping/starting a module, its services are not added properly. <http://dev.openmrs.org/ticket/855>
|
14:53:29
|
*** openmrs_8889 has joined #openmrs
|
14:53:43
|
*** openmrs_8889 has quit IRC
|
15:02:23
|
<r0bby> my name is r0bby
|
15:02:37
|
<r0bby> im addicted to coffee now
|
15:02:38
|
<r0bby> ffs
|
15:05:38
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #820 (task closed): Default Privileges for Provider Role <http://dev.openmrs.org/ticket/820#comment:6> || OpenMRS Changesets: Changeset [4691]: Fixed default privileges on Data Assistant and Data Manager - #820 Added ⦠<http://dev.openmrs.org/changeset/4691>
|
15:09:00
|
<r0bby> /gg/jerk
|
15:09:21
|
<r0bby> bwolfe: Would it be okay if i cut to the chase and used jquery right off the bat?
|
15:09:32
|
<r0bby> ditching dojo
|
15:09:46
|
<r0bby> (Use google's hosted .js file)
|
15:10:28
|
<bwolfe> you can use jquery if you want
|
15:10:36
|
<bwolfe> do not use the hosted file though
|
15:10:56
|
<bwolfe> there are a lot of implementations that work without an internet connection (like ours)
|
15:11:40
|
<[mharrison]> jQuery =D
|
15:11:58
|
<[mharrison]> I'm doing some jQuery now
|
15:13:45
|
<r0bby> bwolfe: ok
|
15:14:04
|
<r0bby> bwolfe: How would I go about applying for a job w/ an implementation to work on the module furthur?
|
15:14:08
|
<r0bby> (for pay)
|
15:14:50
|
<bwolfe> um, they would probably approach you
|
15:15:43
|
<r0bby> :/
|
15:15:48
|
<r0bby> meh
|
15:16:01
|
<r0bby> sorry for the asking bit :/
|
15:17:03
|
<r0bby> bwolfe: I need to plug into Spring for some of my tests
|
15:17:19
|
<r0bby> such as testing compilability
|
15:17:36
|
<r0bby> it works when deployed :S
|
15:21:38
|
<bwolfe> was there a question in there somewhere r0bby ?
|
15:23:28
|
<atomicturtle> Hey when is the BBC thing? Tony is moving IPs around
|
15:23:41
|
<atomicturtle> agruetz: i am going to have to move openmrs to new ip's this week
|
15:25:32
|
<bwolfe> atomicturtle: its already been out there
|
15:25:36
|
<r0bby> atomicturtle: just the man i wanted
|
15:25:41
|
<atomicturtle> ok
|
15:25:47
|
<bwolfe> it'll air a few more times over the course of the new few weeks
|
15:25:54
|
<atomicturtle> I dont have time to talk right now, got a proposal due in 90 minutes
|
15:26:08
|
<atomicturtle> tony just told me, so I'll get back to you after this is done
|
15:26:21
|
<bwolfe> ok
|
15:26:38
|
<bwolfe> atomicturtle: tony is the one in texas ?
|
15:26:50
|
<atomicturtle> yeah, those are the vps's
|
15:27:36
|
<bwolfe> atomicturtle: ok, that should be fine. thats really just a "developer" box with trac/tickets and svn on it
|
15:48:18
|
<r0bby> bwolfe: i was thinking -- Should i store a reference to the GroovyFormsDomainModelMetaData object generated from the form model in my metadata?
|
15:48:42
|
* r0bby can't decide
|
15:48:58
|
<r0bby> I really only need it to generate the template
|
15:49:22
|
<r0bby> hrm
|
15:49:27
|
<bwolfe> if you don't need it, why store it?
|
15:49:40
|
<sgrannis> nribeka: you there?
|
15:49:51
|
<nribeka> yeps
|
15:49:52
|
<nribeka> :D
|
15:49:52
|
<r0bby> I created it basically for convenience
|
15:50:05
|
<nribeka> sgrannis: done with all the meeting?
|
15:50:17
|
<r0bby> burke++
|
15:50:30
|
<r0bby> for writing a kickass getProperties closure :D
|
15:51:43
|
<r0bby> my entire design consists of 3 utility classes, 2 internal domain model (one for field data, one for the actual form metadata, name, id, ect)
|
15:52:06
|
<r0bby> and a Container class
|
15:52:45
|
<r0bby> in the future i'll write in a support pluggably to get access to the other form modules
|
16:02:59
|
*** rfoecking has left #openmrs
|
16:05:29
|
*** bwolfe has quit IRC
|
16:07:51
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #850 (task closed): Numeric fields accept non-numeric data (HISA) <http://dev.openmrs.org/ticket/850#comment:2> || OpenMRS Tickets: Ticket #844 (defect closed): Starting an already running task runs multiple instances of the same task <http://dev.openmrs.org/ticket/844#comment:3> || OpenMRS Tickets: Ticket #822 (task closed): New Privilege Requirements are Missing for Program Management <http://dev.openmrs.org/ticket/822#comment:3>
|
16:35:47
|
<r0bby> ugh
|
16:35:51
|
<r0bby> why is this acting up
|
16:37:06
|
*** bmckown has quit IRC
|
17:58:49
|
*** atomicturtle has quit IRC
|
18:19:50
|
*** pearlbear has joined #openmrs
|
18:19:50
|
*** ChanServ sets mode: +v pearlbear
|
18:27:36
|
<r0bby> meh
|
18:27:40
|
<r0bby> ran out of drive space
|
18:31:31
|
<nribeka> off to go home
|
18:32:13
|
*** nribeka has quit IRC
|
18:59:42
|
*** sunbiz has joined #openmrs
|
18:59:58
|
<sunbiz> hey guys !!
|
19:00:24
|
<sunbiz> does any know if we can use a LGPL v3 based bean with OpenMRS ??
|
19:01:19
|
<sunbiz> I have a tough time understanding GPL v3
|
19:12:13
|
<r0bby> sunbiz: you probably should stay away from other people's code
|
19:12:27
|
<r0bby> it introduces a lot of complexity
|
19:15:00
|
<r0bby> I would *LOVE* to use some grails code
|
19:15:05
|
<r0bby> but i can't.
|
19:15:12
|
<r0bby> so I'm writing it all from scratch
|
19:18:39
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4700]: pihhacks: random things... most notably fixed batch enrollment by IMB ID <http://dev.openmrs.org/changeset/4700> || OpenMRS Changesets: Changeset [4699]: patient matching module: add some web pages to the module. need to decide ⦠<http://dev.openmrs.org/changeset/4699> || OpenMRS Changesets: Changeset [4698]: patient matching module: add some web pages to the module. need to decide ⦠<http://dev.openmrs.org/changeset/4698> || OpenMRS Changesets: Changeset [4697]: patient matching module: add some web pages to the module. need to decide ⦠<http://dev.openmrs.org/changeset/4697> || OpenMRS Changesets: Changeset [4696]: patient matching module: add some web pages to the module. need to decide ⦠<http://dev.openmrs.org/changeset/4696> || OpenMRS Changesets: Changeset [4695]: patient matching module: add some web pages to the module. need to decide ⦠<http://dev.openmrs.org/changeset/4695> || OpenMRS Changesets: Changeset [4694]: Catching false input on concept word update form - #850 <http://dev.openmrs.org/changeset/4694> || OpenMRS Changesets: Changeset [4693]: Fully stopping a task that has already been started before restarting - ⦠<http://dev.openmrs.org/changeset/4693> || OpenMRS Changesets: Changeset [4692]: Migrating privileges to the new required ones with the refactored api - ⦠<http://dev.openmrs.org/changeset/4692>
|
19:19:10
|
<sunbiz> r0bby: but then wasnt OOP mean to be reusable
|
19:19:27
|
<sunbiz> really... we use so many libraries for everything !!
|
19:20:01
|
<jacobb> sunbiz, i think you can use lgpl
|
19:20:38
|
<sunbiz> okk... even v3 right ??
|
19:21:01
|
<jacobb> if you're not modifying hte lgpl code then you shouldn't have a problem
|
19:21:06
|
<sunbiz> ok
|
19:21:10
|
<jacobb> well don't take my word for it, and i'm not familiar with v3
|
19:21:11
|
<jacobb> but
|
19:21:14
|
<jacobb> from what i know
|
19:21:24
|
<jacobb> lgpl code can even be used in proprietary systems
|
19:21:28
|
<jacobb> so you shouldn't have a problem
|
19:21:40
|
<sunbiz> thanks mate
|
19:25:10
|
<jacobb> np
|
19:26:05
|
*** cancerb0y has quit IRC
|
19:26:10
|
<r0bby> sunbiz: yes -- within bounds of licensing terms
|
19:26:36
|
<r0bby> I can't take the code, and slap the OpenMRS license header in there
|
19:26:53
|
<sunbiz> r0bby: yea... u cant do that!!
|
19:27:21
|
<r0bby> It introduces complexity; if I extend it, then it's a derivative work; the way i'm doing it, is following their convention, but nothing else
|
19:27:52
|
<r0bby> okay no initialDates are gonna be allowed
|
19:28:00
|
<jacobb> r0bby, but using an lgpl library will be perfectly fine
|
19:28:32
|
<jacobb> in fact, you may even be able to take class files and use them if you keep the license header, depending on the license
|
19:28:54
|
<jacobb> some licenses even allow you to drop license, steal the code, and call it your own :p
|
19:29:29
|
<r0bby> jacobb: thta is the problem
|
19:29:32
|
<r0bby> it's inconsistent
|
19:29:35
|
<r0bby> and I HATE that
|
19:29:38
|
<jacobb> each license is difference
|
19:29:42
|
<r0bby> Yes
|
19:29:45
|
<r0bby> it's dumb
|
19:29:48
|
<jacobb> gpl is basically impossible to use if you're not gpl
|
19:29:53
|
<r0bby> i dont feel like navigating
|
19:29:57
|
<r0bby> legal crap
|
19:30:02
|
<r0bby> faster to write it myself
|
19:30:11
|
<r0bby> as a side effect thios feels like an impossible task
|
19:32:12
|
<jacobb> anyone know what the patient_state table holds?
|
19:33:56
|
*** nribeka has joined #openmrs
|
19:34:02
|
*** njero has quit IRC
|
19:35:15
|
*** nribeka is now known as nribeka_dinner
|
19:35:15
|
<r0bby> I hate this
|
19:35:27
|
<r0bby> Im stuck as hell
|
19:42:33
|
<r0bby> I GOT IT!!!!!!!!!
|
19:42:47
|
<r0bby> no
|
19:42:49
|
<r0bby> =/
|
20:01:56
|
*** nribeka_dinner is now known as nribeka
|
20:10:37
|
<r0bby> !seen burke
|
20:10:37
|
<OpenMRSBot> r0bby: burke was last seen in #openmrs 2 weeks, 5 days, 3 hours, 39 minutes, and 37 seconds ago: <burke> s/y2/u2/ :-)
|
20:10:50
|
<r0bby> meh
|
20:11:05
|
<r0bby> !seen ekrub
|
20:11:05
|
<OpenMRSBot> r0bby: ekrub was last seen in #openmrs 13 weeks, 6 days, 5 hours, 56 minutes, and 30 seconds ago: <ekrub> r/"/?
|
20:48:33
|
*** sunbiz has quit IRC
|
21:06:51
|
*** bwolfe has joined #openmrs
|
21:06:51
|
*** ChanServ sets mode: +o bwolfe
|
21:16:48
|
*** sgrannis_ has joined #openmrs
|
21:17:24
|
<sgrannis_> nribeka: you there?
|
21:17:38
|
<nribeka> yep
|
21:18:08
|
<sgrannis_> so, i wanted to describe the basic dedupe work flow.... here goes:
|
21:18:11
|
*** atomicturtle has joined #openmrs
|
21:18:24
|
<nribeka> ok
|
21:18:33
|
<sgrannis_> from the admin page the user selects blokcing schemes from the list of fields avaialble
|
21:18:54
|
<sgrannis_> once the blocking runs are set, the module proceeds in the following fashion:
|
21:19:28
|
<sgrannis_> a) form pairs based on the blocking schemes
|
21:19:47
|
<sgrannis_> b) random sample 100,000 random samples for u-value and then run EM for m-values
|
21:20:31
|
<nribeka> the list of field are from the patient table, right?
|
21:20:33
|
<sgrannis_> [ b) is done for each blocking run]
|
21:20:39
|
<sgrannis_> right
|
21:21:11
|
<sgrannis_> c) score pairs for each blocking run
|
21:21:47
|
<sgrannis_> d) using the "p" estimate from EM for each blocking run, determine the threshold score for each blockign run
|
21:22:46
|
<sgrannis_> e) using the threshold score, pass all true positive matches ( equal to or greater thatn the threshold) to the transitive grouping function
|
21:23:13
|
<sgrannis_> f) return the grouped duplicates to the user on the web form
|
21:23:37
|
<sgrannis_> that's the basic process
|
21:24:00
|
<nribeka> that's going to take a while to finish and display the result, i think
|
21:24:29
|
<nribeka> do we have the list of field already? is there any method to do this?
|
21:25:28
|
* r0bby doesn't wanna write CSS by hand :<
|
21:25:49
|
<nribeka> i think we have it already
|
21:26:02
|
*** pearlbear has quit IRC
|
21:30:09
|
<sgrannis_> of course the user needs to configure whether the dedupe report is run immediately or is scheduled to run at a future time
|
21:30:09
|
<sgrannis_> I'll take a breath now ;)
|
21:30:09
|
<sgrannis_> (btw - i'm on my new mbp)
|
21:30:09
|
<sgrannis_> lovin' it! :D
|
21:30:10
|
<sgrannis_> does the work flow make sense to you?
|
21:30:41
|
<nribeka> yes. btw, i want mbp too lol :D
|
21:30:56
|
<[mharrison]> sgrannis, nice hardware
|
21:31:03
|
<nribeka> i think we can get the demographic value of a patient but not sure if we can get the demographic name
|
21:31:05
|
<sgrannis_> thx!
|
21:31:33
|
<sgrannis_> meaning you can't get the field names form teh patient table?
|
21:31:42
|
<nribeka> i'm not sure about it :D
|
21:31:44
|
<sgrannis_> err, *we* can't get the names
|
21:32:00
|
<nribeka> bwolfe: can we?
|
21:32:29
|
<bwolfe> why wouldn't you be able to ?
|
21:32:59
|
<nribeka> haha ... :P
|
21:33:07
|
<nribeka> how?
|
21:33:21
|
<sgrannis_> the question is 'by what mechanism can we introspect the patient table to determine the field names'
|
21:34:39
|
<bwolfe> are you java land or just sql land ?
|
21:34:41
|
<sgrannis_> i guess we're not saying er can't; more like we're not sure how. The basic patient table fields shoudl be a given; the additional attributes that installations add are the greater challenge
|
21:34:58
|
<sgrannis_> bwolfe: don't understnad the quesiton
|
21:35:27
|
<nribeka> i think we are in java land
|
21:35:47
|
<nribeka> i know the sql package can get the metadata (there's a method to get it)
|
21:35:55
|
<sgrannis_> anybody have eclipse on the Mac? if so, any "gotcha's"?
|
21:36:02
|
<bwolfe> if in java land, you can use reflection on the Patient object to get the field names
|
21:36:13
|
<[mharrison]> sgrannis_, I haven't run into any
|
21:36:40
|
<sgrannis_> mharrison: thx! now I know who to pester! ;)
|
21:36:46
|
<[mharrison]> haha
|
21:36:59
|
<[mharrison]> I haven't used it terribly much, but it was the same as on Linux
|
21:37:11
|
<sgrannis_> k
|
21:38:06
|
<sgrannis_> nribeka: earlier you said, "that's going to take a while to finish and display the result" -- can you say more?
|
21:39:16
|
<sgrannis_> btw: RecMatch GUI Looks Awesome on the Mac!
|
21:39:28
|
<sgrannis_> java swing looks great on Mac
|
21:39:38
|
<r0bby> bwolfe: *cough* groovy
|
21:40:04
|
<[mharrison]> * looks great on OS X
|
21:40:20
|
<sgrannis_> yep
|
21:40:31
|
<r0bby> http://eugeneciurana.com/pastebin/pastebin.php?show=27401
|
21:40:32
|
<OpenMRSBot> <http://ln-s.net/1yGS> (at eugeneciurana.com)
|
21:40:42
|
<nribeka> sgrannis_: isn't the time will be proportional with the desktop one? well it depends on how many records you have, right?
|
21:40:42
|
<r0bby> with mild tweaking that could work
|
21:40:48
|
<r0bby> just pass an instance of Patient in
|
21:40:59
|
<r0bby> Ie an instantiated patient object
|
21:41:13
|
<sgrannis_> nribeka: James fixed the Ant build.xml file, so the recmatch gui builds correctly adn we get a nicely packaged program
|
21:41:39
|
<sgrannis_> nribeka: yes it will depend on total # of records.
|
21:42:10
|
<sgrannis_> likely a 100,000 patient table will take on the order of 30-60 minutes (if we're lucky)
|
21:42:21
|
<sgrannis_> execution time is actually a function of:
|
21:42:24
|
<r0bby> sgrannis_: see the code i posted I can help you tweak it
|
21:42:25
|
<r0bby> :)
|
21:42:37
|
<sgrannis_> # of patienta
|
21:42:43
|
<sgrannis_> # of actual duplicates
|
21:42:52
|
<sgrannis_> speed of processor
|
21:42:58
|
<sgrannis_> memory avaiable
|
21:43:16
|
<nribeka> sgrannis_: hehe ... 30 - 60 mins :D the server has to be a good one then :P
|
21:43:41
|
<nribeka> r0bby can help us creating Groovy version of record matching hehe :D
|
21:43:52
|
<sgrannis_> not really -- we ran a matching run earlier today with recmatch gui that took about 20 minutes for 60,000 records
|
21:44:24
|
<nribeka> bwolfe: the demographic data will be stored in "Set<PersonAttribute> attributes" property of the patient?
|
21:44:45
|
*** upul has joined #openmrs
|
21:45:15
|
<sgrannis_> nribeka: can you tke his groovy code and turn into Java?
|
21:45:16
|
<nribeka> wow, 60k hehe ... btw, sgrannis_ could you send me a screen shot of the swing in mac os x?
|
21:45:27
|
<sgrannis_> will do!
|
21:45:36
|
<nribeka> just curious with mbp :D
|
21:45:55
|
<bwolfe> nribeka: PersonAttributes are the extra stuff that users put in, yes. Phone Number, Birthplace, etc
|
21:45:58
|
<sgrannis_> btw -- i also luv the comnd-line access in OS X
|
21:46:51
|
* nribeka is opening reflection api
|
21:47:04
|
<nribeka> bwolfe: we can use bean util, right?
|
21:47:10
|
<r0bby> nribeka: you'd be shocked how fast it is to do in groovy
|
21:47:13
|
<bwolfe> nribeka: its something like Patient.getClass().getFields()
|
21:48:18
|
<r0bby> bwolfe: that may not work
|
21:48:23
|
<r0bby> you'd need to do it on an instance
|
21:49:13
|
<bwolfe> r0bby: no, its on the class object
|
21:49:19
|
<r0bby> ah
|
21:49:23
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: More suggestions <http://forum.openmrs.org/viewtopic.php?f=13&t=240#p1255>
|
21:49:39
|
<r0bby> bwolfe: doing it on the instance
|
21:49:59
|
<r0bby> ie patient.getClass().getFields() will also pull the values in
|
21:50:12
|
<r0bby> for a specific patient
|
21:52:55
|
<r0bby> bwolfe: doing Patient.class.getFields() pulls static fields only
|
21:53:02
|
*** atomicturtle has quit IRC
|
21:53:06
|
<r0bby> however getting the class object from the instance will pull instance fields in
|
21:53:16
|
*** atomicturtle has joined #openmrs
|
21:53:23
|
<bwolfe> r0bby: no, because its on the class object, not the patient object.
|
21:53:29
|
<bwolfe> r0bby: wrong again. :-)
|
21:53:39
|
<bwolfe> r0bby: Returns an array containing <code>Field</code> objects reflecting all
|
21:53:40
|
<bwolfe> * the accessible public fields of the class or interface represented by
|
21:53:40
|
<bwolfe> * this <code>Class</code> object
|
21:53:51
|
<r0bby> I just ran it on String
|
21:55:16
|
<nribeka> bwolfe: only public field?
|
21:55:17
|
*** Keelhaul has joined #openmrs
|
21:55:24
|
*** ChanServ sets mode: +v Keelhaul
|
21:55:24
|
<Keelhaul> hi
|
21:55:27
|
<r0bby> nribeka: you can make them accessible
|
21:55:35
|
<r0bby> f.setAccessible(true);
|
21:55:43
|
<nribeka> Keelhaul: congrats, Germany win
|
21:55:43
|
<r0bby> where f is the Field object
|
21:55:55
|
<Keelhaul> nribeka: thanks =D
|
21:56:36
|
<Keelhaul> oh ffs
|
21:56:56
|
<Keelhaul> i redeployed openmrs twice and unloaded one module during a single tomcat cycle
|
21:57:04
|
<Keelhaul> and its already out of memory
|
21:57:35
|
<bwolfe> Keelhaul: with the default memory settings thats about right
|
21:57:42
|
<Keelhaul> heh
|
21:57:47
|
<Keelhaul> is there a better way?
|
21:57:51
|
<bwolfe> Keelhaul: you can up your max memory usage
|
21:57:52
|
<Keelhaul> bwolfe: wb btw =)
|
21:57:53
|
<bwolfe> !oom
|
21:57:53
|
<OpenMRSBot> bwolfe: "oom" --- Tomcat's memory management sucks. Increase your memory available to tomcat. See http://openmrs.org/wiki/Out_Of_Memory_Errors
|
21:58:01
|
<bwolfe> Keelhaul: thanks
|
21:58:05
|
<r0bby> nribeka: http://eugeneciurana.com/pastebin/pastebin.php?show=27402
|
21:58:06
|
<OpenMRSBot> <http://ln-s.net/1yGh> (at eugeneciurana.com)
|
21:58:24
|
<r0bby> burke's original code not tied too much to my module
|
21:59:11
|
<nribeka> interesting
|
21:59:26
|
<nribeka> wait up, i need to translate it back to java code :P
|
21:59:44
|
<r0bby> that you can't
|
21:59:50
|
<sgrannis_> nribeka: screenshots sent
|
21:59:56
|
<r0bby> nribeka: that is tied to groovy
|
22:00:40
|
<nribeka> sgrannis_: wowwwww ... that's sooo cool ...
|
22:00:54
|
<r0bby> hold on let me find the reflection version i wrote
|
22:01:05
|
<Keelhaul> oh lol, now tomcat wont start
|
22:01:10
|
<nribeka> all RecMatch GUI user should use mac os x :P
|
22:01:44
|
<Keelhaul> ergo, no one should use recmatch gui..
|
22:02:07
|
<r0bby> nribeka: here's a WAYYY early versuib
|
22:02:10
|
<r0bby> http://dev.openmrs.org/browser/openmrs-modules/groovyforms/src/org/openmrs/module/groovyforms/util/GroovyFormsClassUtil.groovy?rev=4488
|
22:02:11
|
<OpenMRSBot> <http://ln-s.net/1yGi> (at dev.openmrs.org)
|
22:02:25
|
<bwolfe> Keelhaul: you probably need to kill the tomcat/java process via the task manager
|
22:03:24
|
<r0bby> nribeka: http://dev.openmrs.org/browser/openmrs-modules/groovyforms/src/org/openmrs/module/groovyforms/util/GroovyFormsClassUtil.groovy?rev=4574
|
22:03:25
|
<OpenMRSBot> <http://ln-s.net/1yGj> (at dev.openmrs.org)
|
22:04:05
|
<r0bby> nribeka: to convert f.type.simpleName = f.getType().getSimpleName()
|
22:04:38
|
<r0bby> f.accessible = true is f.setAccessible(true)
|
22:05:36
|
<Keelhaul> bwolfe: that just kills the menu
|
22:05:39
|
<Keelhaul> and it didnt help
|
22:05:40
|
<r0bby> You can pretty much write that in java easy
|
22:06:08
|
<nribeka> http://eugeneciurana.com/pastebin/pastebin.php?show=27403
|
22:06:10
|
<OpenMRSBot> <http://ln-s.net/1yGl> (at eugeneciurana.com)
|
22:06:19
|
<nribeka> return only three fields :P
|
22:07:08
|
<r0bby> pfft
|
22:07:13
|
<nribeka> beanutils i think work better. patient is a pojo anyway :D
|
22:07:32
|
<r0bby> wait :)
|
22:07:36
|
<r0bby> i can write this better
|
22:08:10
|
<Keelhaul> starts fine w/o those flags
|
22:08:11
|
<Keelhaul> =/
|
22:08:40
|
<r0bby> def p = new Patient()
|
22:08:40
|
<r0bby> def f = p.class.fields.each { Field f -> println f.name }
|
22:08:54
|
<r0bby> with imports.
|
22:09:11
|
* r0bby snickers
|
22:09:20
|
<r0bby> behold the power of groovu
|
22:10:11
|
<nribeka> r0bby: haha ...
|
22:11:07
|
<r0bby> nribeka: word of warning: groovy injects some fields after the originally declared field.s
|
22:11:11
|
<r0bby> :)
|
22:11:38
|
<nribeka> bwolfe: any thoughts on using beanutils?
|
22:12:05
|
<nribeka> r0bby: the code is really short haha :D
|
22:12:12
|
<r0bby> no shit.
|
22:12:20
|
<r0bby> wanna write some text to a file
|
22:12:42
|
<bwolfe> nribeka: I've never used beanutils
|
22:12:56
|
<sgrannis_> what are beanutils?
|
22:12:57
|
<r0bby> def f = new File("foo.txt") << "Hai\n"; f.eachLine { println it }
|
22:13:08
|
<r0bby> sgrannis_: it's part of apache commons
|
22:13:16
|
<r0bby> http://commons.apache.org
|
22:13:27
|
<r0bby> it's apache's version of the kitchen sink :P
|
22:13:47
|
<nribeka> r0bby: haha ...
|
22:14:12
|
<r0bby> seriously, I swear that's all their missing
|
22:14:33
|
<r0bby> nribeka: write to a file then output it in two lines :)
|
22:14:44
|
<nribeka> i use beanutil to copy from form object to hibernate object :P
|
22:14:54
|
<r0bby> How about appending to a list: assume list is defined: list << "hai";
|
22:15:14
|
<r0bby> now let's read from it: list.each { println it }
|
22:15:21
|
<Keelhaul> bwolfe: which happens first when first loading a module: adding the privs defined in config.xml or running sqldiff?
|
22:15:30
|
<r0bby> I'm done pimping groovy
|
22:16:38
|
<r0bby> ugh why did I write the class introspection code myself i coulda used BeanUtils...but I have more control with mine or rather burke's
|
22:17:38
|
<nribeka> sgrannis_: any thoughts if we use beanutils? it will add new dependencies (jar file)/
|
22:18:35
|
<bwolfe> Keelhaul: I can't remember
|
22:19:02
|
<r0bby> nribeka: if you have time grab Groovy In Action
|
22:19:23
|
<Keelhaul> bwolfe: or is there another way to auto add newly added privs to roles
|
22:19:33
|
<r0bby> only thing that pisses me off is that you can't use break and continue in a closure :|
|
22:20:51
|
<bwolfe> Keelhaul: you might be able do it via sqldiff...just first do "set foreign_key_checks=0", your statements, then "set foreign_key_checks=1"
|
22:24:40
|
<nribeka> http://eugeneciurana.com/pastebin/pastebin.php?show=27409
|
22:24:41
|
<OpenMRSBot> <http://ln-s.net/1yGz> (at eugeneciurana.com)
|
22:24:48
|
<nribeka> shows all fields :D
|
22:26:32
|
<Keelhaul> bwolfe: thx
|
22:26:50
|
<Keelhaul> bwolfe: those clinician, data* roles, will they be added to the default db script
|
22:26:51
|
<r0bby> bwolfe did you happen to see my email
|
22:27:12
|
<bwolfe> Keelhaul, r0bby: yes
|
22:27:47
|
<r0bby> any opinion, or don't know enough to answer?
|
22:28:14
|
<bwolfe> no opinion :-p
|
22:28:21
|
<r0bby> okay
|
22:28:24
|
<bwolfe> taglibs
|
22:28:29
|
<bwolfe> or pass in the id
|
22:28:35
|
<bwolfe> either way
|
22:28:39
|
<sgrannis_> nribeka: "should we use beanutils?" -- if it acutally helps, rather than complictes, the matter, then let's use beanutils
|
22:28:48
|
<r0bby> bwolfe: I need access to field data
|
22:29:08
|
* r0bby sighs
|
22:29:14
|
<r0bby> I'd prefer to not write a taglib
|
22:29:17
|
<nribeka> sgrannis_: cool :D
|
22:29:19
|
<sgrannis_> i just began to read about beanutils, so I can't say with certainty that we should use them
|
22:30:01
|
<r0bby> there's a solution here
|
22:30:07
|
<r0bby> bwolfe: basically here's what happens
|
22:30:30
|
<r0bby> User clicks "Check Syntax" -> it's compiled to make sure it's valid groovy
|
22:30:40
|
<r0bby> if it's not then the exceptions is displayed via DWR
|
22:31:03
|
<nribeka> sgrannis_: lemme know what you think. this is probably just one of many solutions available out there :D
|
22:31:15
|
<r0bby> After that I perform interrogation of that class and from that generate the scriptlet you saw <%= dateField("dob") %>
|
22:31:44
|
<r0bby> user gets the chance to tweak it but i didn't see the problem until earlier that I actually lose the references since it becomes strictly a String
|
22:32:15
|
<r0bby> I'm thinking 4 text areas
|
22:32:33
|
<r0bby> 1) model 2) controller 3) template for view 4) view
|
22:35:18
|
<bwolfe> ok
|
22:35:40
|
<bwolfe> I'm off to bed
|
22:35:43
|
*** bwolfe is now known as bwolfe_bedtime
|
22:35:43
|
<Keelhaul> gnite
|
22:38:53
|
<nribeka> gnite bwolfe_bedtime
|
22:39:10
|
<sgrannis_> nribeka: will do. cya tomorrow
|
22:39:41
|
<nribeka> cya tomorrow sgrannis_
|
22:39:56
|
*** sgrannis_ has quit IRC
|
22:40:01
|
<nribeka> r0bby: let's stick around until 2 am as usual haha ...
|
22:40:02
|
<nribeka> :D
|
22:49:38
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: More suggestions <http://forum.openmrs.org/viewtopic.php?f=13&t=240#p1256>
|
23:29:44
|
<r0bby> im typing CSS
|
23:57:39
|
<r0bby> it is so weird that i actually PREFER to use the default DOM stuff in javascript
|