IRC Chat : 2011-09-28 - OpenMRS

00:31:57 *** jriley has joined #openmrs
01:04:04 *** gbastien has quit IRC
01:18:59 *** jkeiper has joined #openmrs
01:18:59 *** ChanServ sets mode: +v jkeiper
01:19:12 *** r1friedman has joined #openmrs
01:20:23 *** r1friedman has quit IRC
01:23:38 *** r-friedman has joined #openmrs
01:24:12 <r-friedman> jkeiper: hi jeremy you there?
01:26:03 <r-friedman> wyclif: hi wyclif you there?
01:27:31 *** r-friedman has quit IRC
01:32:46 *** djazayeri has joined #openmrs
01:32:46 *** ChanServ sets mode: +o djazayeri
01:36:00 <wyclif> hi roger
02:17:56 <robbyoconnor> hey wyclif
02:18:09 * robbyoconnor drops a water balloon on wyclif's head
02:18:13 * robbyoconnor heaves one at djazayeri
02:18:21 <robbyoconnor> oh look, you're all wet
02:18:23 <robbyoconnor> :)
02:18:59 <wyclif> hi r
02:19:02 <wyclif> hi robbyoconnor
02:25:07 * robbyoconnor heaves one at jkeiper too
02:25:18 * robbyoconnor giggles
02:25:32 <robbyoconnor> I wanna drop a water balloon from the top of the empire state building :X
02:47:36 *** upul` has joined #openmrs
02:47:36 *** ChanServ sets mode: +v upul`
03:31:33 *** jkeiper has quit IRC
03:44:41 *** jkeiper has joined #openmrs
03:44:41 *** ChanServ sets mode: +v jkeiper
03:50:39 *** jriley has left #openmrs
03:50:47 *** jriley has joined #openmrs
04:00:12 *** djazayeri has quit IRC
04:00:33 *** jkeiper has quit IRC
04:16:14 *** jwishnie has quit IRC
04:45:32 *** djazayeri has joined #openmrs
04:45:39 *** ChanServ sets mode: +o djazayeri
04:46:35 *** sunbiz has joined #openmrs
04:46:35 *** ChanServ sets mode: +v sunbiz
04:47:43 *** bryq has joined #openmrs
04:47:43 *** ChanServ sets mode: +v bryq
04:49:25 <wyclif> hi djazayeri
04:49:34 <djazayeri> hi wyclif
04:50:05 <wyclif> djazayeri, i tried creating a form with html for emtry and i got this error:org.springframework.transaction.UnexpectedRollbackException
04:50:15 <wyclif> djazayeri, Transaction rolled back because it has been marked as rollback-only
04:50:16 <djazayeri> filling one out, you mean?
04:50:27 <wyclif> creating one
04:50:31 <djazayeri> or defining a new form?
04:50:34 <djazayeri> against trunk?
04:50:38 <wyclif> yes
04:51:13 <djazayeri> I just got this error trying to fill out a form with HFE today: https://tickets.openmrs.org/browse/TRUNK-2692
04:51:26 <djazayeri> probably not related.
04:51:35 <djazayeri> which HFE version wyclif?
04:53:44 <wyclif> hmm
04:53:59 <djazayeri> maybe something in trunk changed very recently.
04:54:13 <wyclif> djazayeri, 1.7.3
04:54:33 <djazayeri> okay, so that's known to work fine against released OpenMRS versions.
04:54:44 <djazayeri> and was working fine with trunk until rather recently.
05:02:39 *** sunbiz has left #openmrs
05:04:30 *** wluyima has joined #openmrs
05:05:03 *** wluyima has quit IRC
05:05:20 *** wluyima has joined #openmrs
05:05:33 *** wyclif has quit IRC
05:08:17 *** bryq has quit IRC
05:08:52 *** bwolfe has joined #openmrs
05:08:52 *** ChanServ sets mode: +o bwolfe
05:14:13 *** sunbiz has joined #openmrs
05:14:13 *** ChanServ sets mode: +v sunbiz
05:18:23 *** bwolfe has quit IRC
05:47:12 *** sunbiz has left #openmrs
06:15:47 *** emanjoes has joined #openmrs
06:16:21 <emanjoes> adding medicines
06:16:39 <emanjoes> hi all
06:18:38 *** emanjoes has quit IRC
06:28:29 *** suho has joined #openmrs
06:28:29 *** ChanServ sets mode: +v suho
06:48:09 *** bwolfe has joined #openmrs
06:48:09 *** ChanServ sets mode: +o bwolfe
07:01:16 *** surangak has joined #openmrs
07:04:15 *** andtorg has joined #openmrs
07:10:36 *** bwolfe has quit IRC
07:16:24 *** yekkanti has joined #openmrs
07:22:27 *** rafa has joined #openmrs
07:22:27 *** ChanServ sets mode: +v rafa
07:28:21 *** bwolfe has joined #openmrs
07:28:21 *** ChanServ sets mode: +o bwolfe
07:35:43 *** sunbiz has joined #openmrs
07:36:04 *** ChanServ sets mode: +v sunbiz
07:40:31 *** bwolfe has quit IRC
08:05:34 *** bwolfe has joined #openmrs
08:05:34 *** ChanServ sets mode: +o bwolfe
08:45:54 *** bryq has joined #openmrs
08:46:04 *** ChanServ sets mode: +v bryq
08:47:06 *** Josh_ has joined #openmrs
08:47:39 <Josh_> Hi. I am having trouble loading the program on my mac
08:47:53 <bwolfe> which program exactly Josh_?
08:48:51 <Josh_> I am trying to open openMRS 1.8.2. I have downloaded the newest version of Javascript and when I go to open standalone-1.1.jar it does no action
08:49:23 *** rafa has quit IRC
08:49:39 <bwolfe> Josh_, you mean latest version of java I assume?
08:50:00 <bwolfe> did you unzip the standalong into a folder? and is the jar you are double clicking still next to the other files?
08:50:02 *** rafa has joined #openmrs
08:50:31 <bwolfe> Josh_, have you seen https://wiki.openmrs.org/display/docs/OpenMRS+Standalone ?
08:50:32 <OpenMRSBot> <http://ln-s.net/91x$> (at wiki.openmrs.org)
08:50:44 <Josh_> not sure what you mean by next to the other files? but yes i unzipped and what i am trying to open is within a single folder that was from the original unzip
08:50:53 *** ChanServ sets mode: +v rafa
08:51:04 <Josh_> i am trying to reunzip the folder and will try again
08:52:25 *** rafa has quit IRC
08:52:44 <Josh_> what is the standalone?
08:54:49 <bwolfe> the standalone is the zip that you downloaded
08:56:13 <Josh_> yes. but it is having a hard time loading or installing. any suggstions because once I click on the stadalone-1.1.jar nothing happens
08:56:37 <Josh_> thank you for your help. I appreciate it. I am in Rwanda and having a tough time getting it working
08:57:04 <bwolfe> Josh_, where in rwanda ?
08:57:20 <bwolfe> Josh_, which os are you on?
08:57:31 <bwolfe> did you try running it from the command line as in that wiki page?
09:02:43 <Josh_> Rwanda is in centra africa. and i have not tried the command line as the wiki page. Where do I find that? I have never run something from a command line. and I am running Mac OS X 10.5.8
09:03:19 <yekkanti> bwolfe: Hey ben what time zone you are in?
09:03:33 <bwolfe> EAT
09:03:35 <bwolfe> its noon right now
09:03:56 <bwolfe> Josh_, I'm in kenya and will be in rwanda in 2 weeks time for the openmrs conference.
09:04:43 <yekkanti> bwolfe: Ohh! i was thinking you and ben are in the same time zone.. :)
09:04:51 <bwolfe> Josh_, will you be coming to the conference? https://wiki.openmrs.org/display/RES/2011+Implementers+Meeting
09:04:58 <OpenMRSBot> <http://ln-s.net/9BhI> (at wiki.openmrs.org)
09:05:04 <bwolfe> yekkanti, I am Ben...do you mean Darius? :-)
09:05:13 <Josh_> That is great. Crazy how close things are. I will see. I will ask about it at the hospital. Is it in Kigali?
09:05:14 <bwolfe> Josh_, you only have 1 day left to register though!
09:05:21 <yekkanti> bwolfe: ha haa yeah!
09:05:23 <bwolfe> yes, kigali
09:05:38 <bwolfe> when I'm in the US I'm in EST...3 hours later than Darius
09:05:48 <Josh_> I will look at it. lets first get the program runing on my computer. haha. So how do i do a command line?
09:06:34 <bwolfe> Josh_, on a mac? errrr, not sure
09:06:39 <bwolfe> jriley, are you on a mac?
09:06:49 <bwolfe> or surangak?
09:06:51 <yekkanti> bwolfe: oh okk... so you are already there in kigali for implementers conf :)
09:07:08 <bwolfe> no, I'm in Kenya for most of 2011
09:07:16 <bwolfe> eldoret. birthplace of openmrs. ;-)
09:07:25 <surangak> bwolfe, sorry, I only get to use a mac in my wildest dreams :-(
09:07:43 <Josh_> This is much more difficult then i thought it would be
09:08:01 <bwolfe> Josh_, everyone else has claimed the standalone is easy! :-/
09:08:06 <bwolfe> is there a log output somewhere?
09:08:12 <bwolfe> that might help us know what is going wrong
09:08:26 <bwolfe> actually, where's dkayiwa?? he WROTE the standalone AND he has a mac!
09:09:09 <yekkanti> bwolfe: awesome! I'll be in kigali on 11th Oct for implementers meet :D
09:09:30 <bwolfe> yekkanti, very cool
09:09:36 <bwolfe> are you coming early for the hackathon?
09:09:53 <Josh_> Yeah i mean it looks like it tries to open and nothing happens. when i click on it it kinda opens like gets bigger and bounces like it wants to open then no action occurs.
09:09:57 <bwolfe> 3 of us will be getting there on saturday. I'm trying to convince suranga and sunbiz to also show up early
09:10:57 <bwolfe> Josh_, theres no command line or terminal client on a mac? are you using macosx ?
09:10:58 <yekkanti> bwolfe: Cool.. I have some personal work from oct 5 to 10th so i'll come there on 11th morning 9 AM
09:11:11 <bwolfe> oh, I see now, yes, osx
09:11:37 <bwolfe> yekkanti, ok, bummer. we'll have to do some hacking in the evenings hten. :-D
09:11:57 <yekkanti> bwolfe: Sure!! :)
09:12:58 <Josh_> there is a terminal
09:13:00 <Josh_> i just tried that
09:13:07 <Josh_> do i just type java -jar standalone-1.1.jar into it
09:13:16 <Josh_> becasue when i do that it says in the terminal that it can't be found
09:14:13 <bwolfe> you have to go to the directory where you unzipped it
09:14:16 <bwolfe> cd myfolder
09:14:18 <bwolfe> cd myotherfolder
09:14:27 <bwolfe> then do java -jar blahblahblah
09:15:38 <Josh_> i am confused. I apologize i have never done this before. what do you mean cd myfolder cd myotherfolder?
09:16:22 <surangak> bwolfe, I dont mind comming early if Dawn can arrange it...
09:16:52 <surangak> bwolfe, Ill tell Dawn about this later on today...
09:18:51 <Josh_> how do i navigate the terminal to the folder?
09:19:24 <surangak> u need to find out which folder the jar is in, and navigate into it...
09:19:58 <Josh_> i know where the jar is. but i do not know how to navigate into it through the terminal?
09:20:32 <bwolfe> Josh_, "cd" is the command to "change directory"
09:20:35 <bwolfe> cd foldername
09:21:25 <surangak> as in if you are in "my documents" then doing "cd downloads" will take u into downloads folder
09:21:26 <Josh_> so i just type cd openmrs-standalone-1.8.2-with-demo-data?
09:21:43 <Josh_> it is on my desktop
09:21:44 <bwolfe> if thats the folder name in the current folder
09:21:52 <bwolfe> "ls" will give you the current listing of files
09:22:01 <bwolfe> and "cd .." will go up one directory if needed
09:22:02 <surangak> if u can paste the two file paths here for us to see....
09:22:13 <bwolfe> Josh_, we'll turn you into a geek soon enough! :-D
09:22:17 <Josh_> ok. it is starting ot work i think
09:22:28 <Josh_> i am have the folder i think
09:22:38 <Josh_> then i need to put what before the run
09:22:55 <Josh_> like what do i add before java -jar standalone-1.1.jar
09:22:57 <Josh_> as the command
09:23:54 <sunbiz> isnt it easier to ship a shell script that will do along with the jar
09:24:11 <sunbiz> and for windows it will have an exe :D
09:25:04 <Josh_> so after i have navigated in the terminal to the folder it says "Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$ " which i believe means i am in the folder but now i need the command to ender before the run of the program?
09:25:43 <bwolfe> sunbiz, probably. can you open a ticket and attach a patch for that? :-) I think the jira project is STAND for the standalone
09:25:57 <bwolfe> Josh_, "java" is your command
09:26:03 <Josh_> ok
09:26:05 <bwolfe> so you should be able to type "java -jar etcetcetc"
09:26:30 <Josh_> and it says unable to Unable to access jarfile openmrs-standalone.jar Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$
09:26:43 <sunbiz> bwolfe: okies
09:27:37 <bwolfe> Josh_, type "ls", what does it say?
09:28:27 <Josh_> Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$ ls README.txt splashscreen-loading.png database standalone-1.1.jar openmrs-standalone-runtime.properties tomcat run-on-linux.sh Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$
09:29:12 <bwolfe> java -jar standalone-1.1.jar should be the command
09:30:02 <Josh_> I just tried that and got this
09:30:02 <Josh_> Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$ java -jar standalone-1.1.jar Unrecognized option: -splash:splashscreen-loading.png Could not create the Java virtual machine. Exit:1 [MysqldResource] Mysqld not running. No file: /Users/User/Desktop/openmrs-standalone-1.8.2-with-demo-data/database/data/MysqldResource.pid Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$
09:32:04 <bwolfe> "Could not create the Java virtual machine"
09:32:11 <bwolfe> perhaps there is a problem with your java?
09:32:18 *** suho has quit IRC
09:32:27 <bwolfe> type "java -version"
09:32:37 <Josh_> into the terminal?
09:32:42 <bwolfe> yeah
09:33:14 <Josh_> java version "1.5.0_30" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425) Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
09:33:37 <bwolfe> Josh_, ah! you need java 1.6 or 1.7
09:33:53 <bwolfe> openmrs depends on some of the 1.6 calls in java. so it cannot start up because those methods don't exist in 1.5
09:34:15 <bwolfe> IIRC, there is not good support for java on mac. but 1.6 should be findable
09:34:23 <bwolfe> Josh_, are you in kigali?
09:34:41 <Josh_> how can i download that? because when i go to system updates it says i dont need an update and when i go to download it from Java website that is the only option it gives me to use the system update. where could i find a download for it
09:35:00 *** dkayiwa has joined #openmrs
09:35:01 <Josh_> what is weird though is when i open java preferences and hit about java it says it is java 6.
09:35:14 <Josh_> and yes i am Kigali. will be for another month. it is amazing place. i have had an awesome time
09:35:32 <bwolfe> so you might have both installed. try uninstalling java 1.5 (aka java 5)
09:36:24 <Josh_> how do i do that?
09:36:29 <Josh_> i can only see one
09:36:45 <bwolfe> Josh_, not sure. mac is not my cup of tea
09:37:01 <bwolfe> if you were on linux I could tell you. not sure I could even tell you on the latest windows
09:37:41 <Josh_> if i go to the preferences
09:38:15 <Josh_> i deselected J2SE 5.0
09:38:16 <bwolfe> dkayiwa, you are the resident mac expert
09:38:22 <sunbiz> https://tickets.openmrs.org/browse/STAND-23
09:38:26 <dkayiwa> lollllllllllll
09:38:31 <sunbiz> it got automatically assigned to dkayiwa
09:38:38 <dkayiwa> just used mac for a very short time :)
09:38:42 <bwolfe> dkayiwa, Josh_ gets java 1.5 when he types "java" at the command line. but he also shows as having 1.6 installed
09:38:42 <Josh_> Now the only thing that is selected is java SE 6.
09:39:09 <bwolfe> Josh_, so at the terminal when you do "java -version" is it 1.6 ?
09:39:45 <Josh_> Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$ java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-9M3425) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode) Josh-Goldberg-952:openmrs-standalone-1.8.2-with-demo-data User$
09:39:49 <Josh_> i just got that
09:40:06 <Josh_> holy shit
09:40:10 <Josh_> it just worked i think
09:40:11 <Josh_> woahh
09:40:13 <bwolfe> nice
09:40:46 <Josh_> ok
09:41:19 <Josh_> now it is showing someting called OPnMRS STadalone -[Starting] and says Tomcat Port 8081 MySQL Port 3316
09:41:21 <Josh_> is that alright?
09:48:19 <Josh_> so to run this I will always have to be on the interenet?
09:48:38 <bwolfe> Josh_, no, you don't have to be online
09:49:04 <bwolfe> Josh_, you can go to http://localhost:8081/ now I think
09:49:19 <bwolfe> not sure what the context path is. openmrs? openmrs182? dkayiwa?
09:49:40 <dkayiwa> just see on the file menu
09:50:09 <jriley> .... catching up, someone spoke my name ...
09:50:09 <dkayiwa> there is a browser item under the file menu which should open up the browser with the correct context path
09:50:24 <bwolfe> jriley, just asked if you were a mac person
09:50:30 <jriley> bwolfe, yes
09:51:51 <Josh_> thank you so much
09:51:53 <Josh_> i appreciate it
09:51:57 <Josh_> i have got it working. thank you again
09:52:01 <Josh_> that was very helpful.
09:52:06 <Josh_> have fun in Kigali everyone.
09:52:09 <Josh_> it is a wonderful place
09:56:28 *** Josh_ has quit IRC
09:56:48 *** sunbiz has left #openmrs
09:57:30 <jriley> bwolfe, can I pick your brain about speed? (and anyone else's brain?)
09:57:32 <jriley> I wrote a user importer
09:57:44 <jriley> The first 1000 took 6 minutes to import
09:57:48 <jriley> the second, about 15
09:57:53 <jriley> the third, about 30 minutes
09:58:05 <jriley> now it's heading toward 1 hour per thousand
09:58:06 <bwolfe> jriley, clear the hibernate cache
09:58:17 <jriley> How?
09:58:26 <jriley> is this the thing where you close and re-open the session every so often?
09:58:39 <jriley> I have 220K users in all :) and a finite amount of time on this planet
09:58:57 <jriley> only 10K in this batch file
09:59:00 <jriley> thought I'd start small
09:59:19 <bwolfe> jriley, yo udon't have to close and reopen the session
09:59:55 <bwolfe> just do Context.clearSession()
10:00:01 <bwolfe> after doing a Context.flushSession()
10:00:18 <jriley> periodically, or after every one?
10:00:39 <bwolfe> jriley, after every 500 maybe?
10:00:41 <bwolfe> 400?
10:00:46 <bwolfe> play with the number to see whats fastest
10:00:47 <jriley> Ok. Will modify before the next run
10:00:58 <jriley> 1K in 6 minutes was fine
10:01:05 <bwolfe> hibernate will hold all objects it sees in its cache and flush every so often. and it never clears its own cache
10:01:18 <bwolfe> so as the hibernate cache grows, getting and putting things into the cache is slower and slower
10:01:20 <jriley> Hmm, I should probably stop the import and tweak
10:01:21 <jriley> at this rate
10:02:07 <bwolfe> jriley, have it print out after each is imported. as you see it slowing down, thats the number you need to clear at
10:02:37 <bwolfe> dkayiwa, where does the standalone report its errors on startup?
10:02:44 <jriley> Good metric. Thanks.
10:02:48 <dkayiwa> bwolfe: in the log file
10:03:03 *** rafa has joined #openmrs
10:03:03 *** ChanServ sets mode: +v rafa
10:03:07 <dkayiwa> bwolfe: under tomcat/logs
10:03:09 <bwolfe> josh had the problem of using java 1.5. but https://tickets.openmrs.org/browse/TRUNK-8 should have thrown a helpful error message about java 1.5 vs 1.6
10:03:14 <bwolfe> dkayiwa, hmm, ok
10:03:43 <bwolfe> lunchtime. bbl
10:04:33 <surangak> wow, i can honestly say that I finally found a country with a breaucracy worse that ours ! :D
10:04:37 <surangak> Sri lanka++
10:05:37 <surangak> i've called them 10-15 times, and mailed them 5 times
10:05:40 <surangak> nooo replay
10:05:45 <surangak> *reply
10:07:45 <surangak> dkayiwa, any experiance getting RUwanda visa
10:08:03 <dkayiwa> surangak: i think you can buy on arrival
10:08:14 <dkayiwa> surangak: just come with some dollars
10:08:18 <surangak> through that online form right :D
10:08:31 *** bwolfe has quit IRC
10:08:32 <dkayiwa> surangak: but you may need to confirm with Dawn
10:08:38 <surangak> I have my gsoc debit card, its the only dollars I have... :D
10:10:22 <jriley> Ah, bwolfe, so the Context was storing up my changes like a chipmunk with a mouthful of nuts , and I'm forcing it to spit them out
10:23:58 <jriley> Woo hoo! 1K imported in about 3 minutes
10:31:54 <jriley> 3200 in under 10 minutes. Awww, yeah. Back on track.
11:00:45 *** surangak has quit IRC
11:00:54 <dkayiwa> hi djazayeri
11:13:26 *** bwolfe has joined #openmrs
11:13:26 *** ChanServ sets mode: +o bwolfe
11:16:44 *** andtorg has quit IRC
11:22:29 *** upul` has left #openmrs
11:41:11 *** bryq has quit IRC
12:01:13 *** gbastien has joined #openmrs
12:16:46 *** morristic has joined #openmrs
12:17:08 <morristic> hello, is anyone around this morning for two quick questiosn?
12:17:10 <morristic> *questions
12:17:42 <dkayiwa> maybe
12:17:56 <morristic> goodmorning!
12:18:02 <dkayiwa> morning
12:18:17 <morristic> I just had a question first about regimens.
12:18:49 <morristic> in 1.8.2 it looks like the PIH regimens are hard coded in as the default regimens
12:19:01 <morristic> is there a way to modify default regimens from within admin?
12:19:15 <morristic> or would i have to modify the code and re-compile?
12:19:35 <bwolfe> I think its stored a global property. the value is just a big xml block
12:19:45 * bwolfe hopes there is a wiki page about it, but not sure
12:20:04 <morristic> ah!
12:20:09 <morristic> yes, I found the wiki
12:20:18 <morristic> but I didn't know where to put that xml
12:20:35 <morristic> I will look for the global and try and add a line mentioning that to the wiki
12:20:42 <bwolfe> very nice
12:20:48 <morristic> I don't think it says where the xml goes there.
12:21:16 <morristic> so I can add that :D
12:21:27 <bwolfe> heh, a very important piece of information
12:21:37 <morristic> second question is about concept drugs
12:21:40 <bwolfe> there should be a simple admin page about it
12:22:38 <morristic> https://wiki.openmrs.org/display/docs/Administering+Drug+Regimens
12:22:44 <OpenMRSBot> <http://ln-s.net/9Bia> (at wiki.openmrs.org)
12:22:48 <morristic> is the wiki, in case anyone else was looking for it
12:23:09 <morristic> I am confused about why the concept drugs page exists
12:23:27 <morristic> this requires you to essentially enter all drug concepts that you want to use twice
12:23:32 <morristic> once as a concept
12:23:40 <morristic> and then again as a concept drug before you can use them
12:24:34 <morristic> What we would really like is to list all of the attributes for a medication order in the html form, then just have the regimen's page populate that information
12:24:49 <morristic> automatically.
12:25:15 <morristic> Do you know if there is a way to do this already, or if something like this is currently under development?
12:25:29 <bwolfe> I'm not sure what htmlformentry can do
12:25:42 <bwolfe> but conceptdrugs are supposed to be the specific formularies, etc,
12:25:48 <bwolfe> the concept is the generic drug part
12:26:05 <bwolfe> so it seems duplicative if all your drugs are 1 to 1 or simple drugs
12:26:15 <bwolfe> but when you have one drug and multiple dose types, etc, its less duplicative
12:26:17 <morristic> right, but multiple concepts put together in a form give you more capabilities than the concept drugs section
12:26:28 <morristic> it's more flexibile
12:26:30 <morristic> for instance
12:27:20 <morristic> we use concepts for medication, strength, dosage, dispense, form ,delivery, and amount
12:27:47 <morristic> we could add additional concepts to further define the order and use coded concepts to define the available formularies
12:28:08 <morristic> the nice thing about concepts is that all of the synonyms and search terms work as well
12:28:12 <bwolfe> true, thats one way to map. but probably not the "right" way :-)
12:28:15 <morristic> whereas concept drugs require a single name
12:29:09 <morristic> I see, so concept dictionary should have all possible and concept drugs should have what is actually available.
12:30:18 *** chughgaurav has joined #openmrs
12:31:15 <morristic> If that's the case, then it would be nice if concept drugs could be a little more robust in populating synonyms and perhaps having more parameters such as form.
12:31:38 *** wluyima has quit IRC
12:32:10 <morristic> Also, if you have a large pharmacy, the drop down menu becomes cumbersome and a autocomplete would be really nice (although would require the power of search terms or synonyms like in the concept dictionary)
12:33:50 <bwolfe> morristic, these sound like good feature requests! :-)
12:34:06 <bwolfe> my speciality is not in concept drugs or forms, so I don't know what is possible right now
12:34:43 <morristic> Hopefully, we will be able to contribute some developers in the future to help with them. We are in the process of applying for grant funding to bring on at least one full time developer to help with our implementations
12:35:27 <bwolfe> ooo, very cool
12:36:39 <morristic> bwolfe: another thing that we would really like to see is auto population of regimens and problem/allergy lists based on html form entry
12:37:31 <bwolfe> I think there is a ticket for the latter, not sure about the former
12:37:46 <morristic> yes, I've seen a ticket regarding the problems and allergies
12:38:20 <morristic> If I remember correctly, it is a little old and I'm not sure if it's being worked on. let me find the ticket.
12:40:01 <bwolfe> I don't know of it being worked on
12:40:06 <bwolfe> it woudl be in the HTML project probably
12:48:32 <morristic> aye, I'll talk to djazayeri about it next time I see him.
12:50:07 <morristic> Ok, just one more question if you have a moment
12:50:20 <bwolfe> sorry, theres a 2 question limit
12:50:23 <morristic> :P
12:50:25 <bwolfe> you will need to wait 24 hours :-)
12:50:31 <bwolfe> *limit per day
12:50:39 <bwolfe> 23.5 hours really
12:50:53 <morristic> hehe
12:51:22 <morristic> so, I created some jQuery to add and remove html form renders using buttons
12:51:47 <morristic> see https://wiki.openmrs.org/display/docs/HTML+Form+Entry+Module+Javascript
12:51:52 <morristic> bottom of page
12:51:53 <OpenMRSBot> <http://ln-s.net/9Biw> (at wiki.openmrs.org)
12:52:39 <morristic> I got this working well so far. The last bug that I'm having difficulty with is having the form display inputs that have values!=""
12:53:30 <morristic> (e.g. this would allow the display:none; content to be shown in the report of the form once it is completed
12:53:36 *** andtorg has joined #openmrs
12:53:45 <morristic> but remain hidden if the render hasn't been filled out
12:54:32 <morristic> as is, the buttons work great to add/remove content, but when you view the filled form, only the first coded item is displayed
13:01:44 <bwolfe> morristic, thats another djazayeri question
13:01:49 <bwolfe> or an implementers list question
13:01:55 <morristic> sounds goo
13:01:57 <bwolfe> I don't have the necessary htmlforemntry knowledge
13:01:57 <morristic> *good
13:02:08 <morristic> thanks for your help today.
13:02:31 *** mnunez has joined #openmrs
13:03:10 <mnunez> Hi everyone!
13:03:33 <bwolfe> good morning marcos
13:03:51 <mnunez> djazayeri: Will there be an OpenMRS University class today?
13:03:56 * bwolfe wonders what will happen when we have more than one marcos. marcoss ? :-)
13:03:58 <djazayeri> mnunez: yes, starting now
13:04:19 <mnunez> djazayeri: Start with a "good mornig class"
13:04:36 <djazayeri> Good Morning, class.
13:05:09 <mnunez> :)
13:05:41 <mnunez> bwolfe: We marcoses multiply. It would be Marcos^n
13:06:12 <bwolfe> marcosii ?
13:07:02 <mnunez> bwolfe: Naa, that's popes. Marcos²
13:08:03 <morristic> Good morning djazayeri!
13:08:28 <morristic> do you have any office hours today? :D
13:08:57 <djazayeri> yes
13:09:11 <djazayeri> join the OpenMRS University call
13:10:26 <bwolfe> morristic, univ call is now
13:10:29 <bwolfe> or 10 mins ago
13:10:35 <bwolfe> is it a Q/A day ?
13:10:53 <morristic> calling!
13:14:02 *** morristic is now known as mmorris
13:15:45 *** downeym has joined #openmrs
13:15:45 *** OpenMRSBot sets mode: +o downeym
13:15:45 *** ChanServ sets mode: +o downeym
13:19:58 *** wluyima has joined #openmrs
13:31:41 <chughgaurav> what does this mean <spring:messagecode="options.login.secretAnswerConfirm"/> , where's the message ?
13:33:30 <bwolfe> messages.properties
13:35:48 <chughgaurav> thank you bewolfe
13:59:34 *** jwishnie has joined #openmrs
13:59:34 *** yekkanti has quit IRC
13:59:40 *** yekkanti has joined #openmrs
14:02:10 *** andtorg has quit IRC
14:02:40 <jriley> djazayeri, I just committed the .classpath and .project files for csv-concept-importer. I think the one in svn may be out of date with what I've been using.
14:02:59 <djazayeri> jriley: okay, will look at that when I can
14:03:28 <jriley> djazayeri, I appreciate it. And knowing that it's not an easy answer is a plus.
14:03:37 <jriley> Not crazy: check!
14:04:55 * jriley is taking a break from the keyboard
14:05:02 *** jriley has left #openmrs
14:05:19 *** upul` has joined #openmrs
14:05:19 *** ChanServ sets mode: +v upul`
14:05:52 <djazayeri> bwolfe, rafa, dkayiwa, no wyclif: scrum?
14:07:12 <mmorris> djazayeri: Could you please help me with a couple html forms questions.
14:07:28 <rafa> hey
14:07:30 <djazayeri> mmorris: yes, can you re-ask them?
14:08:15 <mmorris> gladly
14:08:29 <mmorris> first problem is with my add/remove buttons
14:08:55 <mmorris> I was able to make the remove button remove the inputs as it toggled the render to display:none;
14:09:28 <mmorris> however, I am no trying to figure out the best way to display all inputs that aren't buttons or hidden that have value!=""
14:09:45 <mmorris> so that inputs that are filled will display by default on the report
14:09:58 <mmorris> because right now, it only displays the first.
14:10:21 <djazayeri> mmorris: you're doing javascript on top of the existing repeat/template tags?
14:10:28 <mmorris> I was just having a tough time with the jQuery for that.
14:10:29 <mmorris> correct
14:10:40 <mmorris> you can see my example at https://wiki.openmrs.org/display/docs/HTML+Form+Entry+Module+Javascript
14:10:41 <OpenMRSBot> <http://ln-s.net/9Biw> (at wiki.openmrs.org)
14:10:46 <mmorris> bottom of page
14:12:36 <djazayeri> mmorris: look at this: http://stackoverflow.com/questions/1854556/how-to-check-if-inputs-are-empty-with-jquery
14:12:41 <OpenMRSBot> <http://ln-s.net/9Bjf> (at stackoverflow.com)
14:13:12 <djazayeri> I imagine you could wrap a <span class="my-repeat"> around the stuff in your template
14:13:43 <mmorris> ah, ok this is a good link, thanks. I was trying to use val() to evaluate the contents of the div
14:13:44 <djazayeri> then you use jquery to find all elements that have a value, and do $(this).parents("span.my-repeat').show()
14:13:54 <djazayeri> rafa: report?
14:14:00 <mmorris> but i am probably using the wrong syntax somewhere, let me look more closely.
14:14:43 <rafa> *** Rafal ***
14:14:43 <rafa> Today:
14:14:43 <rafa> * Worked on TRUNK-438: Add a "Settings" page and Rename Manage Global Properties page
14:14:43 <rafa> https://tickets.openmrs.org/browse/TRUNK-438 (left some changes in the UI)
14:14:43 <rafa> Tomorrow:
14:14:43 <rafa> * Finish TRUNK-438
14:14:44 <rafa> * Fix
14:14:44 <rafa> - TRUNK-2440: Add method for getting HL7InQueue by its uuid
14:14:45 <rafa> https://tickets.openmrs.org/browse/TRUNK-2440
14:14:45 <rafa> - TRUNK-2687: Provider.identifier column needs a not null consraint
14:14:46 <rafa> https://tickets.openmrs.org/browse/TRUNK-2687
14:14:46 <rafa> No blockers.
14:15:07 <djazayeri> !ticket TRUNK-438
14:15:08 <OpenMRSBot> djazayeri: [#TRUNK-438] Add a "Settings" page and Rename Manage Global Properties page - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-438
14:15:38 <djazayeri> Okay, sounds good. Burke will be happy when that one gets done
14:15:53 <djazayeri> rafa: can you attach a screenshot of the current progress to the ticket?
14:16:14 <djazayeri> So we can see the direction it's going, and possibly make suggestions before you pick it up tomorrow?
14:16:15 <rafa> djazayeri: I just revised the controller
14:16:22 <djazayeri> oh, okay, so nothing visible then.
14:16:30 <rafa> djazayeri: yes
14:16:42 <djazayeri> You're creating a completely new "Settings" page, right?
14:16:47 *** jkeiper has joined #openmrs
14:16:47 *** ChanServ sets mode: +v jkeiper
14:16:56 <djazayeri> You shouldn't really need to change the Manage Global Properties controller/page at all.
14:17:27 <rafa> djazayeri: From what I understand I need to get rid off the Manage Global Properties
14:17:56 <djazayeri> rafa: no, just rename the existing page to "Advanced Settings"
14:18:51 <djazayeri> And create a new "Settings" page that shows only a few properties at a time
14:19:34 <rafa> djazayeri: ohh I see
14:19:38 <djazayeri> Eventually we'll make the new page prettier and better, but for now it'd basically just be showing some GPs.
14:19:51 <djazayeri> The ticket says this, right?
14:20:31 *** bwolfe has quit IRC
14:22:45 <rafa> djazayeri: all right all clear now
14:22:50 <djazayeri> cool
14:22:59 <djazayeri> wluyima, dkayiwa
14:23:01 <djazayeri> hi
14:23:40 <dkayiwa> Looked into and closed: Manage Encounter Visits" should be renamed to "Configure Visits" and it should go under the Visits section - TRUNK-2645
14:23:41 <dkayiwa> Committed response to review comments for Automatically convert empty string properties on OpenmrsObjects to null before persisting in the database - TRUNK-2680
14:23:41 <dkayiwa> Now looking into review comments for Edit Encounter page should support multiple providers - TRUNK-2262
14:23:41 <dkayiwa> No Blockers
14:24:43 <djazayeri> Okay, I see that you have 4 tickets currently assigned to you in this sprint
14:24:55 <dkayiwa> yes
14:25:07 <djazayeri> So, yeah, work on getting those closed.
14:25:09 <dkayiwa> they have review comments that am looking into
14:25:14 <djazayeri> Also, did you get my email from yesterday?
14:25:19 <dkayiwa> oh yes
14:25:29 <dkayiwa> just forgot to respond. sorry :)
14:25:35 <djazayeri> Are you (or will you be) ready to answer the question?
14:25:48 <djazayeri> Have you looked into the tickets that are currently open for 1.9?
14:25:49 <wluyima> hi
14:25:51 <dkayiwa> by end of today
14:26:06 <dkayiwa> will be in position to respond to you
14:26:43 *** chughgaurav has quit IRC
14:26:57 <djazayeri> Okay
14:27:00 <djazayeri> Fair warning
14:27:04 <dkayiwa> :)
14:27:15 <djazayeri> wluyima: your turn
14:29:30 <wluyima> yesterday:
14:29:30 <wluyima> - applied changes as per review comments for TRUNK-1956, TRUNK-2686, TRUNK-2595
14:29:30 <wluyima> - went through the 1.9 test-feedback, fixed some quick ones, created one ticket and fixed it
14:29:30 <wluyima> Generally speaking 90% of them are user interface enhancements that we dont have to include in the 1.9 alpha
14:29:30 <wluyima> today:
14:29:31 <wluyima> - TRUNK-2693
14:29:33 <wluyima> - TODOs as per reviews comments for concept mappings
14:29:35 <wluyima> - blockers:none
14:29:37 <wluyima> How should we display mutliple providers in the UI when listing encounters?
14:30:03 <djazayeri> !ticket trunk-2693
14:30:04 <OpenMRSBot> djazayeri: [#TRUNK-2693] Allow future dates for PersonAddress.stopDatetime - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2693
14:30:33 <djazayeri> wluyima: btw, who asked for future dates for addres.stopDT?
14:30:45 <wluyima> i have no clue
14:30:53 <djazayeri> was it on the etherpad?
14:30:54 <wluyima> but it amde sense
14:30:58 <wluyima> yes
14:30:59 <djazayeri> ok
14:31:14 <djazayeri> As to how to display multiple providers when listing encounters
14:31:34 <djazayeri> I think we created a GP for which provider to show in the list
14:31:40 <djazayeri> (for the encounters portlet)
14:31:44 <djazayeri> might as well use that same one
14:31:46 <wluyima> i was hoping to add the findings here but i have decided to send them in an email
14:32:21 <wluyima> right now i think it displays the first one in the list
14:32:48 <wluyima> i.e for the encounter list items
14:33:53 <djazayeri> wluyima: https://tickets.openmrs.org/browse/TRUNK-2263
14:34:36 <djazayeri> Daniel added a GP_DASHBOARD_PROVIDER_DISPLAY_ENCOUNTER_ROLES
14:34:57 <djazayeri> I guess we should use that same one
14:35:07 <djazayeri> (do you mean in the search widget?)
14:36:46 <djazayeri> wluyima: ^^
14:36:56 <wluyima> when listing encounters
14:37:05 <wluyima> with DWR calls
14:37:24 <wluyima> then we probably need to edit the constructor for encounterlist item
14:38:13 <wluyima> it calling the deprecated getProvider which returns the first provider in the list
14:38:20 <djazayeri> wluyima: yes
14:38:24 <djazayeri> true
14:39:10 <djazayeri> My report:
14:39:20 <djazayeri> Tuesday
14:39:20 <djazayeri> * Code reviews
14:39:20 <djazayeri> * Met someone from VillageReach/OpenLMIS and described lessons learned about how to do open source
14:39:20 <djazayeri> * Thoughtworks code jam (learned about Mockito; also, got a recommendation to add guava) (Rafa should like this)
14:39:20 <djazayeri> * Emailed Daniel about thinking about the alpha release (hope he's ready when I ask him about it on the dev call tomorrow)
14:39:20 <djazayeri> Today
14:39:21 <djazayeri> * University call
14:39:21 <djazayeri> * Design call
14:39:22 <djazayeri> * Project Management call
14:39:22 <djazayeri> * Thoughtworks catchup
14:39:23 <djazayeri> * Back to working on refactoring attributes (_must_ get the design agreed to)
14:39:46 <rafa> djazayeri: I love that!
14:41:37 <djazayeri> Hopefully we'll have an example of mockito committed soon
14:43:22 <djazayeri> Okay, that's all for now
14:43:26 <yekkanti> djazayeri: where exactly we are using mockito. I was under impression that we'll write only integration tests in openmrs :)
14:43:26 <djazayeri> gotta run for a bit, back soon
14:43:52 <yekkanti> djazayeri: cool catch you later
14:44:30 <djazayeri> yekkanti: we're not using mockito yet, but I've been convinced by a thoughtworker here that we can non-disruptively introduce some mock-based tests
14:45:27 <yekkanti> djazayeri: ohh ok!
14:50:48 *** andtorg has joined #openmrs
14:53:34 <wluyima> are trunk tests passing for you guys?
14:53:44 <wluyima> FormServiceTest is failing
14:54:46 <dkayiwa> wluyima: oh wyclif that could be me
14:55:42 <dkayiwa> sorry wyclif
14:55:55 <dkayiwa> i had commented out a certain block and forgot to uncomment
14:55:59 <dkayiwa> let me commit it now
14:56:19 <wluyima> ok, thanks
14:57:54 <dkayiwa> wluyima: you can update now
14:57:58 <dkayiwa> thanks for reporting it
14:58:00 <dkayiwa> :)
14:58:31 <dkayiwa> i wonder why CI has not complained yet :)
14:58:58 <djazayeri> dkayiwa: did you commit code without running the unit tests locally?
14:58:59 <djazayeri> tsk
14:59:00 <djazayeri> tsk
15:00:02 <dkayiwa> djazayeri: the tests for what i was working on all passed as per my local testing
15:00:05 <mmorris> Djazayeri: could you help me with my selector? I am using $(':input:not(:button:', '.toggleContent').ready(function() { if (!this.value) { $(this).show(); }
15:00:18 <dkayiwa> djazayeri: what i forgot to do was run the entire openmrs tests suite
15:00:28 <mmorris> I've played with it so many ways and I just can't get it to reference the div.
15:01:35 <djazayeri> mmorris: is it enough to just show the input element? (i.e. you don't need to use a wrapping span/div)?
15:03:09 <mmorris> well, I could also do $(':input:not(:button:', '.toggleContent').ready(function() { if (!this.value) { $('div.toggleContent').show(); }
15:03:10 <djazayeri> what's up with the ':input:not(:button:'
15:03:29 <djazayeri> is :input a special jquery thing for input+select+textarea?
15:03:36 <mmorris> oops, $(':input:not(:button)'
15:03:56 <mmorris> :input selects anything that is an input
15:04:10 <mmorris> sorry any type of input
15:04:25 <mmorris> and the :not(:button) just excludes buttons
15:05:03 <mmorris> this show allow it to select both input[type=text] and input[type=checkbox] and input[type=radio] etc
15:05:09 <mmorris> *should
15:05:55 <mmorris> $(':input:not(:button)', '.toggleContent').ready(function() { if (!this.value) { $('div.toggleContent').show(); }
15:06:57 <mmorris> is the code i'm trying to use, but $(':input:not(:button)', '.toggleContent').ready(function() { alert(this.id); }
15:07:00 <mmorris> returns undefined
15:07:11 <djazayeri> $j(':input').not(':button').not('.toggleContent').each(function(ind,el) { if ($j(el).val() { $j(el).parent('.toggleContent').show() } });
15:07:21 <djazayeri> something like that?
15:07:53 <mmorris> I know that $(':input:not(:button)', '#wrapper') works because I use it to remove the value from the inputs on the click of remove button
15:08:08 *** yekkanti_ has joined #openmrs
15:08:15 <downeym> Hi yekkanti_ and welcome to the #openmrs IRC channel.
15:08:26 <djazayeri> What is $(a, b) ?
15:08:39 <wluyima> dkayiwa, thanks
15:08:47 <djazayeri> I mean $('a', 'b') ? I don't understand.
15:08:49 <mmorris> $(children, parent)
15:09:04 <mmorris> er $('children, parent')
15:10:10 *** yekkanti_ has quit IRC
15:10:28 *** yekkanti_ has joined #openmrs
15:10:45 <djazayeri> you're trying to use that to select the parent elements?
15:11:09 <djazayeri> wouldn't that be more like $(':input').parents('.toggleContent') ?
15:11:31 <djazayeri> brb
15:11:33 *** yekkanti has quit IRC
15:11:33 *** yekkanti_ is now known as yekkanti
15:12:10 <mmorris> hrm, no I was trying to use it to select the children inputs of a div
15:12:57 <mmorris> as in $j(':input:not(:button)', div).val([]);
15:13:12 <mmorris> thats what I use to clear the children inputs of a div that is removed
15:13:18 <mmorris> and that one works
15:23:02 *** mmorris has quit IRC
15:26:06 <djazayeri> downeym: who grants privileges to commit to svn / Contrib? you or ben?
15:27:11 <downeym> djazayeri: i can but i think ben i'd rather not. :) ben can do it afaik
15:27:17 <djazayeri> ok
15:27:23 * downeym looks at the groups
15:27:47 <downeym> djazayeri: you should be able to do it as well
15:28:05 <djazayeri> is it by adding people to groups?
15:28:15 <downeym> djazayeri: yes, to the appropriate svn-* groups in crowd at https://id.openmrs.org/crowd/
15:30:27 *** bryq has joined #openmrs
15:30:27 *** ChanServ sets mode: +v bryq
15:30:38 <djazayeri> downeym: thx
15:30:51 <downeym> djazayeri: success?
15:31:04 <djazayeri> I think so
15:31:10 <downeym> ok cool.
15:42:54 <djazayeri> downeym: can we give someone privileges to set up a CI plugin and set up a build for it?
15:42:57 <djazayeri> (sonar)
15:43:07 <djazayeri> e.g. http://ec2-50-16-155-214.compute-1.amazonaws.com:9000/drilldown/measures/org.openmrs:openmrs?highlight=line_coverage&metric=uncovered_lines
15:43:15 <OpenMRSBot> <http://ln-s.net/9Bkc> (at ec2-50-16-155-214.compute-1.amazonaws.com:9000)
15:43:17 <djazayeri> rather: http://ec2-50-16-155-214.compute-1.amazonaws.com:9000/dashboard/index/1?did=1
15:43:19 <OpenMRSBot> <http://ln-s.net/9Bkd> (at ec2-50-16-155-214.compute-1.amazonaws.com:9000)
15:44:47 *** mnunez has quit IRC
15:45:30 <downeym> i am not aware of any sonar plugins for Bamboo
15:45:52 <downeym> s/any/any current/
15:49:45 *** yekkanti_ has joined #openmrs
15:52:45 *** rafa has quit IRC
15:53:41 *** yekkanti has quit IRC
15:53:41 *** yekkanti_ is now known as yekkanti
15:58:47 <dkayiwa> hi djazayeri
15:58:56 <djazayeri> hi dkayiwa
15:59:32 <dkayiwa> djazayeri: do you remember where we saved the 1.9 tickets spreadsheet?
16:00:14 <djazayeri> dkayiwa: I just forwarded you an email
16:00:25 <dkayiwa> ok thanks
16:00:32 <djazayeri> I don't know if you want to look at the spreadsheet or regenerate the list from jira
16:00:46 <dkayiwa> ok
16:02:06 <djazayeri> wluyima: is there a ticket for the UI of concept mapping?
16:02:47 <dkayiwa> wluyima: wasnt TRUNK-2670 fixed on trunk ?
16:02:51 <djazayeri> wluyima: nm, found it
16:11:34 <dkayiwa> djazayeri: what should i do for those where the first spreadsheet column is empty
16:16:10 <djazayeri> dkayiwa: you're the release manager. You have ultimate authority to decide what stays in 1.9 and what moves out
16:16:19 <dkayiwa> ok
16:16:24 <djazayeri> I think that Jena already dealt with everything where we put a value in the first column.
16:16:47 <dkayiwa> yes i have just discovered so
16:17:28 <djazayeri> You probably want to look at JIRA, at what's currently assigned to 1.9, and what's currently in progress and/or needing review, versus still ready-for-work.
16:17:32 <djazayeri> (gotta run for a bit)
16:17:43 <dkayiwa> ok
16:17:55 <djazayeri> The key questions are: will we be able to release the alpha on time in mid-october? what do people need to do to make that happen?
16:18:05 <dkayiwa> ok
16:25:55 <dkayiwa> wluyima: do you have any feedback on https://tickets.openmrs.org/browse/TRUNK-2352
16:27:22 <dkayiwa> wluyima: am failing to reproduce it on trunk
16:29:01 <dkayiwa> wluyima: is it when i click add drug?
16:53:13 <wluyima> dkayiwa, i have added a comment to the ticket
16:53:22 <dkayiwa> ok thanks!!!
16:53:26 <wluyima> dkayiwa, it is thrown on page load
16:53:46 <dkayiwa> wluyima: failed to reproduce it on trunk
16:54:16 <wluyima> what browser are using?
16:54:24 <dkayiwa> firefox
16:54:25 <wluyima> dkayiwa, what browser are you using?
16:54:30 <wluyima> because am seeing it
16:54:34 <wluyima> on trunk
16:54:37 <dkayiwa> wluyima: let me check again
16:54:42 <wluyima> you need to open firebug
16:54:48 <dkayiwa> ok
16:58:57 *** andtorg has quit IRC
17:00:45 <wluyima> dkayiwa, looks to me like you just need to get rid of the script at the botton of that page because it appears useless
17:00:55 <dkayiwa> ok
17:01:07 <wluyima> dkayiwa, since there is never an element with id 'retiredReasonRow'
17:01:14 <dkayiwa> wluyima: thanks for the pointer
17:01:25 <jkeiper> bryq: when i select "trust incoming", shouldn't the default be "overwrite" instead of "keep mine"?
17:01:31 <dkayiwa> wluyima: i get that only when i click the add dug
17:01:36 <dkayiwa> but not before
17:02:18 <wluyima> dkayiwa, i always get it
17:02:23 <dkayiwa> ok
17:02:51 <wluyima> and it is obvious because that elemt doesnot exist
17:02:56 <dkayiwa> ok
17:08:04 <downeym> magicaltrout++
17:11:51 *** yekkanti has quit IRC
17:14:05 <magicaltrout> o7
17:19:22 <jkeiper> wluyima: if we don't have ConceptService.saveConceptName() and ConceptValidator is failing when I try to save a concept with a new name if the old name violates the same-name-as-another-concept issue, how do i rename a concept?
17:19:32 *** mnunez has joined #openmrs
17:20:05 <jkeiper> i'm going to _have_ to make these changes in SQL
17:20:10 <jkeiper> and then Sync won't pick up on it
17:20:12 <jkeiper> :|
17:20:18 <wluyima> jkeiper, hmmm..
17:20:21 <jkeiper> djazayeri: do you know how I can do this through the API? ----^
17:20:41 <wluyima> this is a little complicated
17:20:51 <jkeiper> mmhmm
17:21:01 <jkeiper> it's also causing me mucho headacho
17:21:07 <wluyima> it will depend on what we come up with on today's design forum
17:21:14 <jkeiper> ok
17:21:23 <jkeiper> i'll accept that answer for now ;-)
17:21:26 <wluyima> because we dont expect duplicate names
17:21:30 <jkeiper> right
17:21:34 <jkeiper> but they exist nonetheless
17:21:39 <jkeiper> i bet you can find them in stock data
17:22:43 <wluyima> jkeiper, and that means this situattion should not exist theorrtically, but as we know data in production isn't like what we expected, so we need to create an exit door in the webb app for admins to purge such a name
17:23:06 <jkeiper> yes, or at least replace it
17:23:15 <jkeiper> and it has to be tracked through the API for Sync to recognize it
17:24:05 <wluyima> but purging names should be very done carefully to because a it could be used by some obs
17:24:39 <wluyima> but i agree with you that you should be able to edit it
17:25:17 <wluyima> jkeiper, the contradiction is in the API
17:25:47 <wluyima> jkeiper, the API deosnot allow editing a concept name and this is the reason you are getting that problem
17:26:31 <wluyima> jkeiper, when you edit it, it retired the old name and creates a new one and this is the reason i was pro allowing duplicate retired names
17:27:23 *** upul` has quit IRC
17:28:06 <jkeiper> wluyima: ah, i see ... it should be "voiding" i think
17:28:13 <jkeiper> and voided objects should be excluded
17:28:20 <jkeiper> but i think that is the gist of today's discussion
17:28:34 <jkeiper> meanwhile i need to fix my data so people can continue using openmrs
17:28:35 <jkeiper> :-)
17:28:40 <wluyima> jkeiper, so you now get why i said it is complicated
17:28:59 <wluyima> just edit it with sql
17:29:05 <jkeiper> wluyima: we use sync
17:29:05 <wluyima> it is only way out
17:29:23 <wluyima> hmmm
17:29:29 <jkeiper> therein lies my problem
17:29:41 <jkeiper> unless i can use hibernate to do it
17:29:45 <wluyima> i say edit it with sql
17:29:47 <jkeiper> bypassing the concept validator
17:29:53 <jkeiper> and i think sync hooks in with hibernate
17:29:53 <wluyima> to a random name
17:29:54 *** rafa has joined #openmrs
17:30:00 *** ChanServ sets mode: +v rafa
17:30:09 <wluyima> then redit it to the actual name in app wo that sync also picks it up
17:30:12 <djazayeri> jkeiper: hi
17:30:17 <jkeiper> djazayeri: hi
17:30:21 <djazayeri> you can't do something like:
17:30:36 <wluyima> then there is no option
17:30:40 <djazayeri> service.getConcept(123)
17:30:55 <djazayeri> get one name from concept.getNames()
17:30:57 <djazayeri> edit that one name
17:31:03 <djazayeri> service.saveConcept(concept)?
17:31:18 <wluyima> djazayeri, that will fail with a duplicate name
17:31:21 <jkeiper> djazayeri: no ... for some reason the old name is considered in the validator
17:31:28 <wluyima> because the API doesn't actually edit names
17:31:43 <jkeiper> when it tries to void the old name, it gets a failure
17:31:47 <jkeiper> (i guess)
17:31:47 <djazayeri> the validator should be validating the object you pass it...
17:31:48 <wluyima> concept names get replaced with a new name with changes and then the old name gets voided
17:31:53 <djazayeri> ah
17:32:08 <wluyima> so the old voided name stays a duplicate
17:32:16 <djazayeri> concept_name has a voided column?
17:32:20 <jkeiper> yes
17:32:22 <wluyima> and this is why i was pro ignoring voided names
17:32:29 <wluyima> when getting duplicates
17:32:33 <djazayeri> you should definitely ignore *voided* names
17:32:42 <djazayeri> is the column "voided" or "retired"?
17:32:45 <jkeiper> voided
17:32:48 <jkeiper> retired is only on concept
17:33:03 <djazayeri> so, if the validator isn't ignoring voided names, the fix is to make it ignore voided names.
17:33:06 *** bwolfe has joined #openmrs
17:33:06 *** ChanServ sets mode: +o bwolfe
17:33:11 <jkeiper> that's what i was thinking
17:33:14 <wluyima> i think concept name is voidable
17:33:30 <djazayeri> yes, it's voidable
17:33:34 <wluyima> and that was my suggestion too
17:33:36 <jkeiper> but you can't just void it from the API
17:33:45 <jkeiper> it's only done through other calls
17:33:48 <wluyima> jkeiper, are you doing that in amrs or trunk
17:33:51 <jkeiper> trunk
17:33:56 <jkeiper> actually 1.8.2 right now
17:33:57 <wluyima> am fine with that
17:34:00 <djazayeri> This should work:
17:34:17 <djazayeri> def c = service.getConcept(123);
17:34:30 <djazayeri> c.getPreferredName().setName("Something different");
17:34:33 <djazayeri> service.save(c);
17:34:41 <djazayeri> if that doesn't work, we need to fix the API so it works.
17:34:48 <wluyima> that should work given he makes the fix
17:34:56 <jkeiper> ok
17:35:00 <djazayeri> jkeiper: if you need to hack around this, you can do it by going to hibernate
17:35:21 <jkeiper> djazayeri: that's what i was thinking ... in my module, in the dao ... just saveOrUpdate(ConceptName)
17:35:23 <djazayeri> e.g. service.getConceptNameByUuid(…)
17:35:29 <djazayeri> exactly
17:35:31 <djazayeri> gotta run for a bit
17:35:42 <djazayeri> but wluyima, is the validator ignoring voided names?
17:35:52 <wluyima> djazayeri, right not no
17:35:59 <jkeiper> ok, bwolfe ... sync will pick up on a hibernate saveOrUpdate() right?
17:35:59 <wluyima> djazayeri, right now no
17:36:02 <djazayeri> okay, can you create a ticket for that?
17:36:13 <djazayeri> jkeiper: yes
17:36:21 <jkeiper> djazayeri: k, that's what i thought (phew)
17:36:29 * jkeiper tries it in AMRS Customization Module
17:36:40 <wluyima> jkeiper, are you creating the ticket or i should
17:36:49 <jkeiper> wluyima: sorry, can you?
17:36:55 <wluyima> sure
17:37:27 <jkeiper> rafa: i noticed that all concepts I tried to import when using "Trust Incoming" are set to "Keep Mine" ... but i thought those would be "Overwrite". Is there some way I can default to "Overwrite"?
17:38:00 <jkeiper> wluyima: thanks
17:40:25 <rafa> jkeiper: it's a default behavior for concepts that have the same name but not uuid
17:40:43 <rafa> jkeiper: if uuid is the same and you choose trust incoming they should be overwrite by default
17:41:21 <rafa> jkeiper: there's no way to change that other than editing the code
17:43:41 <jkeiper> rafa: i believe the opposite is happening
17:43:50 <jkeiper> rafa: I will verify
17:44:45 <rafa> jkeiper: see https://wiki.openmrs.org/display/docs/User%27s+Guide+for+Metadata+Sharing+Module for the detailed description
17:44:51 <OpenMRSBot> <http://ln-s.net/9BmE> (at wiki.openmrs.org)
17:44:59 *** andtorg has joined #openmrs
17:45:01 <rafa> look for The default action is chosen upon the following rules:
17:45:02 <bwolfe> jkeiper, yes, anything sent through hibernate and that is an OpenmrsObject with a persisted uuid will be sync'd
17:46:58 <wluyima> jkeiper, this is the ticket
17:47:02 <wluyima> !ticket TRUNK-2697
17:47:03 <OpenMRSBot> wluyima: [#TRUNK-2697] Fix concept validator to allow duplicate concept names that are voided - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2697
17:51:03 <jkeiper> wluyima: thanks!
17:52:17 <jkeiper> how can i tell what type of extension to use for org.openmrs.dictionary.conceptFormHeader? all it says is media="text"
17:52:48 <jkeiper> s/media/type
17:55:17 <bwolfe> jkeiper, you mean what class to extend?
17:55:26 <jkeiper> bwolfe: yes ... ListExtensioN?
17:55:29 <bwolfe> it can be anything if it doesn't claim one
17:55:34 <jkeiper> er LinkExt
17:55:35 <jkeiper> ok
17:55:40 <bwolfe> just make sure you implement the methods that it calls
17:55:52 <jkeiper> how can i tell what methods org.openmrs.dictionary.conceptFormHeader calls?
17:56:01 <jkeiper> wait a sec
17:56:09 <jkeiper> right
17:56:16 <bwolfe> jkeiper, jsp code
17:56:18 <jkeiper> there's no ConceptFormHeader class ... (confusing)
17:56:24 <bwolfe> heh
17:56:36 <jkeiper> this is all i see: <openmrs:extensionPointpointId="org.openmrs.dictionary.conceptFormHeader"type="html"/>
17:56:39 <bwolfe> no, the naming of ext points is a little off the cuff at times
17:56:51 <jkeiper> haha
17:56:59 <bwolfe> then the only way to get content in is by returning it from getOverrideContent() in your extension
17:57:02 *** jwishnie has quit IRC
17:57:03 <bwolfe> !extensionpoints
17:57:04 <OpenMRSBot> bwolfe: "extensionpoints" --- http://openmrs.org/wiki/Module_Extension_Points
17:57:06 <jkeiper> o
17:57:10 * jkeiper does that then
17:57:39 <bwolfe> magicaltrout eh? whats the history there? (just saw your email to the dev list)
17:59:49 <magicaltrout> bwolfe: well I've been a pentaho community guy for 5 or 6 years now, and we had a presentation by Grechen there, and today at a BIRT day, they used you guys in a slide, and Gretchen put in a plear for help on the BI front
18:00:01 <magicaltrout> so, well, erm, here's an offer
18:00:21 <bwolfe> magicaltrout ah cool.
18:00:22 <magicaltrout> andtorg is also in the pentaho community, so stop him from escaping also
18:01:01 <andtorg> magicaltrout, i'm not going anywhere
18:01:13 <bwolfe> grechen is just getting started with her project I think. I would love to see a wiki page (or set of them) with updates about what project she's tackling and how you fellow pentaho-smart guys can jump in
18:01:34 <bwolfe> magicaltrout, but I was referring more to your choice of nicknames. :-)
18:02:23 *** mnunez has quit IRC
18:02:32 <magicaltrout> ooh, i got lazy and saw the nick on a GWT forum many years ago, got bored of mine and stole it
18:02:39 <magicaltrout> maybe I'm really a hermit crab ;)
18:03:45 <bwolfe> ha
18:04:29 <magicaltrout> anyway we'll have a chat with her when she's not jetlagged from rome, and we'll get some direction and see where we can help out
18:07:05 <djazayeri> wluyima: you joining design call today?
18:08:25 *** jwishnie has joined #openmrs
18:09:48 *** rafa has quit IRC
18:13:48 <wluyima> yes
18:13:54 <wluyima> just a second
18:17:07 *** yekkanti has joined #openmrs
18:53:47 *** chughgaurav has joined #openmrs
18:56:17 *** Suranga has joined #openmrs
19:00:18 <jkeiper> wluyima, djazayeri: update on concept names: apparently concept.setName() will write to the db without needing to save the concept or name
19:00:20 *** yekkanti has quit IRC
19:00:29 <jkeiper> fyi
19:00:30 *** yekkanti has joined #openmrs
19:02:45 <wluyima> hmm
19:03:25 <wluyima> jkeiper, thers is no such method as Concept.setName
19:03:34 <wluyima> are you just adding it
19:10:29 <jkeiper> http://pastebin.com/Dwbcn1qb
19:12:46 <jkeiper> http://pastebin.com/j8tu21An
19:14:15 *** rafa has joined #openmrs
19:14:15 *** ChanServ sets mode: +v rafa
19:14:17 *** rafa has quit IRC
19:17:38 <wluyima> jkeiper, do you want to create a ticket to let admins see all concept names
19:17:44 <jkeiper> sure
19:18:23 <wluyima> jkeiper, am still scared of letting them purge though i think it would a way for them to clean up concepts
19:19:10 <jkeiper> wluyima: voiding is fine
19:19:19 <wluyima> jkeiper, i ean purging too
19:19:25 <wluyima> jkeiper, i mean purging too
19:20:23 <jkeiper> wluyima: true, but if we ignore voided objects during validation, as expected, then we are okay
19:20:36 <wluyima> sure
19:20:45 <jkeiper> djazayeri: https://tickets.openmrs.org/browse/TRUNK-2698
19:21:01 <wluyima> but for the case of blank names, you might soemtimes want to just purge them
19:21:23 <jkeiper> wluyima: true ... hopefully a one-time problem
19:25:56 <wluyima> jkeiper, thanks
19:26:03 <wluyima> okay
19:26:07 <wluyima> then we can ignore that
19:27:05 <jkeiper> wluyima: this worked (so i could edit short name): http://pastebin.com/DmV0SpQg
19:27:13 <jkeiper> wluyima: except now i cannot have a short name (null) ...
19:28:08 <wluyima> jkeiper, ok
19:28:30 <jkeiper> lots of "name"
19:40:28 *** chughgaurav has quit IRC
19:44:44 *** yekkanti has quit IRC
19:59:32 *** andtorg has quit IRC
20:00:34 *** elliott_w has joined #openmrs
20:00:34 *** ChanServ sets mode: +o elliott_w
20:01:10 *** burke has joined #openmrs
20:01:10 *** ChanServ sets mode: +o burke
20:02:54 <downeym> Hi all. This is the weekly infrastructure team report. elliott_w, ready to roll?
20:03:11 <elliott_w> Yessir, downeym
20:03:23 <downeym> OK. Major infrastructure priorities this past week from my side:
20:03:28 <downeym> * We are revisiting our emphasis on prioritizing redundancy and reliability. As a result there are several things in the works:
20:03:39 <downeym> * I have rebuilt OpenMRS.org to run at Media Temple. The WordPress themes needed some updates so it was not a cut-and-dry move. There is a shadow copy running there and we are nearly ready to cut over DNS. One blocker on the search function, due to a bug in the theme. Working with the theme developer on a workaround and as soon as that's in place we'll move.
20:03:50 <downeym> * Working to create SVN mirrors both at Google Code project hosting and Sourceforge. We need to get approval as our Subversion repository is over 18GB in size, which is far over their standard limits. However from a technical perspective this should be relatively painless.
20:04:04 <downeym> Priority for next week:
20:04:08 <downeym> * Start the process of architecting/moving FishEye+Crucible either into the IU infrastructure or Media Temple.
20:04:13 <downeym> * Since planning for Confluence 4 upgrade was delayed, hope to be able to look into that as well in the next week.
20:05:18 <elliott_w> downeym: delay is our own delay, not atlassian's, right?
20:05:20 <downeym> * Also need to research possibility of doing a POC for Sonar
20:05:37 <downeym> elliott_w: yeah, delayed due to the other things coming up as high priority
20:05:41 *** djazayeri1 has joined #openmrs
20:05:49 <elliott_w> ah, okay :-)
20:05:51 <downeym> elliott_w: SSO incompatibility is still outstanding, for example
20:06:35 <downeym> elliott_w: That's the major news from my side. Any interesting progress on the id.o.o site?
20:06:46 *** Suranga has quit IRC
20:07:00 *** djazayeri has quit IRC
20:07:15 <elliott_w> downeym: Not too much I can speak for yet, as I've been pretty busy in the past week and haven't made too much progress
20:08:11 <elliott_w> At this point, I pretty much have the architecture down and just need to build it into the current dashboard
20:08:19 <downeym> elliott_w: OK, no worries. :) Things have been rather busy in the office as well trying to get travel arranged for our conference and the 2 gsoc events
20:08:33 <elliott_w> Yeah I can imagine
20:08:49 <downeym> elliott_w: Do we have OpenLDAP set to consume a specific amount of memory?
20:08:52 <elliott_w> So for quantitative folks, I'm about 70% to a new release
20:09:04 <downeym> cool
20:09:05 <elliott_w> downeym: Not at the moment
20:09:21 <elliott_w> it's running pretty much stock settings in that regard
20:09:22 * downeym adds "tuning openldap" to the list
20:09:26 <downeym> gotcha
20:10:02 <elliott_w> Which I don't think is too far from what we'd want, but I'm sure with the memory limitations we have right now it'd be a good idea
20:10:28 <downeym> yeah, we should just scan through and see what kind of tuning we can do
20:10:34 *** djazayeri1 is now known as djazayeri
20:10:34 *** ChanServ sets mode: +o djazayeri
20:10:35 <downeym> does anyone else have infrastructure-type questions?
20:11:02 <downeym> djazayeri: FYI, the Bamboo plugin for Sonar used to be maintained but has been dead the last couple years.
20:12:21 <downeym> all right … if there's nothing else "official" i will close the meeting, looking forward to our future ircbot hashtag system :)
20:12:35 <elliott_w> Alright
20:12:46 <bwolfe> downeym, you fix the hashtag commit thing yet?
20:12:52 <elliott_w> downeym: speaking of which, I need supybot access from me address at home
20:12:58 <elliott_w> s/me/my
20:13:12 <downeym> bwolfe: haven't had time to dig into it any further yet, sorry
20:13:20 <downeym> bwolfe: will have you test again once i do
20:13:53 <downeym> elliott_w: do you mean access via IRC or ssh access?
20:14:43 <elliott_w> downeym: irc (although I don't believe I have sudo access on that server either)
20:15:08 <downeym> elliott_w: as far as i know you should have access via your nickserv authenticated nick?
20:15:41 <elliott_w> downeym: problem is my host mask is limited to dhcp-in.iupui.edu in users.conf
20:15:51 <elliott_w> and I don't have rights to modify it
20:15:57 <downeym> elliott_w: ah, i can fix that :)
20:16:05 <downeym> elliott_w: actually i think you could VPN in to IU and do it :)
20:16:25 <elliott_w> downeym: that's true, haven't got around to trying that yet. thanks!
20:16:40 * downeym will check anyway in a few
20:22:16 <downeym> elliott_w: try it now
20:23:55 <elliott_w> downeym: bingo, thanks
20:24:08 <downeym> cool
20:25:44 *** bryq has quit IRC
20:37:05 *** jkeiper has quit IRC
20:39:59 *** jwishnie has quit IRC
20:41:23 *** lh has joined #openmrs
20:59:43 <downeym> lh: ping
20:59:56 <lh> downeym: at your service, sir
21:00:09 <robbyoconnor> hey lh =)
21:04:17 *** jwishnie has joined #openmrs
21:05:16 *** elliott_w has quit IRC
21:11:49 *** andtorg has joined #openmrs
21:37:17 *** burke has quit IRC
21:45:19 *** bwolfe has quit IRC
21:49:16 *** gbastien has quit IRC
21:50:05 *** gbastien has joined #openmrs
21:54:55 *** gbastien has quit IRC
22:07:13 <djazayeri> wluyima: hi
22:07:45 <djazayeri> downeym: "dead" (i.e. sonar plugin) means unmaintained? or non-functional?
22:08:08 <downeym> djazayeri: both. effectively non-functional as they've changed the plugin architecture since then.
22:08:43 <djazayeri> okay, do you mind saying that on the email thread? I assume he can come up with a clever workaround
22:08:48 <downeym> sure
22:09:19 <djazayeri> jwishnie: Yesterday one of the TW CI guys surprised me with a Sonar+Findbugs setup for us on AWS.
22:09:25 *** wluyima has quit IRC
22:10:06 <jwishnie> djazayeri: I don't know what those are! Helpful I hope??
22:10:39 <djazayeri> All I know is they do automated code quality and test coverage checks, and summarize it nicely. :-)
22:10:45 <djazayeri> we're excited.
22:10:52 <jwishnie> djazayeri: oh, code analysis tools! Is it running auto-magically as part of the CI pipeline?
22:11:02 <djazayeri> not yet, that's the next step
22:11:24 <jwishnie> djazayeri: cool, that will be sweet. And a little scary—having bad coding habits announced to the world on each checkin ;-)
22:11:48 <jwishnie> djazayeri: btw–when are you going to move to GitHub? They have all these great built in hooks for building up you CI pipeline right from your GitHub account!
22:12:47 <djazayeri> jwishnie: when we have some free months. ;-)
22:13:42 <jwishnie> djazayeri: If you gave the word I bet there are about 50 TWers eager to help with that transition!!
22:14:20 <djazayeri> jwishnie: we're convinced it's the way to go at some point. We need someone to convince us it will be painless.
22:14:39 <djazayeri> that the eclipse tooling is great
22:14:50 <jwishnie> djazayeri: hahahaha, well, I'd be happy to lie to you. But there is some pain in all transitions
22:14:53 <djazayeri> that our devs will just pick it up like magic
22:15:11 * downeym notes we have 18gb in our svn repo
22:15:28 <djazayeri> but seriously, it would be nice to talk to someone about what the transition would be like
22:16:49 * downeym shares http://blip.tv/open-source-developers-conference/git-for-ages-4-and-up-4460524
22:16:52 <OpenMRSBot> <http://ln-s.net/96kD> (at blip.tv)
22:23:47 *** dkayiwa has quit IRC
22:24:42 *** jwishnie_ has joined #openmrs
22:24:50 <downeym> Hi jwishnie_ and welcome to the #openmrs IRC channel.
22:25:20 <jwishnie_> djazayeri: sure, we can reach out and find folks who've done the svn->git transition
22:25:27 *** jwishnie has quit IRC
22:25:27 *** jwishnie_ is now known as jwishnie
22:25:32 <djazayeri> jwishnie: would love it
22:27:07 *** gbastien has joined #openmrs
22:29:01 *** jwishnie_ has joined #openmrs
22:29:01 *** jwishnie has quit IRC
22:29:01 *** jwishnie_ is now known as jwishnie
22:37:47 *** jwishnie has quit IRC
22:46:35 *** andtorg has quit IRC
22:48:02 *** jwishnie has joined #openmrs
23:11:29 *** downeym has quit IRC
23:23:12 *** wluyima has joined #openmrs
23:24:43 *** morristic has joined #openmrs
23:47:31 *** mnunez has joined #openmrs