Archetype class
Hello, I was wondering whether there is a way to change one archetype class to another; for instance to 'save as' a CLUSTER archetype as an OBSERVATION (different class of archetype, the same items) Best Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.ait.gu.se/kontaktaoss/personal/hajar-kashfi/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20110111/9df33946/attachment.html
opereffa ArchetypeWrapper and unit types
Hello, As far as I understand, in opereffa, unit of an item is not retreived from the ADL file and should be set manually like : pArchetypeWrapper.getElementAtNode(path).setUnitOfQuantity(); Am I missing something here, or is it the way it works? I think since the unit and type of each item is already stored in the ADL file, while parsing the ADL file to the ArchetypeWrapper, these types of information should be set automatically in ElementWrappers in that ArchetypeWrapper. Best Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.ait.gu.se/kontaktaoss/personal/hajar-kashfi/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20110111/fd553196/attachment.html
GUI-directives/hints again (Was: Developing usable GUIs)
Dear Tim, Thank you for your response Could you please provide me with more detail about this? Would it need manual adjustment of any css/style file or would it be totally dynamic? Is it based on the templates, archetypes, or both? I am trying to summarize the answers from different contributors, so that we can have a better image of the situation when it comes to GUI generation. Best Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.ait.gu.se/kontaktaoss/personal/hajar-kashfi/ On Dec 1, 2010, at 10:45 AM, Tim Cook wrote: Hi Pariya, On Wed, 2010-12-01 at 09:53 +0100, Pariya Kashfi wrote: Attached to this email you may find a GUI prototype of a clinical application. The GUI includes various tabs, trees for presenting various categories of items and so on. My very specific question is Is it possible to create such GUIs applying existing tools/frameworks? I can only speak for OSHIP. But the answer is yes. Cheers, Tim -- *** Timothy Cook, MSc Project Lead - Multi-Level Healthcare Information Modeling http://www.mlhim.org LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook Skype ID == timothy.cook Academic.Edu Profile: http://uff.academia.edu/TimothyCook You may get my Public GPG key from popular keyservers or from this link http://timothywayne.cook.googlepages.com/home -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20101203/b6a8e47d/attachment.html
GUI-directives/hints again (Was: Developing usable GUIs)
Hi, From your response, my understanding is that one can generate such a GUI in OSHIP, but is also needs manual adjustments to reach the ideal GUI design. I'm not sure if I understand your last phrase. Do you mean considering design guidelines while generating GUIs? Best Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.ait.gu.se/kontaktaoss/personal/hajar-kashfi/ On Dec 3, 2010, at 10:35 AM, Tim Cook wrote: On Fri, 2010-12-03 at 10:21 +0100, Pariya Kashfi wrote: Dear Tim, Thank you for your response Could you please provide me with more detail about this? Would it need manual adjustment of any css/style file or would it be totally dynamic? Well, you can generate dynamic UIs; but I really doubt that they are useful in any real world situation. :-) Is it based on the templates, archetypes, or both? Archetype based; with a layer of templating for local constraints. I am trying to summarize the answers from different contributors, so that we can have a better image of the situation when it comes to GUI generation. Have you considered that it would be a good idea to conform to MSCUI? --Tim -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20101203/b942dd17/attachment.html
Developing usable GUIs
Hi there, Linked to this email you may find a GUI prototype of a clinical application. The GUI includes various tabs, trees for presenting various categories of items and so on. My very specific question is Is it possible to create such GUIs applying existing tools/frameworks? http://www.openehr.org/wiki/download/attachments/18284548/new.png For more information please visit the wiki page: http://www.openehr.org/wiki/display/projects/Developing+usable+GUIs+using+openEHR+implementations Best Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.ait.gu.se/kontaktaoss/personal/hajar-kashfi/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20101201/53a35b21/attachment.html
a-path and values
Hi again, I've traced the problem to this point: __ (class QuantityWrapper) public Object getValue() { // TODO: should be context dependent- return default val or actual etc.. QuantityInfo info = new QuantityInfo(); if(!wrappedObject.isAnyAllowed()){ //a cdv quantity has a list which contains cdvquantityitems ListCDvQuantityItem qitems = ((CDvQuantity)wrappedObject).getList(); String currentUnit = null; if(!(qitems == null || qitems.size() 1)){ String[] items = getUnitsForWrappedQuantity(); for(String s : items){ info.units.add(s); } //TODO for the moment, I can't see how I can get the current unit? so I'm using //the first one... info.setCurrentUnit(info.units.get(0)); } } if (dataValue != null){ String magnitude = String.valueOf(((DvQuantity)dataValue).getMagnitude()); //*** HERE WE SHOULD SET THE CURRENT VALUE BUT WE DONOT *// info.setMagnitude(magnitude); } else info.setMagnitude(); return info; } ___ So the problem is that for any row I retreive from DB (any quantity item) the currentUnit is null which prevents getGUITestString() of sending the proper String which is magnitude + unit I do not actually understand the logic of this piece of code... -Pariya On Mar 26, 2010, at 3:02 PM, Pariya Kashfi wrote: Hi there, I'm trying to save and load archetype data for a sample observation which includes boolean and quantity as well. . String cellDifferentiation = /data[at0001]/events[at0002]/ data[at0003]/items[at0006]/items[at0069]/value; String ana = /data[at0001]/events[at0002]/data[at0003]/ items[at0006]/items[at0063]/value/value; String ra = /data[at0001]/events[at0002]/data[at0003]/items[at0006]/ items[at0064]/value/value; . pArchetypeWrapper .getElementAtNode(cellDifferentiation).setMagnitudeOfQuantity(100); pArchetypeWrapper .getElementAtNode(cellDifferentiation).setUnitOfQuantity(ml); pArchetypeWrapper.getElementAtNode(ana).setBooleanValue(False); pArchetypeWrapper.getElementAtNode(ra).setBooleanValue(True); I'm actually able to save data in DB but when I run the sample opereffa code to load and print data into console, .. wrapperToLoadData.loadFromPOJO(archetypeDatas); System .out.println(wrapperToLoadData.getRootWrapper().getGUITestString()); But I can just retrieve boolean values. it sounds somewhere I loose value (numbers) for quantity elements... Any idea about the reason? Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar ATT1..txt Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20100327/de74f2a9/attachment.html
a-path and values
Hi there, I'm trying to save and load archetype data for a sample observation which includes boolean and quantity as well. . String cellDifferentiation = /data[at0001]/events[at0002]/ data[at0003]/items[at0006]/items[at0069]/value; String ana = /data[at0001]/events[at0002]/data[at0003]/items[at0006]/ items[at0063]/value/value; String ra = /data[at0001]/events[at0002]/data[at0003]/items[at0006]/ items[at0064]/value/value; . pArchetypeWrapper .getElementAtNode(cellDifferentiation).setMagnitudeOfQuantity(100); pArchetypeWrapper .getElementAtNode(cellDifferentiation).setUnitOfQuantity(ml); pArchetypeWrapper.getElementAtNode(ana).setBooleanValue(False); pArchetypeWrapper.getElementAtNode(ra).setBooleanValue(True); I'm actually able to save data in DB but when I run the sample opereffa code to load and print data into console, .. wrapperToLoadData.loadFromPOJO(archetypeDatas); System .out.println(wrapperToLoadData.getRootWrapper().getGUITestString()); But I can just retrieve boolean values. it sounds somewhere I loose value (numbers) for quantity elements... Any idea about the reason? Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20100326/adec004e/attachment.html
opereffa wrappers
Hi, yes I've seen the link, should read it more carefully though. Actually, I'm trying to find out how one should connect a composition / section archetype to the GUI. In the example on opereffa the archetype is an observation which includes items/values, but for case that we have nested archetypes I have no idea how to do this... Sincerely Pariya On Mar 19, 2010, at 4:52 PM, Seref Arikan wrote: Hi Pariya, Did you see http://www.openehr.org/wiki/display/projects/Opereffa+Project ? Any particular questions? Kind regards Seref On Thu, Mar 18, 2010 at 12:19 PM, Pariya Kashfi hajar.kashfi at chalmers.se wrote: Hi there, Does anyone know if there exist any documentation for opereffa framework? The only thing I could find was the short tutorial on the website Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical ATT1..txt Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20100323/dab250fa/attachment.html
opereffa wrappers
Hi there, Does anyone know if there exist any documentation for opereffa framework? The only thing I could find was the short tutorial on the website Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20100318/42edb481/attachment.html
Item_Tree
Hi all, Where can I use an Item_Tree class? There are some existing Item-Tree s that I want to reuse, but it sounds that I cannot embed them in observation,sections or clusters. What's the aim of creating Item_Tree? Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090602/f00ecd00/attachment.html
Representing knowledge in Archetypes/Templates or external rules
Hi Ian, SECTION.Questionnaire OBSERVATION.PreopQuestionnaire.v1 Relevant medication (DV_CODEDTEXT) Atenolol Y/N Furosemide Y/N Aspirin Y/N How this would be implemented? Just by setting Occurrences to Repeating-Limited 3-3 for Relevant medication (DV_CODEDTEXT) can I have those three Y/N options? How would that be reflected in the GUI? what I can see now is just one time of this drop down list in the GUI represented in the Archetype Editor -Regards Pariya On Jun 1, 2009, at 11:57 AM, Ian McNicoll wrote: Hi Pariya, If I have understood correctly, you are suggesting something like this... Relevant medication Atenolol Y/N Furosemide Y/N Aspirin Y/N This is a typical instance of a 'Questionnaire-type' question. In contrast, all of the current major health information representations use a 'Clinical Statement' pattern. e.g openEHR, HL7v3, Snomed-CT Relevant medication Medication = Atenolol Medication = Furosemide Medication = Aspirin i.e the list is created as a series of assertions, rather than being a set of Y/N answers to a fixed list. For interoperable queryability, it is important that the clinical statement pattern is maintained when the data is persisted e.g Asprin= Y must be mapped to Mediation=Aspirin. Handling the negative e.g. Aspirin=N, is more problematic. In general, clinicians do not need to record negatives for long-term queryability but some negatives need to be recorded for medico-legal purposes and are more common in research questionnaires. Part of the difficulty here is that the use and purpose of questionnaires is often highly localised and the mapping requirements for each Question to an equivalent 'clinical statement' have to be analysed on a case-by-case basis. Just be clear that this is a feature of Questionnaires and not of openEHR - a recent HL7-CDA paper describes an identical problem. Our current working practice is to dual-model a Questionairre within a template, using a single archetype to represent all of the question-type nodes (often within section for clarity) and to model any equivalent clinical statement archetypes in a separate section. e.g. SECTION.Questionnaire OBSERVATION.PreopQuestionnaire.v1 Relevant medication (DV_CODEDTEXT) Atenolol Y/N Furosemide Y/N Aspirin Y/N Relevant diagnoses (DV_CODEDTEXT) Heart disease Y/N Diabetes Y/N SECTION Clinical Statements ACTION.Medication.v1 EVALUATION.problem-diagnosis.v1 Unfortunately, this means that we have to specify how and when each Y/N answer resolves (or not) to a clinical statement. In general questionnaires are horrible but they are a reality in modern clinical recording practice which we have to deal with. I think in future years we will find ways to automate the process a little better. Ian Dr Ian McNicoll office / fax +44(0)141 560 4657 mobile +44 (0)775 209 7859 skype ianmcnicoll ian at mcmi.co.uk Clinical Analyst Ocean Informatics ian.mcnicoll at oceaninformatics.com BCS Primary Health Care Specialist Group www.phcsg.org 2009/6/1 Pariya Kashfi hajar.kashfi at chalmers.se Dear All, I have encountered a question regarding knowledge representation during archetype designing. Let's say a list of some special drugs that patient has used is important for Evaluation. I have two options here: First, to apply one external rule during the data entry, and mark the patient as e.g X-affected. Secondly, to represent this knowledge in Templates/ Archetypes I am designing. It can be in the form of an Item-Tree- Medication-List using internal codes ( to specify medications that may be selected in the drug list). And to check this node at runtime or during evaluation of EHR for storage. It may even be a third option that I have not been considers so far i.d using internal rules (First Order Logic) within archetypes. The first option, sounds more general to me, and the benefit is that whenever I want to update rules, I don't need to change the arcehtypes/templates. And the second option sounds more natural to me in that I express the knowledge in archetypes directly, makes it more understandable for clinicians and can be modeled by themselves. Which one is more acceptable based on openEHR concepts?Do you see any flaws in these solutions?Is there any better idea? Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical ___ openEHR-technical mailing list openEHR-technical at openehr.org http
Representing knowledge in Archetypes/Templates or external rules
Dear All, I have encountered a question regarding knowledge representation during archetype designing. Let's say a list of some special drugs that patient has used is important for Evaluation. I have two options here: First, to apply one external rule during the data entry, and mark the patient as e.g X- affected. Secondly, to represent this knowledge in Templates/ Archetypes I am designing. It can be in the form of an Item-Tree- Medication-List using internal codes ( to specify medications that may be selected in the drug list). And to check this node at runtime or during evaluation of EHR for storage. It may even be a third option that I have not been considers so far i.d using internal rules (First Order Logic) within archetypes. The first option, sounds more general to me, and the benefit is that whenever I want to update rules, I don't need to change the arcehtypes/ templates. And the second option sounds more natural to me in that I express the knowledge in archetypes directly, makes it more understandable for clinicians and can be modeled by themselves. Which one is more acceptable based on openEHR concepts?Do you see any flaws in these solutions?Is there any better idea? Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090601/2cb11fbc/attachment.html
SLots in archetypes
Hello, In archetype-editor one item type is Slot which only accepts archetypes in form of Cluster or Element as constraint on that slot. Is there any way to put a slot for including one Observation in another? Is the only way of putting two Observations together is using templates? Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090529/29079ce8/attachment.html
SLots in archetypes
Hi Ian, Thanks for your response. In my case, I intend to use some existing Archetypes in my own observation. Having one Cluster/section named Status and Signs, I want to put two existing archetypes named Observation: Laboratory Values and Observation:Physical Examination into that. Re-factoring existing archetypes, in this case, doesn't make sense since eliminates the benefits of reusing existing archetypes. _Pariya On May 29, 2009, at 1:15 PM, Ian McNicoll wrote: Hi Pariya, No, it is not possible to nest Observations within slots. The allowable classes for slots are determined by the reference model. There were good reasons for setting this restriction, as allowing nested ENTRY classes intoduces all sorts of complications around the context of the observation, but it can sometimes seem awkward when creating models. In my experience, it is usually straightforward to work around the restriction by refactoring the observation which requires to be nested, as a CLUSTER archetype. Can you give a specific example? Ian Dr Ian McNicoll office / fax +44(0)141 560 4657 mobile +44 (0)775 209 7859 skype ianmcnicoll ian at mcmi.co.uk Clinical Analyst Ocean Informatics ian.mcnicoll at oceaninformatics.com BCS Primary Health Care Specialist Group www.phcsg.org 2009/5/29 Pariya Kashfi hajar.kashfi at chalmers.se Hello, In archetype-editor one item type is Slot which only accepts archetypes in form of Cluster or Element as constraint on that slot. Is there any way to put a slot for including one Observation in another? Is the only way of putting two Observations together is using templates? Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical Regards Pariya MSc; PhD Candidate Department of Computing Science and Engineering Chalmers University of Technology http://www.chalmers.se/cse/EN/people/kashfi-hajar -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090529/c3d1149e/attachment.html
Archetype-triggered events for CDSS
Hi Tim, Thank you for your explanation, may I know more specifically where in archetypes one can put FOL predicates? Should it be added to the XML (or ADL) file , I mean hard coded, or there's a specific node in archetypes for that, or maybe for each item we may have some predicates... Is it something done before or in progress? There's one section in archetypes named Event which I can see using Ocean Arch. Editor, but I don't think that's what you mean. Regards -Pariya On Apr 14, 2009, at 1:25 PM, Tim Cook wrote: On Tue, 2009-04-14 at 12:59 +0200, Pariya Kashfi wrote: Hi all, In the paper Archetype 101 by Heather and Sam, there's a short discussion about CDSS, here comes a quote from it: Intelligent generic decision support programs can rely on archetype-triggered events and for the first time operate in real-time. I wonder what is the exact meaning of Archetype-triggered events. IS any research done in this area before or has any implementation based on that been used in a CDSS so far? Archetypes allow for embedded First Order Predicate Logic therefore in an application they can do some simple internal processing. The Epidemiological Surveillance Support System (EpiS3)[1] has been funded for development (for 3 years, by the INCT-Macc network in Brazil) based on the Python implementation of openEHR; aka. OSHIP[2]. Though background work began last year, the funding is expected to be released within the next few weeks and development in earnest can finally begin. :-) The OSHIP framework also includes event triggering and we will be exploring several options using both of these triggering mechanisms in conjunction forward-chaining inference and Bayesian DSS. [1] https://launchpad.net/epis3 [2] https://launchpad.net/oship/ Regards, Tim -- Timothy Cook, MSc Health Informatics Research Development Services LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook Skype ID == timothy.cook ** *You may get my Public GPG key from popular keyservers or * *from this link http://timothywayne.cook.googlepages.com/home* ** ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical Regards Pariya PhD Student Department of Computing Science and Engineering Chalmers University of Technology http://www.cs.chalmers.se/~hajar.kashfi/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090424/d41a0775/attachment.html
Archetype-triggered events for CDSS
Hi all, In the paper Archetype 101 by Heather and Sam, there's a short discussion about CDSS, here comes a quote from it: Intelligent generic decision support programs can rely on archetype- triggered events and for the first time operate in real-time. I wonder what is the exact meaning of Archetype-triggered events. IS any research done in this area before or has any implementation based on that been used in a CDSS so far? Regards Pariya PhD Student Department of Computing Science and Engineering Chalmers University of Technology http://www.cs.chalmers.se/~hajar.kashfi/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090414/dde49950/attachment.html
Information Model vs AOM
Hi, Thanks to Seref for this comprehensive and very helpful reply. I appreciate it. I had totally missed rm-type-name which with this explanation is now clear for me. P.S: what keeps me going while I'm overwhelmed and confused by all specifications and documents is this mailing list and responsive members like Seref and Thomas ;) -Pariya On Mar 31, 2009, at 11:01 PM, Thomas Beale wrote: just one modification of Seref's comprehensive answer... you can tell what archetypes were used in any top-level entity, i.e. Composition, Party, Directory, EHR Access etc - see the architecture overview. Archetype ids and node ids in the data are all that is needed to reconnect the data with the relevant archetypes (usually via templates; the template id is also in the data, but can be ignored as well). - thomas beale Seref Arikan wrote: Hi Pariya, Comments are inline, and corrections are most welcommed in case I am wrong about any of them :) On Tue, Mar 31, 2009 at 12:49 PM, Pariya Kashfi hajar.kashfi at chalmers.se wrote: Hi, I've three basic questions about IM and AOM: Assuming that a connection between GUI forms and templates( consequently Archetypes) has been established, still the connection between Information Model and Archetype Model is not clear for me. The archetype model is an object model that represents the ADL in an object oriented environment that implements AOM. Let me try to explain with more concrete examples: you have an adl file that describes the structure of an archetype. The adl file describes which RM classes are used in the archetype, and also constraints on them. So ADL says that you have a member with type HISTORY, that should have EVENTs, which conform to following conditions. Now, you need a way of making use of this description to create a model of the clinical concept described in the archetype. The question is how can you use this ADL file, how can you process it to create the described model? So you need to connect the following: (ADL) -- (RM class instances as described in the ADL). The AOM is a well defined method for representing the ADL in an environment where object orientation is supported, like JAVA or C#, or C++. An implementation of ADL therefore gives you a set of objects which you can process in order to make use of the information in the ADL text file. For example, when you parse the following ADL file (only a part of it is given): * archetype (adl_version=1.4) openEHR-EHR-OBSERVATION.soap_investigations_sa.v3draft concept [at]-- SOAP-Objective_Investigation language original_language = [ISO_639-1::en] description original_author = [name] = unknown details = [en] = language = [ISO_639-1::en] purpose = For test purposes use = misuse = lifecycle_state = 0 other_contributors = other_details = [references] = definition OBSERVATION[at] matches {-- SOAP-Objective_Investigation data matches { HISTORY[at0001] matches {-- Event Series events cardinality matches {1..*; unordered} matches { * You can see that the adl above is represented like this in memory (using Eclipse debugger): archetypeArchetype (id=1588) adlVersion1.4 (id=1601) archetypeIdArchetypeID (id=1602) conceptat (id=1604) definitionCComplexObject (id=1605) descriptionResourceDescription (id=1607) inputPathMapHashMapK,V (id=1609) invariantsnull isControlledfalse ontologyArchetypeOntology (id=1610) originalLanguageCodePhrase (id=1612) parentArchetypeIdnull pathInputMapHashMapK,V (id=1614) pathNodeMapHashMapK,V (id=1615) revisionHistorynull translationsnull uidnull ** If you expand the object tree in memory (that is given to you by parser), you'll see that the whole adl file is represented consistently in a well defined way using AM (please check AM pdf in documentation to see how adl is represented) At this point, you have something that describes the exact same thing that ADL describes, only in an object model. So what can you do with it? How do you go from here to RM
Rules in statements
Hi, In Zilics API one can find getRule method both in Section and TemplateLocatable. Invoking that method, I get some out put like this: {/data[at0001]/events[at0026]/data[at0003]/ items [at0007 ]= br .com .zilics .archetypes .models.am.template.openehrprofile.TemplateStatement at 7f4d3272, / data [at0001 ]= br .com .zilics .archetypes .models.am.template.openehrprofile.TemplateStatement at 5698c507} But what I wonder is whether these kinds of paths mean just this part from the referenced Archetype should be included in the Template, or they indicate some kind of specialization-customization- for that item in referenced Archetype? Regards Pariya PhD Student Department of Computing Science and Engineering Chalmers University of Technology http://www.cs.chalmers.se/~hajar.kashfi/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20081211/07e1aa35/attachment.html
Creating GUI based on template xsd file
Hi, I wonder whether there exists any document or hints explaining creating of GUI( I mean forms for data entry by end user) or not. I can parse templates to get used archetypes and continue parsing until reaching to leaf nodes and C_Primitive types then create form entries based on them, but I guess it should be another way to do that uses resolveArchetypes method and finally XSD file created. Regards Pariya PhD Student Department of Computing Science and Engineering Chalmers University of Technology http://www.cs.chalmers.se/~hajar.kashfi/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20081203/9912d0e2/attachment.html
XmlPaser.parseXml
Hi, I am trying to parse a Template using Zilics donated code but for almost all of templates, at least ones which I tried, that exist in OceanInformatics Template folder I receive this parsing error br.com.zilics.archetypes.models.rm.exception.XmlParserException: Invalid namespaces at Does anyone have any idea about it? Is it a problem with templates or should I change something is settings I've tried Parser for Archetypes and it seems there's no problem there Regards Pariya PhD Student Interaction Design Division Department of Computing Science and Engineering Chalmers University of Technology Email: hajar.kashfi at chalmers.se Office:+46 (0)31 7725407 Mobile Phone: +46 (0)707222815 Web: http://www.cs.chalmers.se/~hajar.kashfi/ Visit: Room Simula B, House Svea, Campus Lindholmen Postal adress: Email: hajar.kashfi at chalmers.se Phone: +46 31 772 5407 Office: Room Simula B, House Svea, Campus Lindholmen Postal Address: Chalmers University of Technology, SE- 412 96 Gothenburg, Sweden -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20081120/77940907/attachment.html
XmlPaser.parseXml
I tried one existing Template from Zilic company in resources--xml-- template folder and there's no problem when I run it I wonder if they are based on the same specification, why this happens? On Nov 20, 2008, at 12:20 PM, Pariya Kashfi wrote: Hi, I am trying to parse a Template using Zilics donated code but for almost all of templates, at least ones which I tried, that exist in OceanInformatics Template folder I receive this parsing error br.com.zilics.archetypes.models.rm.exception.XmlParserException: Invalid namespaces at Does anyone have any idea about it? Is it a problem with templates or should I change something is settings I've tried Parser for Archetypes and it seems there's no problem there Regards Pariya PhD Student Interaction Design Division Department of Computing Science and Engineering Chalmers University of Technology Email: hajar.kashfi at chalmers.se Office:+46 (0)31 7725407 Mobile Phone: +46 (0)707222815 Web: http://www.cs.chalmers.se/~hajar.kashfi/ Visit: Room Simula B, House Svea, Campus Lindholmen Postal adress: Email: hajar.kashfi at chalmers.se Phone: +46 31 772 5407 Office: Room Simula B, House Svea, Campus Lindholmen Postal Address: Chalmers University of Technology, SE- 412 96 Gothenburg, Sweden ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical Regards Pariya PhD Student Interaction Design Division Department of Computing Science and Engineering Chalmers University of Technology Email: hajar.kashfi at chalmers.se Office:+46 (0)31 7725407 Mobile Phone: +46 (0)707222815 Web: http://www.cs.chalmers.se/~hajar.kashfi/ Visit: Room Simula B, House Svea, Campus Lindholmen Postal adress: Email: hajar.kashfi at chalmers.se Phone: +46 31 772 5407 Office: Room Simula B, House Svea, Campus Lindholmen Postal Address: Chalmers University of Technology, SE- 412 96 Gothenburg, Sweden -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20081120/7165180f/attachment.html
Description of files from Template Designer?
Hi, I read the Template OM linked in the previous email(from wiki) http://www.openehr.org/wiki/display/spec/openEHR+Templates+and+Specialised+Archetypes , but I couldn't find complete information about Methods, their input values and outputs, etc. In donated java code from Zilic company, there's no documentation either. Can anyone suggest another resource? I need to understand all those methods in detail to be able to create a GUI based on Templates for my application. Regards Pariya On Nov 6, 2008, at 12:39 PM, Ian McNicoll wrote: Hi Olef, I'm sure someone from Ocean with more detailed technical knowledge will give a more precise answer but you might consider using the forthcoming formal openEHR Operational Template specification for this sort of exercise. I have been working with Derek Hoy's Clinical Templates project (www.ClinTemplate.org), which uses a simple web- based approach to gathering clinical data entry requirements and at present uses a custom internal XML format. We are lookng (fairly quickly) to use the openEHR operational Template specificaction (OPT) as the back-end formalism. We think this approach will be much easier as the Oet files only contain the constraints on underlying archetypes (effectively a diff) whilst the OPT format contains the underlying archetypes themeselves and can be easily used to generate XSDs or other artefacts. see http://www.openehr.org/wiki/display/spec/openEHR+Templates+and+Specialised+Archetypes The openEHR specification is very close to completion. It would be interesting to know more about your project. We are aware of a requirement for a data-entry/UI requirements gathering tool which, though based on openEHR templates, goes somewhat beyond their natural domain in capturing further UI requirements and rules. The Clinical Templates work has more of a focus on generic infomation standards capture, rather than specific local data-entry but there is considerable cross-over. Regards, Ian Dr Ian McNicoll office / fax +44(0)141 560 4657 mobile +44 (0)775 209 7859 skype ianmcnicoll ian at mcmi.co.uk Clinical Analyst - Ocean Informatics ian.mcnicoll at oceaninformatics.com Member of BCS Primary Health Care Specialist Group ? www.phcsg.org 2008/11/6 Olof Torgersson oloft at chalmers.se Hi, Sorry if this is the wrong forum. Is there a description somewhere of the oet-files produced by the Ocean Informatics Template Designer? I would like to use the templates in an application as a basis for input forms, but then I need a specification of the file-contents. Regards Olof Torgersson --- Olof Torgersson Associate Professor Department of Computer Science and Engineering Chalmers University of Technology and G?teborg University SE-412 96 G?teborg, Sweden email: oloft at chalmers.se phone: +46 31 772 54 06 ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical ___ openEHR-technical mailing list openEHR-technical at openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical Regards Pariya PhD Student Interaction Design Division Department of Computing Science and Engineering Chalmers University of Technology Email: hajar.kashfi at chalmers.se Office:+46 (0)31 7725407 Mobile Phone: +46 (0)707222815 Web: http://www.cs.chalmers.se/~hajar.kashfi/ Visit: Room Simula B, House Svea, Campus Lindholmen Postal adress: Email: hajar.kashfi at chalmers.se Phone: +46 31 772 5407 Office: Room Simula B, House Svea, Campus Lindholmen Postal Address: Chalmers University of Technology, SE- 412 96 Gothenburg, Sweden -- next part -- An HTML attachment was scrubbed... URL: http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20081118/4443b91a/attachment.html