openEHR Test IG
1.6.6 - International flag

openEHR Test IG, published by HL7 FHIR Product Director. This guide is not an authorized publication; it is the continuous build for version 1.6.6 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/openehr-test/ and changes regularly. See the Directory of published versions

:

Raw xml | Download


<et:WebTemplate xmlns:et="http://openehr.org/fhir/StructureDefinition"
                xmlns="http://hl7.org/fhir">
  <templateId value="Generic Nurse Encounter"/>
  <version value="2.3"/>
  <defaultLanguage value="en"/>
  <languages value="en"/>
  <tree>
    <id value="generic_nurse_encounter"/>
    <name value="Generic Nurse Encounter"/>
    <localizedName value="Generic Nurse Encounter"/>
    <rmType value="COMPOSITION"/>
    <nodeId value="openEHR-EHR-COMPOSITION.encounter.v1"/>
    <min value="1"/>
    <max value="1"/>
    <localizedNames/>
    <localizedDescriptions/>
    <aqlPath value=""/>
    <children>
      <id value="context"/>
      <rmType value="EVENT_CONTEXT"/>
      <nodeId value=""/>
      <min value="1"/>
      <max value="1"/>
      <aqlPath value="/context"/>
    </children>
    <children>
      <id value="vital_signs"/>
      <name value="Vital Signs"/>
      <localizedName value="Vital Signs"/>
      <rmType value="SECTION"/>
      <nodeId value="openEHR-EHR-SECTION.adhoc.v1"/>
      <min value="0"/>
      <max value="1"/>
      <localizedNames/>
      <localizedDescriptions/>
      <aqlPath value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']"/>
      <children>
        <id value="body_temperature"/>
        <name value="Body temperature"/>
        <localizedName value="Body temperature"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.body_temperature.v2"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]"/>
        <children>
          <id value="body_temperature_reading"/>
          <name value="Body temperature reading"/>
          <localizedName value="Body temperature reading"/>
          <rmType value="EVENT"/>
          <nodeId value="at0003"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]/data[at0002]/events[at0003,'Body temperature reading']"/>
          <children>
            <id value="temperature"/>
            <name value="Temperature"/>
            <localizedName value="Temperature"/>
            <rmType value="DV_QUANTITY"/>
            <nodeId value="at0004"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]/data[at0002]/events[at0003,'Body temperature reading']/data[at0001]/items[at0004]/value"/>
            <inputs>
              <suffix value="magnitude"/>
              <type value="DECIMAL"/>
            </inputs>
            <inputs>
              <suffix value="unit"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="[degF]"/>
                <label value="[degF]"/>
                <localizedLabels/>
              </list>
              <list>
                <value value="Cel"/>
                <label value="Cel"/>
                <localizedLabels/>
              </list>
            </inputs>
            <termBindings>
              <code value="LNC205"/>
              <value>
                <value value="[LNC205::8310-5]"/>
                <terminologyId value="LNC205"/>
              </value>
            </termBindings>
            <termBindings>
              <code value="SNOMED-CT"/>
              <value>
                <value value="[SNOMED-CT::386725007]"/>
                <terminologyId value="SNOMED-CT"/>
              </value>
            </termBindings>
          </children>
          <children>
            <id value="confounding_factors"/>
            <name value="Confounding factors"/>
            <localizedName value="Confounding factors"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0066"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]/data[at0002]/events[at0003,'Body temperature reading']/state[at0029]/items[at0066]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]/data[at0002]/events[at0003,'Body temperature reading']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.body_temperature.v2]/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="respirations"/>
        <name value="Respirations"/>
        <localizedName value="Respirations"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.respiration.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.respiration.v1]"/>
        <children>
          <id value="respiration_rate"/>
          <name value="Respiration rate"/>
          <localizedName value="Respiration rate"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002,'Respiration rate']"/>
          <children>
            <id value="respiratory_rate"/>
            <name value="Respiratory rate"/>
            <localizedName value="Respiratory rate"/>
            <rmType value="DV_QUANTITY"/>
            <nodeId value="at0004"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002,'Respiration rate']/data[at0003]/items[at0004,'Respiratory rate']/value"/>
            <inputs>
              <suffix value="magnitude"/>
              <type value="DECIMAL"/>
              <validation>
                <range>
                  <minOp value="&gt;="/>
                  <min value="0.0"/>
                  <maxOp value="&lt;="/>
                  <max value="200.0"/>
                </range>
                <precision>
                  <minOp value="&gt;="/>
                  <min value="0"/>
                  <maxOp value="&lt;="/>
                  <max value="0"/>
                </precision>
              </validation>
            </inputs>
            <inputs>
              <suffix value="unit"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="/min"/>
                <label value="/min"/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002,'Respiration rate']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.respiration.v1]/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.respiration.v1]/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.respiration.v1]/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="heart_rate"/>
        <name value="Heart Rate"/>
        <localizedName value="Heart Rate"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.pulse.v2"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Heart Rate']"/>
        <children>
          <id value="heart_rate_reading"/>
          <name value="Heart rate reading"/>
          <localizedName value="Heart rate reading"/>
          <rmType value="EVENT"/>
          <nodeId value="at0003"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Heart Rate']/data[at0002]/events[at0003,'Heart rate reading']"/>
          <children>
            <id value="heart_rate"/>
            <name value="Heart rate"/>
            <localizedName value="Heart rate"/>
            <rmType value="DV_QUANTITY"/>
            <nodeId value="at0004"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Heart Rate']/data[at0002]/events[at0003,'Heart rate reading']/data[at0001]/items[at0004,'Heart rate']/value"/>
            <inputs>
              <suffix value="magnitude"/>
              <type value="DECIMAL"/>
              <validation>
                <range>
                  <minOp value="&gt;="/>
                  <min value="0.0"/>
                  <maxOp value="&lt;="/>
                  <max value="300.0"/>
                </range>
                <precision>
                  <minOp value="&gt;="/>
                  <min value="0"/>
                  <maxOp value="&lt;="/>
                  <max value="0"/>
                </precision>
              </validation>
            </inputs>
            <inputs>
              <suffix value="unit"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="/min"/>
                <label value="/min"/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Heart Rate']/data[at0002]/events[at0003,'Heart rate reading']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Heart Rate']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Heart Rate']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Heart Rate']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="blood_pressure"/>
        <name value="Blood pressure"/>
        <localizedName value="Blood pressure"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.blood_pressure.v2"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <annotations>
          <comment
                   value="Most commonly, use of the term 'blood pressure' refers to measurement of brachial artery pressure in the upper arm."/>
        </annotations>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]"/>
        <termBindings>
          <code value="SNOMED-CT"/>
          <value>
            <value value="[SNOMED-CT(2003)::364090009]"/>
            <terminologyId value="SNOMED-CT"/>
          </value>
        </termBindings>
        <children>
          <id value="blood_pressure_reading"/>
          <name value="Blood pressure reading"/>
          <localizedName value="Blood pressure reading"/>
          <rmType value="EVENT"/>
          <nodeId value="at0006"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/data[at0001]/events[at0006,'Blood pressure reading']"/>
          <children>
            <id value="systolic"/>
            <name value="Systolic"/>
            <localizedName value="Systolic"/>
            <rmType value="DV_QUANTITY"/>
            <nodeId value="at0004"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/data[at0001]/events[at0006,'Blood pressure reading']/data[at0003]/items[at0004]/value"/>
            <inputs>
              <suffix value="magnitude"/>
              <type value="DECIMAL"/>
              <validation>
                <range>
                  <minOp value="&gt;="/>
                  <min value="0.0"/>
                  <maxOp value="&lt;"/>
                  <max value="300.0"/>
                </range>
              </validation>
            </inputs>
            <inputs>
              <suffix value="unit"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="mm[Hg]"/>
                <label value="mm[Hg]"/>
                <localizedLabels/>
              </list>
            </inputs>
            <termBindings>
              <code value="SNOMED-CT"/>
              <value>
                <value value="[SNOMED-CT(2003)::271649006]"/>
                <terminologyId value="SNOMED-CT"/>
              </value>
            </termBindings>
          </children>
          <children>
            <id value="diastolic"/>
            <name value="Diastolic"/>
            <localizedName value="Diastolic"/>
            <rmType value="DV_QUANTITY"/>
            <nodeId value="at0005"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/data[at0001]/events[at0006,'Blood pressure reading']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <suffix value="magnitude"/>
              <type value="DECIMAL"/>
              <validation>
                <range>
                  <minOp value="&gt;="/>
                  <min value="0.0"/>
                  <maxOp value="&lt;"/>
                  <max value="300.0"/>
                </range>
                <precision>
                  <minOp value="&gt;="/>
                  <min value="0"/>
                  <maxOp value="&lt;="/>
                  <max value="0"/>
                </precision>
              </validation>
            </inputs>
            <inputs>
              <suffix value="unit"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="mm[Hg]"/>
                <label value="mm[Hg]"/>
                <localizedLabels/>
              </list>
            </inputs>
            <termBindings>
              <code value="SNOMED-CT"/>
              <value>
                <value value="[SNOMED-CT(2003)::271650006]"/>
                <terminologyId value="SNOMED-CT"/>
              </value>
            </termBindings>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/data[at0001]/events[at0006,'Blood pressure reading']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="location_of_measurement"/>
          <name value="Location of measurement"/>
          <localizedName value="Location of measurement"/>
          <rmType value="DV_CODED_TEXT"/>
          <nodeId value="at0014"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/protocol[at0011]/items[at0014]/value"/>
          <inputs>
            <suffix value="code"/>
            <type value="CODED_TEXT"/>
            <defaultValue value="at0026"/>
            <list>
              <value value="at0025"/>
              <label value="Right arm"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at0026"/>
              <label value="Left arm"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at0027"/>
              <label value="Right thigh"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at0028"/>
              <label value="Left thigh"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1020"/>
              <label value="Right wrist"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1021"/>
              <label value="Left wrist"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1026"/>
              <label value="Right ankle"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1031"/>
              <label value="Left ankle"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1032"/>
              <label value="Finger"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1051"/>
              <label value="Toe"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1056"/>
              <label value="Dorsum of foot"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1053"/>
              <label value="Intra-arterial"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <listOpen value="true"/>
          </inputs>
          <inputs>
            <suffix value="other"/>
            <type value="TEXT"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2]/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="oxygen_saturation"/>
        <name value="Oxygen saturation"/>
        <localizedName value="Oxygen saturation"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.pulse_oximetry.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse_oximetry.v1,'Oxygen saturation']"/>
        <children>
          <id value="spo2_reading"/>
          <name value="SPO2 reading"/>
          <localizedName value="SPO2 reading"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse_oximetry.v1,'Oxygen saturation']/data[at0001]/events[at0002,'SPO2 reading']"/>
          <children>
            <id value="spo"/>
            <name value="SpO₂"/>
            <localizedName value="SpO₂"/>
            <rmType value="DV_PROPORTION"/>
            <nodeId value="at0006"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="SpO₂ is defined as the percentage of oxyhaemoglobin (HbO₂) to the total concentration of haemoglobin (HbO₂ + deoxyhaemoglobin) in peripheral blood."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse_oximetry.v1,'Oxygen saturation']/data[at0001]/events[at0002,'SPO2 reading']/data[at0003]/items[at0006]/value"/>
            <inputs>
              <suffix value="numerator"/>
              <type value="DECIMAL"/>
              <defaultValue value="0.0"/>
              <validation>
                <range>
                  <minOp value="&gt;="/>
                  <min value="30.0"/>
                  <maxOp value="&lt;="/>
                  <max value="99.0"/>
                </range>
              </validation>
            </inputs>
            <inputs>
              <suffix value="denominator"/>
              <type value="DECIMAL"/>
              <validation>
                <range>
                  <minOp value="&gt;="/>
                  <min value="100.0"/>
                  <maxOp value="&lt;="/>
                  <max value="100.0"/>
                </range>
              </validation>
            </inputs>
            <termBindings>
              <code value="LOINC"/>
              <value>
                <value value="[LOINC::59408-5]"/>
                <terminologyId value="LOINC"/>
              </value>
            </termBindings>
            <termBindings>
              <code value="SNOMED-CT"/>
              <value>
                <value value="[SNOMED-CT::431314004]"/>
                <terminologyId value="SNOMED-CT"/>
              </value>
            </termBindings>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse_oximetry.v1,'Oxygen saturation']/data[at0001]/events[at0002,'SPO2 reading']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse_oximetry.v1,'Oxygen saturation']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse_oximetry.v1,'Oxygen saturation']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Vital Signs']/items[openEHR-EHR-OBSERVATION.pulse_oximetry.v1,'Oxygen saturation']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
    </children>
    <children>
      <id value="point_of_care_tests"/>
      <name value="Point of care tests"/>
      <localizedName value="Point of care tests"/>
      <rmType value="SECTION"/>
      <nodeId value="openEHR-EHR-SECTION.adhoc.v1"/>
      <min value="0"/>
      <max value="1"/>
      <localizedNames/>
      <localizedDescriptions/>
      <aqlPath
               value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point 
        &quot;id&quot; : &quot;random_blood_glucose&quot;,
        &quot;name&quot; : &quot;Random blood glucose&quot;,
        &quot;localizedName&quot; : &quot;Random blood glucose&quot;,of care tests']"/>
      <children>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="-1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']"/>
        <children>
          <id value="rbg_test"/>
          <name value="RBG test"/>
          <localizedName value="RBG test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <terminology value="LOINC"/>
              <list>
                <value value="14743-9"/>
                <label
                       value="Glucose [Moles/volume] in Capillary blood by Glucometer"/>
                <localizedLabels/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="glucose_result"/>
            <name value="Glucose result"/>
            <localizedName value="Glucose result"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']"/>
            <children>
              <id value="analyte_name"/>
              <name value="Analyte name"/>
              <localizedName value="Analyte name"/>
              <rmType value="DV_CODED_TEXT"/>
              <nodeId value="at0024"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="The value for this element is normally supplied in a specialisation, in a template or at run-time to reflect the actual analyte. For example: 'Serum sodium', 'Haemoglobin'. Coding with an external terminology is strongly recommended, such as LOINC, NPU, SNOMED CT, or local lab terminologies."/>
                <fhir_mapping value="Observation.code"/>
                <hl7v2_mapping value="OBX.3"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0024]/value"/>
              <inputs>
                <suffix value="code"/>
                <type value="CODED_TEXT"/>
                <terminology value="LOINC"/>
                <list>
                  <value value="14743-9"/>
                  <label
                         value="Glucose [Moles/volume] in Capillary blood by Glucometer"/>
                  <localizedLabels/>
                </list>
              </inputs>
            </children>
            <children>
              <id value="result"/>
              <name value="Result"/>
              <localizedName value="Result"/>
              <rmType value="DV_QUANTITY"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0001,'Result']/value"/>
              <inputs>
                <suffix value="magnitude"/>
                <type value="DECIMAL"/>
              </inputs>
              <inputs>
                <suffix value="unit"/>
                <type value="CODED_TEXT"/>
                <list>
                  <value value="mg/dl"/>
                  <label value="mg/dl"/>
                </list>
                <list>
                  <value value="mmol/L"/>
                  <label value="mmol/L"/>
                </list>
              </inputs>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Glucose result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="conclusion"/>
            <name value="Conclusion"/>
            <localizedName value="Conclusion"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0057"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/data[at0003]/items[at0057]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/data[at0001]/events[at0002,'RBG test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="point-of-care_test"/>
          <name value="Point-of-care test"/>
          <localizedName value="Point-of-care test"/>
          <rmType value="DV_BOOLEAN"/>
          <nodeId value="at0111"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="True if the test was performed directly at Point-of-Care (POCT)."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/protocol[at0004]/items[at0111]/value"/>
          <inputs>
            <type value="BOOLEAN"/>
            <defaultValue value="true"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Random blood glucose']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="hiv_rapid_test"/>
        <name value="HIV rapid test"/>
        <localizedName value="HIV rapid test"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="-1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']"/>
        <children>
          <id value="hiv_test"/>
          <name value="HIV test"/>
          <localizedName value="HIV test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <terminology value="LOINC"/>
              <list>
                <value value="LOINC3"/>
                <label value="HIV rapid test"/>
                <localizedLabels/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="hiv_result"/>
            <name value="HIV result"/>
            <localizedName value="HIV result"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']"/>
            <children>
              <id value="result"/>
              <name value="Result"/>
              <localizedName value="Result"/>
              <rmType value="DV_TEXT"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0001,'Result']/value"/>
              <inputs>
                <type value="TEXT"/>
                <list>
                  <value value="Positive"/>
                  <label value="Positive"/>
                </list>
                <list>
                  <value value="Negative"/>
                  <label value="Negative"/>
                </list>
                <list>
                  <value value="Indeterminate"/>
                  <label value="Indeterminate"/>
                </list>
                <listOpen value="false"/>
              </inputs>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HIV result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="conclusion"/>
            <name value="Conclusion"/>
            <localizedName value="Conclusion"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0057"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/data[at0003]/items[at0057]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/data[at0001]/events[at0002,'HIV test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="point-of-care_test"/>
          <name value="Point-of-care test"/>
          <localizedName value="Point-of-care test"/>
          <rmType value="DV_BOOLEAN"/>
          <nodeId value="at0111"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="True if the test was performed directly at Point-of-Care (POCT)."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/protocol[at0004]/items[at0111]/value"/>
          <inputs>
            <type value="BOOLEAN"/>
            <defaultValue value="true"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HIV rapid test']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="urine_dipstick"/>
        <name value="Urine Dipstick"/>
        <localizedName value="Urine Dipstick"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.urinalysis.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']"/>
        <children>
          <id value="point_in_time"/>
          <name value="Point in Time"/>
          <localizedName value="Point in Time"/>
          <rmType value="POINT_EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]"/>
          <children>
            <id value="glucose"/>
            <name value="Glucose"/>
            <localizedName value="Glucose"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0050"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0050]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0115"/>
                <label value="Negative"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0116"/>
                <label value="Trace"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0117"/>
                <label value="1+"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0118"/>
                <label value="2+"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0119"/>
                <label value="3+"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0120"/>
                <label value="4+"/>
                <ordinal value="6"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="bilirubin"/>
            <name value="Bilirubin"/>
            <localizedName value="Bilirubin"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0062"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0062]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0121"/>
                <label value="Negative"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0122"/>
                <label value="1+"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0123"/>
                <label value="2+"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0124"/>
                <label value="3+"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="ketones"/>
            <name value="Ketones"/>
            <localizedName value="Ketones"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0037"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0037]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0109"/>
                <label value="Negative"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0110"/>
                <label value="Trace"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0111"/>
                <label value="Small"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0112"/>
                <label value="Moderate"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0113"/>
                <label value="Large"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0114"/>
                <label value="Large+"/>
                <ordinal value="6"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="specific_gravity"/>
            <name value="Specific gravity"/>
            <localizedName value="Specific gravity"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0151"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0151]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0152"/>
                <label value="1.000"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0153"/>
                <label value="1.005"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0154"/>
                <label value="1.010"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0155"/>
                <label value="1.015"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0156"/>
                <label value="1.020"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0157"/>
                <label value="1.025"/>
                <ordinal value="6"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0158"/>
                <label value="1.030"/>
                <ordinal value="7"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="blood"/>
            <name value="Blood"/>
            <localizedName value="Blood"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0032"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0032]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0102"/>
                <label value="Negative"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0103"/>
                <label value="Non-haemolysed Trace"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0104"/>
                <label value="Non-haemolysed Moderate"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0105"/>
                <label value="Haemolysed Trace"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0106"/>
                <label value="1+"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0107"/>
                <label value="2+"/>
                <ordinal value="6"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0108"/>
                <label value="3+"/>
                <ordinal value="7"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="ph"/>
            <name value="pH"/>
            <localizedName value="pH"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0126"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0126]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0127"/>
                <label value="5.0"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0128"/>
                <label value="5.5"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0129"/>
                <label value="6.0"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0130"/>
                <label value="6.5"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0131"/>
                <label value="7.0"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0132"/>
                <label value="7.5"/>
                <ordinal value="6"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0133"/>
                <label value="8.0"/>
                <ordinal value="7"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0134"/>
                <label value="8.5"/>
                <ordinal value="8"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0176"/>
                <label value="9.0"/>
                <ordinal value="9"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0177"/>
                <label value="9.5"/>
                <ordinal value="10"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0179"/>
                <label value="10.0"/>
                <ordinal value="11"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="protein"/>
            <name value="Protein"/>
            <localizedName value="Protein"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0095"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0095]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0096"/>
                <label value="Negative"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0097"/>
                <label value="Trace"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0098"/>
                <label value="1+"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0099"/>
                <label value="2+"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0100"/>
                <label value="3+"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0101"/>
                <label value="4+"/>
                <ordinal value="6"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="urobilinogen"/>
            <name value="Urobilinogen"/>
            <localizedName value="Urobilinogen"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0056"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0056]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0161"/>
                <label value="Normal (lower)"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0162"/>
                <label value="Normal (upper)"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0163"/>
                <label value="2 mg/dL"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0164"/>
                <label value="4 mg/dL"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0165"/>
                <label value="8 mg/dL"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="nitrite"/>
            <name value="Nitrite"/>
            <localizedName value="Nitrite"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0043"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0043]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0159"/>
                <label value="Negative"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0160"/>
                <label value="Positive"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="leukocytes"/>
            <name value="Leukocytes"/>
            <localizedName value="Leukocytes"/>
            <rmType value="DV_ORDINAL"/>
            <nodeId value="at0068"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0068]/value"/>
            <inputs>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0135"/>
                <label value="Negative"/>
                <ordinal value="1"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0136"/>
                <label value="Trace"/>
                <ordinal value="2"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0137"/>
                <label value="1+"/>
                <ordinal value="3"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0138"/>
                <label value="2+"/>
                <ordinal value="4"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0139"/>
                <label value="3+"/>
                <ordinal value="5"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="clinical_interpretation"/>
            <name value="Clinical interpretation"/>
            <localizedName value="Clinical interpretation"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0181"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="Comment: Coding with a terminology is preferred, where possible. For example: normal urinalysis; mild proteinuria; or trace of blood. Multiple statements are allowed."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0181]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="comment"/>
            <name value="Comment"/>
            <localizedName value="Comment"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0030"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: the freshness or small volume of the urine sample, method of collection or any problems with testing."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/data[at0003]/items[at0030]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/data[at0001]/events[at0002]/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="method"/>
          <name value="Method"/>
          <localizedName value="Method"/>
          <rmType value="DV_CODED_TEXT"/>
          <nodeId value="at0186"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/protocol[at0079]/items[at0186]/value"/>
          <inputs>
            <suffix value="code"/>
            <type value="CODED_TEXT"/>
            <list>
              <value value="at0187"/>
              <label value="Manual"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at0188"/>
              <label value="Automatic"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.urinalysis.v1,'Urine Dipstick']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="syphilis_test_result"/>
        <name value="Syphilis test result"/>
        <localizedName value="Syphilis test result"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']"/>
        <children>
          <id value="syphilis_test"/>
          <name value="Syphilis test"/>
          <localizedName value="Syphilis test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <terminology value="LOINC"/>
              <list>
                <value value="LOINC4"/>
                <label value="VDRL"/>
                <localizedLabels/>
              </list>
              <list>
                <value value="LOINC5"/>
                <label value="SD Bioline"/>
                <localizedLabels/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="syphilis_test_result"/>
            <name value="Syphilis test result"/>
            <localizedName value="Syphilis test result"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']"/>
            <children>
              <id value="result"/>
              <name value="Result"/>
              <localizedName value="Result"/>
              <rmType value="DV_TEXT"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0001,'Result']/value"/>
              <inputs>
                <type value="TEXT"/>
                <list>
                  <value value="Positive"/>
                  <label value="Positive"/>
                </list>
                <list>
                  <value value="Negative"/>
                  <label value="Negative"/>
                </list>
                <list>
                  <value value="Invalid"/>
                  <label value="Invalid"/>
                </list>
                <listOpen value="false"/>
              </inputs>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Syphilis test result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="conclusion"/>
            <name value="Conclusion"/>
            <localizedName value="Conclusion"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0057"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/data[at0003]/items[at0057]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/data[at0001]/events[at0002,'Syphilis test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Syphilis test result']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="hba1c"/>
        <name value="HbA1c"/>
        <localizedName value="HbA1c"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']"/>
        <children>
          <id value="hba1c_test"/>
          <name value="HBa1c test"/>
          <localizedName value="HBa1c test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <type value="TEXT"/>
              <list>
                <value value="HbA1c"/>
                <label value="HbA1c"/>
              </list>
              <listOpen value="false"/>
            </inputs>
          </children>
          <children>
            <id value="hba1c_result"/>
            <name value="HbA1c result"/>
            <localizedName value="HbA1c result"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']"/>
            <children>
              <id value="result"/>
              <name value="Result"/>
              <localizedName value="Result"/>
              <rmType value="DV_QUANTITY"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0001,'Result']/value"/>
              <inputs>
                <suffix value="magnitude"/>
                <type value="DECIMAL"/>
              </inputs>
              <inputs>
                <suffix value="unit"/>
                <type value="CODED_TEXT"/>
                <list>
                  <value value="mmol/mol"/>
                  <label value="mmol/mol"/>
                </list>
                <list>
                  <value value="%"/>
                  <label value="%"/>
                </list>
              </inputs>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'HbA1c result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="conclusion"/>
            <name value="Conclusion"/>
            <localizedName value="Conclusion"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0057"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/data[at0003]/items[at0057]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/data[at0001]/events[at0002,'HBa1c test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="point-of-care_test"/>
          <name value="Point-of-care test"/>
          <localizedName value="Point-of-care test"/>
          <rmType value="DV_BOOLEAN"/>
          <nodeId value="at0111"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="True if the test was performed directly at Point-of-Care (POCT)."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/protocol[at0004]/items[at0111]/value"/>
          <inputs>
            <type value="BOOLEAN"/>
            <defaultValue value="true"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'HbA1c']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="cholesterol"/>
        <name value="Cholesterol"/>
        <localizedName value="Cholesterol"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']"/>
        <children>
          <id value="cholesterol_test"/>
          <name value="Cholesterol test"/>
          <localizedName value="Cholesterol test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <type value="TEXT"/>
              <list>
                <value value="Cholesterol"/>
                <label value="Cholesterol"/>
              </list>
              <listOpen value="false"/>
            </inputs>
          </children>
          <children>
            <id value="cholesterol_result"/>
            <name value="Cholesterol result"/>
            <localizedName value="Cholesterol result"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']"/>
            <children>
              <id value="result"/>
              <name value="Result"/>
              <localizedName value="Result"/>
              <rmType value="DV_QUANTITY"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0001,'Result']/value"/>
              <inputs>
                <suffix value="magnitude"/>
                <type value="DECIMAL"/>
              </inputs>
              <inputs>
                <suffix value="unit"/>
                <type value="CODED_TEXT"/>
                <list>
                  <value value="mg/dl"/>
                  <label value="mg/dl"/>
                </list>
                <list>
                  <value value="mmol/L"/>
                  <label value="mmol/L"/>
                </list>
              </inputs>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cholesterol result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="conclusion"/>
            <name value="Conclusion"/>
            <localizedName value="Conclusion"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0057"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/data[at0003]/items[at0057]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/data[at0001]/events[at0002,'Cholesterol test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="point-of-care_test"/>
          <name value="Point-of-care test"/>
          <localizedName value="Point-of-care test"/>
          <rmType value="DV_BOOLEAN"/>
          <nodeId value="at0111"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="True if the test was performed directly at Point-of-Care (POCT)."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/protocol[at0004]/items[at0111]/value"/>
          <inputs>
            <type value="BOOLEAN"/>
            <defaultValue value="true"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cholesterol']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="cd4_count"/>
        <name value="CD4 count"/>
        <localizedName value="CD4 count"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']"/>
        <children>
          <id value="cd4_test"/>
          <name value="CD4 test"/>
          <localizedName value="CD4 test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <type value="TEXT"/>
              <list>
                <value value="CD4 Count"/>
                <label value="CD4 Count"/>
              </list>
              <listOpen value="false"/>
            </inputs>
          </children>
          <children>
            <id value="cd4_count"/>
            <name value="CD4 count"/>
            <localizedName value="CD4 count"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']"/>
            <children>
              <id value="result"/>
              <name value="Result"/>
              <localizedName value="Result"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0001,'Result']"/>
              <children>
                <id value="quantity_value"/>
                <localizedName value="Result"/>
                <rmType value="DV_QUANTITY"/>
                <nodeId value=""/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0001,'Result']/value"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="CODED_TEXT"/>
                  <list>
                    <value value="mm3"/>
                    <label value="mm3"/>
                    <localizedLabels/>
                  </list>
                  <list>
                    <value value="1/mm3"/>
                    <label value="1/mm3"/>
                  </list>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <localizedName value="Result"/>
                <rmType value="DV_PROPORTION"/>
                <nodeId value=""/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0001,'Result']/value"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="1.0"/>
                      <maxOp value="&lt;="/>
                      <max value="1.0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'CD4 count']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="conclusion"/>
            <name value="Conclusion"/>
            <localizedName value="Conclusion"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0057"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/data[at0003]/items[at0057]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/data[at0001]/events[at0002,'CD4 test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="point-of-care_test"/>
          <name value="Point-of-care test"/>
          <localizedName value="Point-of-care test"/>
          <rmType value="DV_BOOLEAN"/>
          <nodeId value="at0111"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="True if the test was performed directly at Point-of-Care (POCT)."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/protocol[at0004]/items[at0111]/value"/>
          <inputs>
            <type value="BOOLEAN"/>
            <defaultValue value="true"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'CD4 count']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="covid_antigen_test_result"/>
        <name value="Covid antigen test result"/>
        <localizedName value="Covid antigen test result"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']"/>
        <children>
          <id value="covid_antigen_test"/>
          <name value="Covid antigen test"/>
          <localizedName value="Covid antigen test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <type value="TEXT"/>
              <list>
                <value value="Covid antigen test"/>
                <label value="Covid antigen test"/>
              </list>
              <listOpen value="false"/>
            </inputs>
          </children>
          <children>
            <id value="covid_antigen_test"/>
            <name value="Covid antigen test"/>
            <localizedName value="Covid antigen test"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']"/>
            <children>
              <id value="result"/>
              <name value="Result"/>
              <localizedName value="Result"/>
              <rmType value="DV_TEXT"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0001,'Result']/value"/>
              <inputs>
                <type value="TEXT"/>
                <list>
                  <value value="Positive"/>
                  <label value="Positive"/>
                </list>
                <list>
                  <value value="Negative"/>
                  <label value="Negative"/>
                </list>
                <list>
                  <value value="Indeterminate"/>
                  <label value="Indeterminate"/>
                </list>
                <listOpen value="false"/>
              </inputs>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Covid antigen test']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="conclusion"/>
            <name value="Conclusion"/>
            <localizedName value="Conclusion"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0057"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/data[at0003]/items[at0057]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/data[at0001]/events[at0002,'Covid antigen test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="point-of-care_test"/>
          <name value="Point-of-care test"/>
          <localizedName value="Point-of-care test"/>
          <rmType value="DV_BOOLEAN"/>
          <nodeId value="at0111"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="True if the test was performed directly at Point-of-Care (POCT)."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/protocol[at0004]/items[at0111]/value"/>
          <inputs>
            <type value="BOOLEAN"/>
            <defaultValue value="true"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Covid antigen test result']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="pregnancy_test_result"/>
        <name value="Pregnancy test result"/>
        <localizedName value="Pregnancy test result"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.pregnancy_test.v0"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]"/>
        <children>
          <id value="point_in_time"/>
          <name value="Point in time"/>
          <localizedName value="Point in time"/>
          <rmType value="POINT_EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]/data[at0001]/events[at0002]"/>
          <children>
            <id value="result"/>
            <name value="Result"/>
            <localizedName value="Result"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0004"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]/data[at0001]/events[at0002]/data[at0003]/items[at0004]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0005"/>
                <label value="Negative"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0006"/>
                <label value="Inconclusive"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0007"/>
                <label value="Weakly positive"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0008"/>
                <label value="Strongly positive"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0011"/>
                <label value="Indeterminate"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]/data[at0001]/events[at0002]/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="method"/>
          <name value="Method"/>
          <localizedName value="Method"/>
          <rmType value="DV_TEXT"/>
          <nodeId value="at0014"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]/protocol[at0009]/items[at0014]/value"/>
          <inputs>
            <type value="TEXT"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.pregnancy_test.v0]/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="cardiac_enzymes"/>
        <name value="Cardiac enzymes"/>
        <localizedName value="Cardiac enzymes"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']"/>
        <children>
          <id value="cardiac_enzyme_test"/>
          <name value="Cardiac enzyme test"/>
          <localizedName value="Cardiac enzyme test"/>
          <rmType value="EVENT"/>
          <nodeId value="at0002"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']"/>
          <children>
            <id value="test_name"/>
            <name value="Test name"/>
            <localizedName value="Test name"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0005"/>
            <min value="1"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[at0005]/value"/>
            <inputs>
              <type value="TEXT"/>
              <list>
                <value value="Troponin"/>
                <label value="Troponin"/>
              </list>
              <listOpen value="false"/>
            </inputs>
          </children>
          <children>
            <id value="cardiac_enzyme_result"/>
            <name value="Cardiac enzyme result"/>
            <localizedName value="Cardiac enzyme result"/>
            <rmType value="CLUSTER"/>
            <nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']"/>
            <children>
              <id value="analyte_result"/>
              <name value="Analyte result"/>
              <localizedName value="Analyte result"/>
              <rmType value="DV_TEXT"/>
              <nodeId value="at0001"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example '7.3 mmol/l', 'Raised'. The 'Any' data type will need to be constrained to an appropriate data type in a specialisation, a template or at run-time to reflect the actual analyte result. The Quantity data type has reference model attributes that include flags for normal/abnormal, reference ranges and approximations - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_quantity_class for more details."/>
                <fhir_mapping value="Observation.value[x]"/>
                <hl7v2_mapping value="OBX.2, OBX.5, OBX.6, OBX.7, OBX.8"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0001]/value"/>
              <inputs>
                <type value="TEXT"/>
                <list>
                  <value value="Normal"/>
                  <label value="Normal"/>
                </list>
                <list>
                  <value value="Abnormal"/>
                  <label value="Abnormal"/>
                </list>
                <list>
                  <value value="Equivocal"/>
                  <label value="Equivocal"/>
                </list>
                <list>
                  <value value="Incomplete"/>
                  <label value="Incomplete"/>
                </list>
                <listOpen value="false"/>
              </inputs>
            </children>
            <children>
              <id value="test_method"/>
              <name value="Test method"/>
              <localizedName value="Test method"/>
              <rmType value="ELEMENT"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="If the test method applies to an entire panel, the test method can be captured using the 'Test method' data element within the OBSERVATION.laboratory_test_result"/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]"/>
              <children>
                <id value="coded_text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_CODED_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="text_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TEXT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="multimedia_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_MULTIMEDIA"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="parsable_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PARSABLE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="formalism"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="state_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_STATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="code"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="value"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="boolean_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_BOOLEAN"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="BOOLEAN"/>
                </inputs>
              </children>
              <children>
                <id value="identifier_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_IDENTIFIER"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="id"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="type"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="issuer"/>
                  <type value="TEXT"/>
                </inputs>
                <inputs>
                  <suffix value="assigner"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="ehr_uri_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_EHR_URI"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="duration_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DURATION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="year"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="month"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="day"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="week"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="hour"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="minute"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="second"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="quantity_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_QUANTITY"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="count_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_COUNT"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="INTEGER"/>
                </inputs>
              </children>
              <children>
                <id value="proportion_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_PROPORTION"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="DECIMAL"/>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="DECIMAL"/>
                </inputs>
              </children>
              <children>
                <id value="date_time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATETIME"/>
                </inputs>
              </children>
              <children>
                <id value="date_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_DATE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="DATE"/>
                </inputs>
              </children>
              <children>
                <id value="time_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_TIME"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="TIME"/>
                </inputs>
              </children>
              <children>
                <id value="ordinal_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_ORDINAL"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
              <children>
                <id value="scale_value"/>
                <name value="Test method"/>
                <localizedName value="Test method"/>
                <rmType value="DV_SCALE"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Cardiac enzyme result']/items[at0028]/Test method"/>
                <inContext value="true"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                </inputs>
              </children>
            </children>
          </children>
          <children>
            <id value="time"/>
            <name value="Time"/>
            <rmType value="DV_DATE_TIME"/>
            <min value="1"/>
            <max value="1"/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/data[at0001]/events[at0002,'Cardiac enzyme test']/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="point-of-care_test"/>
          <name value="Point-of-care test"/>
          <localizedName value="Point-of-care test"/>
          <rmType value="DV_BOOLEAN"/>
          <nodeId value="at0111"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="True if the test was performed directly at Point-of-Care (POCT)."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/protocol[at0004]/items[at0111]/value"/>
          <inputs>
            <type value="BOOLEAN"/>
            <defaultValue value="true"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Point of care tests']/items[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Cardiac enzymes']/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
    </children>
    <children>
      <id value="family_history"/>
      <name value="Family history"/>
      <localizedName value="Family history"/>
      <rmType value="SECTION"/>
      <nodeId value="openEHR-EHR-SECTION.adhoc.v1"/>
      <min value="0"/>
      <max value="1"/>
      <localizedNames/>
      <localizedDescriptions/>
      <aqlPath
               value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']"/>
      <children>
        <id value="family_history"/>
        <name value="Family history"/>
        <localizedName value="Family history"/>
        <rmType value="EVALUATION"/>
        <nodeId value="openEHR-EHR-EVALUATION.family_history.v2"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]"/>
        <termBindings>
          <code value="SNOMED-CT"/>
          <value>
            <value value="[SNOMED-CT(20160131)::57177007]"/>
            <terminologyId value="SNOMED-CT"/>
          </value>
        </termBindings>
        <children>
          <id value="per_problem"/>
          <name value="Per problem"/>
          <localizedName value="Per problem"/>
          <rmType value="CLUSTER"/>
          <nodeId value="at0028"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="If the problem has a genetic predisposition within families, then only genetic relatives should be considered as part of this data. If the problem has psychosocial or environmental effects then non-genetic family members may also be included."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0028]"/>
          <children>
            <id value="problem_diagnosis_name"/>
            <name value="Problem/diagnosis name"/>
            <localizedName value="Problem/diagnosis name"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0029"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="This is the problem for which aggregated data involving all family members will be collected. Coding of the index problem with a terminology is preferred, where possible."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0028]/items[at0029]/value"/>
            <inputs>
              <type value="TEXT"/>
              <list>
                <value value="Hypertension"/>
                <label value="Hypertension"/>
              </list>
              <list>
                <value value="Heart attack/heart disease"/>
                <label value="Heart attack/heart disease"/>
              </list>
              <list>
                <value value="Stroke/transient ischaemic attack"/>
                <label value="Stroke/transient ischaemic attack"/>
              </list>
              <list>
                <value value="Other cardiovascular disease"/>
                <label value="Other cardiovascular disease"/>
              </list>
              <list>
                <value value="Kidney disease"/>
                <label value="Kidney disease"/>
              </list>
              <list>
                <value value="Diabetes Mellitus"/>
                <label value="Diabetes Mellitus"/>
              </list>
              <list>
                <value value="Dyslipidaemia"/>
                <label value="Dyslipidaemia"/>
              </list>
              <list>
                <value value="Prostate Cancer"/>
                <label value="Prostate Cancer"/>
              </list>
              <list>
                <value value="Breast Cancer"/>
                <label value="Breast Cancer"/>
              </list>
              <list>
                <value value="Colon Cancer"/>
                <label value="Colon Cancer"/>
              </list>
              <listOpen value="false"/>
            </inputs>
          </children>
          <children>
            <id value="description"/>
            <name value="Description"/>
            <localizedName value="Description"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0030"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0028]/items[at0030]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="per_family_member"/>
          <name value="Per family member"/>
          <localizedName value="Per family member"/>
          <rmType value="CLUSTER"/>
          <nodeId value="at0003"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <annotations>
            <comment
                     value="The data elements in this cluster will relate to the individual identified either by name or by alias. Repeat the use of the cluster for other family members."/>
          </annotations>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]"/>
          <children>
            <id value="relationship"/>
            <name value="Relationship"/>
            <localizedName value="Relationship"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0016"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="For example: mother, step-father, maternal grandmother, or paternal uncle. Coding of the relationship with a terminology is preferred, where possible and including specification of maternal and paternal as required."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0016]/value"/>
            <inputs>
              <type value="TEXT"/>
              <list>
                <value value="Mother"/>
                <label value="Mother"/>
              </list>
              <list>
                <value value="Father"/>
                <label value="Father"/>
              </list>
              <list>
                <value value="Sister"/>
                <label value="Sister"/>
              </list>
              <list>
                <value value="Brother"/>
                <label value="Brother"/>
              </list>
              <list>
                <value value="Son"/>
                <label value="Son"/>
              </list>
              <list>
                <value value="Daughter"/>
                <label value="Daughter"/>
              </list>
              <listOpen value="false"/>
            </inputs>
          </children>
          <children>
            <id value="relationship_degree"/>
            <name value="Relationship degree"/>
            <localizedName value="Relationship degree"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0064"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="If the 'Relationship' data element uses pre-coordinated terms that include the degree of relationship, then this data element is redundant."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0064]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0065"/>
                <label value="First degree relative"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0066"/>
                <label value="Second degree relative"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0067"/>
                <label value="Third degree relative"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="family_line"/>
            <name value="Family line"/>
            <localizedName value="Family line"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0068"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="If the 'Relationship' data element uses pre-coordinated terms that include the family line, then this data element is redundant."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0068]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0069"/>
                <label value="Maternal line"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0070"/>
                <label value="Paternal line"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="deceased"/>
            <name value="Deceased?"/>
            <localizedName value="Deceased?"/>
            <rmType value="DV_BOOLEAN"/>
            <nodeId value="at0023"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="Record as 'True' if family member is deceased."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0023]/value"/>
            <inputs>
              <type value="BOOLEAN"/>
              <list>
                <value value="true"/>
                <label value="true"/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="clinical_history"/>
            <name value="Clinical history"/>
            <localizedName value="Clinical history"/>
            <rmType value="CLUSTER"/>
            <nodeId value="at0008"/>
            <min value="0"/>
            <max value="-1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <annotations>
              <comment
                       value="If more detail is required, suggest using EVALUATION.problem_diagnosis or the ACTION.procedure archetype and specifying the 'Subject of Care' as the family member, rather than the subject of the health record."/>
            </annotations>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0008]"/>
            <children>
              <id value="age_at_onset"/>
              <name value="Age at onset"/>
              <localizedName value="Age at onset"/>
              <rmType value="DV_DURATION"/>
              <nodeId value="at0010"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For health problems with multiple occurrences, this describes the first nown occurrence."/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0008]/items[at0010]/value"/>
              <inputs>
                <suffix value="year"/>
                <type value="INTEGER"/>
                <validation>
                  <range>
                    <minOp value="&gt;="/>
                    <min value="0"/>
                    <maxOp value="&lt;="/>
                    <max value="200"/>
                  </range>
                </validation>
              </inputs>
              <inputs>
                <suffix value="month"/>
                <type value="INTEGER"/>
                <validation>
                  <range>
                    <minOp value="&gt;="/>
                    <min value="0"/>
                  </range>
                </validation>
              </inputs>
              <inputs>
                <suffix value="week"/>
                <type value="INTEGER"/>
                <validation>
                  <range>
                    <minOp value="&gt;="/>
                    <min value="0"/>
                  </range>
                </validation>
              </inputs>
              <inputs>
                <suffix value="day"/>
                <type value="INTEGER"/>
                <validation>
                  <range>
                    <minOp value="&gt;="/>
                    <min value="0"/>
                  </range>
                </validation>
              </inputs>
            </children>
            <children>
              <id value="cause_of_death"/>
              <name value="Cause of death?"/>
              <localizedName value="Cause of death?"/>
              <rmType value="DV_CODED_TEXT"/>
              <nodeId value="at0014"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0008]/items[at0014]/value"/>
              <inputs>
                <suffix value="code"/>
                <type value="CODED_TEXT"/>
                <list>
                  <value value="at0061"/>
                  <label value="Direct cause or closely related"/>
                  <localizedLabels/>
                  <localizedDescriptions/>
                </list>
                <list>
                  <value value="at0062"/>
                  <label value="Unrelated"/>
                  <localizedLabels/>
                  <localizedDescriptions/>
                </list>
                <list>
                  <value value="at0063"/>
                  <label value="Indeterminate"/>
                  <localizedLabels/>
                  <localizedDescriptions/>
                </list>
                <listOpen value="true"/>
              </inputs>
              <inputs>
                <suffix value="other"/>
                <type value="TEXT"/>
              </inputs>
            </children>
          </children>
          <children>
            <id value="comment"/>
            <name value="Comment"/>
            <localizedName value="Comment"/>
            <rmType value="DV_TEXT"/>
            <nodeId value="at0046"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/data[at0001]/items[at0003]/items[at0046]/value"/>
            <inputs>
              <type value="TEXT"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="last_updated"/>
          <name value="Last Updated"/>
          <localizedName value="Last Updated"/>
          <rmType value="DV_DATE_TIME"/>
          <nodeId value="at0026"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/protocol[at0025]/items[at0026]/value"/>
          <inputs>
            <type value="DATETIME"/>
          </inputs>
        </children>
        <children>
          <id value="language"/>
          <name value="Language"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/language"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="encoding"/>
          <name value="Encoding"/>
          <rmType value="CODE_PHRASE"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/encoding"/>
          <inContext value="true"/>
        </children>
        <children>
          <id value="subject"/>
          <name value="Subject"/>
          <rmType value="PARTY_PROXY"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Family history']/items[openEHR-EHR-EVALUATION.family_history.v2]/subject"/>
          <inContext value="true"/>
          <inputs>
            <suffix value="id"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_scheme"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="id_namespace"/>
            <type value="TEXT"/>
          </inputs>
          <inputs>
            <suffix value="name"/>
            <type value="TEXT"/>
          </inputs>
        </children>
      </children>
    </children>
    <children>
      <id value="sexual_health"/>
      <name value="Sexual Health"/>
      <localizedName value="Sexual Health"/>
      <rmType value="EVALUATION"/>
      <nodeId value="openEHR-EHR-EVALUATION.sexual_health_summary.v0"/>
      <min value="0"/>
      <max value="1"/>
      <localizedNames/>
      <localizedDescriptions/>
      <aqlPath
               value="/content[openEHR-EHR-EVALUATION.sexual_health_summary.v0,'Sexual Health']"/>
      <children>
        <id value="have_you_ever_had_any_of_the_following_diseases"/>
        <name value="Have you ever had any of the following diseases?"/>
        <localizedName
                       value="Have you ever had any of the following diseases?"/>
        <rmType value="DV_TEXT"/>
        <nodeId value="at0012"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-EVALUATION.sexual_health_summary.v0,'Sexual Health']/data[at0001]/items[at0012,'Have you ever had any of the following diseases?']/value"/>
        <inputs>
          <type value="TEXT"/>
          <list>
            <value value="Gonorrhea"/>
            <label value="Gonorrhea"/>
          </list>
          <list>
            <value value="HIV/AIDS"/>
            <label value="HIV/AIDS"/>
          </list>
          <list>
            <value value="HPV"/>
            <label value="HPV"/>
          </list>
          <list>
            <value value="Chlamydia"/>
            <label value="Chlamydia"/>
          </list>
          <list>
            <value value="Herpes Simplex"/>
            <label value="Herpes Simplex"/>
          </list>
          <list>
            <value value="Hepatitis B"/>
            <label value="Hepatitis B"/>
          </list>
          <list>
            <value value="Syphilis"/>
            <label value="Syphilis"/>
          </list>
          <listOpen value="false"/>
        </inputs>
      </children>
      <children>
        <id value="are_you_sexually_active"/>
        <name value="Are you sexually active?"/>
        <localizedName value="Are you sexually active?"/>
        <rmType value="DV_CODED_TEXT"/>
        <nodeId value="at0002"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-EVALUATION.sexual_health_summary.v0,'Sexual Health']/data[at0001]/items[at0002,'Are you sexually active?']/value"/>
        <inputs>
          <suffix value="code"/>
          <type value="CODED_TEXT"/>
          <list>
            <value value="at0009"/>
            <label value="Sexually active, regular partner"/>
            <localizedLabels/>
            <localizedDescriptions/>
          </list>
          <list>
            <value value="at0010"/>
            <label value="Sexually active, no regular partner"/>
            <localizedLabels/>
            <localizedDescriptions/>
          </list>
          <list>
            <value value="at0011"/>
            <label value="Never sexually active"/>
            <localizedLabels/>
            <localizedDescriptions/>
          </list>
        </inputs>
      </children>
      <children>
        <id value="comment"/>
        <name value="Comment"/>
        <localizedName value="Comment"/>
        <rmType value="DV_TEXT"/>
        <nodeId value="at0015"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-EVALUATION.sexual_health_summary.v0,'Sexual Health']/data[at0001]/items[at0015]/value"/>
        <inputs>
          <type value="TEXT"/>
        </inputs>
      </children>
      <children>
        <id value="language"/>
        <name value="Language"/>
        <rmType value="CODE_PHRASE"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath
                 value="/content[openEHR-EHR-EVALUATION.sexual_health_summary.v0,'Sexual Health']/language"/>
        <inContext value="true"/>
      </children>
      <children>
        <id value="encoding"/>
        <name value="Encoding"/>
        <rmType value="CODE_PHRASE"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath
                 value="/content[openEHR-EHR-EVALUATION.sexual_health_summary.v0,'Sexual Health']/encoding"/>
        <inContext value="true"/>
      </children>
      <children>
        <id value="subject"/>
        <name value="Subject"/>
        <rmType value="PARTY_PROXY"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath
                 value="/content[openEHR-EHR-EVALUATION.sexual_health_summary.v0,'Sexual Health']/subject"/>
        <inContext value="true"/>
        <inputs>
          <suffix value="id"/>
          <type value="TEXT"/>
        </inputs>
        <inputs>
          <suffix value="id_scheme"/>
          <type value="TEXT"/>
        </inputs>
        <inputs>
          <suffix value="id_namespace"/>
          <type value="TEXT"/>
        </inputs>
        <inputs>
          <suffix value="name"/>
          <type value="TEXT"/>
        </inputs>
      </children>
    </children>
    <children>
      <id value="progress_note"/>
      <name value="Progress note"/>
      <localizedName value="Progress note"/>
      <rmType value="OBSERVATION"/>
      <nodeId value="openEHR-EHR-OBSERVATION.progress_note.v1"/>
      <min value="0"/>
      <max value="1"/>
      <localizedNames/>
      <localizedDescriptions/>
      <aqlPath value="/content[openEHR-EHR-OBSERVATION.progress_note.v1]"/>
      <children>
        <id value="any_event"/>
        <name value="Any event"/>
        <localizedName value="Any event"/>
        <rmType value="EVENT"/>
        <nodeId value="at0002"/>
        <min value="0"/>
        <max value="-1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-OBSERVATION.progress_note.v1]/data[at0001]/events[at0002]"/>
        <children>
          <id value="progress_note"/>
          <name value="Progress Note"/>
          <localizedName value="Progress Note"/>
          <rmType value="DV_TEXT"/>
          <nodeId value="at0004"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-OBSERVATION.progress_note.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0004]/value"/>
          <inputs>
            <type value="TEXT"/>
          </inputs>
        </children>
        <children>
          <id value="time"/>
          <name value="Time"/>
          <rmType value="DV_DATE_TIME"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-OBSERVATION.progress_note.v1]/data[at0001]/events[at0002]/time"/>
          <inContext value="true"/>
          <inputs>
            <type value="DATETIME"/>
          </inputs>
        </children>
      </children>
      <children>
        <id value="language"/>
        <name value="Language"/>
        <rmType value="CODE_PHRASE"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath
                 value="/content[openEHR-EHR-OBSERVATION.progress_note.v1]/language"/>
        <inContext value="true"/>
      </children>
      <children>
        <id value="encoding"/>
        <name value="Encoding"/>
        <rmType value="CODE_PHRASE"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath
                 value="/content[openEHR-EHR-OBSERVATION.progress_note.v1]/encoding"/>
        <inContext value="true"/>
      </children>
      <children>
        <id value="subject"/>
        <name value="Subject"/>
        <rmType value="PARTY_PROXY"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath
                 value="/content[openEHR-EHR-OBSERVATION.progress_note.v1]/subject"/>
        <inContext value="true"/>
        <inputs>
          <suffix value="id"/>
          <type value="TEXT"/>
        </inputs>
        <inputs>
          <suffix value="id_scheme"/>
          <type value="TEXT"/>
        </inputs>
        <inputs>
          <suffix value="id_namespace"/>
          <type value="TEXT"/>
        </inputs>
        <inputs>
          <suffix value="name"/>
          <type value="TEXT"/>
        </inputs>
      </children>
    </children>
    <children>
      <id value="category"/>
      <rmType value="DV_CODED_TEXT"/>
      <nodeId value=""/>
      <min value="1"/>
      <max value="1"/>
      <aqlPath value="/category"/>
      <inContext value="true"/>
      <inputs>
        <suffix value="code"/>
        <type value="CODED_TEXT"/>
        <terminology value="openehr"/>
        <list>
          <value value="433"/>
          <label value="event"/>
          <localizedLabels/>
        </list>
      </inputs>
    </children>
  </tree>
</et:WebTemplate>