<?xml version="1.0" encoding="UTF-8"?>
<archetype xmlns="http://schemas.openehr.org/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <original_language>
    <terminology_id>
      <value>ISO_639-1</value>
    </terminology_id>
    <code_string>en</code_string>
  </original_language>
  <is_controlled>false</is_controlled>
  <description>
    <original_author id="date">2016-12-19</original_author>
    <original_author id="name">Hildegard Franke</original_author>
    <original_author id="organisation">freshEHR Clinical Informatics Ltd.</original_author>
    <original_author id="email">hildi@freshehr.com</original_author>
    <lifecycle_state>in_development</lifecycle_state>
    <other_details id="licence">This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.</other_details>
    <other_details id="custodian_organisation">Nasjonal IKT</other_details>
    <other_details id="references">Avgrenet fra: Age DEBRA, Draft Archetype [Internet]. UK Clinical Models, UK Clinical Models Clinical Knowledge Manager [cited: 2017-02-16]. Available from: http://ckm.apperta.org/ckm/#showArchetype_1051.32.570</other_details>
    <other_details id="current_contact">Hildegard Franke, freshEHR Clinical Informatics Ltd.&lt;hildi@freshehr.com&gt;</other_details>
    <other_details id="original_namespace">no.nasjonalikt</other_details>
    <other_details id="original_publisher">Nasjonal IKT</other_details>
    <other_details id="custodian_namespace">no.nasjonalikt</other_details>
    <other_details id="MD5-CAM-1.0.1">AD0F1FE8017C383AECF225D0246F995C</other_details>
    <other_details id="build_uid">e45ab977-552c-4bb4-851b-f67b076b8e33</other_details>
    <other_details id="revision">0.0.1-alpha</other_details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>For the recording of age in different contexts (e.g. at onset of symptoms, at onset or age at diagnosis) as a textual value or a numeric value in situations where age needs to be recorded explicit and not calculated by the application.</purpose>
      <use>The age data point is modelled as a choice to allow numeric values (years, months, weeks and days) or textual vaules to be recorded.&#xD;
&#xD;
Use to record age in different contexts (e.g. at onset of symptoms, at onset or age at diagnosis) where a textual description such as 'antenatal', 'neonatal', 'juvenile' etc. is required.&#xD;
&#xD;
Use to record age in different contexts (e.g. at onset of symptoms, at onset or age at diagnosis) as a numeric value in situations where age needs to be recorded explicit and not calculated by the application.</use>
      <misuse />
      <copyright>© Clinical Models UK, Nasjonal IKT HF</copyright>
    </details>
  </description>
  <uid>
    <value>e4e0e474-434d-4c16-ab70-eeb2a9ed9e42</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-CLUSTER.age.v0</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>CLUSTER</rm_type_name>
    <occurrences>
      <lower_included>true</lower_included>
      <upper_included>true</upper_included>
      <lower_unbounded>false</lower_unbounded>
      <upper_unbounded>false</upper_unbounded>
      <lower>1</lower>
      <upper>1</upper>
    </occurrences>
    <node_id>at0000</node_id>
    <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
      <rm_attribute_name>items</rm_attribute_name>
      <existence>
        <lower_included>true</lower_included>
        <upper_included>true</upper_included>
        <lower_unbounded>false</lower_unbounded>
        <upper_unbounded>false</upper_unbounded>
        <lower>1</lower>
        <upper>1</upper>
      </existence>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ELEMENT</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>true</upper_unbounded>
          <lower>0</lower>
        </occurrences>
        <node_id>at0001</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>value</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_DURATION</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_PRIMITIVE_OBJECT">
                <rm_type_name>DV_DURATION</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <item xsi:type="C_DURATION">
                  <pattern>PYMWD</pattern>
                  <range>
                    <lower_unbounded>true</lower_unbounded>
                    <upper_unbounded>true</upper_unbounded>
                  </range>
                </item>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <cardinality>
        <is_ordered>false</is_ordered>
        <is_unique>false</is_unique>
        <interval>
          <lower_included>true</lower_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>true</upper_unbounded>
          <lower>1</lower>
        </interval>
      </cardinality>
    </attributes>
  </definition>
  <ontology>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Age</items>
        <items id="description">Description of age as a numeric or textual value.</items>
      </items>
      <items code="at0001">
        <items id="text">Age</items>
        <items id="description">Textual or coded description of age in a specific context, such as 'at onset' or 'at diagnosis'.</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
