Archetype Object Model 2 (AOM2)
Acknowledgements
Primary Author
-
Thomas Beale, Ars Semantica, UK; openEHR International Board.
Contributors
This specification and its sibling Archetype Definition Language specification have benefited from wide formal and informal input from the openEHR and wider health informatics community. The openEHR Foundation would like to recognise the following people for their contributions.
-
Koray Atalag, MD, PhD, Sen. Researcher, National Institute for Health Innovation (NIHI), New Zealand
-
Silje Ljosland Bakke, RN, Nasjonal IKT HF, Norway
-
Linda Bird PhD, IHTSDO, Australia
-
Pieter Bos, Senior Software Engineer, Nedap, Netherlands
-
Diego Boscá, IBIME, Technical University Valencia, VeraTech for Health, Spain
-
Rong Chen MD, PhD, Cambio Healthcare Systems, Sweden
-
Joey Coyle MD, PhD, Intermountain Healthcare, New York
-
Borut Fabjan, Program Manager, Better d.o.o., Slovenia
-
Sebastian Garde PhD, Ocean Informatics, UK
-
Peter Gummer, Ocean Informatics, Australia
-
Sam Heard MD, Ocean Informatics, Australia
-
Stan Huff MD, Intermountain Healthcare, UT, USA
-
David Ingram PhD, Emeritus Professor of Health Informatics, UCL, UK
-
Dipak Kalra MD, PhD, Professor Health Informatics, CHIME, UCL, UK
-
Shinji Kobayashi PhD, Kyoto University EHR research unit, Japan
-
Bostjan Lah, Architect, Better d.o.o., Slovenia
-
Patrick Langford, NeuronSong LLC, Utah, USA
-
David Lloyd, CHIME, UCL (ret), UK
-
Chunlan Ma PhD, MD, Ocean Informatics, Australia
-
Ian McNicoll MD, FreshEHR, UK
-
David Moner, IBIME, Technical University Valencia, VeraTech for Health, Spain
-
Claude Nanjo MA African Studies., M Public Health, Cognitive Medical Systems Inc., California
-
Pablo Pazos Gutierrez, Tarmac IT, CaboLabs, Uruguay
-
Harold Solbrig, Mayo Clinic, Rochester, USA
-
Erik Sundvall PhD, Linkoping University, Sweden
-
Alessandro Torrisi, Code24, The Netherlands
-
Bert Verhees, ROSA Software, The Netherlands
Supporters
The work reported in this paper has been funded by the following organisations:
-
Ars Semantica, UK
-
UCL (University College London) - Centre for Health Informatics and Multiprofessional Education (CHIME)
-
Ocean Informatics.
Special thanks to David Ingram, Emeritus Professor of Health Informatics at UCL, who provided a vision and collegial working environment ever since the days of GEHR (1992).
Trademarks
-
'openEHR' is a trademark of the openEHR Foundation
-
'Java' is a registered trademark of Oracle Corporation
-
'Microsoft' is a trademark of the Microsoft Corporation
Purpose
This document contains the normative description of openEHR Archetype and Template semantics (originally described in [Beale2000] and [Beale2002]), in the form of an object model. The model presented here can be used as a basis for building software that represents archetypes and templates, independent of their persistent representation. Equally, it can be used to develop the output side of parsers that process archetypes in a linguistic format, such as the openEHR Archetype Definition Language (ADL) , XML and so on.
It is recommended in any case that the ADL specification be read in conjunction with this document, since it contains a detailed explanation of the semantics of archetypes, and many of the examples are more obvious in ADL, regardless of whether ADL is actually used with the object model presented here or not.
The release of AOM described in this specification corresponds to the 2.x version of the archetype formalism.
The intended audience includes:
-
Standards bodies producing health informatics standards;
-
Research groups using openEHR, ISO 13606, and other EHR or EHR exchange architectures;
-
The open source healthcare community;
-
EHR solution vendors;
-
Medical informaticians and clinicians interested in health information.
Related Documents
Prerequisite documents for reading this document include:
Related documents include:
Nomenclature
In this document, the term 'attribute' denotes any stored property of a type defined in an object model, including primitive attributes and any kind of relationship such as an association or aggregation. XML 'attributes' are always referred to explicitly as 'XML attributes'.
We also use the word 'archetype' in a broad sense to designate what are commonly understood to be 'archetypes' (specifications of clinical data groups / data constraints) and 'templates' (data sets based on archetypes, since at a technical level, an ADL/AOM 2 template is in fact just an archetype. Accordingly, statements about 'archetypes' in this specification can be always understood to also apply to templates, unless otherwise indicated.
Status
This specification is in the STABLE state. The development version of this document can be found at https://specifications.openehr.org/releases/AM/latest/AOM2.html.
Known omissions or questions are indicated in the text with a 'to be determined' paragraph, as follows:
TBD: (example To Be Determined paragraph)
Feedback
Feedback may be provided on the openEHR ADL forum.
Issues may be raised on the specifications Problem Report tracker.
To see changes made due to previously reported issues, see the AM component Change Request tracker.
Conformance
Conformance of a data or software artifact to an openEHR specification is determined by a formal test of that artifact against the relevant openEHR Implementation Technology Specification(s) (ITSs), such as an IDL interface or an XML-schema. Since ITSs are formal derivations from underlying models, ITS conformance indicates model conformance.
Tools
Various tools exist for creating and processing archetypes. The ADL Workbench is a reference compiler, visualiser and editor. The openEHR ADL/AOM tools can be downloaded from the website .
Source projects can be found at the openEHR Github project.
Changes from Previous Versions
Release 1.5 to 2.0 (Document version 2.1.2 - )
The changes in release 2 of the ADL/AOM formalism are designed to make the formalism more computable with respect to terminology, and enable more rigorous validation and flattening operations.
The changes are as follows.
-
Introduction of new internal coding scheme, consisting of id-codes, at-codes and ac-codes;
-
Replace string archetype identifier with multi-part, namespaced identifier;
-
Addition of explicit value-sets in terminology section, replacing in-line value sets in the
definitionsection; -
Renaming archetype
ontologysection toterminology; -
Expression of all external term bindings as URIs following IHTSDO format;
-
Introduction of 'tuple' constraints to replace openEHR custom constrainer types for covarying attributes within Quantity, Ordinal structures;
-
Re-engineering of all primitive constrainer types, i.e.
C_STRING,C_DATEetc; -
Removal of the openEHR Archetype Profile specification.
Release 1.4 to 1.5 (Document version 2.0 to 2.1.1)
The changes in release 1.5 are made to better facilitate the representation of specialised archetypes. The key semantic capability for specialised archetypes is to be able to support a differential representation, i.e. to express a specialised archetype only in terms of the changed or new elements in its defnition, rather than including a copy of unchanged elements. Doing the latter is clearly unsustainable in terms of change management.
The changes are as follows.
-
Full specialisation support: the addition of an attribute to the
C_ATTRIBUTEclass, allowing the inclusion of a path that enables specialised archetype redefinitions deep within a structure; -
Addition of node-level annotations;
-
Structural simplification of archetype ontology section;
-
The name of the
invariantsection has been changed torules, to better reflect its purpose. -
A template is now just an archetype.
Release 0.6 to 1.4
Changes made from Release 1.3 to 1.4:
-
added a new attribute
adl_version:Stringto theARCHETYPEclass; -
changed name of
ARCHETYPE.concept_codeattribute toconcept.
Amendment Record
| Issue | Details | Raiser, Implementer | Completed |
|---|---|---|---|
AM Release 2.2.0 |
|||
SPECAM-63. Add |
I McNicoll, |
||
SPECPR-294. Fix minor typos and name errors in documentation of |
B Verhees |
||
SPECAM-60. Improve documentation for constraints on lists and intervals. |
B Fabjan, |
21 Jan 2019 |
|
AM Release 2.1.0 |
|||
2.1.0 |
SPECAM-51. Move RM adaptation attributes from BMM to AOM profile. Add to section 10 the new meta-attributes |
T Beale |
10 Apr 2018 |
SPECAM-48. Add VTPL validity rule for templates - consistency of languages for flattening. |
T Beale |
24 Jan 2018 |
|
SPECAM-49. Improve |
T Beale |
10 Jan 2018 |
|
SPECAM-46. |
P Bos, |
07 Jan 2018 |
|
SPECAM-47. Allow regularly structured primitive objects. Move |
J Coyle, |
07 Jan 2018 |
|
SPECPUB-6. Correct UML package nesting and paths in documents; rename |
T Beale |
27 Nov 2017 |
|
SPECAM-45. Correct specification details to do with |
P Bos, |
21 Nov 2017 |
|
SPECAM-43. Correct |
P Bos |
02 Nov 2017 |
|
SPECAM-42. Adjust references to BASE packages |
T Beale |
21 Sep 2017 |
|
AM Release-2.0.6 |
|||
2.0.6 |
Adjust |
T Beale |
15 Jun 2016 |
Correct ambiguity between ADL and AOM specs concerning duration fractional seconds - remove |
B Verhees |
10 Jun 2016 |
|
Add more precise specification of type matching under the 'Object Node Types' section, including for primitive types. Add |
T Beale |
08 Jun 2016 |
|
SPECAM-40. Correct VSONT validity rule to say that |
T Beale |
02 Jun 2016 |
|
Fix typo in section 6.2.1 to do with id-code redefinition in specialised archetype. |
C Nanjo |
30 May 2016 |
|
Rename |
B Verhees |
18 May 2016 |
|
Remove references to openEHR RM. Add |
ISO TC215 |
||
Change Rules section to document re-use of new openEHR Expression Language and Model. |
T Beale |
11 May 2016 |
|
SPECBASE-4. Change order of type parameters in |
D Boscá |
13 Apr 2016 |
|
Correct |
B Verhees |
05 Apr 2016 |
|
2.0.5 |
Make |
T Beale |
18 Jan 2016 |
Add |
T Beale |
31 Aug 2015 |
|
2.0.0 |
Refactor |
T Beale |
04 Jan 2015 |
Remove |
T Beale, |
12 Nov 2014 |
|
Remove |
H Solbrig, |
08 Oct 2014 |
|
Correct spelling of |
S Garde, |
29 Sep 2014 |
|
Modified |
CIMI, |
18 Jul 2014 |
|
Convert |
I McNicoll, |
04 Jun 2014 |
|
Make |
D Moner |
07 Apr 2014 |
|
T Beale |
09 Mar 2014 |
||
Detailed Technical Review. |
H Solbrig |
21 Nov 2013 |
|
Remove |
H Solbrig |
20 Aug 2013 |
|
SPECAM-22. Limit |
T Beale, |
14 Jan 2013 |
|
SPECAM-32. Remove |
T Beale, |
15 Dec 2011 |
|
SPECAM-26. Add |
T Beale |
18 Aug 2010 |
|
SPECAM-8. Add specialisation semantics to ADL and AOM. Add various attributes and functions to
|
T Beale |
10 Dec 2009 |
|
SPECAM-1. Change Date, Time etc classes in AOM to |
T Beale |
20 Jul 2009 |
|
SPECAM-10. Convert |
T Beale |
||
SPECAM-5. Archetype slot regular expressions should cover whole identifier. Added |
A Flinton |
||
SPECAM-7. Make existence, occurrences and cardinality optional in AOM. |
S Heard |
||
T Beale |
|||
Release 1.0.2 |
|||
2.0.2 |
SPEC-257. Correct minor typos and clarify text. Correct reversed definitions of |
C Ma, |
20 Nov 2008 |
SPEC-251. Allow both pattern and interval constraint on Duration in Archetypes. Add pattern attribute to |
S Heard |
||
Release 1.0.1 |
|||
2.0.1 |
D Lloyd, |
20 Mar 2007 |
|
SPEC-216: Allow mixture of W, D etc in ISO8601 Duration (deviation from standard). |
S Heard |
||
SPEC-219: Use constants instead of literals to refer to terminology in RM. |
R Chen |
||
SPEC-232. Relax validity invariant on |
R Chen |
||
SPEC-233: Define semantics for |
K Atalag |
||
SPEC-234: Correct functional semantics of AOM constraint model package. |
T Beale |
||
SPEC-245: Allow term bindings to paths in archetypes. |
S Heard |
||
Release 1.0 |
|||
2.0 |
T Beale |
10 Nov 2005 |
|
Release 0.96 |
|||
0.6 |
SPEC-134. Correct numerous documentation errors in AOM. Including cut and paste error in |
D Lloyd |
20 Jun 2005 |
SPEC-142. Update ADL grammar to support assumed values. Changed |
S Heard, |
||
SPEC-146: Alterations to am.archetype.description from CEN MetaKnow |
D Kalra |
||
SPEC-138. Archetype-level assertions. |
T Beale |
||
SPEC-157. Fix names of |
T Beale |
||
Release 0.95 |
|||
0.5.1 |
Corrected documentation error - return type of |
D Lloyd |
20 Jan 2005 |
0.5 |
SPEC-110. Update ADL document and create AOM document.
Initial Writing. Taken from ADL document 1.2draft B. |
T Beale |
10 Nov 2004 |