View: Hide Browser | Browser on the left | Browser on the right | Dictionary
Report:General Info | Inner Elements

Parent Package: am
Package am::archetype

The model of an archetype is straightforward at an abstract level, mimicking the structure of an archetype document as defined in the openEHR Archetype Definition Language (ADL) document. An archetype is a modelled as a particular kind of AUTHORED_RESOURCE, and as such, includes descriptive meta-data, language information and revision history. The ARCHETYPE class adds identifying information, a definition - expressed in terms of constraints on instances of an object model, and an ontology. The archetype definition, the ‘main’ part of an archetype, is an instance of a C_COMPLEX_OBJECT, which is to say, the root of the constraint structure of an archetype always takes the form of a constraint on a non-primitive object type. The last section of an archetype, the ontology, is represented by its own class, and is what allows the archetypes to be natural language-and terminology-neutral. A utility class, VALIDITY_KIND is also included in the Archetype package. This class contains one integer attribute and three constant definitions, and is intended to be used as the type of any attribute in this constraint model whose value is logically ‘mandatory’, ‘optional’, or ‘disallowed’. It is used in this model in the classes C_Date, C_Time and C_Date_Time.


Inner Elements
NameType
 ARCHETYPEClass
 VALIDITY_KINDClass
 assertionPackage
 constraint_modelPackage
 ontologyPackage
 archetype_id_validityConstraint
 concept_validConstraint
 definition_existsConstraint
 description_existsConstraint
 has_parentConstraint
 invariants_validConstraint
 month_validity_optionalConstraint
 ontology_existsConstraint
 original_language_validConstraint
 revision_history_validityConstraint
 Specialisation_validityConstraint
 uid_validityConstraint
 unnamed1Constraint
 ValidityConstraint
 ValidityConstraint
 validityConstraint
 version_validityConstraint