IRC Chat : 2011-03-11 - OpenMRS

00:25:24 *** Hazamonzo__ has quit IRC
00:28:15 *** Hazamonzo has joined #openmrs
00:36:00 *** dkayiwa has joined #openmrs
00:36:33 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (concept_mappings): concept_mappings: Added CRUD methods for concept reference terms to the API and privilege constants for managing and vie... <http://feedproxy.google.com/~r/OMRStrunk/~3/uluOTWZEgXY/OpenMRS>
03:04:01 *** dkayiwa has left #openmrs
05:02:57 *** ashishmittal has joined #openmrs
05:19:05 *** muthah has joined #openmrs
05:23:22 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2915>
06:34:22 *** upul` has joined #openmrs
06:34:22 *** ChanServ sets mode: +v upul`
06:42:07 *** pascal` has joined #openmrs
06:54:29 *** pascal` has quit IRC
07:08:08 *** pascal` has joined #openmrs
07:18:26 *** ashishmittal has quit IRC
07:31:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Service, DAO, Impl, moduleApplicationContext <http://forum.openmrs.org/viewtopic.php?f=8&t=762#p2916>
07:42:02 *** muthah has quit IRC
07:44:51 *** muthah has joined #openmrs
08:03:27 *** muthah has quit IRC
08:08:01 *** ashishmittal has joined #openmrs
08:08:02 *** muthah has joined #openmrs
08:26:03 *** muthah has quit IRC
08:46:33 *** muthah has joined #openmrs
08:53:37 *** muthah has quit IRC
08:54:09 *** muthah has joined #openmrs
08:54:57 *** muthah has quit IRC
10:43:29 *** goutham has quit IRC
10:55:56 *** ashishmittal has quit IRC
10:59:55 *** rafa has joined #openmrs
11:06:48 *** upul` has quit IRC
11:09:35 *** Dodo_ has joined #openmrs
11:10:43 <Dodo_> hello
11:10:54 <Dodo_> how are you every one?
11:16:17 *** ashishmittal has joined #openmrs
11:16:48 <ashishmittal> robbyoconnor, hi
11:19:19 *** Dodo_ has quit IRC
11:21:45 *** rafa has quit IRC
11:24:13 *** muthah has joined #openmrs
11:27:11 *** mayanks43 has joined #openmrs
11:33:02 *** pascal` has quit IRC
11:53:26 *** rafa has joined #openmrs
12:02:50 *** dkayiwa has joined #openmrs
12:19:42 *** muthah has quit IRC
12:29:55 *** gbastien has joined #openmrs
12:41:46 *** gbastien has quit IRC
12:48:21 *** dkayiwa has quit IRC
12:50:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2917>
13:03:17 *** gbastien has joined #openmrs
13:16:22 *** gbastien_ has joined #openmrs
13:18:24 *** gbastien has quit IRC
13:18:57 *** robbyoconnor has quit IRC
13:26:05 *** gbastien_ has quit IRC
13:39:00 *** dkayiwa has joined #openmrs
13:47:56 *** bwolfe has joined #openmrs
13:47:56 *** ChanServ sets mode: +o bwolfe
13:48:50 <ashishmittal> bwolfe, hi
13:49:24 <bwolfe> hi ashishmittal
13:49:59 <ashishmittal> I have a question regarding the 'Enhance maven archetype' project. Can I ask now?
13:51:41 <bwolfe> sure
13:53:28 <ashishmittal> Are we expected to create an SDK for terminal use like the Atlassian Plugin SDK or do we have to create plugins like 'create-service', etc, which run inside the IDE?
13:53:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2918>
13:55:44 <ashishmittal> I have been working with the openmrs-archetype for creating modules, atlassian sdk for installing plugins and noticed the differences. I have got a good idea as to how it can be implemented. I sent a mail in respect to that yesterday at the mailing list.
13:56:42 <ashishmittal> I got a reply from Darius and Robby mentioning it would be preferred if maven plugins like ' would be created
13:57:12 <ashishmittal> like 'create-service', 'create-dao'
13:57:50 <ashishmittal> Can you give some ideas on this?
13:58:28 <bwolfe> ashishmittal: no one has said they want it in the ide
13:58:40 <bwolfe> everything should be command line and through standard maven
13:59:19 <bwolfe> (if IDEs were smart, they would make a gui that interacts with the maven command line, but I haven't seen that yet for eclipse)
14:00:18 <ashishmittal> I agree, and that is why I have been having a tough time thinking about a way.
14:01:13 <ashishmittal> So is it Atlassian SDK that we have to replicate for maven-related development in openmrs?
14:01:47 <bwolfe> no
14:01:55 <bwolfe> the sdk stuff is a "bonus"
14:02:03 <bwolfe> the real thing to do is the wizards through maven
14:02:16 <bwolfe> but even the atlassian sdk is IDE independent, isn't it?
14:02:20 <bwolfe> or is it linked to eclipse?
14:02:28 <ashishmittal> No it is independent
14:02:33 <bwolfe> ok then. :-)
14:02:37 <ashishmittal> they even have their own maven
14:02:53 <ashishmittal> One more question
14:03:45 <ashishmittal> As mentioned on the ideas page, we need to provide a wizard for different types of modules like services, serviceimpl, etc
14:04:09 <ashishmittal> I did download some different types of modules.
14:05:17 <ashishmittal> What I guess is that we have to create a wizard for taking the user options through a bash script and based on the inputs, we have to invoke the corresponding archetype.
14:06:19 <ashishmittal> There will be different archetypes for different types of modules which will be generating basic modules with different structure and files.
14:06:42 <ashishmittal> Have I got this correct?
14:07:50 <rafa> ashishmittal: Why to bother with bash scripts? Can you say the user to pick up a specific archetype for his task?
14:08:44 <ashishmittal> rafa, that is what happens in the Atlassian SDK where they have single scripts for single types of plugin.
14:09:10 <rafa> ashishmittal: it feels right
14:09:11 <ashishmittal> but since this was mentioned on the ideas page, I decided to make it more generalized.
14:09:44 <ashishmittal> It would be easier if we have different scripts.
14:10:02 <rafa> ashishmittal: how would you write bash scripts that can be executed on windows and linux platforms?
14:10:37 <rafa> ashishmittal: I think it's pretty straightforward to pick up an archetype and go with it
14:10:38 <ashishmittal> well, we can have bat for windows and bash script for linux serving the same purpose.
14:11:01 <rafa> ashishmittal: you would have to maintain both if something changes
14:12:20 <rafa> ashishmittal: don't you consider it a minus?
14:12:25 *** MalteF has joined #openmrs
14:12:25 *** ChanServ sets mode: +v MalteF
14:12:41 <ashishmittal> rafa, this is the disadvantage. But i guess thats the option if we have to proceed with this structure. I noticed this structure in the Atlassian sdk.
14:13:51 <ashishmittal> currently we have to get the archetype code, and install it and then use it in some other directory where we want to generate the module.
14:14:04 <ashishmittal> The scripts automate all the work.
14:14:21 <ashishmittal> From getting the code and generating the module.
14:14:41 <ashishmittal> That speeds up the process to a great extent.
14:17:39 <rafa> ashishmittal: Can't it be done with archetype:generate command?
14:19:08 <ashishmittal> yes, it can be done. but we have to follow the procedure of checking out the archetype and installation of archetype before we can proceed with the archetype:generate.
14:19:19 <ashishmittal> script does it all in one step.
14:19:42 <ashishmittal> and also, the final purpose is to create the sdk for all operations, such that there are scripts for creating modules, jetty run, build, install, etc
14:20:57 <ashishmittal> so that everything happens very fast. We can release an sdk containing maven, so that developers do not have to even install maven or m2eclipse.
14:20:59 <rafa> ashishmittal: I don't think you have to install the archetype first if you specify remote catalog of archetypes with archetypeCatalog parameter
14:21:10 <rafa> ashishmittal: Have you considered it?
14:22:45 <rafa> http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html#archetypeCatalog
14:22:48 <OpenMRSBot> <http://ln-s.net/8apP> (at maven.apache.org)
14:22:58 <ashishmittal> rafa, yes I did consider it. But, this is just a part of the larger thing where everything related to maven and openmrs is automated.
14:23:27 *** mayanks43 has quit IRC
14:23:40 <rafa> ashishmittal: okay, then good. I just wanted to make sure you know your options :) Good luck!
14:24:34 *** downeym has joined #openmrs
14:24:34 *** ChanServ sets mode: +o downeym
14:24:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2919>
14:24:44 <ashishmittal> :) Thanks rafa
14:25:12 *** ChanServ sets mode: +v dkayiwa
14:26:18 <ashishmittal> but it is true, I am trying to catch up with things. This project is definitely much more that automating the process of module creation via archetypes, and that is what I am trying to find that what all is expected out of this before I jump to implementation plans.
14:27:44 <rafa> ashishmittal: you're on a very good way to accomplish it :)
14:28:33 <rafa> ashishmittal: Can archetypes be used to create parts of the code like services and daos?
14:29:29 <ashishmittal> rafa, I haven't got clear with this and that is what I wanted to understand here.
14:29:46 <ashishmittal> I have this question
14:30:49 <ashishmittal> It is mentioned on ideas page that we need to create services, daos, include 'annotation-driven-mvc', etc
14:31:07 <rafa> ashishmittal: I don't know it either, but you have to examine it definitely
14:31:17 <ashishmittal> Can you point me to some link where I can get to know how are they currently implemented?
14:31:50 <rafa> How are services and daos implemented?
14:32:11 <ashishmittal> Are their implementation similar to the basicmodules with just a different structures?
14:33:01 <rafa> Did you check out OpenMRS code?
14:33:11 <rafa> I mean core
14:33:13 <rafa> trunk
14:33:23 <ashishmittal> I mean to ask, when it is said we have to implement a service via archetype, is it some sample service like WebServiceExampleModule?
14:33:46 <ashishmittal> yes I did and have worked on HL7Service and Hl7ServiceImpl
14:34:44 <ashishmittal> I have an idea on what it is and have worked a bit on it
14:35:30 <ashishmittal> but, via archetype we would have to generate a module which would have structure and files similar to existing services which the developer would configure later.
14:35:43 <ashishmittal> Have I got that correct?
14:36:28 <rafa> I'm not responsible for this project and I can only guess here
14:36:41 <rafa> so it's probably better if you consult mentors
14:37:09 <ashishmittal> Sure, thanks for all the help :)
14:39:16 <rafa> you're welcome
14:42:14 <downeym> bwolfe: ping
14:43:46 <bwolfe> ashishmittal: sorry, had a conf call. rafal is right. do most of it in maven, not in separate scripts
14:44:13 <bwolfe> ashishmittal: maven is the 'wizard' and can ask questions about what files to include (thats basically all it would have to do to add a service)
14:44:17 <bwolfe> downeym: pong
14:44:30 <downeym> bwolfe++
14:44:41 <bwolfe> ashishmittal: see the "devexamples" folder for some services
14:44:54 <bwolfe> although I don't think those devexamples have been "mavenized". :-/
14:45:00 <bwolfe> http://wiki.openmrs.org/display/docs/Converting+old+code+to+Maven
14:45:04 <OpenMRSBot> <http://ln-s.net/8apw> (at wiki.openmrs.org)
14:48:45 <ashishmittal> bwolfe, thanks for the link. Ill go through all of it and get back for more questions.
14:54:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2920>
14:55:29 *** bobby_ has joined #openmrs
14:55:41 *** bobby_ has left #openmrs
14:56:43 *** goutham has joined #openmrs
14:57:19 <goutham> hi every one,
14:57:54 <goutham> can any one tell me , How to create a ParentObservation in openmrs.demo server
14:58:36 <bwolfe> an Obs ?
14:58:45 <bwolfe> Manage Observations admin page is a simple way
14:58:47 <goutham> Yes , Obs
14:59:25 *** nribeka has joined #openmrs
14:59:25 *** ChanServ sets mode: +v nribeka
14:59:46 <goutham> actually i am able to create only child observation
14:59:47 <downeym> Hi nribeka and welcome to the #openmrs IRC channel.
15:00:39 <nribeka> hi downeym -bot
15:01:25 <bwolfe> goutham: what do you mean by child observation?
15:01:32 <bwolfe> do you want a obsgroup ?
15:03:25 <goutham> bwolfe , Yes.
15:04:25 <goutham> bwolfe, a observation which returns true for obs.hasGroupMembers() is known as parentObs right?
15:05:46 <bwolfe> goutham: ah yes. the admin page can't do that. thats a KI. https://tickets.openmrs.org/browse/TRUNK-360
15:06:19 <bwolfe> goutham: yes. but it woudl be "parent obs". not "parentObs". :-) its still an Obs, not a different kind of object
15:09:12 *** downeym_ has joined #openmrs
15:09:12 *** ChanServ sets mode: +o downeym_
15:09:38 *** downeym_ has quit IRC
15:09:44 *** downeym_ has joined #openmrs
15:09:44 *** ChanServ sets mode: +o downeym_
15:10:09 *** ashishmittal has quit IRC
15:10:51 *** downeym has quit IRC
15:10:51 *** downeym_ is now known as downeym
15:26:05 <goutham> bwolfe: i read the ticket trunk-360 , one question- When i click "Add New Observation" button at the end of edit encounter page , the new Obs will be child Obs but what will be the parent Obs?
15:26:26 *** downeym_ has joined #openmrs
15:26:26 *** ChanServ sets mode: +o downeym_
15:26:56 <bwolfe> no parent
15:27:00 <bwolfe> its an orphan :-p
15:27:03 <bwolfe> most obs are orphans
15:29:46 *** downeym has quit IRC
15:29:46 *** downeym_ is now known as downeym
15:31:43 <goutham> bwolfe: so that check box will be checked , if that obs is parent Obs.
15:32:32 <bwolfe> which checkbox?
15:34:10 <goutham> bwolfe: the check box you commented in issue TRUNK-360
15:34:35 <bwolfe> oh
15:34:39 * bwolfe goes and rereads it
15:35:37 <bwolfe> ah yes. it will be a parent
15:35:45 <bwolfe> but really to be a parent you have to have children :-p
15:35:54 <bwolfe> you have to adopt an orphan.
15:35:55 <bwolfe> heh
15:36:02 <goutham> :)
15:36:13 <bwolfe> so the checkbox woudl let the person input the other obs that are the children
15:40:02 <goutham> bwolfe : ok.. so on-selecting the check box there should be a popup coming and showing all observations and.. he should be able to select what ever he want.. right?
15:40:30 <bwolfe> yes, something like that
15:40:43 <bwolfe> I envision something like the Edit Concept screen and the "is set" checkbox
15:40:59 <bwolfe> the problem is I don't think we have an obs autocomplete/search yet
15:46:43 <goutham> bwolfe : yes.. so what you suggest? can we use the manage Observation page code in a way here by searching Obs by person and selecting a Obs from Result Set into Parent Obs group list
15:51:28 <bwolfe> sure
15:52:37 <goutham> Ok.. i will try seeing it
15:52:44 <goutham> Thank you
15:57:14 *** goutham has quit IRC
15:59:58 *** bwolfe has quit IRC
16:02:18 *** rafa has quit IRC
16:09:09 *** pascal` has joined #openmrs
16:10:27 *** ashishmittal has joined #openmrs
16:13:18 *** bwolfe has joined #openmrs
16:13:18 *** ChanServ sets mode: +o bwolfe
16:20:56 *** rafa has joined #openmrs
16:24:03 *** mayanks43 has joined #openmrs
16:30:07 *** rafa has quit IRC
17:03:16 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Service, DAO, Impl, moduleApplicationContext <http://forum.openmrs.org/viewtopic.php?f=8&t=762#p2921>
17:06:18 *** MalteF has quit IRC
17:23:08 *** pascal` has quit IRC
17:33:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: org.hibernate.MappingException : Unknown Entity? <http://forum.openmrs.org/viewtopic.php?f=2&t=768#p2924> || OpenMRS Forum: Re: How do I setup Patient Identifier <http://forum.openmrs.org/viewtopic.php?f=9&t=760#p2923> || OpenMRS Forum: Re: embedding a java applet in a jsp file <http://forum.openmrs.org/viewtopic.php?f=11&t=761#p2922>
17:40:41 *** Echidna has quit IRC
17:44:38 *** Echidna has joined #openmrs
17:44:38 *** ChanServ sets mode: +v Echidna
18:08:46 *** ashishmittal has quit IRC
18:26:36 *** mayanks43 has left #openmrs
18:40:04 *** bwolfe_ has joined #openmrs
18:40:04 *** ChanServ sets mode: +o bwolfe_
18:40:45 *** bwolfe has quit IRC
19:07:46 *** bwolfe_ is now known as bwolfe
19:30:56 *** dkayiwa has quit IRC
19:33:17 *** dkayiwa has joined #openmrs
19:39:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Counting before Advice Error . how can it handle <http://forum.openmrs.org/viewtopic.php?f=8&t=767#p2925>
19:52:37 *** downeym has left #openmrs
19:52:45 *** downeym has joined #openmrs
19:52:45 *** ChanServ sets mode: +o downeym
19:52:45 *** downeym has left #openmrs
20:08:07 *** downeym has joined #openmrs
20:08:07 *** ChanServ sets mode: +o downeym
20:52:43 *** downeym has quit IRC
20:55:34 *** gbastien has joined #openmrs
20:59:24 *** downeym has joined #openmrs
20:59:24 *** ChanServ sets mode: +o downeym
21:25:14 *** gbastien has quit IRC
21:35:58 *** downeym has quit IRC
21:57:24 *** deadpool has joined #openmrs
22:06:38 *** nribeka has quit IRC
22:08:08 *** robbyoconnor has joined #openmrs
22:08:08 *** ChanServ sets mode: +v robbyoconnor
22:10:11 *** bwolfe has quit IRC
22:36:09 *** rafa has joined #openmrs
22:52:20 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (1.8.x): Fixing TRUNK-2100 - Upgrading to 1.8 fails if your scheduler_task_config table doesn't have a default value for date_cre... <http://feedproxy.google.com/~r/OMRStrunk/~3/JJjcH-j0sDQ/OpenMRS> || New Changeset: OpenMRS (trunk): Fixing TRUNK-2100 - Upgrading to 1.8 fails if your scheduler_task_config table doesn't have a default value for date_cre... <http://feedproxy.google.com/~r/OMRStrunk/~3/mYQbNGb1cZw/OpenMRS>
22:53:59 *** dkayiwa has left #openmrs
23:16:04 *** bwolfe has joined #openmrs
23:16:04 *** ChanServ sets mode: +o bwolfe
23:21:20 *** rafa has quit IRC
23:59:52 *** nribeka has joined #openmrs
23:59:52 *** ChanServ sets mode: +v nribeka