Improvement proposals to the Archetype Editor

2012-07-10 Thread Ian McNicoll
Hi Pablo,

Sorry for the delay. Heather reminded me that we had forgotten to
respond to (3).

CKM has a set of webservices documented at

http://www.openehr.org/wiki/display/healthmod/CKM+Webservices

The Archetype Editor uses these services if you activate 'Enable
Internet search' via Tools -> Options

Ian

On 24 June 2012 06:41, pablo pazos  wrote:
> Hi!
>
> I have some proposals that might improve some aspects of the AE:
>
> 1. For composition archetypes
>
> - by default start on the "content" area instead of the "context" area.
> (some of my students have problems with this, and defined the internal
> structure of the composition inside the context.other_context structure, and
> that structure sshould be on composition.content).
> - allow to define sections and entries directly on the "content" instead of
> only allow slot definitions. (when prototyping complete archetypes are very
> useful, i.e. archetypes without slots that model complete clinical documents
> with only one adl file).
>
> 2. Spanish translation improvement
>
> - the translation is very poor, how can I translate the GUI terms? (Thomas
> told me how to do it some time ago, I can't find his instructions)
>
> 3. The AE is capable of consuming web services
>
> - is there some way to do a search on the AE GUI that consumes a search
> service on the CKM to find, download and edit/specialize archetypes from the
> CKM directly from the AE?
>
> 4. Add DV_IDENTIFIER as a type for ELEMENT.value
>
> - it's not possible to define a constraint to DV_IDENTIFIER and I think this
> is a valid archetypable class that can be used in many situations. Now some
> archetypes uses DV_TEXT or DV_CODED_TEXT to model identifiers and those
> should be modelled using DV_IDENTIFIER.
>
> What do you think?
>
>
> --
> Kind regards,
> Ing. Pablo Pazos Guti?rrez
> LinkedIn: http://uy.linkedin.com/in/pablopazosgutierrez
> Blog: http://informatica-medica.blogspot.com/
> Twitter: http://twitter.com/ppazos
>
> ___
> openEHR-implementers mailing list
> openEHR-implementers at lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-implementers_lists.openehr.org



-- 
Dr Ian McNicoll
office +44 (0)1536 414 994
fax +44 (0)1536 516317
mobile +44 (0)775 209 7859
skype ianmcnicoll
ian.mcnicoll at oceaninformatics.com

Clinical Modelling Consultant, Ocean Informatics, UK
Director openEHR Foundation  www.openehr.org/knowledge
Honorary Senior Research Associate, CHIME, UCL
SCIMP Working Group, NHS Scotland
BCS Primary Health Care  www.phcsg.org



HL7 ANY type

2012-07-10 Thread Sam Heard
HI Bert
Heath is away but he will share with you that we have been taking the 
same approach. LOINC codes or name values are the basis for our queries 
when there is no specific archetype. So we have the path to the values, 
but use the names of the elements for queries.
Cheers, Sam

On 10/07/2012 8:19 AM, Thomas Beale wrote:
> On 09/07/2012 22:41, Bert Verhees wrote:
>> Op 09-07-2012 17:15, Seref Arikan schreef:
>>> implementation, that would be a big set of data, which you'd have to 
>>> downcast in your own implementation and apply filters.. Would you 
>>> like to discuss your use case in more detail? 
>> Hi Seref,
>>
>> Thanks for your interest.
>>
>> The use case is about, that we need to write a set of archetypes 
>> which is usable as datastorage for a HL7 VMR-model in a 
>> decision-system. In this model, there is an ObservationResult with 
>> type ANY to hold the observation-value.
>> The only query-able solution we can find is to specialize the 
>> archetype to common situations. We have, for example an 
>> ObservationResult related to pregnancy, in a specialized archetype.
>> Depending on the kind of DataValue, there are other attributes.
>
> Hi Bert,
>
> well, the whole idea of archetypes is that you know what particular 
> data configurations are actually being created, out of the billions of 
> ones possible from the statically declared information model. With no 
> archetypes, then you just have the information model, and you can 
> query on that, but you have no idea what you are going to pick up 
> because you don't know what your data are. But nothing technically 
> prevents you from putting in paths that assume e.g. 
> ObservationResult.value is a PQ, i.e. .../value/units or whatever it 
> comes out to be.
>
>>
>> The customers/users, however are not happy with this. They wonder how 
>> it is be done in HL7, of they have the same problem. I don't know, 
>> does someone know?
>
> there's no problem here - it is how any information system works - if 
> there are no archetypes, you just end up querying on the static 
> information model and hope for the best.
>
>>
>> What would be a good solution, it would be good also if AQL had a 
>> solution to query the type of a datavalue, and than it would be 
>> possible to query the value, depending on the type, there would be 
>> another attribute to query.
>
> at the moment this would not generally be possible, because it would 
> rely on the concrete persisted form of the objects including their 
> data type (i.e. 'class name'). The openEHR RM doesn't mandate this, 
> although someone might add it to there private persistence solution. 
> If it were there e.g. if  you added an attribute to LOCATABLE like 
> rm_type: String and then query on that.
>
> Why not just use archetypes and templates? This achieves the same 
> result in a better way. Even if your archetypes are generic for 
> attributes like the above one, obviously some particular data type was 
> chosen at run time. You can include in your archetype all sensible 
> alternatives for the attribute in question, each with its own at-code. 
> Then when the data are stored, they will have the at-code of the 
> actual archetype node used, i.e. the TS or PQ node or whatever. That 
> means you can build an AQL query for exactly that data object.
>
> - thomas
>
>
> ___
> openEHR-technical mailing list
> openEHR-technical at lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org 
>
>