IRC Chat : 2011-01-31 - OpenMRS

00:05:49 *** gbastien has joined #openmrs
00:10:50 *** gbastien has quit IRC
00:23:38 *** gbastien has joined #openmrs
00:28:17 *** gbastien has quit IRC
00:40:03 *** gbastien has joined #openmrs
00:44:54 *** gbastien has quit IRC
00:56:38 *** gbastien has joined #openmrs
01:00:49 *** gbastien has quit IRC
01:13:02 *** gbastien has joined #openmrs
01:17:31 *** gbastien has quit IRC
01:33:52 *** gbastien has joined #openmrs
01:38:02 *** gbastien has quit IRC
01:40:54 *** bwolfe has joined #openmrs
01:40:54 *** ChanServ sets mode: +o bwolfe
01:49:49 *** gbastien has joined #openmrs
02:49:27 *** bwolfe has quit IRC
02:52:15 *** gbastien has quit IRC
03:52:32 *** x-ian has joined #openmrs
04:53:27 *** x-ian has quit IRC
04:57:23 *** suho has joined #openmrs
05:32:34 *** jonthelin has joined #openmrs
05:32:39 <jonthelin> hi
05:32:59 <jonthelin> is anybody there?
05:42:34 *** pascal` has quit IRC
05:46:08 *** x-ian has joined #openmrs
05:47:22 <jonthelin> hello?
05:48:14 *** jonthelin has quit IRC
06:17:01 *** x-ian has quit IRC
06:21:34 *** x-ian has joined #openmrs
06:25:18 *** goutham has joined #openmrs
06:25:52 *** goutham has quit IRC
06:31:01 *** pascal` has joined #openmrs
06:32:15 *** x-ian has quit IRC
06:35:03 *** x-ian has joined #openmrs
06:36:50 *** x-ian has quit IRC
06:53:02 *** x-ian has joined #openmrs
06:53:07 *** x-ian has quit IRC
07:01:18 *** robota has joined #openmrs
07:21:44 *** robota has quit IRC
07:26:06 *** dkayiwa has joined #openmrs
07:42:19 *** robota has joined #openmrs
07:59:09 *** x-ian has joined #openmrs
08:04:27 *** x-ian has quit IRC
08:05:54 *** muthah has joined #openmrs
08:08:02 *** mathiaslin has joined #openmrs
08:17:08 *** x-ian has joined #openmrs
08:33:54 *** rafa has joined #openmrs
08:35:51 *** muthah has quit IRC
08:46:42 *** robota has quit IRC
08:47:46 *** robota has joined #openmrs
09:00:56 *** robota has quit IRC
09:15:29 *** rafa has quit IRC
09:17:21 *** robota has joined #openmrs
09:43:39 *** dkayiwa has quit IRC
10:06:19 *** Hazamonzo has quit IRC
10:06:48 *** Hazamonzo has joined #openmrs
10:08:17 *** x-ian has quit IRC
10:33:33 *** rafa_ has joined #openmrs
10:36:55 *** suhothayan has joined #openmrs
10:40:31 *** suho has quit IRC
11:26:38 *** suhothayan has quit IRC
12:12:24 *** gbastien has joined #openmrs
12:16:33 *** gbastien has quit IRC
12:28:36 *** mayanks43 has joined #openmrs
12:37:52 *** suho has joined #openmrs
12:55:08 *** gbastien has joined #openmrs
13:00:05 *** gbastien has quit IRC
13:05:40 *** dkayiwa has joined #openmrs
13:12:35 *** gbastien has joined #openmrs
13:17:07 *** gbastien has quit IRC
13:31:12 *** gbastien has joined #openmrs
13:35:40 *** gbastien has quit IRC
13:48:37 *** gbastien has joined #openmrs
13:51:03 *** bwolfe has joined #openmrs
13:51:03 *** ChanServ sets mode: +o bwolfe
13:53:09 *** gbastien has quit IRC
13:57:46 *** gbastien has joined #openmrs
14:02:10 *** gbastien has quit IRC
14:15:32 *** gbastien has joined #openmrs
14:20:04 *** gbastien has quit IRC
14:24:17 *** robota has quit IRC
14:33:54 *** gbastien has joined #openmrs
14:38:28 *** gbastien has quit IRC
14:40:17 <suho> hi bwolfe !
14:41:06 *** robota has joined #openmrs
14:41:47 <suho> I have some doubts regarding http://tickets.openmrs.org/browse/TRUNK-368
14:42:47 <bwolfe> doubts == questions suho ?
14:43:16 <dkayiwa> :)
14:43:16 <suho> yes questions
14:43:20 <suho> :)
14:44:39 *** pascal` has quit IRC
14:44:47 <suho> So I need to save openmrs-servlet.xml in the database ?
14:45:04 <suho> in global_properties
14:45:25 <suho> and also provide a UI to edit the openmrs-servlet.xml
14:45:31 <suho> Is this I need to do
14:46:01 <suho> please clarify
14:51:23 *** gbastien has joined #openmrs
14:52:18 <suho> bwolfe, I don't have a good understanding of what I suppose to do! in this patch
14:55:22 <bwolfe> suho: did you look at the patch for http://tickets.openmrs.org/browse/TRUNK-1177 ?
14:55:37 <bwolfe> (the link was bad in my earlier comment in TRUNK-368, I just fixed it)
14:56:00 <bwolfe> it did almost the same thing, except 1177 didn't make a page to edit the drug orders, it just used the global properties page
14:56:06 *** gbastien has quit IRC
14:57:31 <bwolfe> openmrs-servlet.xml is a spring application context file.
14:57:47 <suho> yes
14:58:12 <bwolfe> so what is happening now is that the AddressSupport.layoutTemplates variable is getting filled in every time openmrs starts.
14:58:27 <bwolfe> instead, AddressSupport should read from a global property
14:58:38 <suho> ok got it
14:59:57 <suho> so we add that to the global property and use from there
15:01:16 <suho> I didnt see 1177 before I'll have a look
15:02:27 <suho> thanks
15:06:28 <bwolfe> the text stored in the global property will be like the addressTemplateSpain element
15:07:46 *** gbastien has joined #openmrs
15:09:04 <suho> and we will be only storing the current one in the database right?
15:12:14 *** gbastien has quit IRC
15:13:00 <suho> ok got it :) thanks
15:13:43 *** rafa_ has quit IRC
15:15:05 *** robota has quit IRC
15:23:37 *** robbyoconnor has quit IRC
15:24:34 *** gbastien has joined #openmrs
15:28:54 *** gbastien has quit IRC
15:30:43 *** rafa has joined #openmrs
15:42:29 *** gbastien has joined #openmrs
15:47:26 *** gbastien has quit IRC
15:50:23 *** pascal` has joined #openmrs
15:53:50 *** mayanks43 has left #openmrs
15:56:59 *** pascal` has quit IRC
15:58:39 *** gbastien has joined #openmrs
16:03:10 *** gbastien has quit IRC
16:03:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: REST 1.4.4.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=restmodule&version=&1.4.4.1>
16:10:38 *** gbastien has joined #openmrs
16:12:19 *** pascal` has joined #openmrs
16:14:55 *** gbastien has quit IRC
16:17:03 *** mathiaslin has quit IRC
16:18:01 *** mathiaslin has joined #openmrs
16:19:02 *** goutham has joined #openmrs
16:27:49 *** gbastien has joined #openmrs
16:30:43 *** rahul_ has joined #openmrs
16:31:36 *** goutham has quit IRC
16:32:10 *** gbastien has quit IRC
16:33:01 *** rahul_ has quit IRC
16:33:40 *** goutham has joined #openmrs
16:39:01 *** rahul_ has joined #openmrs
16:46:06 *** gbastien has joined #openmrs
16:50:17 *** gbastien has quit IRC
16:50:56 *** rahul_ has quit IRC
16:51:19 *** mathiaslin has quit IRC
16:53:27 *** rahul_ has joined #openmrs
16:54:24 *** gbastien has joined #openmrs
16:54:52 <rahul_> help
16:58:40 *** gbastien has quit IRC
17:01:22 *** goutham has quit IRC
17:02:07 *** rahul_ has left #openmrs
17:02:36 *** rahul_ has joined #openmrs
17:08:28 *** aja has joined #openmrs
17:10:22 *** goutham has joined #openmrs
17:12:56 *** gbastien has joined #openmrs
17:17:17 *** gbastien has quit IRC
17:17:30 *** goutham has quit IRC
17:28:34 <rafa> bwolfe: Hi Ben, I'm confused with my current developer status. Do I have commit rights just to my module or all the rest as well? It's Rafal Korytkowski, username: raff ;)
17:30:50 *** gbastien has joined #openmrs
17:33:22 *** rahul_ has quit IRC
17:35:51 *** gbastien has quit IRC
17:41:27 *** gbastien has joined #openmrs
17:45:38 *** gbastien has quit IRC
17:57:29 <bwolfe> rafa: you are a 'partial committer' http://wiki.openmrs.org/display/docs/Subversion+Code+of+Conduct
17:57:32 <OpenMRSBot> <http://ln-s.net/8ST5> (at wiki.openmrs.org)
17:58:38 *** gbastien has joined #openmrs
17:59:51 <Echidna> hey bwolfe, you guys keep a separate branch for each minor version, right?
17:59:56 *** bwolfe has quit IRC
18:00:02 <Echidna> curses
18:00:02 *** pascal` has quit IRC
18:00:09 *** bwolfe has joined #openmrs
18:00:09 *** ChanServ sets mode: +o bwolfe
18:00:15 <bwolfe> Echidna: yes
18:00:16 <Echidna> wb
18:00:31 <Echidna> bwolfe: how long do you keep them around
18:00:38 <bwolfe> until they go EOL
18:00:43 <Echidna> ok
18:01:01 <bwolfe> http://wiki.openmrs.org/display/RES/Unsupported+Releases+%28EOL%29
18:01:04 <OpenMRSBot> <http://ln-s.net/8STB> (at wiki.openmrs.org)
18:01:13 <Echidna> so what speaks against developing new features in trunk while having a stable branch for the current stable version
18:01:19 <Echidna> not for openmrs, i mean in general
18:03:57 <bwolfe> Echidna: I don't get your question
18:07:00 <Echidna> bwolfe: i mean you keep several stable branches because you still offer support for those versions?
18:07:08 <bwolfe> right
18:07:25 <Echidna> whereas if you only support the latest stable, it's ok to just have one "stable" branch?
18:07:30 <bwolfe> and the only things 'backported' to those other branches are (usually small) bug fixes
18:07:55 <bwolfe> yeah, we only supported one version for a little while
18:08:22 <bwolfe> but with EMRs the data is sacred, so people don't always want to upgrade...but they do need some bugfixes
18:10:24 <Echidna> yea
18:10:47 <Echidna> and modules are rarely forward compatible
18:19:22 *** bwolfe_ has joined #openmrs
18:19:22 *** ChanServ sets mode: +o bwolfe_
18:23:00 *** bwolfe has quit IRC
18:23:02 *** bwolfe_ is now known as bwolfe
18:23:33 *** rafa has quit IRC
18:26:39 *** gbastien has quit IRC
18:28:53 *** rafa has joined #openmrs
18:40:50 *** gbastien has joined #openmrs
18:45:10 *** gbastien has quit IRC
18:57:28 *** aja has quit IRC
18:58:18 *** gbastien has joined #openmrs
19:02:39 *** gbastien has quit IRC
19:08:14 *** x-ian has joined #openmrs
19:15:44 *** gbastien has joined #openmrs
19:19:43 *** dkayiwa has quit IRC
19:20:29 *** gbastien has quit IRC
19:33:17 *** gbastien has joined #openmrs
19:37:37 *** gbastien has quit IRC
19:42:41 *** x-ian_ has joined #openmrs
19:44:06 *** x-ian has quit IRC
19:44:09 *** x-ian_ is now known as x-ian
19:48:21 *** x-ian_ has joined #openmrs
19:50:30 *** x-ian has quit IRC
19:50:31 *** x-ian_ is now known as x-ian
19:50:44 *** gbastien has joined #openmrs
19:55:36 *** gbastien has quit IRC
20:08:34 *** gbastien has joined #openmrs
20:12:50 *** gbastien has quit IRC
20:17:54 *** robbyoconnor has joined #openmrs
20:17:54 *** ChanServ sets mode: +v robbyoconnor
20:23:51 *** dkayiwa has joined #openmrs
20:26:26 *** gbastien has joined #openmrs
20:31:10 *** rafa has quit IRC
20:31:17 *** gbastien has quit IRC
20:35:40 *** misha680 has joined #openmrs
20:35:45 *** ChanServ sets mode: +v misha680
20:36:11 <misha680> could someone enlighten me on the fn: prefix in Javascript? Specifically, if I would like to nest two fn:replace statements, what exactly would I do? Thank you
20:37:20 *** suhothayan has joined #openmrs
20:39:19 *** suhothayan has quit IRC
20:40:32 *** suho has quit IRC
20:41:25 <bwolfe> misha680: fn isn't a javascript thing, its a jsp thing
20:51:23 <misha680> bwolfe: thx. I did one replace in jsp and then just did myvar = myvar.replace(/ .*/, "") to get rid of stuff after a space; thx
20:52:35 <bwolfe> you can nest the fn statements, just don't use fn: or curly braces in the second one (I think)
20:52:47 <bwolfe> I vaguely remember doing this at some point in openmrs, but maybe not
21:05:02 *** gbastien has joined #openmrs
21:05:03 *** chopin has joined #openmrs
21:05:03 *** ChanServ sets mode: +v chopin
21:05:09 <chopin> heyya misha680
21:05:22 <chopin> are you working on a maven archetype for building openmrs modules?
21:06:40 <misha680> chopin: sorry, right now I'm at PIH so I'm on PIH priorities. Right now trunk-286, already did trunk-383, next is some changes/fixes to spreadsheetimport module for one of our affiliates. I am currently taking marching orders from Mike Seaton ;)
21:07:02 <chopin> misha680: no problem! i was just wondering if you had something started i might test out
21:08:31 <bwolfe> chopin: just put a bug in mike's ear to put it on misha's todo list. ;-)
21:09:41 *** gbastien has quit IRC
21:09:45 <misha680> chopin: there was something in the ticket but yeah Mike would be the man to go to (my apologies to poor Mike)
21:10:06 <chopin> bwolfe: haha ok ... misha680: i'll check out TRUNK-1733 and see what happens on my instance
21:10:06 <chopin> thanks
21:21:07 *** x-ian has quit IRC
21:22:59 *** gbastien has joined #openmrs
21:24:01 *** x-ian has joined #openmrs
21:25:25 *** rafa has joined #openmrs
21:27:14 *** gbastien has quit IRC
21:32:59 *** x-ian has quit IRC
21:39:14 *** x-ian has joined #openmrs
21:40:12 *** gbastien has joined #openmrs
21:44:43 *** gbastien has quit IRC
21:51:57 *** gbastien has joined #openmrs
21:53:01 *** x-ian has quit IRC
21:56:41 *** jonthelin has joined #openmrs
21:56:45 <jonthelin> hi
21:56:46 *** gbastien has quit IRC
21:56:54 <bwolfe> hi jonthelin
21:57:47 <jonthelin> We are thinking of using OpenMRS as part of a project that we are working on
21:58:24 <jonthelin> We have OpenMRS up and running on our computer, but we don't know how to import an existing dictionary into the system
21:58:27 <jonthelin> Is there a way to do this?
21:58:50 <bwolfe> jonthelin: what form is the existing dictionary in?
22:08:26 *** gbastien has joined #openmrs
22:12:37 *** gbastien has quit IRC
22:22:03 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #17969: [Ben Wolfe] Fixing unit test for FieldFormController - TRUNK-1929 <http://feedproxy.google.com/~r/OMRStrunk/~3/0aKi23uTEDI/>
22:24:55 *** jonthelin has quit IRC
22:25:50 *** gbastien has joined #openmrs
22:29:43 *** Intricate has joined #openmrs
22:30:10 *** gbastien has quit IRC
22:31:13 *** rafa has quit IRC
22:31:52 *** chopin has quit IRC
22:32:10 <misha680> hi guys. if we have two methods that are similarly named with different parameter inputs, and we add unit tests to them, how should we name them. i.e., if one is called methodname_shoulddosomething then the other one could be called methodname2_shoulddosomething e.g.?
22:32:49 *** jonthelin has joined #openmrs
22:32:53 <jonthelin> Hello
22:33:03 <bwolfe> hi again jonthelin
22:33:05 <jonthelin> I was on here with a question earlier but was disconnected due to connection problems
22:33:07 <jonthelin> Sorry about that
22:33:15 <jonthelin> The database is in the form of a csv file
22:33:28 <jonthelin> The dictionary, I mean
22:33:30 <bwolfe> misha680: that should work. it doesn't have to be an exact science
22:33:52 <misha680> bwolfe: ok cool thx
22:33:53 <bwolfe> you can put the difference in the javadoc comment. to say which one it is actually testing
22:35:09 <misha680> bwolfe: thx
22:35:27 <bwolfe> jonthelin: hmm, csv? thats not so helpful. :-/
22:35:46 <bwolfe> jonthelin: you might be able to use misha680 's spreadsheetimport module :-)
22:36:05 <jonthelin> hm
22:36:36 <jonthelin> Does the module interact with MySQL directly?
22:37:04 <bwolfe> jonthelin: kind of. through the api though. you give it a spreadsheet and tell it what the columns are.
22:37:27 <jonthelin> oh ok
22:37:40 <bwolfe> heading home, be back on later
22:37:48 <jonthelin> ok, thank you for your help
22:41:35 *** jonthelin has quit IRC
22:44:00 *** gbastien has joined #openmrs
22:46:02 *** bwolfe has quit IRC
22:48:40 *** gbastien has quit IRC
22:59:13 *** dkayiwa has quit IRC
23:01:04 *** gbastien has joined #openmrs
23:06:03 *** gbastien has quit IRC
23:18:09 *** Intricate has quit IRC
23:18:20 *** gbastien has joined #openmrs
23:22:45 *** gbastien has quit IRC
23:36:44 *** gbastien has joined #openmrs
23:41:03 *** gbastien has quit IRC
23:54:40 *** gbastien has joined #openmrs
23:59:05 *** gbastien has quit IRC