Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS »
Discussion: OpenMRS Talk »
Real-Time: IRC Chat

IRC Logs

Child pages
  • 2009-06-09 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:01:40 <r0bby> http://wiki.github.com/rzwitserloot/lombok/install
00:01:42 <OpenMRSBot> <http://ln-s.net/3I1-> (at wiki.github.com)
00:01:46 <r0bby> guy in ##Java wrote that :)
00:01:56 <r0bby> @Getter private int foo;
00:02:04 <r0bby> will generate a getter for it :)
00:02:15 <r0bby> he did some trickery w/ the java compiler api
00:24:54 *** Agnor has quit IRC
00:32:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8334]: mdrtb1.4 -- fixed order display order on regimen page, lots of fixes … <http://dev.openmrs.org/changeset/8334>
01:18:18 *** james_regen has joined #openmrs
01:18:18 *** ChanServ sets mode: +v james_regen
01:18:35 *** james_regen has quit IRC
01:27:21 <Keelhaul> does anyone have a from scratch sql db for 1.5?
01:28:03 <Mkop> Keelhaul: I probably do
01:28:11 <Keelhaul> can you send me?
01:28:19 <Keelhaul> i cant build it via ant it seems from liquibase
01:28:22 <Mkop> when you say for 1.5, you mean for trunk, right?
01:28:37 <Mkop> I installed openmrs but probably didn't do very much with it
01:29:05 <Keelhaul> well trunk is 1.6 now
01:29:14 <Keelhaul> 1.5+ has a liquibase file now
01:29:21 <Keelhaul> theres an ant target to build sql from that
01:29:24 <Keelhaul> but it doesnt work for me
01:31:28 <Mkop> I don't have the most recent trunk
01:40:41 *** harshini has joined #openmrs
01:41:01 *** harshini has quit IRC
01:50:08 <Mkop> Keelhaul: so do you need me to send you the db, or not?
01:50:23 <Keelhaul> yes
01:50:26 <Keelhaul> how did you get it
01:50:30 <Keelhaul> my 1.5 only has liquibase
01:54:57 <Mkop> by installing openmrs
01:55:00 <Mkop> i.e. the wizard
01:56:14 <Mkop> Keelhaul: should I just upload the MySQL\ Datafiles/ibdata1 file?
01:56:20 <Keelhaul> ooh
01:56:21 <Keelhaul> no
01:56:29 <Keelhaul> i need the sql creation script
01:56:31 <Mkop> oh
01:56:51 *** nribeka has quit IRC
01:56:52 <Keelhaul> is it fresh?
01:56:55 <Keelhaul> maybe you could export it
01:57:16 <Mkop> what do you mean fresh?
01:58:11 <Mkop> I can't easily export, as I only have mysql installed in windows and I'm booted into linux right noww
01:59:43 <Keelhaul> oh ok
01:59:53 <Keelhaul> fresh as in core openmrs 1.5 and no module-added tables
01:59:53 * r0bby facepalm
02:00:09 <Mkop> the only module I have is html form entry, I think
02:00:21 * Mkop slides r0bby a beer
02:00:29 <r0bby> should have the groovy module loaded
02:00:34 <r0bby> I did a crapload of work on that
02:01:18 <Mkop> I never use openmrs in any case
02:01:25 <Mkop> so I have no need for modules
02:02:00 <r0bby> I got my Java Persistence With Hibernate book :D
02:02:06 <r0bby> and my free copy of Grails in action :DDD
02:03:10 * Mkop realized today that his boss acts like an asshole to everyone, not just to me
02:03:29 <Mkop> well, it's not asshole really
02:03:34 <Mkop> he's just hard to work with
02:03:40 <Mkop> doesn't trust me (or my other boss)
02:03:56 <Mkop> so intent on expressing his agenda that he doesn't listen
02:04:38 <r0bby> suffice to say i'm behind on my deliverable :(
02:04:59 <Mkop> r0bby: did you have a beer like I told you to? :-P
02:05:49 <r0bby> no i worked
02:05:55 <r0bby> I did have a small break
02:06:18 <r0bby> I also defined a project plan
02:06:37 <r0bby> barring any objections, it seems to be very reasonable
02:06:52 <Mkop> does it involve working 5 days a week?
02:06:56 <r0bby> I have up to the midterm evals plotted
02:07:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8335]: htmlformentry: Add new section tag handler. <http://dev.openmrs.org/changeset/8335>
02:07:06 <r0bby> I don't know :(
02:08:22 <Mkop> this doesn't necessarily need to happen now, but at the beginning of every week, those week-long tasks need to be broken into smaller tasks that can give you a sense of accomplishment at the end of every single day
02:08:45 <r0bby> I need to start going to bed at a reasonable hour
02:10:06 <r0bby> Yeh i need to break it down to daily
02:10:22 <r0bby> before i go to bed, but after I stop working for the night i'll look at my plan and see what i can do
02:10:37 <r0bby> The major hurdle right now is saving the data
02:13:26 <Mkop> r0bby: see PM
02:17:56 *** atomicturtle has joined #openmrs
02:20:14 *** atomicturtle has left #openmrs
02:22:57 <Mkop> damn hard-typed languages
02:23:28 <Mkop> (num>0?"oops",num) doesn't work in C++
02:45:28 <r0bby> AGH
02:46:50 <Keelhaul> eh
02:46:54 <Keelhaul> there's spam on the im plementers list
02:47:23 <Keelhaul> Eurico Jose wants you to join Yaari!
02:47:23 <Keelhaul> Is Eurico your friend?
02:47:23 <Keelhaul> Yes, Eurico is my friend! No, Eurico isn't my friend.
02:47:26 <Keelhaul> Please respond or Eurico may think you said no :(
02:47:27 <Keelhaul> Thanks,
02:47:27 <Keelhaul> The Yaari Team
02:51:07 <r0bby> I just unsubscribed the implementors list
02:51:22 <r0bby> people really need to be careful when they import their address book
03:14:21 *** upul has joined #openmrs
03:14:21 *** ChanServ sets mode: +v upul
03:28:19 * r0bby bangs his head repeatedly
03:30:48 *** Keelhaul has quit IRC
03:36:36 *** amoga has joined #openmrs
03:36:43 <amoga> hi all
03:38:14 <Mkop> hi, amoga
03:41:58 <amoga> can u help me with patient service
03:47:16 *** amoga has quit IRC
03:56:55 <r0bby> im bout to pass out :(
03:56:59 <r0bby> i have work to do :(
03:57:01 <r0bby> agh
03:57:03 <Mkop> go to sleep
03:57:23 <r0bby> lemme write my tasks for tomorrow
03:58:22 <r0bby> 2 items :)
04:10:23 *** atomicturtle1 has joined #openmrs
04:32:53 *** upul has quit IRC
04:55:53 *** Amoga has joined #openmrs
05:00:36 *** nribeka has joined #openmrs
05:00:36 *** ChanServ sets mode: +v nribeka
05:10:51 <Amoga> nribeka u there
05:13:24 <Mkop> cool, there's someone on the forum looking to integrate openmrs with android
05:13:52 <Mkop> Amoga: sorry I didn't answer you before, you left too soon
05:13:56 <Mkop> I don't know if I can help, but I can try
05:17:02 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Using demo database with nightly builds <http://forum.openmrs.org/viewtopic.php?f=11&t=452#p1611>
05:26:14 *** nribeka has quit IRC
05:41:45 *** Amoga has quit IRC
05:58:26 *** nribeka has joined #openmrs
05:58:26 *** ChanServ sets mode: +v nribeka
06:38:57 <pascal`> hi
06:40:02 <Mkop> good morning pascal`
06:40:06 <Mkop> I need to go to sleep
06:40:19 <pascal`> hey Mkop
06:40:28 <pascal`> you up in the early hours of the morning?
06:40:58 <Mkop> it's 2:40 AM here
06:41:24 <pascal`> are you back at university these days?
06:41:37 <Mkop> yep
06:41:51 <pascal`> sweet
06:41:55 <Mkop> taking one class (which is the equivalent of two, since the semester is half as long during the summer)
06:42:02 <Mkop> and working in a medical imaging lab doing programming
06:43:24 <pascal`> awesome
06:43:28 <pascal`> i've put my varsity stuff on hold for a while now, i really need to get back into it
06:43:44 <Mkop> there's a SAn guy in my class
06:43:47 <Mkop> awesome accent
06:44:01 <Mkop> s/awesome/lekker/ :-)
06:44:38 <pascal`> heh
06:46:49 <pascal`> so, the new iphone is out. still meh.
06:55:59 *** Mkop has quit IRC
07:11:02 *** atomicturtle has joined #openmrs
07:11:02 *** atomicturtle1 has quit IRC
07:16:23 *** nribeka has quit IRC
07:19:49 *** nribeka has joined #openmrs
07:19:49 *** ChanServ sets mode: +v nribeka
08:38:45 *** Amoga has joined #openmrs
09:01:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8336]: readme.txt <http://dev.openmrs.org/changeset/8336>
09:15:11 *** upul has joined #openmrs
09:15:11 *** ChanServ sets mode: +v upul
09:15:13 *** deadpool has joined #openmrs
09:15:22 <deadpool> hey
09:17:50 <pascal`> hi
09:19:48 *** nribeka has quit IRC
09:20:55 <deadpool> hey quck question trying to test someting out and realized that i needed to create a form is there like a way to do it
09:21:07 <deadpool> i looked online at openmrs.blip.tv
09:21:18 <deadpool> but they already have created forms that they are using
09:21:23 <deadpool> where do i get something like that
09:22:13 <pascal`> well, the easiest way imo is to use the html form entry module
09:22:39 <pascal`> otherwise you have to use microsoft infopath, which I don't how to do
09:22:56 <pascal`> there might be some examples in the repository though
09:23:58 <deadpool> yeah that is what i was trying to do to use infopath but i keep on getting errors and stuff and don't know how to get out of it
09:25:12 <pascal`> meh
09:25:12 <pascal`> use the html form entry module
09:25:21 <pascal`> it's pretty easy to use
09:25:59 <deadpool> is the html form entry module as comprehensive as infopath?
09:27:00 <pascal`> in what way?
09:27:26 <pascal`> well, i'm pretty sure it isn't, but it does well for most purposes
09:27:30 <pascal`> what do you need to do?
09:28:56 <deadpool> well i was just wondering
09:29:09 <deadpool> i just wanted to do like a basic doctors visit type form
09:30:26 <pascal`> it's fine for that
09:30:40 <pascal`> it just isn't a WYSIWYG editor... you have to code the form in html
09:31:01 <pascal`> well, just the basic formatting. it's pretty straight forward
09:31:18 <deadpool> and the html entry form how do i go about designing it. Just use plain html
09:32:59 <pascal`> yeah
09:32:59 <pascal`> there's info on the wiki
09:34:03 <deadpool> so but if i wanted to use infopath can i just download the forms off of the demo?
09:34:20 <deadpool> do i just download the .xsn or the template or the schema
09:34:54 <deadpool> really i looked and couldn't find it
09:36:44 <deadpool> well i mean how do i get the basic concepts that the wiki is asking for do i download it from the site?
09:37:26 <pascal`> I've never used infopath for forms, so I wouldn't be able to help you with that, sorry
09:38:09 <deadpool> no problem
09:51:59 *** Amoga has quit IRC
10:10:07 *** atomicturtle has quit IRC
10:11:33 *** atomicturtle has joined #openmrs
10:27:17 *** harshini has joined #openmrs
10:36:18 *** harshini has quit IRC
11:08:33 *** Keelhaul has joined #openmrs
11:08:33 *** ChanServ sets mode: +v Keelhaul
11:32:14 *** upul has quit IRC
11:32:43 *** james_regen has joined #openmrs
11:32:43 *** ChanServ sets mode: +v james_regen
11:33:26 <deadpool> hey another quick question is uninstalling openmrs as easy as just undeploying it from tomcat?
11:46:37 <pascal`> i'm not sure deadpool
11:46:58 <deadpool> ah well we will find out
11:47:04 <pascal`> you might have to drop the db, i'm not sure
11:48:30 <Keelhaul> it also dumps a few files on your hdd
12:10:38 *** Amoga has joined #openmrs
12:12:37 *** bwolfe has joined #openmrs
12:12:37 *** ChanServ sets mode: +o bwolfe
12:16:05 *** atomicturtle has left #openmrs
12:24:44 *** Amoga has quit IRC
13:12:04 *** atomicturtle1 has joined #openmrs
13:12:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Using demo database with nightly builds <http://forum.openmrs.org/viewtopic.php?f=11&t=452#p1612>
13:12:46 *** atomicturtle1 has left #openmrs
13:23:50 *** deadpool_ has joined #openmrs
13:25:04 *** deadpool has quit IRC
13:25:16 *** deadpool_ is now known as deadpool
13:31:35 <Keelhaul> jmiranda: are you there?
13:43:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1529 (defect closed): Error when trying to add a person relationship - org.openmrs.Relationship.dateCreated <http://dev.openmrs.org/ticket/1529#comment:3>
13:57:50 <jmiranda> Keelhaul, what's up?
13:57:55 <Keelhaul> hi
13:58:07 <Keelhaul> trying out your birt module
13:58:25 <Keelhaul> is the data export part optional?
13:58:35 <Keelhaul> since the design tool can import data directly from the db
13:58:48 <jmiranda> yes
13:59:41 <Keelhaul> the "manage data exports" link on the dashboard seems to be dead in 1.8.5
13:59:47 <Keelhaul> wrong url
14:00:00 <jmiranda> yeah, it just added an extra 'admin' in the URL
14:00:39 <Keelhaul> i've been using it with openmrs 1.5
14:00:42 <jmiranda> it goes to the same data exports page that's already in the admin interface
14:00:44 <Keelhaul> so far, it loads lol
14:01:12 <jmiranda> nice
14:02:00 <Keelhaul> jmiranda: so if i wanna use a parameter like start/end dates in birt
14:02:11 <Keelhaul> i define them in the parameters group as Date
14:02:21 <Keelhaul> how do i use them in the sql query
14:03:00 <jmiranda> you'd have something like "start_date = ?"
14:03:02 <jmiranda> in your query
14:03:06 <Keelhaul> i see i can define per-dataset parameters which are linked to report parameters
14:03:13 <Keelhaul> do i have to do this step for every dataset?
14:03:17 <jmiranda> and then you'd bind that to a parameter
14:03:22 <Keelhaul> oh ok
14:03:29 <jmiranda> exactly
14:03:35 <Keelhaul> so "where obs.obs_datetime = my_start_date" wont work?
14:03:57 <Keelhaul> oh hm
14:04:22 <Keelhaul> ok so i bind the name start_date in that dataset to that parameter and use it in the query, i guess
14:04:45 <jmiranda> i've never tried that syntax
14:04:54 <jmiranda> maybe BIRT supports that now
14:06:54 <Keelhaul> jmiranda, bwolfe: you wouldnt happen to have an sql schema creation script for 1.5?
14:07:36 <bwolfe> negative
14:08:02 <Keelhaul> i guess i could create a fresh db, then export it with phpmyadmin
14:08:15 <bwolfe> would be nice to use an ant task so liquibase can generate that file for us (like the generate-sql task...which is broken right now)
14:08:36 <Keelhaul> yea i tried it last night
14:08:56 <jmiranda> or if we had JPA annotations and could generate the SQL script off that :)
14:09:12 <Keelhaul> lol
14:14:15 <Keelhaul> jmiranda: can individual datasets in birt be intersected somehow?
14:14:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Getting started - asking for some specific guidelines <http://forum.openmrs.org/viewtopic.php?f=11&t=451#p1613>
14:14:39 <jmiranda> Keelhaul, you mean joined?
14:15:02 <Keelhaul> dataset A returns a set of patients, so does dataset B
14:15:11 <Keelhaul> i want the intersection of those patient ids
14:15:26 <jmiranda> never tried
14:15:42 <pascal`> sql join should do that
14:15:52 <Keelhaul> could you send me a sample report if thats not classified?
14:16:21 <r0bby> ick
14:16:23 *** amoga has joined #openmrs
14:16:23 <r0bby> set theory
14:16:37 <jmiranda> http://svn.openmrs.org/openmrs-contrib/reports/
14:16:46 <r0bby> Keelhaul: i had to write a Bag ADT for school and had to write methods to find the union and intersection :S
14:16:49 <r0bby> Hated it :(
14:16:50 <jmiranda> not sure which one works
14:17:11 <jmiranda> you could do
14:17:13 <Keelhaul> r0bby: why, unions and intersections are probably the simples things in set theory
14:17:14 <jmiranda> SQL A
14:17:17 <jmiranda> intersects
14:17:18 <r0bby> yeh
14:17:19 <jmiranda> SQL B
14:17:21 <r0bby> true :)
14:17:27 <r0bby> yeh
14:17:29 <jmiranda> in a dataset, i think
14:17:32 <r0bby> get a List of the two datasets
14:17:43 <Keelhaul> i guess an inner join woudl work too
14:17:47 <r0bby> create a third list to check if it exists in List a and List b
14:17:54 <r0bby> add that to the third list
14:18:03 <r0bby> Keelhaul: I know
14:18:07 <r0bby> i just hated it
14:18:16 <Keelhaul> r0bby: java has methods for that
14:18:20 <r0bby> ahh
14:18:27 *** sdefabbiakane has joined #openmrs
14:18:50 <r0bby> I think commons-collections has a method to check this too
14:19:49 <Keelhaul> jmiranda: thx
14:22:14 *** Nzeyi has joined #openmrs
14:22:43 <r0bby> Keelhaul: http://commons.apache.org/collections/api-release/org/apache/commons/collections/ListUtils.html#intersection(java.util.List,%20java.util.List)
14:22:45 <OpenMRSBot> <http://ln-s.net/3I+x> (at commons.apache.org)
14:23:01 <r0bby> http://commons.apache.org/collections/api-release/org/apache/commons/collections/ListUtils.html
14:23:02 <OpenMRSBot> <http://ln-s.net/3I+y> (at commons.apache.org)
14:23:04 <r0bby> has methods :)
14:23:19 <jmiranda> Keelhaul, give me some feedback and on what you'd like to see from the module
14:23:48 <Keelhaul> jmiranda: when i get to it =P
14:24:07 <Keelhaul> jmiranda: whats the purpose of uploading the reports to openmrs anyway
14:25:08 *** kane77 has joined #openmrs
14:27:03 <r0bby> Keelhaul: that may hekp you
14:27:08 <r0bby> help*
14:27:15 <bwolfe> r0bby: doing comparisons in java is a lot slower than in sql. sql is optimized to deal with it.
14:27:59 <amoga> hey bwolfe, hey robby, hey keelhaul
14:28:03 <Keelhaul> hi
14:28:36 <r0bby> bwolfe: ah :S
14:28:36 <jmiranda> amoga, <cough> <cough>
14:28:44 <r0bby> the itersection method is amazingly simple
14:29:03 <Keelhaul> bwolfe: is it generally faster to fetch X objects via hibernate with getObject(id); or is it faster to do getAllObjects() and then loop through them
14:29:21 <r0bby> bwolfe: that's how i'd do it :X
14:30:17 <amoga> hello justin :)
14:30:24 <jmiranda> amoga, hi :)
14:31:00 <r0bby> where has omar been
14:31:08 <r0bby> don't tell me paul's student went awol again
14:31:10 <amoga> bwolfe: do i need to wait for burke to agree with openemi or can i upload my module into svn?
14:32:34 <bwolfe> Keelhaul: if lazy loading is set up properly, its faster to do getAllObjects() and loop. for example, if names is set to not be lazy, hibernate will do 2 selects and have all ids and all names. java can then loop over and read the ids + names. if you do X calls to getObject, you will have X select statements
14:33:04 <r0bby> I have a craving for dominos :(
14:33:08 <bwolfe> but if lazy loading is not set up for the names property, every time you loop over an object from getAllObjects(), it will do a select to get the name.
14:33:11 <r0bby> ..at 1030am
14:33:17 <bwolfe> (this example assumes names is in a separate table)
14:33:25 <bwolfe> r0bby: mmmm, pizza
14:34:31 <Keelhaul> bwolfe: properly would be enabled?
14:34:49 <bwolfe> ?
14:34:57 <amoga> my dominos has arrived but still waitin for bwolfe to reply:|
14:34:57 <Keelhaul> what do you mean by "set up properly"
14:36:10 <bwolfe> Keelhaul: a good example would be concepts and their concept names. concept names are read often, so should not be lazy-loaded
14:36:48 <bwolfe> Keelhaul: I just meant that lazy-loading is turned off if it is accessed often
14:36:59 <Keelhaul> ok
14:37:13 <bwolfe> amoga: no, you don't have to wait. I just haven't gotten to the response yet. you'll get an email from me in a few minutes
14:37:13 <Keelhaul> bwolfe: so setting concept names non-lazy was a good move?
14:37:19 <Keelhaul> why were people complaining then
14:37:23 <bwolfe> Keelhaul: I believe so...but darius does not :-p
14:37:55 <bwolfe> I think he was more worried about having to set descriptions/answers/sets/etc as non lazy
14:38:00 <amoga> sounds great.. ty :)
14:39:09 <r0bby> damn it
14:39:18 <r0bby> Soc money shall be used to purchase the dominos
14:39:29 <r0bby> I lost my mothers' cc
14:39:32 <r0bby> credit card*
14:39:38 <bwolfe> ahaha, that sucks
14:39:46 <r0bby> yeh
14:40:04 <r0bby> Yeh i'm up a creek if i dont find it
14:40:14 <bwolfe> probably a good thing for your mother though...no more random credit card charges because of you!
14:40:27 <r0bby> ]not quite
14:40:33 <r0bby> I don't know *WHERE* i lost it
14:40:34 <bwolfe> r0bby: oh, no, thats not good
14:40:41 <r0bby> and i rarely use it anyways
14:40:48 <bwolfe> r0bby: I thought you meant you gave it back to her
14:40:51 <r0bby> I memorized the number though
14:42:00 <Keelhaul> r0bby: you better have it cancelled real quick
14:43:14 <amoga> did you tell yor mum yet? :-S
14:44:08 <r0bby> yes
14:44:18 <r0bby> No charges have been made so chances are, i have it
14:44:33 <r0bby> Human nature is to make charges...
14:45:21 <amoga> lol..hope you find it soon enough to order that dominos :-P
14:45:21 <r0bby> worse: my signature is so bad...
14:45:29 <r0bby> If not i'll pay for it
14:45:54 <Keelhaul> you can pay for pizza with a credit card?
14:47:51 <bwolfe> Keelhaul: you can pay for anything with a credit card
14:48:03 <r0bby> I can order dominos online
14:48:05 <r0bby> and yes
14:48:06 <r0bby> :)
14:48:12 <Keelhaul> oh pay online
14:48:36 <Keelhaul> because i've never seen delivery people being able to scan credit cards
14:48:59 <r0bby> Keelhaul: you tell them the # on the phone, they run it bring the slip for you to sign.
14:49:05 <Keelhaul> oh
14:49:15 <Keelhaul> not sure they do it here
14:49:16 *** Nzeyi has quit IRC
14:50:02 <r0bby> Chinese too :)
14:50:29 <Keelhaul> i dont eat that
14:56:04 <r0bby> Jesus christ
14:56:21 <r0bby> Note to self: when jetbrains says that EAP releases are below beta quality
14:56:25 <r0bby> they mean it!
14:57:09 <r0bby> it's crashing during file indexing :(
15:10:48 *** amogha has joined #openmrs
15:14:01 *** amoga has quit IRC
15:15:35 <amogha> bwolfe
15:15:40 <amogha> r u around
15:15:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8337]: htmlformentry: Support radio button inputs for coded questions, fix the … <http://dev.openmrs.org/changeset/8337>
15:16:04 <amogha> i received your mail regarding the implementationId
15:16:28 <amogha> so u suggest that i should go ahead with the global property
15:21:50 <Keelhaul> jmiranda: what if the reporting framework were to support sql/hql queries in addition to patient searches
15:22:03 *** nribeka has joined #openmrs
15:22:03 *** ChanServ sets mode: +v nribeka
15:22:05 <Keelhaul> it would add a bunch of new logic w/o having to implement it in code
15:22:30 *** amogha has quit IRC
15:24:58 <jmiranda> Keelhaul, i was hoping we'd have a SqlDataSet yes
15:25:15 <jmiranda> probably HqlDataSet for now
15:25:29 <Keelhaul> jmiranda: whats the different between the new reporting modules
15:25:41 <jmiranda> which ones?
15:25:53 <Keelhaul> reporting, reporting compatibility, and the backports
15:25:56 <jmiranda> reporting is the only one that we're using right now
15:26:01 <Keelhaul> really
15:26:12 <Keelhaul> i noticed the entire reporting part was gone from my 1.5
15:26:18 <Keelhaul> so i added the "compatibility" module
15:26:20 <Keelhaul> now it works as before
15:26:26 <jmiranda> backports just allows you to get reporting working in a 1.4 env
15:26:28 <jmiranda> and reporting compat includes the old framework
15:26:37 <Keelhaul> oh
15:26:40 <jmiranda> in 1.6 we're ripping reporting out of core
15:26:46 <Keelhaul> ok
15:26:57 <Keelhaul> i dont tihnk i was abot to add the reporting module anywhere
15:27:03 <jmiranda> so if you want to use the old stuff you need compatibility
15:27:03 <jmiranda> i'm also working on a dataset builder
15:27:18 <Keelhaul> so there's "new stuff"?
15:27:28 <Keelhaul> besides what was there in 1.5 all along
15:27:36 <jmiranda> that module will allow users to build datasets with different orientations
15:27:44 <Keelhaul> oh
15:27:56 <jmiranda> like patient-per-row, obs-per-row, encounter-per-row using a nice interface
15:28:02 <Keelhaul> ok
15:28:11 <jmiranda> the new stuff is in development
15:28:16 <Keelhaul> but the api is still in core in 1.5?
15:30:00 <jmiranda> no
15:30:04 <jmiranda> that's in the reporting module
15:30:08 <Keelhaul> ic
15:30:25 <Keelhaul> !roadmap
15:30:25 <OpenMRSBot> Keelhaul: "roadmap" --- http://openmrs.org/wiki/Road_Map
15:30:27 <jmiranda> reporting module will hopefully only contain API stuff
15:30:50 <jmiranda> and then we'll build the reporting tools as other modules that depend on it
15:31:02 <Keelhaul> hm
15:31:09 <Keelhaul> why did you rip it out of 1.5 though
15:32:38 <jmiranda> oh sorry
15:32:50 <jmiranda> i thought you meant 1.6
15:32:58 <jmiranda> yeah, it should be there for 1.5
15:33:12 <jmiranda> or else we made a huge mistake
15:33:28 <Keelhaul> at least the webapp part is no longer current 1.5 code
15:33:37 <Keelhaul> report compatibility module fixes that, though
15:33:57 <Keelhaul> the api part is still there
15:38:51 *** sdefabbiakane_ has joined #openmrs
15:39:22 *** upul has joined #openmrs
15:39:22 *** ChanServ sets mode: +v upul
15:40:12 *** sdefabbiakane has quit IRC
15:40:16 *** sdefabbiakane_ is now known as sdefabbiakane
15:43:24 *** atomicturtle has joined #openmrs
15:44:31 *** atomicturtle has left #openmrs
15:50:31 *** sdefabbiakane has quit IRC
15:56:44 *** catechu has joined #openmrs
16:21:36 *** luzhuangwei has joined #openmrs
16:26:36 *** upul has quit IRC
16:50:06 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8340]: Followup fix to add cglib to the ant api compile classpath <http://dev.openmrs.org/changeset/8340> || OpenMRS Changesets: Changeset [8339]: rwandaprimarycare module: adding labels to the login page <http://dev.openmrs.org/changeset/8339> || OpenMRS Tickets: Ticket #1539 (task closed): UTF-8 not supported in module string files <http://dev.openmrs.org/ticket/1539#comment:10> || OpenMRS Changesets: Changeset [8338]: Merged part of serialization branch to trunk so that serialization of … <http://dev.openmrs.org/changeset/8338>
16:57:39 <Keelhaul> dee dum
17:14:18 <r0bby> Ever notice how hideous the current datepicker is :<
17:19:03 *** catechu has quit IRC
17:21:34 <Keelhaul> i use my own
17:31:17 <r0bby> I couldn't get Jquery UI's datepicker to work
17:31:29 <r0bby> it matches the OpenMRS colors better than the default
17:31:37 <r0bby> it's not worth me spending more time on it
17:31:45 <Keelhaul> maybe
17:31:53 <Keelhaul> but i couldnt find one that can do both date and time in jquery
17:31:56 <r0bby> ohh this is odd
17:32:02 <Keelhaul> so i used one i found on the webnets
17:32:02 <r0bby> Pandora is playing the song i wanted :)
17:34:10 <r0bby> sigh
17:35:47 <r0bby> ... I just used a scriptlet :<
17:35:59 <r0bby> <openmrs:formatDatedate="<%=newjava.util.Date()%>"/>
17:36:04 <r0bby> I can't believe i wrote this :<
17:37:37 *** sdefabbiakane has joined #openmrs
17:39:10 <r0bby> sdefabbiakane: :)
17:39:18 <r0bby> You got into the HFOSS summer institute?
17:39:26 <r0bby> how ya liking it?
17:41:48 <bwolfe> r0bby: does formatDate use the current date by default? I don't think you need that scriptlet..
17:42:05 <sdefabbiakane> r0bby: it's been fun. I've spent the past two weeks rushing together a coordination app for the NYC office of emergency management.
17:43:27 <r0bby> i dont know let me look
17:43:49 <r0bby> oh it does
17:43:57 <r0bby> my soul is saved
17:44:30 <r0bby> yeh no it doesnt
17:45:27 <r0bby> it's necessary
17:49:00 <r0bby> heh
17:49:07 <r0bby> so you dont work on one project
17:49:11 <r0bby> you work on multiple projects?
17:50:53 <r0bby> I <3 this UI i wrote :)
17:51:13 <r0bby> I chose the same colors openmrs uses for the table top menu
17:51:24 <r0bby> I like the blue
17:51:31 <r0bby> Nobody changes it or the bunny gets it!
17:51:44 * r0bby brandishes a stuffed bunny
17:51:44 <sdefabbiakane> one at a time, but that project had a deadline of the 5th for feature freeze/mostly working, and is being used in an exercise on thursday
17:52:01 <r0bby> ahh
17:52:11 <r0bby> I have to have code working by ohh tonight
17:52:29 <r0bby> my productivity went downhill working non-stop :)
17:52:38 <r0bby> I did the same w/ groovy module, though i enjoyed that :)
17:53:30 <r0bby> Ben: you should look into using the forms JSP namespace
17:53:35 <r0bby> (it's part of spring mvc)
17:53:44 <r0bby> It's _AMAZING_ i dont have do <spring:bind>
17:53:45 <bwolfe> yep
17:54:02 <r0bby> and it automatically adds validation errors at the top :)
17:54:54 * bwolfe will accept any and all patches to trunk converting some pages to the <form:> tags
17:55:13 <r0bby> ping me after soc ends
17:55:29 <r0bby> I'll definitely volunteer
17:55:40 <r0bby> for a few of the pages to get the ball rolling
17:56:04 <r0bby> I leared lastnight how to do editor binding using the annotation driven controllers
17:56:43 <r0bby> I should throw together a blog post soon about it
18:04:43 <bwolfe> definitely
18:05:05 *** luzhuangwei has quit IRC
18:09:00 <r0bby> It seems darius and I are leading the charge on this topic
18:09:29 <r0bby> I wanted to use the annotations for the services/DAOs but i don't know how to do it in the context of OpenMRS
18:17:35 <r0bby> I wish the date picker in openmrs wasn't so hideous
18:17:58 <bwolfe> I wish you complained about it a little more
18:18:34 * r0bby complains more!
18:18:46 * r0bby figures complain enough, you'll fix it!
18:18:57 <pascal`> http://img.runlevel6.org/W3C%20Twitter.png
18:19:39 <pascal`> dammit
18:19:40 <r0bby> HAHAHHAHAHA
18:19:49 <pascal`> oh wait
18:19:52 <pascal`> you can see?
18:19:59 <r0bby> HAHAHHAHAHAHA
18:20:04 <r0bby> HAHAHHAHAHAHAHHAHAHHAHHA
18:20:07 <pascal`> i'll take that as a yes
18:20:25 <Keelhaul> yea lol
18:21:18 <bwolfe> if r0bby complains enough, he gets kick/banned. of course, if he complained a lot, then created a ticket to change core to use jquery, he might get unbanned
18:22:03 <r0bby> If i dont have to do the work i'm all for t!
18:22:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8345]: serialization: deleted a few unused import statements and delete a few … <http://dev.openmrs.org/changeset/8345> || OpenMRS Changesets: Changeset [8344]: ncd: Rethought solution to NullPointerException...reverted previous … <http://dev.openmrs.org/changeset/8344> || OpenMRS Changesets: Changeset [8343]: ncd: Added code to include all candidate results for the message in an … <http://dev.openmrs.org/changeset/8343> || OpenMRS Changesets: Changeset [8342]: ncd: Added space to increase readability of a log message. <http://dev.openmrs.org/changeset/8342> || OpenMRS Changesets: Changeset [8341]: mdrtb 1.4. Took out required modules tag, and 1/2 way through updating … <http://dev.openmrs.org/changeset/8341>
18:25:14 <Keelhaul> more importantly, it should be possible to add or not to add a time to the date
18:25:30 <Keelhaul> w/o breaking the expected format
18:26:48 <bwolfe> Keelhaul: agreed. did you not find a jquery way to do that? would be nice if we could just move to a jquery based popup and away from that current custom one
18:27:16 <Keelhaul> bwolfe: no, i used a third party picker that requires a time
18:27:47 <r0bby> actually
18:27:51 <r0bby> I found a thing hold
18:27:52 <r0bby> on
18:28:04 <r0bby> 14:18 pascal` http://img.runlevel6.org/W3C%20Twitter.png
18:28:05 <r0bby> 14:18 pascal` http://img.runlevel6.org/W3C%20Twitter.png
18:28:06 <r0bby> er
18:28:11 <r0bby> http://www.rainforestnet.com/datetimepicker.htm
18:28:13 <r0bby> there we go
18:30:08 <pascal`> o.O
18:30:28 <r0bby> Keelhaul: that MAY help
18:30:41 <r0bby> jquery UI's datepicker allows you change its pattern
18:30:51 <r0bby> you can specify any pattern you want w/ SimpleDateFormat
18:31:05 <bwolfe> r0bby: look for a jquery plugin for date + time picking
18:31:14 <Keelhaul> r0bby: thats the exact one i used
18:31:59 <pascal`> have you guys seen the eclipse jsp parser stack overflow error?
18:32:03 <pascal`> so fkn annoying
18:33:09 <basic`> bwolfe: i've been meaning to ping you, almost done with finals
18:33:36 <basic`> bwolfe: would you be open to the idea of setting up a staging vm for trac 0.11 for you and whoever else wants to help with the migration and theming stuff?
18:33:46 <bwolfe> pascal`: upgrade your eclipse
18:33:53 <bwolfe> pascal`: (if its the same one I was running into)
18:34:04 <pascal`> i think i have the latest eclipse
18:35:11 <pascal`> yeah, 3.4.2
18:35:18 *** catechu has joined #openmrs
18:36:31 <bwolfe> basic`: are you asking if I want to set it up? or if I want someone else to set it up?
18:37:02 <basic`> bwolfe: i would set it up, give you and whoever else needs shell access to it for testing
18:37:33 <bwolfe> basic`: yep, that'd be awesome
18:37:46 <bwolfe> although, prob wouldn't need shell access for the testing part...just view access
18:38:55 <basic`> who setup the theme for the 0.10 site? maybe they could help port it to 0.11 :)
18:39:11 <r0bby> Keelhaul, bwolfe: http://ejohn.org/blog/picking-time/
18:39:22 <basic`> although i may have time after finals to actually finish doing that
18:39:24 <bwolfe> basic`: an intern a few summers back.
18:39:31 <basic`> got it
18:39:39 <Keelhaul> looks so iphoneish
18:40:01 <basic`> okay, i'll work on getting that VM setup for testing and let you know
18:41:48 <bwolfe> basic`: awesome. yeah, don't worry about the style for now, we can convert that in a bit
18:42:05 <bwolfe> in a bit == later when you have time this summer ;-)
18:42:10 <basic`> haha
18:42:31 <r0bby> Keelhaul: it's themeable (I didn't look much into it, just passed it along; i have work to do; google around "jquery date time picker" should give you tons of hits
18:42:40 <basic`> i should have time, i'll be working full time starting next week until the end of summer
18:42:52 <Keelhaul> r0bby: i dont have time for that =P
18:42:57 <r0bby> Neither do it!
18:42:59 <r0bby> i*
18:43:00 * basic` is off to another final
18:43:04 <r0bby> Have fun basic`
18:43:09 <r0bby> in fact, i should get to work
18:43:54 <r0bby> I love EL functions :)
18:52:28 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8347]: schedulerquartz: implemented getschedule feature <http://dev.openmrs.org/changeset/8347> || OpenMRS Changesets: Changeset [8346]: dataintegrity: implemented the new admin page and completed the test … <http://dev.openmrs.org/changeset/8346>
18:56:35 <catechu> r0bby: what is EL?
18:58:13 <r0bby> Unified Expression Language
18:58:21 <r0bby> in JSP files when you ${foo.foo}
18:58:23 <r0bby> that's EL
18:58:41 <catechu> ah ok
18:58:59 <r0bby> its full name is JSP Unified Expression Language
18:59:28 <r0bby> the best documentation on JSPs are example pages in OpenMRS
19:04:17 <catechu> ok, thanks for the tip -- I don't know much about JSP!
19:04:51 <r0bby> !pascal`++
19:04:51 <r0bby> !pascal`++
19:04:52 <r0bby> !pascal`++
19:05:46 <pascal`> O.o
19:06:39 <pascal`> Warning: !pascal may not have been initialized
19:06:54 <bwolfe> !karma
19:06:54 <OpenMRSBot> bwolfe: Highest karma: "bwolfe" (47), "groovy" (31), and "burke" (13). Lowest karma: "r0bby" (-3), "scriptlets" (-1), and "--- demo.openmrs.org ping statistics -" (-1). You (bwolfe) are ranked 1 out of 73.
19:07:16 <bwolfe> wow, it looks like I'm barely beating out groovy!
19:07:37 <Keelhaul> r0bby is notorious
19:07:42 <Keelhaul> !karma
19:07:42 <OpenMRSBot> Keelhaul: Highest karma: "bwolfe" (47), "groovy" (31), and "burke" (13). Lowest karma: "r0bby" (-3), "scriptlets" (-1), and "--- demo.openmrs.org ping statistics -" (-1). You (Keelhaul) are ranked 13 out of 73.
19:08:21 <Echidna_> Keelhaul++
19:08:36 <pascal`> !karma
19:08:36 <OpenMRSBot> pascal`: Highest karma: "bwolfe" (47), "groovy" (31), and "burke" (13). Lowest karma: "r0bby" (-3), "scriptlets" (-1), and "--- demo.openmrs.org ping statistics -" (-1). You (pascal`) are ranked 5 out of 73.
19:08:52 <Echidna_> !Keelhaul++
19:08:58 <Keelhaul> will this work?
19:09:05 <pascal`> !r0bby++
19:09:09 <pascal`> !bwolfe++
19:09:36 <r0bby> groovy is better than you
19:09:48 <r0bby> and I should decrement you below groovy until you get mike to let me use groovy
19:09:52 <pascal`> !"--- demo.openmrs.org ping statistics -"++
19:10:00 <r0bby> I hate java lately
19:10:13 <pascal`> !karma
19:10:13 <OpenMRSBot> pascal`: Highest karma: "bwolfe" (48), "groovy" (31), and "burke" (13). Lowest karma: "r0bby" (-2), "scriptlets" (-1), and "--- demo.openmrs.org ping statistics -" (-1). You (pascal`) are ranked 5 out of 74.
19:10:21 <r0bby> I didn't get the whole "java is verbose" argument until i started using groovy
19:11:02 <sdefabbiakane> have you ever used python?
19:12:10 <r0bby> sdefabbiakane: no, though glances have shown it to be not to far from groovy
19:12:17 <r0bby> I could survive it
19:12:52 <r0bby> I like groovy because it can exist within the java ecosystem with very few issues
19:13:47 <r0bby> There is a guy right now (i've spoken to him a few times, handed him the groovy forms code... (yeh see I can show my vunerability) to see if he wanted it
19:14:12 <r0bby> most of it just has to do with taking a class, instantiating it, and then using reflection to get data types, variable names, values etc
19:15:06 <Keelhaul> you opened two brackets, but closed only one
19:16:01 <pascal`> uh oh, parse error =O
19:20:54 <r0bby> Keelhaul: bite me
19:22:22 <pascal`> )
19:24:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8348]: in patientmatching module, updated activator's matches(Method, Class) … <http://dev.openmrs.org/changeset/8348>
19:34:10 <r0bby> f'en hell
19:34:15 <r0bby> BSOD :D
19:36:23 <pascal`> http://www.geeked.info/wp-content/images/windows_bluescreen_tattoo.jpg
19:36:25 <OpenMRSBot> <http://ln-s.net/3IF3> (at www.geeked.info)
19:37:47 *** pascal` has quit IRC
19:43:06 <sdefabbiakane> linux :D
19:47:42 *** catechu has quit IRC
19:47:55 *** catechu has joined #openmrs
19:48:11 <catechu> james_regen: how should I update link?
19:49:55 <r0bby> sdefabbiakane: im too lazy :)
19:51:01 <sdefabbiakane> :)
19:51:56 <james_regen> catechu: on the administration page, there's a "Modules" section
19:52:32 <james_regen> clicking on "Manage Modules" will show all the modules installed
19:53:26 <james_regen> clicking on the trach icon will remove a module. then you can browse for the .omod file you built in eclipse and add it. ideally, it'll start without errors
19:56:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1558 (task created): GenerateTestCase should have rename method <http://dev.openmrs.org/ticket/1558> || OpenMRS Changesets: Changeset [8353]: -- chica * added code to re-query kite after a disconnect * changed code … <http://dev.openmrs.org/changeset/8353> || OpenMRS Changesets: Changeset [8352]: mdrtb1.4. adding birt requirement back in. <http://dev.openmrs.org/changeset/8352> || OpenMRS Changesets: Changeset [8351]: -- chica * updated concurrency handling for messageProcessed AOP call <http://dev.openmrs.org/changeset/8351> || OpenMRS Changesets: Changeset [8350]: schedulerquartz: Functionality added to public List … <http://dev.openmrs.org/changeset/8350> || OpenMRS Changesets: Changeset [8349]: -- sockethl7listener * changed concurrency handling with messageProcessed … <http://dev.openmrs.org/changeset/8349>
19:56:42 <catechu> james_regen: ok -- that seemed like the way to go, I just wanted to make sure that it was okay to trash the module like that
19:57:11 <james_regen> yup, it's a development machine, so if things break for a while, it's no problem
19:57:25 <catechu> do you get a notification when someone does that? or has that not been a problem so far
19:59:39 <james_regen> no notification, and i don't think we need one, personally. if you want to email shaun and i saying, "i wrote a new interface for the module's progress indicator and have it setup on on the dev site" that's enough process for me
19:59:47 *** deadpool_ has joined #openmrs
20:00:25 <catechu> ok -- I'll keep that in mind
20:07:17 <catechu> james_regen: also, do you have the synthetic data that shaun was talking about?
20:11:00 <james_regen> i think i do. i can create a link to download it and email it to you. if you want to insert it to the database, then another option is to take a dump of the database on link and import that on your machine. i think the import program nribeka wrote for the test data worked well, but it would take as much work to run as importing an sql dump, probably
20:13:03 <catechu> ok -- if you can create the download link that would be great, I'll see about the bulk loading
20:18:28 *** deadpool has quit IRC
20:18:36 <james_regen> catechu: sent email with download link, and ti's time for me to go home for the day let me know if you have any questions
20:19:20 <catechu> james_regen: great, I'm fine for now -- thanks!
20:19:29 *** james_regen has quit IRC
20:28:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8355]: patientmatching module: in config.xml, "probabalistic" -> "probabilistic" <http://dev.openmrs.org/changeset/8355> || OpenMRS Changesets: Changeset [8354]: patientmatching module: in report generation page, changed refresh period … <http://dev.openmrs.org/changeset/8354>
20:30:22 <catechu> nribeka: where is the import program that you wrote for test data?
20:31:54 <r0bby> Tag file directory /WEB-INF/view/module/facilitydata/tags does not start with "/WEB-INF/tags"
20:31:58 <r0bby> wtf
20:32:00 <r0bby> :/
20:32:38 <bwolfe> r0bby: has to be in /WEB-INF/tags
20:32:54 <bwolfe> r0bby: modules can add tags. see the module documentation for how to do it
20:32:59 <r0bby> ok
20:35:55 <r0bby> /WEB-INF/modules/moduleId/* isn't that /WEB-INF/view/modules/moduleId/*
20:39:17 <bwolfe> no idea what you're referring to
20:40:34 <r0bby> http://openmrs.org/wiki/Modules
20:40:47 <r0bby> Contains the jsp and web files. All files will be placed into /WEB-INF/modules/moduleId/*
20:40:54 <r0bby> web/module
20:41:07 <r0bby> that goes in /WEB-INF/view/modules/moduleId/*
20:41:40 <r0bby> I'm gonna change that.
20:43:13 <r0bby> done.
20:43:23 <r0bby> http://openmrs.org/wiki/Modules#Overall_Module_Structure
20:43:26 <OpenMRSBot> <http://ln-s.net/3IGB> (at openmrs.org)
20:45:02 <r0bby> OH DOH
20:47:06 *** deadpool_ is now known as deadpool
20:48:20 <bwolfe> thanks r0bby
20:49:27 <r0bby> no problem
20:49:39 <r0bby> i got it now
20:49:49 <r0bby> it looks for a direct tags in web/module
20:49:53 <r0bby> directory*
20:50:05 <r0bby> it's not documented there by the way :x
20:50:14 <r0bby> I dont have the time to do it myself atm
20:53:30 *** Keelhaul has quit IRC
21:01:34 <r0bby> AGGGGH
21:01:50 <r0bby> I spend more time debugging stupid shit :(
21:02:26 * r0bby shuts up
21:02:44 *** sdefabbiakane has left #openmrs
21:09:35 <deadpool> missed that semicolon did ya
21:10:30 <deadpool> so i was reading some of my e-mail so is there like a meeting happening here or did it happen already?
21:12:10 *** catechu has quit IRC
21:13:19 <r0bby> ... why is it not picking up my tag file :(
21:13:35 <r0bby> ]I defined a numericQuestion.tag file
21:13:46 <r0bby> it's in WEB-INF/tags/module/facilitydata
21:14:10 <r0bby> I did it as <facilitydata_tag:numericQuestion ...>
21:19:51 <bwolfe> deadpool: the meeting is tmrw
21:19:59 <deadpool> ah
21:20:05 <deadpool> gotcha
21:20:12 <bwolfe> sam said the 9th when he meant the 10th
21:20:13 <deadpool> my bad
21:22:46 <r0bby> bwolfe: how do i do this it's _NOT_ working :(
21:23:01 <r0bby> I defined a numericQuestion.tag file and it's in tags/
21:23:12 <bwolfe> and you're runnign 1.5 ?
21:24:14 <r0bby> yes
21:24:22 <r0bby> subversion.
21:24:33 <r0bby> the 15x branch
21:26:00 <r0bby> revision 8271
21:27:19 <r0bby> oh that's cute, it's not picking up *ANY* of my tags
21:28:32 <r0bby> http://pastie.org/private/4nbsj59tbrevrqb61iwxg
21:30:53 <deadpool> bwolfe: hey do you know how to work infopath i was following the tutorial
21:31:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1559 (task closed): Fix liquibase-generate-sql ant target <http://dev.openmrs.org/ticket/1559#comment:1> || OpenMRS Changesets: Changeset [8356]: Fixed liquibase-generate-sql ant target - #1559 Renamed target to … <http://dev.openmrs.org/changeset/8356> || OpenMRS Tickets: Ticket #1559 (task created): Fix liquibase-generate-sql ant target <http://dev.openmrs.org/ticket/1559>
21:31:26 <deadpool> and i get stuck on trying to download the updated form
21:31:28 <bwolfe> r0bby: theres a dir for taglibs too. see the mdrtb module example of that
21:31:36 <r0bby> ah ok
21:31:49 <deadpool> infopath just says trying to connect to server and stays there forever
21:31:52 <r0bby> i know
21:32:01 <r0bby> /WEB-INF/tags/module/moduleId
21:32:06 <bwolfe> deadpool: any errors in tomcat logs ?
21:32:44 <r0bby> it's picking up my EL function just fine
21:32:51 <r0bby> so my TLD is being picked up just fine
21:34:23 <r0bby> what it's NOT picking up is my .tag file
21:34:46 <deadpool> bwolfe: no errors but two warnings
21:36:38 <deadpool> same thing when i tried the demo online it just keeps saying contacting server and nothing happens
21:37:18 <r0bby> UAGH
21:37:19 <bwolfe> r0bby: tld's don't do el. they do the <openmrs:format....>. or am I missing something?
21:37:26 <r0bby> They do
21:37:34 <bwolfe> deadpool: no errors in the log ?
21:37:39 <deadpool> nope
21:37:42 <bwolfe> deadpool: ah ok, you mentioned htis on the forum, right ?
21:37:51 <deadpool> nope
21:38:11 <deadpool> it was a different error i was getting
21:38:14 <deadpool> then
21:38:33 <deadpool> this is a totally different error
21:38:41 <r0bby> http://pastie.org/private/rw9nqp3knuwkv3jtgqjnna
21:38:43 <r0bby> ^^
21:38:44 <OpenMRSBot> <http://ln-s.net/3IHq> (at pastie.org)
21:38:58 <r0bby> those are functions i can reference through EL.
21:39:17 <deadpool> well it just stalls
21:40:15 <r0bby> the Filter and Sort classes are used via EL
21:40:18 <bwolfe> r0bby: and you're accessing those how?
21:40:27 <r0bby> in my own TLD :)
21:40:33 <r0bby> I'll show you.
21:41:09 <bwolfe> r0bby: I meant using
21:41:38 <r0bby> http://pastie.org/private/4nbsj59tbrevrqb61iwxg
21:42:13 <deadpool> i am not even getting the error infopath just stalls on trying to connect to server
21:42:21 <r0bby> bwolfe: =)
21:42:24 <bwolfe> deadpool: very weird
21:42:31 <deadpool> yeah
21:42:32 <r0bby> mike gave me the idea :)
21:42:42 <bwolfe> deadpool: and you can download the xsn from that url by typing it into firefox?
21:42:47 <r0bby> I needed instanceof checks (EL has the instanceof keyword reserved, but it's not used.)
21:43:00 <deadpool> what do you mean by typing in the url?
21:43:15 *** kane77 has quit IRC
21:43:22 <r0bby> <th>Date: ${facilitydata:formatDate(null)}</th>
21:43:30 <r0bby> <c:whentest="${facilitydata:isNumericQuestion(formQuestion.question)}">
21:43:38 <r0bby> those are two places i currently call my functions.
21:43:40 <bwolfe> deadpool: take the url that its failing to download and put that into firefox
21:43:47 <bwolfe> r0bby: I didn't think thats how it was done
21:43:49 <bwolfe> r0bby: one sec
21:43:53 <r0bby> That is :)
21:43:58 <r0bby> because it works
21:44:08 <r0bby> the methods have to be public and static
21:44:20 <r0bby> that's not where my problem is anyways
21:44:36 <r0bby> bwolfe: in fact i used OpenMRS to help as a guide :)
21:44:54 <r0bby> org.openmrs.web.taglib.functions.*
21:45:15 <r0bby> Sort/Filter
21:46:04 <r0bby> the TLD is used to both define tags *AND* EL functions
21:46:36 <r0bby> the functions used in OpenMRS are defined at the bottom of openmrs.tld
21:46:42 <deadpool> bwolfe: i can access it but i get some bunch of random symbols
21:46:51 <bwolfe> deadpool: yeah, thats the xsn
21:47:02 <deadpool> so then yes i can download it
21:47:10 <bwolfe> maybe infopath changed something. what version are you using ?
21:47:17 <deadpool> 2007
21:47:17 <bwolfe> has this ever worked for you ?
21:47:21 <deadpool> nope
21:47:40 <bwolfe> I know it works for some 2007, can you get the exact version from menu-->about in infopath?
21:48:01 <bwolfe> I'll check tmrw when I get to work and see what we're running there. I don't have infopath on my linux machine here. :-)
21:48:29 <bwolfe> I have an appt I need to run to, sorry deadpool / r0bby
21:48:36 <r0bby> bwolfe: i hate you
21:48:40 <bwolfe> r0bby: find the module that is using tags and copy that
21:48:45 <r0bby> I did!
21:48:47 <bwolfe> r0bby: my minor googling didnt turn it up
21:48:51 <r0bby> they're all doing the same :|
21:48:57 <deadpool> bwolfe: no problem thanks for the help
21:49:01 <bwolfe> r0bby: then try clean installing
21:49:09 <r0bby> all this crap is setting me back on my schedule :|
21:49:09 <bwolfe> r0bby: or looking more closely
21:49:37 <bwolfe> r0bby: anyway, good luck, let me know what you find out
21:49:47 <bwolfe> deadpool: ping me tmrw and we can debug some more
21:49:58 <deadpool> will do thanks alot
21:50:04 *** bwolfe has quit IRC
21:50:37 *** Mkop has joined #openmrs
21:52:11 <r0bby> Mkop: i think you were right last night, this stuff may need to be restructured
21:52:31 <deadpool> r0bby: sorry man for taking bwolfe's time from ya
21:53:57 <r0bby> it's fine
21:54:17 <r0bby> I'm just flustered right now
21:54:21 <Mkop> where is ben?
21:54:52 <Mkop> he just closed a ticket for me, and I want to thank him
21:56:46 <r0bby> he just left
21:56:59 <r0bby> I think he's on his way to pay the hitman to whack me
22:00:19 <deadpool> you mean agent 47
22:03:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #440 (defect closed): Flowsheet module error on MVP version <http://dev.openmrs.org/ticket/440#comment:5> || OpenMRS Tickets: Ticket #1491 (enhancement closed): Short name concepts should also show preferred name on a concept name search <http://dev.openmrs.org/ticket/1491#comment:3> || OpenMRS Changesets: Changeset [8359]: 1.4.x branch: Adding preferred name to search result list if search hit is … <http://dev.openmrs.org/changeset/8359> || OpenMRS Changesets: Changeset [8358]: 1.5.x branch: Adding preferred name to search result list if search hit is … <http://dev.openmrs.org/changeset/8358> || OpenMRS Changesets: Changeset [8357]: Adding preferred name to search result list if search hit is on a … <http://dev.openmrs.org/changeset/8357>
22:03:57 <r0bby> .. OK wtf
22:04:04 <r0bby> it doesn't like _tag
22:04:37 <r0bby> this is kinda cool
22:04:41 <r0bby> EL functions
22:35:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8360]: global-property-types branch: Add namespaces in the left pane for "System … <http://dev.openmrs.org/changeset/8360>
22:41:16 <deadpool> arrrgh..
22:41:26 <deadpool> i ehat infopath
22:45:30 *** Keelhaul has joined #openmrs
22:45:30 *** ChanServ sets mode: +v Keelhaul
22:45:51 <deadpool> die infopath die
22:46:09 <deadpool> keelhaul: hey wasup
22:46:15 <Keelhaul> hi
22:49:31 *** Mkop has quit IRC
22:51:41 <r0bby> deadpool: use htmlformentry
22:51:50 <r0bby> If i finished groovyforms i'd tell you to use that
22:52:06 <r0bby> Though, i was told it wouldn't get as much respect as htmlformentry did
22:52:11 <r0bby> and does
22:52:26 <deadpool> don't really know how to use htmlformentry
22:52:26 <r0bby> I'm on a caffiene high :D
22:52:33 <deadpool> heh so am i
22:52:35 <r0bby> it's reletively
22:52:37 <r0bby> easy
22:52:52 <r0bby> http://openmrs.org/wiki/HTML_Form_Entry_Module_HTML_Reference
22:52:53 <OpenMRSBot> <http://ln-s.net/3EkG> (at openmrs.org)
22:53:15 <r0bby> you use regular HTML plus some tags for defining certain OpenMRS widgets
22:53:21 <Keelhaul> the challenge is in making the forms look pretty
22:53:30 <Keelhaul> i never got mine to look remotely like the ones in the example
23:00:59 <deadpool> eh i don't think the doctors could do that
23:01:06 <deadpool> need something simple for them
23:02:31 <r0bby> Keelhaul: that's where the Wysiwyg editor comes in :)
23:02:37 <r0bby> and deadpool
23:02:39 <r0bby> =)
23:02:52 <r0bby> I almost went for it
23:03:02 <deadpool> i give up openmrs implementation is not for the faint of heart
23:03:04 <r0bby> had I not gone for Facility Data -- i would not have gotten in
23:03:12 <r0bby> DO NOT give up
23:03:21 <r0bby> OpenMRS is the future =)
23:03:23 <deadpool> eh i am not i will march on
23:03:36 <deadpool> maybe it will be called openhis
23:03:40 <deadpool> in the future
23:04:08 <deadpool> so right now i have been up for about 36 hrs trying to troubleshoot why infopath is not working for me
23:06:26 <deadpool> once i get this working i think i should probably help update the implementation guide
23:06:34 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8361]: facility data: tweak the deploy-web target to copy over .tag files as … <http://dev.openmrs.org/changeset/8361>
23:07:52 <Keelhaul> deadpool: maybe bwolfe will return later today
23:08:02 <Keelhaul> he's the formentry module person
23:08:11 <deadpool> yeah he said he would debating on whether i should go to sleep or not
23:08:29 <deadpool> right now i have figured out a way to make infopath work but i don't think it is right
23:09:16 <deadpool> right now i have to see if i can download the xsn from the url twice then clear the cache and then download the form to submit
23:09:28 <deadpool> or otherwise it gets stuck in contacting the server
23:09:47 <r0bby> formentry is actually an area of openmrs i like :)
23:10:00 <r0bby> Darius was weary of me taking on another form entry project
23:10:12 <r0bby> so I was likely to not have been selected if i kept myself in the running :S
23:10:26 <deadpool> is bwolfe aslo a doctor?
23:11:56 <deadpool> isn't form entry like a big thing though
23:12:06 <deadpool> you would think you would want many people working on it
23:12:19 <deadpool> and if somehow we can go away from infopath that would be awesome
23:13:14 <deadpool> but that is just me rambling on
23:14:08 <deadpool> sorry about that r0bby, Keelhaul
23:14:10 <r0bby> my project would have been REALLY simple
23:14:17 <r0bby> define a form
23:14:20 <Keelhaul> deadpool, no, that's a valid point
23:14:21 <r0bby> you get a template
23:14:26 <r0bby> and then that generates a form :)
23:14:40 <r0bby> define a simple groovy class :0
23:14:59 <r0bby> everything but stock questions is rendering
23:17:34 <deadpool> so what is like the long term plan for openmrs
23:17:44 <deadpool> is it to be like a HIS
23:19:40 <Keelhaul> hm
23:20:00 <Keelhaul> isnt a HIS just an MPI/billing
23:23:50 <r0bby> <option value="${option}" ${(value != null && value.valueText == option) ? "selected" : ""}</option>
23:23:54 <r0bby> holy crap that's hideous
23:26:16 <Keelhaul> it's always hideous if the ? operator is used
23:26:19 <deadpool> yeah but you aslo include pharmacy stuff
23:26:44 <deadpool> yeah i hate using the if statement with ?
23:27:41 <r0bby> ternary operators are the shit :)
23:27:47 <r0bby> you should see the groovy elvis operator
23:27:54 <r0bby> null = false in groovy
23:28:01 <r0bby> so if i have a String i wanna return
23:28:14 <r0bby> return userName ?: "Anonymous"
23:28:30 <Keelhaul> yes, ugly and hard to read
23:28:36 <r0bby> heh
23:28:41 <r0bby> I can read it just fine
23:28:49 <Keelhaul> [01:23:47] <+r0bby> <option value="${option}" ${(value != null && value.valueText == option) ? "selected" : ""}</option>
23:28:51 <r0bby> I read it as if(...) { ... } else { ... }
23:28:58 <Keelhaul> forgot to close a >
23:29:03 <r0bby> I caught it :)
23:31:03 <Keelhaul> you can also do <option value="${option}" <c:if test="${value != null and value.valueText == option}>selected="selected"</c:if>>
23:31:17 <r0bby> that's just as bad
23:31:26 <r0bby> this is cleaner and less verbose :)
23:31:33 <r0bby> says what it needs to
23:31:37 <Keelhaul> mine doesnt break xhtml conventions though =P
23:31:46 <Keelhaul> altohugh the condition has nothing to do with it
23:32:03 <r0bby> yeh when it hits the clieent that's gone :)
23:37:16 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8362]: facility data: I never want to see this class again in my life. <http://dev.openmrs.org/changeset/8362>
23:43:02 <Keelhaul> i like java and all
23:43:16 <Keelhaul> but java based desktop applications are a piece of crock
23:43:39 <Keelhaul> mysql workbench just froze again
23:47:30 <deadpool> what version of mysql are you using?
23:47:43 <Keelhaul> 5.1 64bit
23:47:45 <Keelhaul> windows
23:47:53 <r0bby> why in GODS name is my locale en_GB
  • No labels