Hi Sam, Thanks for your answer.
That's exactly what I've tried to do, look for a constraint to the reference range of a Quantity. I think I can extend my templates to support this requirement, may be using the Assertion model. I'm using a custom template model. I have seen the datatype model, that's exactly what I whant to define with archetype/template model (if it's the right place to do it, now I see the archetypes are not a good place to do so). Thanks a lot! Cheers, Pablo. From: sam.he...@oceaninformatics.com To: openehr-technical at openehr.org; openehr-clinical at openehr.org Subject: RE: Modeling reference ranges Date: Tue, 13 Oct 2009 08:42:33 +0930 Hi Pablo The issue is that you do not see the reference model attributes in the archetype editor. A Quantity data type has a normal range and other reference ranges built in. We do not set the reference ranges in archetypes as these vary and archetypes are the absolute statement about things (what could possibly be true ever, anywhere). So it is in the form or data that you will get access to the reference range. You could set it in a template (not possible in our tools as yet). Generally the reference ranges come with the results from the lab or a dynamic depending on gender, age etc. I hope this is helpful ? have a look at the data type specs for clarification. The UML is at: http://www.openehr.org/uml/release-1.0.1/Browsable/_9_0_76d0249_1109599337877_94556_1510Report.html You will see an optional normal_range and 0..* other reference ranges as part of a root abstract class DV_ORDERED Cheers, Sam From: openehr-technical-boun...@openehr.org [mailto:openehr-technical-bounces at openehr.org] On Behalf Of pablo pazos Sent: Tuesday, 13 October 2009 8:02 AM To: openehr-clinical at openehr.org; openehr-technical at openehr.org Subject: Modeling reference ranges Hi, I'm playing around with archetypes trying to model an observation and its reference ranges, I mean something like "blood pressure" and some range to define what is "hypertension", but I can't found an archetype that defines a reference range for an observation. Any one has experience in modeling something like this? An archetype is the correct place to define a reference range for an observation value? Any ideas? Thak you! Cheers, Pablo Pazos Gutierrez Windows Live: Keep your friends up to date with what you do online. _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail?. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20091013/b9b7b7fb/attachment.html>