Hi Richard, Are you able to flesh out the use-case a little more?
As Diego has said, cross element constraint is supported by the ADL spec but not by any of the editing tools at the moment. This is not really my field but I think part of the problem is coming up with a rules formalism that can be interpreted by downstream systems In practice I have found that most of the cross-element constraint rules issues are actually required at template level and are cross-archetype ( The classic BMI calculation). This is an area where GDL (http://www.openehr.org/downloads/ds_and_guidelines) is seen as the best solution by most implementers. I am not too familiar with GDL but it might well be possible to use GDL for your purpose Ian Dr Ian McNicoll mobile +44 (0)775 209 7859 office +44 (0)1536 414994 skype: ianmcnicoll email: ian at freshehr.com twitter: @ianmcnicoll Director, freshEHR Clinical Informatics Director, openEHR Foundation Director, HANDIHealth CIC Hon. Senior Research Associate, CHIME, UCL On 14 January 2015 at 09:31, Kavanagh Richard (HEALTH AND SOCIAL CARE INFORMATION CENTRE) <richard.kavanagh at hscic.gov.uk> wrote: > Hello all, > > > > Within an openEHR archetype we have a scenario where we have two elements > that need to be coded. Element01 and Element02 > > > > Element01 can take on values ?01?,?02?,?03?,04? > > Element02 can take on a subset of values from superset ?A? thru ?Z?, > depending on the value of Element01 > > > > How do we express this in an Observation archetype? Is it possible > > > > thanks > > Richard Kavanagh > Head of Data Standards > Architecture, Standards & Innovation > > Health and Social Care Information Centre > Richard.Kavanagh at hscic.gov.uk > http://www.hscic.gov.uk > > > > > ******************************************************************************************************************** > > This message may contain confidential information. If you are not the > intended recipient please inform the > sender that you have received the message in error before deleting it. > Please do not disclose, copy or distribute information in this e-mail or > take any action in reliance on its contents: > to do so is strictly prohibited and may be unlawful. > > Thank you for your co-operation. > > NHSmail is the secure email and directory service available for all NHS > staff in England and Scotland > NHSmail is approved for exchanging patient data and other sensitive > information with NHSmail and GSi recipients > NHSmail provides an email address for your career in the NHS and can be > accessed anywhere > > ******************************************************************************************************************** > > _______________________________________________ > openEHR-clinical mailing list > openEHR-clinical at lists.openehr.org > http://lists.openehr.org/mailman/listinfo/openehr-clinical_lists.openehr.org

