IRC Chat : 2011-09-12 - OpenMRS

00:00:03 *** gbastien has joined #openmrs
02:01:19 *** gbastien has quit IRC
02:51:41 *** upul` has joined #openmrs
02:51:41 *** ChanServ sets mode: +v upul`
03:08:37 *** deadpool has joined #openmrs
03:21:42 *** goutham has joined #openmrs
03:21:58 *** deadpool has quit IRC
03:22:02 * robbyoconnor throws a water balloon at wyclif
03:45:07 *** deadpool has joined #openmrs
03:50:18 *** goutham has quit IRC
03:56:32 *** surangak has joined #openmrs
04:14:02 *** surangak has quit IRC
04:14:04 *** surangak_ has joined #openmrs
05:32:47 *** finbrein has quit IRC
05:52:47 *** finbrein has joined #openmrs
05:53:52 *** muthah has joined #openmrs
06:09:13 *** vlad__ has joined #openmrs
06:11:02 *** deadpool has quit IRC
06:11:15 *** vlad__ has left #openmrs
06:22:30 *** deadpool has joined #openmrs
06:29:07 *** deadpool has quit IRC
06:33:07 *** pascal`` has joined #openmrs
06:34:51 *** pascal`` has quit IRC
06:36:04 *** dkayiwa has joined #openmrs
06:38:51 <surangak_> dkayiwa, good morning :-)
06:38:59 <dkayiwa> morning surangak_ :)
06:39:05 <surangak_> only the two of us so far....
06:39:13 <dkayiwa> hahahaha :D
06:41:23 *** deadpool has joined #openmrs
06:43:59 *** bwolfe has joined #openmrs
06:43:59 *** ChanServ sets mode: +o bwolfe
06:44:24 <bwolfe> good morning dkayiwa
06:44:32 <bwolfe> uko wapi rafal ?
06:44:37 <dkayiwa> morning bwolfe
06:44:39 <bwolfe> err, aka wapi rafal
06:44:46 <bwolfe> grr, ako wapi rafal
06:44:55 * bwolfe should just stop trying
06:49:58 *** deadpool has quit IRC
06:51:33 *** pascal`` has joined #openmrs
07:03:06 *** deadpool has joined #openmrs
07:06:32 *** pascal`` is now known as pascal`
07:06:41 *** ChanServ sets mode: +v pascal`
07:31:57 *** dkayiwa has quit IRC
07:31:58 *** muthah has quit IRC
07:32:52 *** muthah has joined #openmrs
08:55:41 *** sunbiz has joined #openmrs
08:55:41 *** ChanServ sets mode: +v sunbiz
09:00:23 <upul`> jambo bwolfe
09:05:58 *** deadpool has quit IRC
09:20:55 *** finbrein has quit IRC
09:26:24 *** finbrein has joined #openmrs
09:45:13 <pascal`> hey upul`
09:45:16 <pascal`> hey bwolfe
09:45:37 <pascal`> bwolfe, is there an easy way to get the most recent encounter of a given type (using the API)?
09:47:33 <upul`> jambo pascal`
09:55:19 <bwolfe> habariako upul`?
09:55:35 <bwolfe> pascal`, there should be a method to do that in the EncounterService
09:56:05 <bwolfe> pascal`, at the very least you could use the getEncounters method with a log of arguments to get for a certain patient and a certain type
09:57:01 <pascal`> bwolfe, I am using the one with lots or arguments
09:57:29 <pascal`> bwolfe, but I don't see a way to get the latest encounter. Weird.
09:57:43 <bwolfe> pascal`, aren't they ordered by encounterDatetime desc ?
09:58:04 <pascal`> pascal`, I can neither confirm or deny that
09:58:36 <pascal`> pascal`, I see this in the API docs: @return a list of encounters ordered by increasing encounterDatetime
09:58:43 <pascal`> pascal`, do you think that's a clue? ;)
10:00:05 *** dkayiwa has joined #openmrs
10:10:07 *** surangak has joined #openmrs
10:10:07 *** surangak_ has quit IRC
10:23:51 <bwolfe> pascal`, are you talking to yourself?
10:24:51 *** bryq has joined #openmrs
10:24:51 *** ChanServ sets mode: +v bryq
10:26:20 <pascal`> bwolfe, haha
10:26:26 <pascal`> bwolfe, it appears that way, yes
10:26:58 * pascal` needs more coffee
10:27:21 <bwolfe> its after noon!
10:27:24 <bwolfe> wake up already!
10:40:00 <pascal`> bwolfe, I find waking up at the crack of noon difficult
10:40:07 <pascal`> bwolfe, especially on Mondays
10:40:17 <bwolfe> yes, there is quite a crack at noon
10:40:19 <bwolfe> quite the crack
10:51:25 <surangak> bwolfe, howdy
10:51:35 <surangak> bwolfe, so i finaly attached a patch for https://tickets.openmrs.org/browse/TRUNK-1763
10:52:11 <surangak> bwolfe, seven months after i claimed that ticket :-P
10:53:12 <bwolfe> ha
10:53:16 <bwolfe> I've seen slower...
10:53:38 <surangak> bwolfe, :D slow and steady does the job
10:54:08 <bwolfe> surangak, you attached a patch last month for it...
10:54:40 <surangak> bwolfe, i've been working on it on and off :-)
10:54:50 <bwolfe> heh
10:55:24 <bwolfe> mostly "off"? :_)
10:55:24 <bwolfe> :-)
10:55:24 <bwolfe> surangak, can you attach a screenshot for the latest ?
10:55:45 <surangak> bwolfe, I got stuck with Gsoc, dont 'ya know :D
10:55:55 <surangak> bwolfe, sure, will do
11:01:30 <surangak> bwolfe, I attached the pic
11:01:38 <surangak> bwolfe, I'll be going offline for a while
11:02:03 <bwolfe> ok, thanks
11:02:13 <surangak> bwolfe, if you see any improvements that you'd like in the pic, please comment on it and i'll make the changes.....
11:02:24 <surangak> bwolfe, no problem :-)
11:08:27 *** surangak has quit IRC
11:11:40 *** deadpool has joined #openmrs
11:15:21 <deadpool> bwolfe: how is the print module i was reading the wiki and it doesn't say much
11:17:38 <bwolfe> deadpool, I wrote the printing module back in 2007. we came up with a workaround so it was never needed. I don't know if it was ever usable. there were some other people that claimed to use it, but I don't know if they made changes. I can't guarantee it will even run with a recent openmrs...
11:17:52 <deadpool> ah ok
11:18:34 <deadpool> so the workaround does it let you print out completed forms and stuff?
11:21:21 <bwolfe> the module was written for the clinicalsummary module. however, we ended up using a different technique: the summaries are generated into a network share/folder and a different executable watches that folder and prints anythign that comes in
11:32:09 <pascal`> bwolfe, It looks like the answers to boolean concepts are being stored as value_numeric=1 (and I assume 0 for false)
11:32:15 <pascal`> bwolfe, Does that seem right?
11:33:26 *** ningosi has joined #openmrs
11:33:38 <ningosi> hello
11:33:49 <pascal`> Hi ningosi
11:34:20 <ningosi> i included a jar file into my module, it compiles file and even uploads ok but the issue is that i get an error whenever i try to execute it and this is the error WARN - CommonsLoggingOutput.warn(59) |2011-09-12 14:21:39,495| --Erroring: batchId[2] message[java.lang.NoClassDefFoundError: org/openmrs/module/household/service/HouseholdService]
11:34:29 <ningosi> could any one help me
11:35:05 <pascal`> Hi ningosi, did you include the jar in the "lib" folder or in the "lib-common" folder?
11:35:15 <ningosi> yes
11:35:34 <ningosi> even on the build path
11:35:44 <pascal`> ningosi, yes "lib" or yes "lib-common"?
11:36:04 <pascal`> ningosi, only jar files in the "lib" directory are actually copied into the compiled .omod file.
11:36:11 <ningosi> in the lib folder within the module
11:36:43 <bwolfe> ningosi, are you using a mavenized module or a standard one?
11:36:59 <ningosi> am using maven
11:37:05 <pascal`> ningosi, okay, why do you think your extra jar file is the cause of this issue? It looks like it can't find your module's service class.
11:37:27 <bwolfe> pascal`, lib/lib-common doesn't come into play if the module is using maven
11:37:35 <pascal`> pascal`, okay thanks
11:37:59 <bwolfe> pascal`, stop talking to yourself! you're freaking me out today! :-DE
11:38:02 <bwolfe> :-D
11:38:05 <pascal`> bwolfe, haha
11:38:17 <ningosi> the module am working on is using household jar file
11:38:35 <pascal`> ningosi, is the household module running?
11:38:40 <ningosi> yes
11:38:44 <bwolfe> ningosi, have you seen this wiki page? getSyncRecords
11:38:45 <pascal`> ningosi, I don't think you'll be able to access the service just using the jar
11:38:46 <bwolfe> err
11:38:56 <bwolfe> bad copy/paste
11:39:00 <ningosi> ok
11:39:03 <bwolfe> ningosi, https://wiki.openmrs.org/display/docs/Requiring+another+module+in+your+module
11:39:06 *** upul` has quit IRC
11:39:10 <OpenMRSBot> <http://ln-s.net/9-5b> (at wiki.openmrs.org)
11:39:29 <pascal`> Oh right, nice one bwolfe++
11:40:18 <bwolfe> ningosi, I made that page a few months ago when I had to do just what you're doing
11:40:21 <ningosi> i followed all that ben
11:40:30 <ningosi> can i share the pom file?
11:40:34 <bwolfe> hmm
11:40:51 <bwolfe> did you put the household module into your config.xml file ?
11:41:12 <bwolfe> ningosi, you don't actually want the household jar/omod in your omod. you will want to reference it only
11:41:15 <ningosi> let me check
11:41:30 <ningosi> the inclusion in the pom is
11:41:32 <ningosi> <dependency> <groupId>org.openmrs.module.household</groupId> <artifactId>household-api</artifactId> <version>1.0.0</version> <type>jar</type> <scope>provided</scope> </dependency>
11:41:49 <bwolfe> ningosi, nah, I don't care about your pom. I care about your config
11:42:00 <bwolfe> the pom only tells eclipse how to find things and how to build your omod
11:42:10 <bwolfe> the config.xml file tells openmrs how your module interacts with other modules though
11:42:37 <bwolfe> and if you are running your module in openmrs and it is telling you it can't find it, that means that your module is not ALLOWED to see it
11:42:51 <bwolfe> openmrs only lets you call another module if you mark that module as required
11:43:20 <ningosi> my config file dont have it
11:43:59 <bwolfe> this prevents you from releasing your module to the world without that in your config. because if you did, then an implementer might install your module without the household module and WHAMMO, big error just like you're seeing
11:44:15 <bwolfe> so its better for you to see the error once than for a bunch of implementers to keep getting the problem
11:44:55 <bwolfe> ningosi, see the end of the page I linked to? you missed that part. :-D
11:47:14 <bwolfe> ningosi, where are mwogi, oliver, and alfayo? you all should be hanging out on irc!
11:47:29 <bwolfe> ningosi, if at the very least as a way of having a chat without frank seeing it
11:48:07 <ningosi> heheee
11:48:19 <ningosi> so which end of page?
11:48:28 <bwolfe> although I suppose you could all just talk in swahili and have the same effect...
11:48:38 *** mwogi has joined #openmrs
11:48:39 <bwolfe> https://wiki.openmrs.org/display/docs/Requiring+another+module+in+your+module
11:48:40 <OpenMRSBot> <http://ln-s.net/9-5b> (at wiki.openmrs.org)
11:48:47 <bwolfe> mwogi!
11:48:56 <mwogi> Ben
11:49:15 <bwolfe> pascal`, are you guys using maven at all? have you mavenized any of your modules?
11:49:25 <ningosi> seen it
11:49:31 <ningosi> let me effect
11:49:37 <pascal`> bwolfe, nope
11:49:47 *** deadpool has quit IRC
11:50:04 <pascal`> bwolfe, We're mainly using 1.7.x for our current work, so maybe when we decide to use a more recent version we'l mavenize
11:50:32 <bwolfe> hopefully
11:50:43 <bwolfe> pascal`, for when you do: https://wiki.openmrs.org/display/docs/Converting+old+code+to+Maven
11:50:49 <OpenMRSBot> <http://ln-s.net/9-5f> (at wiki.openmrs.org)
11:51:11 <bwolfe> and the maven archetype to create a new module is really helpful: https://wiki.openmrs.org/display/docs/Using+the+Module+Maven+Archetype
11:51:11 <OpenMRSBot> <http://ln-s.net/9$wo> (at wiki.openmrs.org)
11:51:22 <bwolfe> but it makes maven modules only, not old-school ant ones... :-)
11:52:44 <bwolfe> mwogi, ningosi, my goal is to turn you guys into true geeks like the rest of us. the smartphones were the first step in the process, irc is just one of many more to come...
11:53:28 <pascal`> bwolfe, thanks, I will be sure to forget those links and ask you directly when the time comes ;)
11:54:01 <mwogi> Good Ben, we are ready for the task
11:56:42 <pascal`> Do we have two new Africa geeks bwolfe?
11:56:46 <pascal`> *African
11:57:59 <bwolfe> somewhat new. mwogi == Jonah Mwogi and ningosi == Nicholas Ingosi. they are 2 of 4 ampath programmers. they've worked for ampath for a good while now, its just that they haven't been forced out into the openmrs open yet. :-)
11:58:22 <bwolfe> I'm trying ot force that. mwogi and ningosi will soon see how helpful irc is for them and how helpful they can be to others
12:00:00 <pascal`> Oh okay, hi mwogi & ningosi
12:03:05 *** deadpool has joined #openmrs
12:05:47 *** dkayiwa has quit IRC
12:07:08 *** mwogi has quit IRC
12:07:08 *** ningosi has quit IRC
12:11:29 *** downeym has joined #openmrs
12:11:29 *** ChanServ sets mode: +o downeym
12:11:29 *** OpenMRSBot sets mode: +o downeym
12:14:09 <bwolfe> pascal`, you scared them off!
12:14:29 *** mwogi has joined #openmrs
12:14:40 <downeym> Hi mwogi and welcome to the #openmrs IRC channel.
12:15:27 <pascal`> bwolfe, I know, I saw :(
12:22:00 <pascal`> bwolfe, with the patient flags module you can create your own evaluator
12:22:15 <bwolfe> pascal`, I think it supports groovy
12:22:17 <pascal`> bwolfe, do you know if the evaluator can be in another module
12:22:32 *** upul` has joined #openmrs
12:22:32 *** ChanServ sets mode: +v upul`
12:22:36 <pascal`> bwolfe, it does, but i need to do something relatively complex and it's just easier to create my own evaluator
12:22:48 <bwolfe> pascal`, dunno. markG has been on here off an on, he wrote that
12:23:03 *** wyclif has quit IRC
12:23:55 <pascal`> it's instantiated as follows: return (FlagEvaluator) Class.forName(evaluator).newInstance();
12:24:25 <pascal`> bwolfe, but I'm getting Unable to instantiate FlagEvaluato =\
12:24:37 <bwolfe> pascal`, then no, it won't find it in another module. Class.forName needs to change to Context.loadClass so that it uses the openmrs classloader
12:25:03 <pascal`> bwolfe, right, recompiling patient flags then
12:33:16 <pascal`> bwolfe, so, if I just add my evaluator to the patient flags module package, it should work, right?
12:33:31 <bwolfe> pascal`, that'll work too
12:34:07 <pascal`> bwolfe, oh right
12:34:14 <pascal`> bwolfe, I'll just use context.loadClass then
12:34:23 <bwolfe> pascal`, there might be issues loading because of the same thing ningosi ran into. a module can't access another module unless openmrs allows it
12:34:41 <bwolfe> and openmrs will only allow it if the patientflags module has either a soft (1.9+) or a hard (1.1+) dependency on it
12:35:13 <pascal`> bwolfe, hard as in mentioned in config.xml?
12:35:29 <bwolfe> yeah
12:35:49 <pascal`> <require_module>org.openmrs.module.patientflags</require_module>
12:35:53 <pascal`> ^ like so? (=
12:36:06 <bwolfe> other way. patientflags would have to require your module.
12:36:12 <bwolfe> :-/
12:37:00 <bwolfe> for your instance thats not helpful. and tammy a while back complained about a restriction there too. so perhaps we could write somethign in that says if the OTHER module requires YOU, you should be allowed to fetch classes from it
12:39:09 <pascal`> bwolfe, oh right
12:39:26 <pascal`> bwolfe, arg, this custom evaluator functionality isn't very useful then =\
12:41:01 <bwolfe> no, not so much
12:41:14 <bwolfe> pascal`, ask mark if there is a workaround, perhaps he has a fancy trick
12:41:44 <pascal`> bwolfe, I need to get this done today though, so I'm going to have to just add my evaluator to his module for the moment
12:42:09 <pascal`> bwolfe, if definitely seems like this is something which should be supported - a way for modules to be able to load classes from other modules
12:42:21 <bwolfe> java == groovy. so you should be able to copy/paste into a groovy flag
12:44:35 <pascal`> bwolfe, let me give it a try, but I'm not confident
12:45:05 <bwolfe> pascal`, are you calling your own methods or just openmrs methods?
12:45:20 <pascal`> bwolfe, openmrs
12:45:31 *** dkayiwa has joined #openmrs
12:54:08 *** deadpool has quit IRC
12:57:17 *** dkayiwa_ has joined #openmrs
12:57:59 *** dkayiwa has quit IRC
12:57:59 *** dkayiwa_ is now known as dkayiwa
13:07:06 *** deadpool has joined #openmrs
13:11:04 *** wyclif has joined #openmrs
13:19:33 <deadpool> bwolfe: hey bwolfe just to let you know my 90% installation problem i solved it by using tomcat instead of jetty but still wondering why it won't work in jetty
13:21:09 <bwolfe> deadpool, hmm, how were you running jetty?
13:37:32 *** gbastien has joined #openmrs
14:00:04 *** mwogi has quit IRC
14:00:16 *** upul` has quit IRC
14:04:38 *** djazayeri has joined #openmrs
14:04:38 *** ChanServ sets mode: +o djazayeri
14:04:53 <bwolfe> wyclif, djazayeri, dkayiwa, ready for a scrum?
14:05:02 <djazayeri> yup
14:05:16 <wyclif> hi
14:05:17 <bwolfe> djazayeri, are you ready to go now?
14:06:02 <djazayeri> almost
14:07:14 <djazayeri> Friday
14:07:14 <djazayeri> * Created dashboard for next sprint
14:07:14 <djazayeri> * Organize tickets for 1.9 alpha push
14:07:14 <djazayeri> * Backlog of code reviews
14:07:14 <djazayeri> * Recorded last week's OpenMRS University screencast (finally!)
14:07:15 <djazayeri> Today
14:07:16 <djazayeri> * More code reviews
14:07:16 <djazayeri> * More organizing of 1.9 tickets
14:07:17 <djazayeri> * Talk to Daniel about 1.9 release managing
14:07:17 <djazayeri> * ...
14:07:19 <djazayeri> No blockers
14:08:43 <djazayeri> dkayiwa: since you're going to be the 1.9 release manager, we should start talking about that
14:08:52 <dkayiwa> ok
14:10:43 <djazayeri> who's up next?
14:12:11 <djazayeri> dkayiwa?
14:13:29 <bwolfe> djazayeri, did you upload the screencast to the openmrs you tube channel? do we have that process wiki-fied?
14:13:41 <dkayiwa> Did some code review
14:13:42 <dkayiwa> Looked into why unit test for SYNC-200 is failing
14:13:42 <dkayiwa> Finishing up: Allow for the ability to make batch changes from the History of Changes page - SYNC-184
14:14:19 <djazayeri> bwolfe: about to start uploading, but currently the process is to upload to slashtmp and let downeym do the rest
14:14:35 <bwolfe> djazayeri, ok, thats fine, but is that wikified?
14:14:49 <djazayeri> what do you mean by wikified?
14:15:08 <bwolfe> meaning: is there a page on the wiki that says that?
14:15:42 <downeym> bwolfe: more or less.
14:15:47 <pascal`> bwolfe, any idea what might be causing this: http://pastebin.com/hjcysTUu (I can make it not happen if I remove the flag's priority)
14:16:36 <djazayeri> !ticket sync-200
14:16:37 <OpenMRSBot> djazayeri: [#SYNC-200] running sync manually from the sync/status.list?mode=SEND_WEB page should check to see if a sync process is currently running and return message to wait if so - OpenMRS JIRA - https://tickets.openmrs.org/browse/sync-200
14:17:11 <pascal`> (bwolfe, added the priority back and now it's not happening =S)
14:17:35 <bwolfe> pascal`, uh, strange
14:17:46 <pascal`> bwolfe, indeed
14:17:50 <bwolfe> dkayiwa, did you figure out how to get that test to not fail?
14:18:24 <djazayeri> pascal`: is that using patientflags out-of-the-box?
14:18:58 <pascal`> djazayeri, I'm using my own evaluator, and I changed some of messages in messages.properties.
14:19:00 <dkayiwa> bwolfe: the thread was running after the non threaded SyncUtilTransmission.doFullSynchronize,
14:20:04 <dkayiwa> bwolfe: in otherwards, yes
14:20:26 <djazayeri> pascal`: ah. the groovy evaluator wasn't good enough? :-)
14:20:33 <bwolfe> dkayiwa, ok, good
14:20:34 <dkayiwa> bwolfe: the second problem was as you guessed, the method was running too fast
14:20:58 <pascal`> djazayeri, It silently failed when I tested it, and it's not that great writing code in a textarea.
14:21:15 <dkayiwa> bwolfe: i had used Thread.sleep(1000); to prove that. Now i need to remove it
14:21:17 <djazayeri> gotcha
14:21:38 <djazayeri> (we should probably review the usability of patientflags as we're going to be bundling it)
14:22:01 <pascal`> djazayeri, well, we might have some ideas, so let us know when you're talking about it.
14:22:15 *** mnunez has joined #openmrs
14:22:16 <djazayeri> okay
14:23:37 <mnunez> Hi! Good morning from South America!
14:24:07 <mnunez> Quick question: does anyone knows what happened to the pharmacy module?
14:24:49 <mnunez> It's as if all that remained of it was a youtube video.
14:25:09 *** muthah has quit IRC
14:25:11 *** deadpool has quit IRC
14:25:23 <bwolfe> ok I'll go now:
14:25:24 <bwolfe> today:
14:25:25 <bwolfe> emails
14:25:25 <bwolfe> ticket comments
14:25:25 <bwolfe> sync reviews
14:25:25 <bwolfe> trunk reviews for sunbiz
14:25:25 <bwolfe> ci setup for apptest
14:25:28 <bwolfe> apptest fixes
14:25:29 <bwolfe> started on SYNC-210
14:25:33 <bwolfe> tomorrow:
14:25:35 <bwolfe> sync + release testing merging?
14:25:48 *** muthah has joined #openmrs
14:26:40 <djazayeri> !ticket sync-210
14:26:41 <OpenMRSBot> djazayeri: [#SYNC-210] Reduce memory usage of sync module - OpenMRS JIRA - https://tickets.openmrs.org/browse/sync-210
14:26:52 <bwolfe> mnunez, no code and no omod in modules.openmrs.org ?
14:27:12 <mnunez> Not in the list. Wiki entry empty aswell
14:28:01 <djazayeri> in svn I only see the Pharmacy Data Export module
14:28:22 <bwolfe> are you sure it ever existed?
14:28:39 <mnunez> http://www.youtube.com/watch?v=aFogIo8ijsE
14:31:35 <djazayeri> The simplepharmacy module name was requested by Seid Hussein, working with HISP India, but looks like it never got committed
14:32:30 <djazayeri> oh, actually…looks like it's called simplepharmacy in svn
14:32:37 <djazayeri> http://svn.openmrs.org/openmrs-modules/simplepharmacy/trunk/
14:32:42 <OpenMRSBot> <http://ln-s.net/9-8+> (at svn.openmrs.org)
14:32:43 <djazayeri> mnunez: check it out there
14:33:20 <mnunez> https://wiki.openmrs.org/display/docs/Pharmacy+Data+Export+Module
14:33:24 <OpenMRSBot> <http://ln-s.net/9-8:> (at wiki.openmrs.org)
14:33:27 <mnunez> Thanks everyone, I will
14:36:00 <bwolfe> wyclif?
14:36:56 <wyclif> friday:
14:36:57 <wyclif> - other review comments for SYNC-41, SYNC-49, SYNC-157
14:36:57 <wyclif> - took part in a couple discussions on the devlist and ticket comments
14:36:57 <wyclif> - TRUNK-2605(need to add the snapshots for the UI changes)
14:36:57 <wyclif> today:
14:36:57 <wyclif> sprint tickets
14:36:59 <wyclif> no blockers
14:37:23 <bwolfe> !ticket TRUNK-2605
14:37:25 <OpenMRSBot> bwolfe: [#TRUNK-2605] Redo Visit tab on patient dashboard to show grouped encounters - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2605
14:37:41 <wyclif> i haven't yet committed the changes for TRUNK-2605
14:37:51 <wyclif> i wanted to ask something before that
14:38:09 <djazayeri> do you want to ask now or later?
14:38:13 <wyclif> should the encounters have edit and view buttons like the encounters list as before
14:38:18 <bwolfe> ok, thats probably something to cover next week. I'd prefer we get this sprint done before working on the next one!
14:38:21 *** deadpool has joined #openmrs
14:38:51 <djazayeri> Just have the edit button, not the view button.
14:39:30 <wyclif> well, this is for next week's sprint right
14:39:51 <wyclif> i can put it off till next week
14:44:59 <djazayeri> ben, your turn
14:45:16 <bwolfe> I sent already. scroll up djazayeri
14:45:32 <djazayeri> oh right. :-)
14:45:40 <djazayeri> so that's everyone, since rafal is out
14:46:54 <bwolfe> rafal's update:
14:46:56 <bwolfe> * cough
14:46:58 <bwolfe> * sneeze
14:47:04 <bwolfe> * go to doctor
14:47:11 <bwolfe> * buy drugs
14:47:15 <bwolfe> * feel better
14:47:18 <bwolfe> tomorrow:
14:47:21 <bwolfe> * work
14:48:21 <dkayiwa> :)
14:48:22 *** mnunez has quit IRC
14:48:33 *** mnunez has joined #openmrs
14:53:30 *** deadpool has quit IRC
15:00:03 <djazayeri> dkayiwa: so, you're going to be the 1.9 release manager
15:00:18 <dkayiwa> yes djazayeri
15:01:31 <djazayeri> first off: https://wiki.openmrs.org/display/docs/Being+an+OpenMRS+Release+Manager
15:01:33 <djazayeri> :-)
15:01:35 <OpenMRSBot> <http://ln-s.net/9-8h> (at wiki.openmrs.org)
15:01:56 <dkayiwa> ok :D
15:02:38 <djazayeri> But a big thing you're going to need to do is start going through tickets that are currently assigned to fixVersion=1.9, and deciding which of those stay there, and which get bumped to 1.10
15:02:51 <djazayeri> You don't have to do that alone, you could organize a call for it.
15:03:04 <djazayeri> I see: https://wiki.openmrs.org/display/docs/Release+Prioritization+Meeting
15:03:06 <OpenMRSBot> <http://ln-s.net/9-8k> (at wiki.openmrs.org)
15:03:09 <dkayiwa> ok
15:04:17 <djazayeri> Also, you should soon send an email to the dev list saying Hello I'm the Release Manager, and letting people know that our timeline is to release 1.9 alpha in mid-october, and the full release in early January 2012.
15:04:34 <dkayiwa> ok
15:04:38 <djazayeri> So everyone working on 1.9 tickets needs to get them finished by early october, or they'll get bumped to 1.10
15:04:55 <dkayiwa> ok
15:05:17 <djazayeri> And use jira to see if there's anyone who has lots of in progress 1.9 tickets assigned to them, and see status updates.
15:05:27 <djazayeri> (and whether they should be dropping any of those tickets)
15:05:27 <dkayiwa> ok
15:05:38 <dkayiwa> ok
15:06:54 *** deadpool has joined #openmrs
15:07:03 <djazayeri> so, schedule some time today/tomorrow for starting to do that.
15:07:12 <dkayiwa> ok
15:11:59 <sunbiz> bwolfe: http://support.microsoft.com/kb/321843 ... please help with this
15:13:34 <sunbiz> this is a problem for our relationship table: http://stackoverflow.com/questions/7368733/on-update-cascade-problem-with-two-columns-in-a-single-table-in-sql-server
15:13:39 <OpenMRSBot> <http://ln-s.net/9-8z> (at stackoverflow.com)
15:21:33 *** pascal` has quit IRC
15:26:15 *** mnunez has quit IRC
15:26:57 *** mnunez has joined #openmrs
15:43:25 *** jriley has joined #openmrs
15:49:16 <jriley> Where can I find the 1.8.x javadoc? http://resources.openmrs.org/doc/ shows me 1.9.x, and I don't see a link for older versions
15:52:17 *** mnunez has left #openmrs
15:52:39 *** mnunez has joined #openmrs
15:59:11 *** deadpool has quit IRC
15:59:19 *** mnunez has quit IRC
16:00:37 *** mathiaslin has joined #openmrs
16:01:07 *** robbyoconnor has quit IRC
16:02:36 *** mnunez has joined #openmrs
16:04:18 *** muthah has quit IRC
16:04:19 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: #OpenMRS University on YouTube launches with installation tutorial for developers - watch now: http://t.co/5T1ZgKP #HealthIT <http://twitter.com/OpenMRS/statuses/113265952434569216>
16:05:28 *** muthah has joined #openmrs
16:07:41 *** muthah has quit IRC
16:08:31 *** muthah has joined #openmrs
16:11:24 *** deadpool has joined #openmrs
16:14:40 *** gauravpaliwal has joined #openmrs
16:14:51 *** ChanServ sets mode: +v gauravpaliwal
16:15:26 <bwolfe> jriley, the wiki should link to it somewhere. perhaps the "resources for developers" page?
16:15:30 * bwolfe can't remember
16:16:57 <gauravpaliwal> bwolfe: how do ypu get these ***bwolfe status ?
16:17:07 <gauravpaliwal> this one : (09:45:30 PM) ***bwolfe can't remember
16:20:41 <jriley> gaurapaliwal - you type /me my_description
16:20:51 * jriley demonstrates
16:20:59 * gauravpaliwal my_description
16:21:09 <gauravpaliwal> hey thanks jriley
16:21:37 * jriley realizes she may have destroyed some of bwolfe's mystique. DOH!
16:21:46 *** gauravpaliwal has left #openmrs
16:22:17 *** dkayiwa_ has joined #openmrs
16:22:35 *** dkayiwa has quit IRC
16:22:35 <jriley> bwolfe - everything but 1.8.2 up there. Doh!
16:22:35 *** dkayiwa_ is now known as dkayiwa
16:22:57 <mnunez> djazayeri: superb idea the OpenMRS University.
16:27:50 <mathiaslin> i'm right now installing OpenMRS on www.jelastic.com - java hosting in the cloud, that might be a nice platform, especially for newbies, who don't have their own live server but want to demo some of their development online.
16:36:58 *** deadpool has quit IRC
17:00:05 <downeym> mathiaslin: fascinating - I wonder what the pricing will be
17:00:34 <mathiaslin> they're in beta, pricing should be available in around a month, they said
17:01:02 <mathiaslin> but yes, that's what i'm also very much looking forward to
17:04:45 *** Gretchie has joined #openmrs
17:05:08 <Gretchie> Hi djazayeri
17:05:13 <Gretchie> ready when you are
17:05:19 <djazayeri> Hi Gretchie, I'm ready
17:05:32 <Gretchie> Shall we mee tup on the dev forum connection?
17:05:36 <djazayeri> let's try using connect for screen sharing and voice
17:05:40 <djazayeri> yes, I'm there already
17:05:47 <djazayeri> if the voice turns out not great, we can add skype
17:05:47 <Gretchie> be right there
17:06:07 *** mwogi has joined #openmrs
17:08:26 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Entrevista a @jblaya: mix óptimo informática, atención médica e impacto social en entornos de bajos recursos http://t.co/MhQVOFM via @edjez <http://twitter.com/OpenMRS/statuses/113293917876781056>
17:34:13 *** mnunez has quit IRC
17:40:55 *** MarkG_ has joined #openmrs
17:42:25 *** muthah has quit IRC
17:42:36 *** lh has joined #openmrs
17:48:10 *** mnunez has joined #openmrs
17:48:23 *** downeym_ has joined #openmrs
17:48:23 *** ChanServ sets mode: +o downeym_
17:48:49 *** downeym has quit IRC
17:48:49 *** downeym_ is now known as downeym
17:51:27 *** MarkG_ has quit IRC
17:56:38 *** Suranga has joined #openmrs
18:14:29 *** Suranga has quit IRC
18:19:45 *** finbrein has quit IRC
18:23:49 *** morristic has joined #openmrs
18:33:49 <sunbiz> bump... this is a problem for our relationship table: http://stackoverflow.com/questions/7368733/on-update-cascade-problem-with-two-columns-in-a-single-table-in-sql-server
18:33:50 <OpenMRSBot> <http://ln-s.net/9-8z> (at stackoverflow.com)
18:34:02 <sunbiz> any help??
18:34:55 <sunbiz> http://support.microsoft.com/kb/321843
18:39:20 *** mnunez has left #openmrs
18:39:39 *** mnunez has joined #openmrs
18:52:37 <djazayeri> sunbiz: sadly I have nothing helpful to say on the topic
18:53:00 *** finbrein has joined #openmrs
18:55:19 <sunbiz> djazayeri: please say something
18:55:24 <sunbiz> any workarounds
18:55:26 <djazayeri> even if it's unhelpful?
18:55:27 <mnunez> dkayiwa: Hi! I'm having an error while filling an XForm, "Expected patient identifier value". Identifiers are already in place in the form, any ideas of what could it be?
18:55:54 <sunbiz> do we need that on update cascade??
18:56:20 <dkayiwa> mnunez: means you did not enter patient identifier
18:56:41 <sunbiz> djazayeri: since person_id is an auto-increment and its generated
18:56:51 <sunbiz> I dont think we ever go and change that id manually
18:56:54 <sunbiz> do we??
18:57:03 <djazayeri> no
18:57:19 <djazayeri> so probably no need for on update cascade
18:57:22 <sunbiz> then why do we need the on update cascase
18:57:26 <djazayeri> we don't
18:57:30 <sunbiz> yes... thats causing the problem
18:57:33 <sunbiz> can I remove it??
18:58:02 <sunbiz> keeping the FK relationship... but removing the ON UPDATE CASCADE
18:58:19 <mnunez> dkayiwa: aren't identifiers automatically created with the patient? Why do I have to fill the patient identifier again?
18:59:20 <dkayiwa> mnunez: unless you use modules like idgen, etc, u need to enter the patient identifier which is different from the database autogenerated patient_id
18:59:47 <djazayeri> sunbiz: yes, we don't need on update cascade for things that refer to person_id
19:01:34 <sunbiz> djazayeri: thanks!! :)
19:01:48 *** morristic has quit IRC
19:04:40 <mnunez> dkayiwa: In my case, I'm using three patient identifiers, of which only one is mandatory (DNI). These are filled by the secretary, who creates the patient. Then, the patient is interviewed by the doctor, who's supposed to fill in the correspondent form. Why would the doctor have to fill the DNI again?
19:04:53 *** dkayiwa has quit IRC
19:05:51 *** dkayiwa has joined #openmrs
19:06:16 <dkayiwa> mnunez: is that the patient registration form?
19:08:05 <mnunez> No, a form based on the Basic Form
19:08:40 <dkayiwa> mnunez: did you delete the patientId field from the form?
19:09:19 <mnunez> Nop, I just renamed it
19:09:32 <mnunez> dkayiwa: Nop, I just renamed it
19:09:48 <dkayiwa> mnunez: can you pastebin the form and i have a look at it?
19:10:00 <mnunez> dkayiwa: sure, one sec
19:10:13 <dkayiwa> mnunez: you can do a file save as from the form designer and pastebin the contents
19:10:54 <mnunez> dkayiwa: do you need the schema or the XForm itself?
19:11:05 <dkayiwa> only the xform
19:13:10 <mnunez> dkayiwa: http://pastebin.com/7sQLq2wM
19:13:16 <dkayiwa> ok
19:13:58 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @metahealthcare: Just installed @OpenMRS on the java cloud platform Jelastic for a test run. http://t.co/kLUJcni They're still in bet ... <http://twitter.com/OpenMRS/statuses/113322246856126465>
19:15:42 <dkayiwa> mnunez: the cause of the problem is renaming of the patient_id field
19:16:20 <dkayiwa> mnunez: if you rename it to its original value, it should work
19:16:28 <mnunez> <id_paciente openmrs_table="patient" openmrs_attribute="patient_id"/>
19:16:34 <mnunez> that part?
19:16:40 <dkayiwa> mnunez: yes
19:17:05 <mnunez> so back to<patient_id openmrs_table="patient" openmrs_attribute="patient_id"/>
19:17:29 <dkayiwa> no
19:17:46 <dkayiwa> mnunez: <patient.patient_id openmrs_attribute="patient_id" openmrs_table="patient"/>
19:19:13 *** morristic has joined #openmrs
19:20:17 *** jriley has quit IRC
19:21:06 <mnunez> dkayiwa: Right. I'll give it a try. I thought that the only requirement was for them to have the same name in both the form schema and the XForm.
19:21:22 <dkayiwa> ok
19:23:27 *** morristic has quit IRC
19:23:59 *** judy has joined #openmrs
19:24:22 <judy> hello darius
19:24:26 *** Echidna has quit IRC
19:24:27 <judy> and everyone
19:24:40 <dkayiwa> :)
19:24:45 <judy> i am geeting a build fail from an openmrs build...any ideas of teh debugging?
19:24:56 <judy> Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project openmrs-api: There are test failures. [ERROR]
19:24:58 <djazayeri> judy: trunk? a module?
19:25:05 <judy> trunk
19:25:50 *** Echidna has joined #openmrs
19:25:50 *** ChanServ sets mode: +v Echidna
19:26:08 <djazayeri> judy: what test failures?
19:26:27 <judy> Tests in error: shouldAllowTwoTasksInitMethodsToRunConcurrently(org.openmrs.scheduler.SchedulerServiceTest)
19:26:41 *** morristic has joined #openmrs
19:32:54 *** elliott_w has joined #openmrs
19:32:54 *** ChanServ sets mode: +o elliott_w
19:34:25 *** mathiaslin has quit IRC
19:37:14 <judy> darius did you get my message?
19:37:16 <judy> Tests in error: shouldAllowTwoTasksInitMethodsToRunConcurrently(org.openmrs.scheduler.SchedulerServiceTest)
19:37:37 <djazayeri> judy: sorry, on a phone call now, had looked away
19:40:21 <sunbiz> judy: are u doing mvn test ??
19:41:05 <judy> whats an mvn test?
19:41:19 <sunbiz> the maven command to run all unit tests
19:41:21 *** chughgaurav has joined #openmrs
19:41:23 <judy> i am just doing a clean install of teh trunk in eclipse
19:42:05 <sunbiz> judy: I just tried trunk and it built fine for me... no errors
19:43:26 <sunbiz> judy: that one has failed a few times earlier for ppl: http://openmrs-mailing-list-archives.1560443.n2.nabble.com/OpenMRS-building-problem-td6154048.html
19:43:32 <OpenMRSBot> <http://ln-s.net/9-AR> (at openmrs-mailing-list-archives.1560443.n2.nabble.com)
19:48:34 <judy> i used svn to check out code
19:50:21 *** finbrein has quit IRC
19:50:30 <sunbiz> judy: can u paste the output of that test... like what was expected and what was returned??
19:50:49 <sunbiz> I see it is an assertEquals... so it should give expected and returned
19:51:36 <downeym> judy: you just did a 'mvn clean install' on the root project?
19:53:10 *** mwogi has quit IRC
19:53:29 <judy> yes...i did a maven install
20:00:16 <downeym> OK, I'm officially starting the first of many weekly infrastructure meetings. It should be a short one. If anyone has questions, we're happy to take them at the end. :)
20:00:21 <downeym> elliott_w: Ready to go?
20:00:54 <elliott_w> Yep, let's go
20:00:57 <downeym> We'll start with some infrastructure updates from last week ....
20:01:10 <downeym> * Bamboo: Random failures at first seemed to be due to swapping induced by the Apache vulnerability that was out, but after applying the workaround it seems that it is more general memory utilization. Thus:
20:01:15 <downeym> * Hardware: Bafang needs additional mem & disk given the increased requirements. Will request this week. Also need to move MySQL to per-table tablespaces on bafang.
20:01:37 <downeym> * Confluence: MD worked on localization last week. We now have per-page translation into several languages as well as basic Confluence UI elements localized into English (UK+US), German, Spanish, French, and Portugese. More may be coming soon if data indicate it's helpful.
20:01:48 <downeym> * FishEye/Crucible: New upgrade is out and hoping to install on Thursday PM (Indy time). Adds some powerful hooks to JIRA and creating reviews, etc., from commit comments.
20:02:09 <downeym> * Javadocs: Discussion on dev@o.o about changing to mvn site instead of Javadocs only. CIT +1's the idea, looking to see what others think.
20:02:15 <downeym> * Monitoring: Working to get Pingdom billed to OpenMRS directly - should be resolved in the next 2 weeks.
20:02:22 <downeym> * Social Media: 2 new YouTube videos up from Darius, 1 interview coming from Glen real soon. :)
20:02:27 <downeym> * Zamboni: Built a PoC zamboni instance last week using Mozilla's sample data. Documentation is sorely lacking so it will probably be a case of trying to tweak their sample data to morph it into something usable for us.
20:02:32 <downeym> * GSoC: We are officially accepted to the doc camp along with Sahana, KDE, and OpenStreetMap. Each org will bring 5 people, and there will be 10 individual volunteers. Working on getting travel logistics booked.
20:02:38 <downeym> * OSQA: Performing well. Burke has left the rest of the field and has a ridiculosly high score. Need to get other people answering questions besides Burke to even the score a bit.
20:02:45 <downeym> * OpenMRS ID: Elliott is currently working on next release of ROID including some small design fixes, multiple e-mail addresses, and provisioning of OpenMRS groups (mailing lists).
20:03:03 <downeym> elliott_w: Anything I missed/forgot, or you wanna add? :)
20:04:12 <elliott_w> Nope, I don't see anything you're missing :-)
20:04:26 <downeym> cool :)
20:04:40 <downeym> we're open for infrastructure-type questions if anyone has any
20:04:45 <downeym> (now or any time) :)
20:04:53 *** lh has quit IRC
20:05:35 <elliott_w> downeym: is there a wiki page for these meetings, with your notes, etc. at this time?
20:05:49 <downeym> elliott_w: I was thinking about just linking to the IRC logs :)
20:06:02 *** elliott_w was kicked by elliott_w (elliott_w)
20:06:09 *** elliott_w has joined #openmrs
20:06:09 *** ChanServ sets mode: +o elliott_w
20:06:17 <elliott_w> whoops, clicked what I didn't mean to
20:06:23 <downeym> stop kicking yourself!
20:06:29 <dkayiwa> :)
20:06:44 <elliott_w> yeah, that sounds fine for the moment since these are obviously pretty small events now
20:06:51 <downeym> i like short meetings :)
20:07:28 <downeym> let me add a last minute item and say that we caught an SSO issue thanks to sunbiz -- related to the failed upgrade of Crowd 2.3 (Atlassian still doesn't have a fix out for it yet)
20:07:34 <downeym> thanks sunbiz
20:07:54 <elliott_w> downeym: any progress on your ticket with them?
20:08:15 <downeym> elliott_w: they've confirmed the bug in 2.3 and said it should be fixed on their next release
20:08:40 <elliott_w> downeym: alright, well that's better than nothing :)
20:09:02 <downeym> elliott_w: https://jira.atlassian.com/browse/CWD-2639
20:09:48 <downeym> elliott_w: it's fixed in the code, so just a matter of waiting :)
20:10:13 <elliott_w> downeym: sounds great
20:10:20 <downeym> ok, i think i'll call the meeting over for now… thanks!
20:10:55 <elliott_w> no problem. infrastructure meeting 001 complete
20:11:12 <judy> http://pastie.org/2522841
20:11:25 <judy> fr anyone with time to help me build well
20:13:02 <downeym> judy: looks like jetty/tomcat/something else is already running on port 8080
20:15:36 <morristic> Hello
20:15:53 <downeym> hey mnunez
20:15:59 <downeym> and hey morristic too :D
20:16:03 * downeym got too eager with autocomplete
20:16:05 <morristic> Could anyone please explain when idgen should be used vs mrn generator for generating ID numbers
20:16:11 <morristic> they both seem very similar to me
20:16:22 <judy> can i change that?
20:16:58 <downeym> morristic: idgen is more current … bwolfe may know more about the status of mrngen
20:17:09 <downeym> morristic: but i'm not sure if he's "really" around
20:17:24 <downeym> judy: what os are you using?
20:17:25 <morristic> ok, thanks
20:17:47 <judy> windows
20:18:12 <downeym> judy: you can look in the task list to see if either are running, then end task
20:18:15 <dkayiwa> morristic: i think also that idgen is more powerful anf flexible compared to mrngen
20:18:56 <judy> i had an openmrs instance deployed on taht port previoduly...using a war file
20:19:17 <judy> anyway is till get so many errors on the build alone
20:23:07 *** dkayiwa has quit IRC
20:24:17 <downeym> judy: i'm no expert but in that pastebin it looks like that port issue is blocking things from completing
20:25:18 <sunbiz> judy: probably tomcat is already running on 8080
20:26:05 <judy> i get the idea o f what could be wrong
20:26:08 <judy> need solutions now
20:31:50 <morristic> dkayiwa: thanks
20:32:12 <morristic> dkayiwa: also, I was doing some work with jquery and html forms
20:32:44 <morristic> for variable inputs using add and remove to toggle loaded inputs that start with display:none;
20:33:05 <morristic> ran into a couple of problems, do you think we could discuss it a bit?
20:34:20 <morristic> oh he left
20:34:58 *** judy has quit IRC
20:38:30 <morristic> Another question that I have if anyone could help is that for our advanced adult return form, we have several inputs that have autocomplete diagnosis for coded entry.
20:38:44 *** finbrein has joined #openmrs
20:38:47 <morristic> this makes the html form take about 2 mins to load
20:39:18 <morristic> due to the size of the MVP concept dictionary I imagine. Is there anyone who could suggest strategies to speed it up while still using autocomplete?
20:41:13 *** bwolfe has quit IRC
20:46:17 <djazayeri> morristic: we can discuss html forms
20:46:47 <djazayeri> IIRC that specific autocomplete issue is fixed in the latest code, but not yet released
20:54:44 <morristic> Oh fantastic. so it's a bit faster in the next release?
20:57:00 <morristic> morristic: The problem that I ran into is that it seems you can't use any tags except the template and render within repeat
20:57:00 <morristic> [8:56pm] morristic: so, I don't think that I can use repeat and instead have to copy and paste the entire template over and over.
20:57:17 *** downeym has quit IRC
20:57:30 <djazayeri> morristic: have you seen example use of the repeat tag?
20:57:45 <morristic> yes, I've used repeat succesfully
20:57:59 <djazayeri> okay—you can put tags within the template
20:58:21 <morristic> Right, but not between <template> and <render> tags
20:58:30 <djazayeri> correct
20:58:47 <djazayeri> why would you need another tag inside the repeat?
20:59:02 <morristic> my problem with using jQuery in the template is that I couldn't figure out how to reference one particular <render>
20:59:21 <djazayeri> ah
20:59:31 <morristic> If I create a toggle that displays or removes the <obs> in the template, then it toggles all renders
20:59:33 <djazayeri> I don't remember if there's an "index" variable available to you
20:59:48 <sunbiz> djazayeri: ur commentary is so nice!! nice work!!
21:00:02 <djazayeri> but you can always provide a unique number or id in the render line
21:00:32 <morristic> I looked at the source and the input lines use a count it appears for the index
21:01:03 <morristic> which makes it somewhat difficult to guess (have to manually pick out the numbers and if the forms change, then the indexes change.
21:01:16 <morristic> hrm, I didn't think about id attribute in <render>
21:01:22 <morristic> it supports id?
21:01:29 <djazayeri> well, it supports whatever you want
21:01:44 <djazayeri> anything you provider in the render tag is available like {attrName}
21:02:11 <morristic> ah ok.
21:02:19 <djazayeri> and you can set the id of an obs element (sort of)
21:02:52 <morristic> hrm ok. I'm new to javascript and wasn't sure that I could reference the xml tags.
21:03:15 <djazayeri> the repeat/render things happens entirely server-side
21:03:32 <djazayeri> sunbiz: I should have been a radio announcer
21:04:25 <djazayeri> morristic: so by the time the html gets to the browser, the repeat has already been expanded
21:04:42 <morristic> ah I see.
21:05:23 <morristic> so what would the <render id=""> correspond to, a <div id="">?
21:05:49 <djazayeri> each <render> gets replaced by the contents of the <template>
21:06:05 <djazayeri> but with the attributes on the <render> tag substituted in for any {attribute} in the template.
21:06:20 <morristic> OH, that's perfect.
21:06:29 <morristic> so I could use class in render also?
21:06:39 <morristic> and it would apply that class to all?
21:07:04 <djazayeri> yes
21:07:06 <sunbiz> djazayeri: u still can be an RJ!!
21:09:23 <morristic> ok, well, I think that solves my problem then. thanks for your help.
21:11:08 *** jriley has joined #openmrs
21:12:17 <sunbiz> djazayeri: u probably didnt mention that Openmrs wont build on JDK7 as of date
21:12:31 <djazayeri> true, I forgot to mention that
21:22:59 *** lh has joined #openmrs
21:32:59 *** mnunez has quit IRC
21:43:17 *** elliott_w has quit IRC
21:49:52 *** lh has quit IRC
21:55:22 *** morristic has quit IRC
22:08:11 <djazayeri> wyclif: any idea what the status of AMPATH rolling out the sync module is?
22:09:17 <wyclif> djazayeri, i overheard Paul congratulate Jeremy upon installing Sync, so i guess so
22:09:34 <wyclif> you need to confirm with win or Jer
22:09:47 <djazayeri> yeah, but they're not on irc. :-)
22:09:48 <djazayeri> okay
22:23:31 *** bryq has left #openmrs
22:29:43 *** wyclif has quit IRC
22:33:03 <djazayeri> Gretchie: we talked about the fact that you can have multiple cubes
22:33:08 <sunbiz> djazayeri: https://tickets.openmrs.org/browse/TRUNK-2657
22:33:19 <sunbiz> just for the documentation of the change
22:33:27 <djazayeri> Are there any tools for looking at data/aggregations across multiple cubes?
22:33:29 <sunbiz> please make it ready for work...
22:33:48 <sunbiz> I'll claim and make the commit
22:33:54 <djazayeri> sunbiz: done
22:35:27 <sunbiz> djazayeri: apologies for so many edits :D for formatting
22:35:37 <djazayeri> haven't gotten those emails yet
22:37:32 <sunbiz> :D thanks
22:56:22 <sunbiz> djazayeri: do u know how this works: <column name="uuid" valueNumeric="name-of-uuid-function" />
22:56:33 <sunbiz> valueNumeric??
22:57:00 <sunbiz> I thought GUIDs / UUIDs are alphanumeric... no??
22:57:47 <djazayeri> sunbiz: it's dumb, basically value (or valueText?) will put quotes around the value
22:57:50 <djazayeri> but valueNumeric doesn't
22:57:51 *** lh has joined #openmrs
22:57:56 <djazayeri> in the generated sql
22:58:26 <sunbiz> so, it will work??
22:58:32 <djazayeri> yes
22:59:09 <sunbiz> valueNumeric doesn't put quotes... but thats incorrect right??
22:59:25 <sunbiz> we want to put that as a char(38)
23:00:00 <djazayeri> but the name-of-uuid-function turns into something like uuid()
23:00:12 <djazayeri> e.g. valueNumeric makes it come out like: uuid = uuid()
23:00:19 <djazayeri> instead of: uuid = "uuid()"
23:00:24 <sunbiz> yes... which is generated
23:00:28 <sunbiz> oops...!!
23:00:36 <sunbiz> yes :P silly indeed!!
23:01:28 <sunbiz> djazayeri: nice, whoever figured that out
23:01:36 <djazayeri> ben, i think
23:02:42 <sunbiz> wasnt working with SQL server though
23:02:58 <sunbiz> because the columns had to be of the type uniqueidentifier
23:03:15 <sunbiz> and not chat(38)
23:03:26 <sunbiz> *char(38)
23:04:02 <djazayeri> ironic, because we made it char(38) instead of char(36) just for sql server. :-)
23:04:45 <sunbiz> :D
23:05:14 <sunbiz> it generates a 38 character... but the functions can be used if they are of uniqueidentifier type
23:05:23 <sunbiz> I knew that before googling
23:05:43 <sunbiz> but what I didnt know... is that newsequentialid() generates sequential guids
23:05:53 <sunbiz> is that acceptable or do we need random ones??
23:07:15 <djazayeri> as long as it doesn't duplicate them, I guess it's fine
23:07:26 <djazayeri> there's no guid/uuid function in sql server?
23:07:52 <sunbiz> there is...
23:07:57 <sunbiz> there are two...
23:08:06 <sunbiz> newID() and newsequentialid()
23:08:36 <sunbiz> http://www.mssqltips.com/sqlservertip/1600/auto-generated-sql-server-keys-with-the-uniqueidentifier-or-identity/ - its an interesting tip
23:08:41 <OpenMRSBot> <http://ln-s.net/9-DV> (at www.mssqltips.com)
23:12:38 *** chughgaurav has quit IRC
23:14:04 *** wyclif has joined #openmrs