Including reference range in archetypes

Ian McNicoll ian at
Thu Apr 13 04:22:45 EDT 2017

Hi Dileep,

This is a common scenario, that right now is mostly handled in application

My understanding of normal_range/reference_ranges (part of the quantity
model) is that these are intended to carry the normal ranges that apply to
a biological observation such as lab_test or perhaps imaging_ exam, rather
than (as in your case) a sort of rule that is applied to caclulate or
categorise risk.

The most high profile comparable example I know of , is the NEWS score.

Archetype at NEWS (UK RCP), Published archetype [Internet]. openEHR
Foundation, openEHR Clinical Knowledge Manager [cited: 2017-04-13].
Available from:

Rules at

I would expect a UI to colour-code each component in a similar fashion, to
indicate potential risk.

You might want to explore GDL, which is an extension to openEHR that acts
as a glue layer between archetypes and those sort of rules.

There is also some interest in folding aspects of GDL inside archetypes as
part of the 'rules' aspect of ADL. One of the barriers to getting this
working at scale, is deciding what 'vendor-neutral' rules definition
language to use. Not everyone is a fan of javascript but I do see some
potential in this space given its ubiquity in the market.

I'm not sure I have answered your question!!



Dr Ian McNicoll
mobile +44 (0)775 209 7859
office +44 (0)1536 414994
skype: ianmcnicoll
email: ian at
twitter: @ianmcnicoll

Co-Chair, openEHR Foundation ian.mcnicoll at
Director, freshEHR Clinical Informatics Ltd.
Director, HANDIHealth CIC
Hon. Senior Research Associate, CHIME, UCL

On 12 April 2017 at 11:36, Dileep V S <dileep at> wrote:

> Hi,
> I am trying to create an archetype that screens for health risks. All the
> questions have ordinal data. Based on the values selected for the
> questions, the consolidate risk value is calculated.
> I want the UIi to display appropriate warnings (coloring the risk value
> etc) based on a reference range for the value. How can I include the
> reference range in the archetype so that the UI can read that and display
> the warnings?
> thanks for the help
> regards
> Dileep V S
> *Founder*
> HealtheLife Ventures LLP
> m: +91 9632888113 <+91%2096328%2088113>
> a: 103, Innovation Centre, IIIT, Electronics City, Bangalore 560100
> w:  e: dileep at
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openEHR-technical mailing list