Hi Dileep,

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

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: http://openehr.org/ckm/#showArchetype_1013.1.2423

Rules at https://www.mdcalc.com/national-early-warning-score-news

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.

http://www.openehr.org/releases/CDS/latest/docs/GDL/GDL.html

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!!

Regards,

Ian

Dr Ian McNicoll
mobile +44 (0)775 209 7859
office +44 (0)1536 414994
skype: ianmcnicoll
email: i...@freshehr.com
twitter: @ianmcnicoll


Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
Director, freshEHR Clinical Informatics Ltd.
Director, HANDIHealth CIC
Hon. Senior Research Associate, CHIME, UCL

On 12 April 2017 at 11:36, Dileep V S <dil...@healthelife.in> 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: healthelife.in  e: dil...@healthelife.in
>
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical@lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to