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="Diabetes - Annual care review"/>
  <version value="2.3"/>
  <defaultLanguage value="en"/>
  <languages value="en"/>
  <tree>
    <id value="diabetes_annual_review"/>
    <name value="Diabetes Annual review"/>
    <localizedName value="Diabetes Annual review"/>
    <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>
        <id value="start_time"/>
        <name value="Start_time"/>
        <rmType value="DV_DATE_TIME"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath value="/context/start_time"/>
        <inContext value="true"/>
        <inputs>
          <type value="DATETIME"/>
        </inputs>
      </children>
      <children>
        <id value="setting"/>
        <name value="Setting"/>
        <rmType value="DV_CODED_TEXT"/>
        <min value="1"/>
        <max value="1"/>
        <aqlPath value="/context/setting"/>
        <inContext value="true"/>
        <inputs>
          <suffix value="code"/>
          <type value="TEXT"/>
        </inputs>
        <inputs>
          <suffix value="value"/>
          <type value="TEXT"/>
        </inputs>
      </children>
    </children>
    <children>
      <id value="body_mass_metrics"/>
      <name value="Body mass metrics"/>
      <localizedName value="Body mass metrics"/>
      <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,'Body mass metrics']"/>
      <children>
        <id value="height"/>
        <name value="Height"/>
        <localizedName value="Height"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.height.v2"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <annotations>
          <comment
                   value="Height is measured with the individual in a standing position and body length in a recumbent position."/>
        </annotations>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']"/>
        <children>
          <id value="height"/>
          <name value="Height"/>
          <localizedName value="Height"/>
          <rmType value="DV_QUANTITY"/>
          <nodeId value="at0004"/>
          <min value="1"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/data[at0001]/events[at0002]/data[at0003]/items[at0004,'Height']/value"/>
          <inputs>
            <suffix value="magnitude"/>
            <type value="DECIMAL"/>
          </inputs>
          <inputs>
            <suffix value="unit"/>
            <type value="CODED_TEXT"/>
            <list>
              <value value="cm"/>
              <label value="cm"/>
            </list>
            <list>
              <value value="[in_i]"/>
              <label value="[in_i]"/>
              <localizedLabels/>
            </list>
          </inputs>
          <termBindings>
            <code value="LOINC"/>
            <value>
              <value value="[LOINC::8302-2]"/>
              <terminologyId value="LOINC"/>
            </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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/data[at0001]/events[at0002]/time"/>
          <inContext value="true"/>
          <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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/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="weight"/>
        <name value="Weight"/>
        <localizedName value="Weight"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.body_weight.v2"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']"/>
        <children>
          <id value="weight"/>
          <name value="Weight"/>
          <localizedName value="Weight"/>
          <rmType value="DV_QUANTITY"/>
          <nodeId value="at0004"/>
          <min value="1"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value"/>
          <inputs>
            <suffix value="magnitude"/>
            <type value="DECIMAL"/>
          </inputs>
          <inputs>
            <suffix value="unit"/>
            <type value="CODED_TEXT"/>
            <list>
              <value value="kg"/>
              <label value="kg"/>
            </list>
            <list>
              <value value="[lb_av]"/>
              <label value="[lb_av]"/>
              <localizedLabels/>
            </list>
            <list>
              <value value="g"/>
              <label value="g"/>
            </list>
          </inputs>
          <termBindings>
            <code value="LOINC"/>
            <value>
              <value value="[LOINC::29463-7]"/>
              <terminologyId value="LOINC"/>
            </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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/data[at0002]/events[at0003]/time"/>
          <inContext value="true"/>
          <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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/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="body_mass_index"/>
        <name value="Body mass index"/>
        <localizedName value="Body mass index"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.body_mass_index.v2"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <annotations>
          <comment
                   value="Body Mass Index is a calculated ratio describing how an individual's body weight relates to the weight that is regarded as normal, or desirable, for the individual's height."/>
        </annotations>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]"/>
        <children>
          <id value="body_mass_index"/>
          <name value="Body mass index"/>
          <localizedName value="Body mass index"/>
          <rmType value="DV_QUANTITY"/>
          <nodeId value="at0004"/>
          <min value="1"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]/data[at0001]/events[at0002]/data[at0003]/items[at0004]/value"/>
          <inputs>
            <suffix value="magnitude"/>
            <type value="DECIMAL"/>
          </inputs>
          <inputs>
            <suffix value="unit"/>
            <type value="CODED_TEXT"/>
            <list>
              <value value="kg/m2"/>
              <label value="kg/m2"/>
              <localizedLabels/>
            </list>
            <list>
              <value value="[lb_av]/[in_i]2"/>
              <label value="[lb_av]/[in_i]2"/>
            </list>
          </inputs>
          <termBindings>
            <code value="SNOMED-CT"/>
            <value>
              <value value="[SNOMED-CT::60621009]"/>
              <terminologyId value="SNOMED-CT"/>
            </value>
          </termBindings>
          <termBindings>
            <code value="LOINC"/>
            <value>
              <value value="[LOINC::39156-5]"/>
              <terminologyId value="LOINC"/>
            </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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]/data[at0001]/events[at0002]/time"/>
          <inContext value="true"/>
          <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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.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,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.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="cardiovascular"/>
      <name value="Cardiovascular"/>
      <localizedName value="Cardiovascular"/>
      <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,'Cardiovascular']"/>
      <children>
        <id value="standing_bp"/>
        <name value="Standing BP"/>
        <localizedName value="Standing BP"/>
        <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']"/>
        <termBindings>
          <code value="SNOMED-CT"/>
          <value>
            <value value="[SNOMED-CT(2003)::364090009]"/>
            <terminologyId value="SNOMED-CT"/>
          </value>
        </termBindings>
        <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/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="1000.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)::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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/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="1000.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="position"/>
          <name value="Position"/>
          <localizedName value="Position"/>
          <rmType value="DV_CODED_TEXT"/>
          <nodeId value="at0008"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/state[at0007]/items[at0008]/value"/>
          <inputs>
            <suffix value="code"/>
            <type value="CODED_TEXT"/>
            <list>
              <value value="at1000"/>
              <label value="Standing"/>
              <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/time"/>
          <inContext value="true"/>
          <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/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="pulse_rate"/>
        <name value="Pulse rate"/>
        <localizedName value="Pulse 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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']"/>
        <children>
          <id value="rate"/>
          <name value="Rate"/>
          <localizedName value="Rate"/>
          <rmType value="DV_QUANTITY"/>
          <nodeId value="at0004"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value"/>
          <inputs>
            <suffix value="magnitude"/>
            <type value="DECIMAL"/>
            <validation>
              <range>
                <minOp value="&gt;="/>
                <min value="0.0"/>
                <maxOp value="&lt;"/>
                <max value="1000.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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']/data[at0002]/events[at0003]/time"/>
          <inContext value="true"/>
          <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse 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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse 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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse 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="sitting_lying_bp"/>
        <name value="Sitting / lying BP"/>
        <localizedName value="Sitting / lying BP"/>
        <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']"/>
        <termBindings>
          <code value="SNOMED-CT"/>
          <value>
            <value value="[SNOMED-CT(2003)::364090009]"/>
            <terminologyId value="SNOMED-CT"/>
          </value>
        </termBindings>
        <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/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="1000.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)::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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/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="1000.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="position"/>
          <name value="Position"/>
          <localizedName value="Position"/>
          <rmType value="DV_CODED_TEXT"/>
          <nodeId value="at0008"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/state[at0007]/items[at0008]/value"/>
          <inputs>
            <suffix value="code"/>
            <type value="CODED_TEXT"/>
            <list>
              <value value="at1001"/>
              <label value="Sitting"/>
              <localizedLabels/>
              <localizedDescriptions/>
            </list>
            <list>
              <value value="at1003"/>
              <label value="Lying"/>
              <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/time"/>
          <inContext value="true"/>
          <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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/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,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/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="visual_acuity"/>
      <name value="Visual Acuity"/>
      <localizedName value="Visual Acuity"/>
      <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,'Visual Acuity']"/>
      <children>
        <id value="visual_acuity"/>
        <name value="Visual acuity"/>
        <localizedName value="Visual acuity"/>
        <rmType value="OBSERVATION"/>
        <nodeId value="openEHR-EHR-OBSERVATION.visual_acuity.v0"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']"/>
        <children>
          <id value="any_event"/>
          <name value="Any event"/>
          <localizedName value="Any event"/>
          <rmType value="POINT_EVENT"/>
          <nodeId value="at0134"/>
          <min value="0"/>
          <max value="-1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]"/>
          <children>
            <id value="result_details"/>
            <name value="Result details"/>
            <localizedName value="Result details"/>
            <rmType value="CLUSTER"/>
            <nodeId value="at0053"/>
            <min value="0"/>
            <max value="2"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]"/>
            <children>
              <id value="eye_examined"/>
              <name value="Eye examined"/>
              <localizedName value="Eye examined"/>
              <rmType value="DV_CODED_TEXT"/>
              <nodeId value="at0007"/>
              <min value="1"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0007]/value"/>
              <inputs>
                <suffix value="code"/>
                <type value="CODED_TEXT"/>
                <list>
                  <value value="at0012"/>
                  <label value="Left eye"/>
                  <localizedLabels/>
                  <localizedDescriptions/>
                  <termBindings>
                    <code value="SNOMED-CT"/>
                    <value>
                      <value value="[SNOMED-CT::362503005]"/>
                      <terminologyId value="SNOMED-CT"/>
                    </value>
                  </termBindings>
                </list>
                <list>
                  <value value="at0013"/>
                  <label value="Right eye"/>
                  <localizedLabels/>
                  <localizedDescriptions/>
                  <termBindings>
                    <code value="SNOMED-CT"/>
                    <value>
                      <value value="[SNOMED-CT::362502000]"/>
                      <terminologyId value="SNOMED-CT"/>
                    </value>
                  </termBindings>
                </list>
              </inputs>
            </children>
            <children>
              <id value="notation"/>
              <name value="Notation"/>
              <localizedName value="Notation"/>
              <rmType value="CLUSTER"/>
              <nodeId value="at0028"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]"/>
              <children>
                <id value="metric_snellen"/>
                <name value="Metric Snellen"/>
                <localizedName value="Metric Snellen"/>
                <rmType value="DV_PROPORTION"/>
                <nodeId value="at0056"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <annotations>
                  <comment value="Examples: '6/6, '6/12', '6/5'"/>
                </annotations>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0056]/value"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="1"/>
                      <maxOp value="&lt;="/>
                      <max value="6"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="4"/>
                      <maxOp value="&lt;="/>
                      <max value="60"/>
                    </range>
                  </validation>
                </inputs>
                <termBindings>
                  <code value="SNOMED-CT"/>
                  <value>
                    <value value="[SNOMED-CT::422673001]"/>
                    <terminologyId value="SNOMED-CT"/>
                  </value>
                </termBindings>
              </children>
              <children>
                <id value="us_snellen"/>
                <name value="US Snellen"/>
                <localizedName value="US Snellen"/>
                <rmType value="DV_PROPORTION"/>
                <nodeId value="at0009"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <annotations>
                  <comment value="Examples: '20/20' , '20/40', '20/18'"/>
                </annotations>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0009]/value"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="3"/>
                      <maxOp value="&lt;="/>
                      <max value="20"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="2"/>
                      <maxOp value="&lt;="/>
                      <max value="200"/>
                    </range>
                  </validation>
                </inputs>
                <termBindings>
                  <code value="SNOMED-CT"/>
                  <value>
                    <value value="[SNOMED-CT::422673001]"/>
                    <terminologyId value="SNOMED-CT"/>
                  </value>
                </termBindings>
              </children>
              <children>
                <id value="decimal_snellen"/>
                <name value="Decimal Snellen"/>
                <localizedName value="Decimal Snellen"/>
                <rmType value="DV_PROPORTION"/>
                <nodeId value="at0057"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0057]/value"/>
                <inputs>
                  <suffix value="numerator"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="0"/>
                      <maxOp value="&lt;="/>
                      <max value="2"/>
                    </range>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="denominator"/>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="1"/>
                      <maxOp value="&lt;="/>
                      <max value="1"/>
                    </range>
                  </validation>
                </inputs>
                <termBindings>
                  <code value="SNOMED-CT"/>
                  <value>
                    <value value="[SNOMED-CT::422673001]"/>
                    <terminologyId value="SNOMED-CT"/>
                  </value>
                </termBindings>
              </children>
              <children>
                <id value="etdrs_letters"/>
                <name value="ETDRS Letters"/>
                <localizedName value="ETDRS Letters"/>
                <rmType value="DV_COUNT"/>
                <nodeId value="at0011"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0011]/value"/>
                <inputs>
                  <type value="INTEGER"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="1"/>
                      <maxOp value="&lt;="/>
                      <max value="120"/>
                    </range>
                  </validation>
                </inputs>
              </children>
              <children>
                <id value="logmar"/>
                <name value="logMar"/>
                <localizedName value="logMar"/>
                <rmType value="DV_QUANTITY"/>
                <nodeId value="at0046"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0046]/value"/>
                <inputs>
                  <suffix value="magnitude"/>
                  <type value="DECIMAL"/>
                  <validation>
                    <range>
                      <minOp value="&gt;="/>
                      <min value="-0.5"/>
                      <maxOp value="&lt;="/>
                      <max value="2.0"/>
                    </range>
                    <precision>
                      <minOp value="&gt;="/>
                      <min value="1"/>
                      <maxOp value="&lt;="/>
                      <max value="1"/>
                    </precision>
                  </validation>
                </inputs>
                <inputs>
                  <suffix value="unit"/>
                  <type value="CODED_TEXT"/>
                  <list>
                    <value value="1"/>
                    <label value="1"/>
                  </list>
                </inputs>
              </children>
              <children>
                <id value="low_vision_score"/>
                <name value="Low Vision Score"/>
                <localizedName value="Low Vision Score"/>
                <rmType value="DV_ORDINAL"/>
                <nodeId value="at0015"/>
                <min value="0"/>
                <max value="1"/>
                <localizedNames/>
                <localizedDescriptions/>
                <aqlPath
                         value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0015]/value"/>
                <inputs>
                  <type value="CODED_TEXT"/>
                  <list>
                    <value value="at0016"/>
                    <label value="NPL - No perception of light"/>
                    <ordinal value="1"/>
                    <localizedLabels/>
                    <localizedDescriptions/>
                  </list>
                  <list>
                    <value value="at0017"/>
                    <label value="PL -  Perception of light"/>
                    <ordinal value="2"/>
                    <localizedLabels/>
                    <localizedDescriptions/>
                  </list>
                  <list>
                    <value value="at0018"/>
                    <label value="HM - Hand movement"/>
                    <ordinal value="3"/>
                    <localizedLabels/>
                    <localizedDescriptions/>
                  </list>
                  <list>
                    <value value="at0019"/>
                    <label value="CF - Count fingers"/>
                    <ordinal value="4"/>
                    <localizedLabels/>
                    <localizedDescriptions/>
                  </list>
                </inputs>
              </children>
            </children>
            <children>
              <id value="interpretation"/>
              <name value="Interpretation"/>
              <localizedName value="Interpretation"/>
              <rmType value="DV_TEXT"/>
              <nodeId value="at0066"/>
              <min value="0"/>
              <max value="-1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="Example: 'Visual Acuity 20/20' or 'Jaeger 'J2' score'."/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0066]/value"/>
              <inputs>
                <type value="TEXT"/>
                <list>
                  <value value="Partially sighted"/>
                  <label value="Partially sighted"/>
                </list>
                <list>
                  <value value="Blind"/>
                  <label value="Blind"/>
                </list>
                <listOpen value="false"/>
              </inputs>
              <termBindings>
                <code value="SNOMED-CT"/>
                <value>
                  <value value="[SNOMED-CT::363983007]"/>
                  <terminologyId value="SNOMED-CT"/>
                </value>
              </termBindings>
            </children>
            <children>
              <id value="no_test_result"/>
              <name value="No test result"/>
              <localizedName value="No test result"/>
              <rmType value="DV_BOOLEAN"/>
              <nodeId value="at0055"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="Record as True if the clinician was unable to record a result for the test eye."/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0055]/value"/>
              <inputs>
                <type value="BOOLEAN"/>
                <list>
                  <value value="true"/>
                  <label value="true"/>
                </list>
              </inputs>
            </children>
            <children>
              <id value="reason_for_no_test_result"/>
              <name value="Reason for no test result"/>
              <localizedName value="Reason for no test result"/>
              <rmType value="DV_CODED_TEXT"/>
              <nodeId value="at0140"/>
              <min value="0"/>
              <max value="1"/>
              <localizedNames/>
              <localizedDescriptions/>
              <annotations>
                <comment
                         value="For example, patient was not cooperative; patient was not capable; ran out of time."/>
              </annotations>
              <aqlPath
                       value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0140]/value"/>
              <inputs>
                <suffix value="code"/>
                <type value="CODED_TEXT"/>
                <terminology value="SNOMED-CT"/>
                <list>
                  <value value="246916009"/>
                  <label value="Absent eyeball"/>
                  <localizedLabels/>
                </list>
                <listOpen value="true"/>
              </inputs>
              <inputs>
                <suffix value="other"/>
                <type value="TEXT"/>
              </inputs>
            </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,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/time"/>
            <inContext value="true"/>
            <inputs>
              <type value="DATETIME"/>
            </inputs>
          </children>
        </children>
        <children>
          <id value="visual_acuity_status"/>
          <name value="Visual acuity status"/>
          <localizedName value="Visual acuity status"/>
          <rmType value="CLUSTER"/>
          <nodeId value="openEHR-EHR-CLUSTER.visual_acuity_status.v0"/>
          <min value="0"/>
          <max value="1"/>
          <localizedNames/>
          <localizedDescriptions/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]"/>
          <children>
            <id value="registered_blind"/>
            <name value="Registered blind"/>
            <localizedName value="Registered blind"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0001"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]/items[at0001]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0002"/>
                <label value="Yes"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0003"/>
                <label value="No"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="attends_diabetic_eye_screening"/>
            <name value="Attends diabetic eye screening"/>
            <localizedName value="Attends diabetic eye screening"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0004"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]/items[at0004]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0005"/>
                <label value="Yes"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0006"/>
                <label value="No"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
              <list>
                <value value="at0007"/>
                <label value="Not required"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </inputs>
          </children>
          <children>
            <id value="eye_absent"/>
            <name value="Eye absent"/>
            <localizedName value="Eye absent"/>
            <rmType value="DV_CODED_TEXT"/>
            <nodeId value="at0008"/>
            <min value="0"/>
            <max value="1"/>
            <localizedNames/>
            <localizedDescriptions/>
            <aqlPath
                     value="/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]/items[at0008]/value"/>
            <inputs>
              <suffix value="code"/>
              <type value="CODED_TEXT"/>
              <list>
                <value value="at0009"/>
                <label value="Right eye"/>
                <localizedLabels/>
                <localizedDescriptions/>
                <termBindings>
                  <code value="SNOMED-CT"/>
                  <value>
                    <value value="[SNOMED-CT::422673001]"/>
                    <terminologyId value="SNOMED-CT"/>
                  </value>
                </termBindings>
              </list>
              <list>
                <value value="at0010"/>
                <label value="Left eye"/>
                <localizedLabels/>
                <localizedDescriptions/>
              </list>
            </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,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/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,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/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,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/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="urine_assessment"/>
      <name value="Urine assessment"/>
      <localizedName value="Urine assessment"/>
      <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,'Urine assessment']"/>
      <children>
        <id value="urinalysis"/>
        <name value="Urinalysis"/>
        <localizedName value="Urinalysis"/>
        <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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]"/>
        <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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/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="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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/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="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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/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="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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/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="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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/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="time"/>
          <name value="Time"/>
          <rmType value="DV_DATE_TIME"/>
          <min value="1"/>
          <max value="1"/>
          <aqlPath
                   value="/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/time"/>
          <inContext value="true"/>
          <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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.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,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.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>
    <children>
      <id value="visual_certification_uk"/>
      <name value="Visual certification UK"/>
      <localizedName value="Visual certification UK"/>
      <rmType value="ADMIN_ENTRY"/>
      <nodeId value="openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0"/>
      <min value="0"/>
      <max value="1"/>
      <localizedNames/>
      <localizedDescriptions/>
      <aqlPath
               value="/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]"/>
      <children>
        <id value="certified_impairment"/>
        <name value="Certified impairment"/>
        <localizedName value="Certified impairment"/>
        <rmType value="DV_CODED_TEXT"/>
        <nodeId value="at0002"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]/data[at0001]/items[at0002]/value"/>
        <inputs>
          <suffix value="code"/>
          <type value="CODED_TEXT"/>
          <list>
            <value value="at0003"/>
            <label value="Sight not severely impaired"/>
            <localizedLabels/>
            <localizedDescriptions/>
          </list>
          <list>
            <value value="at0004"/>
            <label value="Sight impaired"/>
            <localizedLabels/>
            <localizedDescriptions/>
          </list>
          <list>
            <value value="at0005"/>
            <label value="Severely sight impaired"/>
            <localizedLabels/>
            <localizedDescriptions/>
          </list>
        </inputs>
      </children>
      <children>
        <id value="date_assessed"/>
        <name value="Date assessed"/>
        <localizedName value="Date assessed"/>
        <rmType value="DV_DATE_TIME"/>
        <nodeId value="at0006"/>
        <min value="0"/>
        <max value="1"/>
        <localizedNames/>
        <localizedDescriptions/>
        <aqlPath
                 value="/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]/data[at0001]/items[at0006]/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-ADMIN_ENTRY.visual_certification_uk.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-ADMIN_ENTRY.visual_certification_uk.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-ADMIN_ENTRY.visual_certification_uk.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="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>
    <children>
      <id value="language"/>
      <name value="Language"/>
      <rmType value="CODE_PHRASE"/>
      <min value="1"/>
      <max value="1"/>
      <aqlPath value="/language"/>
      <inContext value="true"/>
    </children>
    <children>
      <id value="territory"/>
      <name value="Territory"/>
      <rmType value="CODE_PHRASE"/>
      <min value="1"/>
      <max value="1"/>
      <aqlPath value="/territory"/>
      <inContext value="true"/>
    </children>
    <children>
      <id value="composer"/>
      <name value="Composer"/>
      <rmType value="PARTY_PROXY"/>
      <min value="1"/>
      <max value="1"/>
      <aqlPath value="/composer"/>
      <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>
  </tree>
</et:WebTemplate>