<?xml version="1.0" encoding="UTF-8"?>
<archetype xmlns="http://schemas.openehr.org/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <original_language>
    <terminology_id>
      <value>ISO_639-1</value>
    </terminology_id>
    <code_string>en</code_string>
  </original_language>
  <is_controlled>false</is_controlled>
  <description>
    <original_author id="date">2010-11-09</original_author>
    <original_author id="name">Sam Heard</original_author>
    <original_author id="organisation">Ocean Informatics</original_author>
    <original_author id="email">sam.heard@oceaninformatics.com</original_author>
    <other_contributors>Stephen Chu, NEHTA, Australia (Editor)</other_contributors>
    <other_contributors>Samo Drnovšek, Marand, Slovenia (Editor)</other_contributors>
    <other_contributors>Jacquie Garton-Smith, Royal Perth Hospital and DoHWA, Australia</other_contributors>
    <other_contributors>Sam Heard, Ocean Informatics, Australia (Editor)</other_contributors>
    <other_contributors>Robert L'egan, NEHTA, Australia</other_contributors>
    <other_contributors>Heather Leslie, Ocean Informatics, Australia (Editor)</other_contributors>
    <other_contributors>Ian McNicoll, Ocean Informatics, UK</other_contributors>
    <other_contributors>Jude Michel, Queensland Health, Australia</other_contributors>
    <other_contributors>Chris Mitchell, RACGP, Australia</other_contributors>
    <other_contributors>Jodie Pycroft, Adelaide Northern Division of General Practice Ltd, Australia</other_contributors>
    <other_contributors>Gordon Tomes, Australian Institute of Health and Welfare, Australia</other_contributors>
    <other_contributors>Richard Townley-O'Neill, NEHTA, Australia (Editor)</other_contributors>
    <other_contributors>Kylie Young, The Royal Australian College of General Practitioners, Australia</other_contributors>
    <lifecycle_state>in_development</lifecycle_state>
    <other_details id="licence">This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.</other_details>
    <other_details id="custodian_organisation">Nasjonal IKT</other_details>
    <other_details id="references">Based on NEHTA Medication action archetype http://dcm.nehta.org.au/ckm/#showArchetype_1013.1.876_6&#xD;
&#xD;
NEHTA Therapeutic Good Use Datagroup http://nehta.gov.au/data-group-library/data-specifications/dgl-therapeutic-good-action&#xD;
&#xD;
Intermountain Healthcare Medication order model, Personal Communication to Sam Heard by Dr Stan Huff.&#xD;
&#xD;
Royal Australian College of General Practitioners. Fact Sheet: Medicines List. 2010.&#xD;
&#xD;
NHS HSCIC Messaging Implementation Manual (GP2GP messages) http://www.uktcregistration.nss.cfh.nhs.uk/trud3&#xD;
&#xD;
Standards for medication and medical device records – technical annex [Internet]. RCP London. [cited 2015 Dec 15]. Available from: https://www.rcplondon.ac.uk/projects/outputs/standards-medication-and-medical-device-records-technical-annex</other_details>
    <other_details id="original_namespace">no.nasjonalikt</other_details>
    <other_details id="original_publisher">Nasjonal IKT</other_details>
    <other_details id="custodian_namespace">no.nasjonalikt</other_details>
    <other_details id="MD5-CAM-1.0.1">6374F7BA4D98873E75AF807DC71EBDB5</other_details>
    <other_details id="build_uid">74b83721-8442-402e-bcce-0849e949ad14</other_details>
    <other_details id="revision">0.0.1-alpha</other_details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>ru</code_string>
      </language>
      <purpose>этот архетип класса ДЕЙСТВИЕ позволяет записывать активность, связанную с введением лекарств или применением лечения. Обычно такая активность возникает в ответ на назначение лекарства врачом, но также может быть при самолечении или лечении по совету аптекаря. Информация о времени приема отсутствует, так как использование данного архетипа предполагает, что действие произведено в настоящий момент времени.</purpose>
      <keywords>лекарство</keywords>
      <keywords>медикамент</keywords>
      <keywords>введение</keywords>
      <keywords>прием</keywords>
      <use>*For recording the planning, issuing of a prescription, dispensing, administration, cessation, suspension, completion of a medicine, vaccine or other therapeutic good . This will usually be in response to a medication order but may be administered immediately without an order at times, thus requiring recording of the administration alone (e.g. in an emergency situation). &#xD;
&#xD;
Such a record may be made to indicate the administration of a dose, dispensing of a certain quantity or as a record of ceasing a medication. The state of the medication instruction is altered by the action taken as indicated in the Pathway definition.&#xD;
&#xD;
There is a date and time at which this ACTION took place (as there is for all ACTIONs)  and use of this archetype indicates that some action has actually occurred.(en)</use>
      <misuse>*Do not use when recording an instruction or order (use INSTRUCTION.medication).(en)</misuse>
      <copyright>© Nasjonal IKT HF</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>es-ar</code_string>
      </language>
      <purpose>Este ACTION permite la grabación de las ordenes de prescripciones. Esto será normalmente en respuesta a una orden de medicación o prescripción, pero puede ser autoadministrado o suministrada por una farmacia. No existe informacion sobre si el uso de este arquetipo implica que alguna accion haya efectivamente sido ejecutada</purpose>
      <keywords>*medication(en)</keywords>
      <keywords>*prescibe(en)</keywords>
      <keywords>*dispense(en)</keywords>
      <keywords>*administration(en)</keywords>
      <keywords>*cessation(en)</keywords>
      <keywords>*therapeutic good(en)</keywords>
      <keywords>*supply(en)</keywords>
      <keywords>*medicine(en)</keywords>
      <keywords>*drug(en)</keywords>
      <use>*For recording the planning, issuing of a prescription, dispensing, administration, cessation, suspension, completion of a medicine, vaccine or other therapeutic good . This will usually be in response to a medication order but may be administered immediately without an order at times, thus requiring recording of the administration alone (e.g. in an emergency situation). &#xD;
&#xD;
Such a record may be made to indicate the administration of a dose, dispensing of a certain quantity or as a record of ceasing a medication. The state of the medication instruction is altered by the action taken as indicated in the Pathway definition.&#xD;
&#xD;
There is a date and time at which this ACTION took place (as there is for all ACTIONs)  and use of this archetype indicates that some action has actually occurred.(en)</use>
      <misuse>*Do not use when recording an instruction or order (use INSTRUCTION.medication).(en)</misuse>
      <copyright>© Nasjonal IKT HF</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>nb</code_string>
      </language>
      <purpose>For å registrere alle aktiviteter utført i forbindelse med et legemiddel, vaksine, parenteral væske eller ernæringsprodukt og, dersom det er passende, en lenke til forordningen.</purpose>
      <keywords>medikasjon</keywords>
      <keywords>foreskriving</keywords>
      <keywords>foreskrive</keywords>
      <keywords>utdeling</keywords>
      <keywords>administrasjon</keywords>
      <keywords>utsettelse</keywords>
      <keywords>seponering</keywords>
      <keywords>terapeutisk vare</keywords>
      <keywords>medisinsk vare</keywords>
      <keywords>tilførsel</keywords>
      <keywords>medisin</keywords>
      <keywords>apotekervare</keywords>
      <keywords>legemiddel</keywords>
      <use>For å registrere planlegging, ordinering, utdeling, administrering, seponering, utsettelse og fullførelse av medisinering eller vaksinering. Dette vil vanligvis følge av en legemiddelordinering, men kan i gitte tilfeller skje uten en forutgående ordinering og krever dermed kun en registrering av administreringen (for eksempel i en akuttsituasjon).&#xD;
&#xD;
Slike oppføringer kan gjøres for å markere administrering av en dose, utdeling av en bestemt mengde eller som dokumentasjon av seponering. Statusen til legemiddelordineringen blir endret i henhold til prosesstrinnene.&#xD;
&#xD;
Som for alle ACTION-arketyper, er det et tidsstempel på når legemiddelhandlingen fant sted. Bruk av denne arketypen indikerer derfor at en handling faktisk har blitt utført.</use>
      <misuse>Brukes ikke for ordinering av legemidler (bruk da INSTRUCTION.medication_order).</misuse>
      <copyright>© Nasjonal IKT HF</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>sl</code_string>
      </language>
      <purpose>*The recording of activities undertaken with regard to a medicine, vaccine or other therapeutic good and linking to the instruction if appropriate.</purpose>
      <keywords>*medication</keywords>
      <keywords>*prescibe</keywords>
      <keywords>*dispense</keywords>
      <keywords>*administration</keywords>
      <keywords>*cessation</keywords>
      <keywords>*therapeutic good</keywords>
      <keywords>*supply</keywords>
      <keywords>*medicine</keywords>
      <keywords>*drug</keywords>
      <use>*For recording the planning, issuing of a prescription, dispensing, administration, cessation, suspension, completion of a medicine, vaccine or other therapeutic good . This will usually be in response to a medication order but may be administered immediately without an order at times, thus requiring recording of the administration alone (e.g. in an emergency situation). &#xD;
&#xD;
Such a record may be made to indicate the administration of a dose, dispensing of a certain quantity or as a record of ceasing a medication. The state of the medication instruction is altered by the action taken as indicated in the Pathway definition.&#xD;
&#xD;
There is a date and time at which this ACTION took place (as there is for all ACTIONs)  and use of this archetype indicates that some action has actually occurred.</use>
      <misuse>*Do not use when recording an instruction or order (use INSTRUCTION.medication).</misuse>
      <copyright>© Nasjonal IKT HF</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>The recording of activities undertaken with regard to a medicine, vaccine or other therapeutic good and linking to the instruction if appropriate.</purpose>
      <keywords>medication</keywords>
      <keywords>prescibe</keywords>
      <keywords>dispense</keywords>
      <keywords>administration</keywords>
      <keywords>cessation</keywords>
      <keywords>therapeutic good</keywords>
      <keywords>supply</keywords>
      <keywords>medicine</keywords>
      <keywords>drug</keywords>
      <use>For recording the planning, issuing of a prescription, dispensing, administration, cessation, suspension, completion of a medicine, vaccine or other therapeutic good . This will usually be in response to a medication order but may be administered immediately without an order at times, thus requiring recording of the administration alone (e.g. in an emergency situation). &#xD;
&#xD;
Such a record may be made to indicate the administration of a dose, dispensing of a certain quantity or as a record of ceasing a medication. The state of the medication instruction is altered by the action taken as indicated in the Pathway definition.&#xD;
&#xD;
There is a date and time at which this ACTION took place (as there is for all ACTIONs)  and use of this archetype indicates that some action has actually occurred.</use>
      <misuse>Do not use when recording an instruction or order (use INSTRUCTION.medication).</misuse>
      <copyright>© Nasjonal IKT HF</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>ar-sy</code_string>
      </language>
      <purpose>يُمَكِّن هذا الفعل من تسجيل الأفعال التي يتم تنفيذها فيما يتعلق بالأدوية. و عادة ما يكون ذلك استجابة لأمر دوائي أو وصفة دوائية, و لكنه قد يكون إما قام المريض بتناوله بنفسه أو عن طريق الصيدلية. لا يوجد في هذا النموذج تفاصيل حول الوقت حيث إنه يشير إلى فعل تم في الواقع.</purpose>
      <keywords>*medication(en)</keywords>
      <keywords>*prescibe(en)</keywords>
      <keywords>*dispense(en)</keywords>
      <keywords>*administration(en)</keywords>
      <keywords>*cessation(en)</keywords>
      <keywords>*therapeutic good(en)</keywords>
      <keywords>*supply(en)</keywords>
      <keywords>*medicine(en)</keywords>
      <keywords>*drug(en)</keywords>
      <use>*For recording the planning, issuing of a prescription, dispensing, administration, cessation, suspension, completion of a medicine, vaccine or other therapeutic good . This will usually be in response to a medication order but may be administered immediately without an order at times, thus requiring recording of the administration alone (e.g. in an emergency situation). &#xD;
&#xD;
Such a record may be made to indicate the administration of a dose, dispensing of a certain quantity or as a record of ceasing a medication. The state of the medication instruction is altered by the action taken as indicated in the Pathway definition.&#xD;
&#xD;
There is a date and time at which this ACTION took place (as there is for all ACTIONs)  and use of this archetype indicates that some action has actually occurred.(en)</use>
      <misuse>*Do not use when recording an instruction or order (use INSTRUCTION.medication).(en)</misuse>
      <copyright>© Nasjonal IKT HF</copyright>
    </details>
  </description>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>ru</code_string>
    </language>
    <author id="name">Art Latyp; Артур Латыпов</author>
    <author id="organisation">RusBITech; Русбитех, Москва</author>
    <accreditation>hmm</accreditation>
  </translations>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>es-ar</code_string>
    </language>
    <author id="name">Guillermo Palli</author>
  </translations>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>nb</code_string>
    </language>
    <author id="name">Vebjørn Arntzen, Silje L. Bakke</author>
    <author id="organisation">Oslo universitetssykehus HF, Nasjonal IKT HF, Norway</author>
  </translations>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>ar-sy</code_string>
    </language>
    <author id="name">Mona Saleh</author>
  </translations>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>sl</code_string>
    </language>
    <author id="name">Biljana Prinčič</author>
    <author id="organisation">Marand, Ljubljana</author>
    <author id="email">biljana.princic@marand.si</author>
  </translations>
  <uid>
    <value>d7f67749-25db-4aeb-9082-7324f1184eca</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-ACTION.medication_draft.v0</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>ACTION</rm_type_name>
    <occurrences>
      <lower_included>true</lower_included>
      <upper_included>true</upper_included>
      <lower_unbounded>false</lower_unbounded>
      <upper_unbounded>false</upper_unbounded>
      <lower>1</lower>
      <upper>1</upper>
    </occurrences>
    <node_id>at0000</node_id>
    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
      <rm_attribute_name>ism_transition</rm_attribute_name>
      <existence>
        <lower_included>true</lower_included>
        <upper_included>true</upper_included>
        <lower_unbounded>false</lower_unbounded>
        <upper_unbounded>false</upper_unbounded>
        <lower>1</lower>
        <upper>1</upper>
      </existence>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0109</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>526</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0109</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0013</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>527</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0013</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0012</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>528</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0012</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0016</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>529</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0016</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0137</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>529</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0137</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0002</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0002</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0003</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0003</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0004</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0004</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0005</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0005</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0041</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0041</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0006</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0006</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0106</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0106</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0010</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0010</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0018</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0018</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0044</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0044</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0035</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>245</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0035</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0008</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>530</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0008</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0009</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>530</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0009</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0011</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>530</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0011</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0015</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>531</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0015</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0039</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>531</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0039</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ISM_TRANSITION</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0007</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>current_state</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>1</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>openehr</value>
                </terminology_id>
                <code_list>532</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>careflow_step</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_CODED_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>defining_code</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_CODE_PHRASE">
                <rm_type_name>CODE_PHRASE</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <terminology_id>
                  <value>local</value>
                </terminology_id>
                <code_list>at0007</code_list>
              </children>
            </attributes>
          </children>
        </attributes>
      </children>
    </attributes>
    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
      <rm_attribute_name>description</rm_attribute_name>
      <existence>
        <lower_included>true</lower_included>
        <upper_included>true</upper_included>
        <lower_unbounded>false</lower_unbounded>
        <upper_unbounded>false</upper_unbounded>
        <lower>1</lower>
        <upper>1</upper>
      </existence>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ITEM_TREE</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0017</node_id>
        <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
          <rm_attribute_name>items</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0020</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>CLUSTER</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0082</node_id>
            <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
              <rm_attribute_name>items</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="ARCHETYPE_SLOT">
                <rm_type_name>CLUSTER</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0104</node_id>
                <includes>
                  <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.medication_substance(-[a-zA-Z0-9_]+)*\.v0/}</string_expression>
                  <expression xsi:type="EXPR_BINARY_OPERATOR">
                    <type>Boolean</type>
                    <operator>2007</operator>
                    <precedence_overridden>false</precedence_overridden>
                    <left_operand xsi:type="EXPR_LEAF">
                      <type>String</type>
                      <item xsi:type="xsd:string">archetype_id/value</item>
                      <reference_type>attribute</reference_type>
                    </left_operand>
                    <right_operand xsi:type="EXPR_LEAF">
                      <type>C_STRING</type>
                      <item xsi:type="C_STRING">
                        <pattern>openEHR-EHR-CLUSTER\.medication_substance(-[a-zA-Z0-9_]+)*\.v0</pattern>
                      </item>
                      <reference_type>constraint</reference_type>
                    </right_operand>
                  </expression>
                </includes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0130</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0083</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0084</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_DATE</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="ARCHETYPE_SLOT">
                <rm_type_name>CLUSTER</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0131</node_id>
                <includes>
                  <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.medication_supply_amount(-[a-zA-Z0-9_]+)*\.v0/}</string_expression>
                  <expression xsi:type="EXPR_BINARY_OPERATOR">
                    <type>Boolean</type>
                    <operator>2007</operator>
                    <precedence_overridden>false</precedence_overridden>
                    <left_operand xsi:type="EXPR_LEAF">
                      <type>String</type>
                      <item xsi:type="xsd:string">archetype_id/value</item>
                      <reference_type>attribute</reference_type>
                    </left_operand>
                    <right_operand xsi:type="EXPR_LEAF">
                      <type>C_STRING</type>
                      <item xsi:type="C_STRING">
                        <pattern>openEHR-EHR-CLUSTER\.medication_supply_amount(-[a-zA-Z0-9_]+)*\.v0</pattern>
                      </item>
                      <reference_type>constraint</reference_type>
                    </right_operand>
                  </expression>
                </includes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0105</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_PROPORTION</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                      <rm_attribute_name>numerator</rm_attribute_name>
                      <existence>
                        <lower_included>true</lower_included>
                        <upper_included>true</upper_included>
                        <lower_unbounded>false</lower_unbounded>
                        <upper_unbounded>false</upper_unbounded>
                        <lower>1</lower>
                        <upper>1</upper>
                      </existence>
                      <children xsi:type="C_PRIMITIVE_OBJECT">
                        <rm_type_name>REAL</rm_type_name>
                        <occurrences>
                          <lower_included>true</lower_included>
                          <upper_included>true</upper_included>
                          <lower_unbounded>false</lower_unbounded>
                          <upper_unbounded>false</upper_unbounded>
                          <lower>1</lower>
                          <upper>1</upper>
                        </occurrences>
                        <node_id />
                        <item xsi:type="C_REAL">
                          <range>
                            <lower_included>true</lower_included>
                            <upper_included>true</upper_included>
                            <lower_unbounded>false</lower_unbounded>
                            <upper_unbounded>false</upper_unbounded>
                            <lower>0.0</lower>
                            <upper>100.0</upper>
                          </range>
                        </item>
                      </children>
                    </attributes>
                    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                      <rm_attribute_name>is_integral</rm_attribute_name>
                      <existence>
                        <lower_included>true</lower_included>
                        <upper_included>true</upper_included>
                        <lower_unbounded>false</lower_unbounded>
                        <upper_unbounded>false</upper_unbounded>
                        <lower>0</lower>
                        <upper>1</upper>
                      </existence>
                      <children xsi:type="C_PRIMITIVE_OBJECT">
                        <rm_type_name>BOOLEAN</rm_type_name>
                        <occurrences>
                          <lower_included>true</lower_included>
                          <upper_included>true</upper_included>
                          <lower_unbounded>false</lower_unbounded>
                          <upper_unbounded>false</upper_unbounded>
                          <lower>1</lower>
                          <upper>1</upper>
                        </occurrences>
                        <node_id />
                        <item xsi:type="C_BOOLEAN">
                          <true_valid>false</true_valid>
                          <false_valid>true</false_valid>
                        </item>
                      </children>
                    </attributes>
                    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                      <rm_attribute_name>type</rm_attribute_name>
                      <existence>
                        <lower_included>true</lower_included>
                        <upper_included>true</upper_included>
                        <lower_unbounded>false</lower_unbounded>
                        <upper_unbounded>false</upper_unbounded>
                        <lower>1</lower>
                        <upper>1</upper>
                      </existence>
                      <children xsi:type="C_PRIMITIVE_OBJECT">
                        <rm_type_name>INTEGER</rm_type_name>
                        <occurrences>
                          <lower_included>true</lower_included>
                          <upper_included>true</upper_included>
                          <lower_unbounded>false</lower_unbounded>
                          <upper_unbounded>false</upper_unbounded>
                          <lower>1</lower>
                          <upper>1</upper>
                        </occurrences>
                        <node_id />
                        <item xsi:type="C_INTEGER">
                          <list>2</list>
                        </item>
                      </children>
                    </attributes>
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0132</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_CODED_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                      <rm_attribute_name>defining_code</rm_attribute_name>
                      <existence>
                        <lower_included>true</lower_included>
                        <upper_included>true</upper_included>
                        <lower_unbounded>false</lower_unbounded>
                        <upper_unbounded>false</upper_unbounded>
                        <lower>1</lower>
                        <upper>1</upper>
                      </existence>
                      <children xsi:type="C_CODE_PHRASE">
                        <rm_type_name>CODE_PHRASE</rm_type_name>
                        <occurrences>
                          <lower_included>true</lower_included>
                          <upper_included>true</upper_included>
                          <lower_unbounded>false</lower_unbounded>
                          <upper_unbounded>false</upper_unbounded>
                          <lower>1</lower>
                          <upper>1</upper>
                        </occurrences>
                        <node_id />
                        <terminology_id>
                          <value>local</value>
                        </terminology_id>
                        <code_list>at0138</code_list>
                        <code_list>at0139</code_list>
                      </children>
                    </attributes>
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0133</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <cardinality>
                <is_ordered>false</is_ordered>
                <is_unique>false</is_unique>
                <interval>
                  <lower_included>true</lower_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>true</upper_unbounded>
                  <lower>1</lower>
                </interval>
              </cardinality>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0043</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_DATE_TIME</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0021</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0117</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_CODED_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>defining_code</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>1</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_CODE_PHRASE">
                    <rm_type_name>CODE_PHRASE</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                    <terminology_id>
                      <value>local</value>
                    </terminology_id>
                    <code_list>at0118</code_list>
                    <code_list>at0119</code_list>
                    <code_list>at0120</code_list>
                    <code_list>at0121</code_list>
                    <code_list>at0122</code_list>
                    <code_list>at0123</code_list>
                    <code_list>at0124</code_list>
                  </children>
                </attributes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0116</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_CODED_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>defining_code</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>1</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_CODE_PHRASE">
                    <rm_type_name>CODE_PHRASE</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                    <terminology_id>
                      <value>local</value>
                    </terminology_id>
                    <code_list>at0125</code_list>
                    <code_list>at0126</code_list>
                    <code_list>at0127</code_list>
                    <code_list>at0128</code_list>
                    <code_list>at0129</code_list>
                  </children>
                </attributes>
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>CLUSTER</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0140</node_id>
            <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
              <rm_attribute_name>items</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>1</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0141</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="ARCHETYPE_SLOT">
                <rm_type_name>CLUSTER</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>0</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id>at0142</node_id>
                <includes>
                  <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.anatomical_location(-[a-zA-Z0-9_]+)*\.v1|openEHR-EHR-CLUSTER\.anatomical_location_clock(-[a-zA-Z0-9_]+)*\.v0|openEHR-EHR-CLUSTER\.anatomical_location_relative(-[a-zA-Z0-9_]+)*\.v1/}</string_expression>
                  <expression xsi:type="EXPR_BINARY_OPERATOR">
                    <type>Boolean</type>
                    <operator>2007</operator>
                    <precedence_overridden>false</precedence_overridden>
                    <left_operand xsi:type="EXPR_LEAF">
                      <type>String</type>
                      <item xsi:type="xsd:string">archetype_id/value</item>
                      <reference_type>attribute</reference_type>
                    </left_operand>
                    <right_operand xsi:type="EXPR_LEAF">
                      <type>C_STRING</type>
                      <item xsi:type="C_STRING">
                        <pattern>openEHR-EHR-CLUSTER\.anatomical_location(-[a-zA-Z0-9_]+)*\.v1|openEHR-EHR-CLUSTER\.anatomical_location_clock(-[a-zA-Z0-9_]+)*\.v0|openEHR-EHR-CLUSTER\.anatomical_location_relative(-[a-zA-Z0-9_]+)*\.v1</pattern>
                      </item>
                      <reference_type>constraint</reference_type>
                    </right_operand>
                  </expression>
                </includes>
              </children>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>ELEMENT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>true</upper_unbounded>
                  <lower>0</lower>
                </occurrences>
                <node_id>at0143</node_id>
                <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                  <rm_attribute_name>value</rm_attribute_name>
                  <existence>
                    <lower_included>true</lower_included>
                    <upper_included>true</upper_included>
                    <lower_unbounded>false</lower_unbounded>
                    <upper_unbounded>false</upper_unbounded>
                    <lower>0</lower>
                    <upper>1</upper>
                  </existence>
                  <children xsi:type="C_COMPLEX_OBJECT">
                    <rm_type_name>DV_TEXT</rm_type_name>
                    <occurrences>
                      <lower_included>true</lower_included>
                      <upper_included>true</upper_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>false</upper_unbounded>
                      <lower>1</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id />
                  </children>
                </attributes>
              </children>
              <children xsi:type="ARCHETYPE_SLOT">
                <rm_type_name>CLUSTER</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>true</upper_unbounded>
                  <lower>0</lower>
                </occurrences>
                <node_id>at0144</node_id>
                <includes>
                  <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.device(-[a-zA-Z0-9_]+)*\.v1/}</string_expression>
                  <expression xsi:type="EXPR_BINARY_OPERATOR">
                    <type>Boolean</type>
                    <operator>2007</operator>
                    <precedence_overridden>false</precedence_overridden>
                    <left_operand xsi:type="EXPR_LEAF">
                      <type>String</type>
                      <item xsi:type="xsd:string">archetype_id/value</item>
                      <reference_type>attribute</reference_type>
                    </left_operand>
                    <right_operand xsi:type="EXPR_LEAF">
                      <type>C_STRING</type>
                      <item xsi:type="C_STRING">
                        <pattern>openEHR-EHR-CLUSTER\.device(-[a-zA-Z0-9_]+)*\.v1</pattern>
                      </item>
                      <reference_type>constraint</reference_type>
                    </right_operand>
                  </expression>
                </includes>
              </children>
              <cardinality>
                <is_ordered>false</is_ordered>
                <is_unique>false</is_unique>
                <interval>
                  <lower_included>true</lower_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>true</upper_unbounded>
                  <lower>1</lower>
                </interval>
              </cardinality>
            </attributes>
          </children>
          <children xsi:type="ARCHETYPE_SLOT">
            <rm_type_name>CLUSTER</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0053</node_id>
            <includes>
              <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.medication_authorisation(-[a-zA-Z0-9_]+)*\.v0/}</string_expression>
              <expression xsi:type="EXPR_BINARY_OPERATOR">
                <type>Boolean</type>
                <operator>2007</operator>
                <precedence_overridden>false</precedence_overridden>
                <left_operand xsi:type="EXPR_LEAF">
                  <type>String</type>
                  <item xsi:type="xsd:string">archetype_id/value</item>
                  <reference_type>attribute</reference_type>
                </left_operand>
                <right_operand xsi:type="EXPR_LEAF">
                  <type>C_STRING</type>
                  <item xsi:type="C_STRING">
                    <pattern>openEHR-EHR-CLUSTER\.medication_authorisation(-[a-zA-Z0-9_]+)*\.v0</pattern>
                  </item>
                  <reference_type>constraint</reference_type>
                </right_operand>
              </expression>
            </includes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0033</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0025</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_COUNT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0024</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_TEXT</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <cardinality>
            <is_ordered>false</is_ordered>
            <is_unique>false</is_unique>
            <interval>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </interval>
          </cardinality>
        </attributes>
      </children>
    </attributes>
    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
      <rm_attribute_name>protocol</rm_attribute_name>
      <existence>
        <lower_included>true</lower_included>
        <upper_included>true</upper_included>
        <lower_unbounded>false</lower_unbounded>
        <upper_unbounded>false</upper_unbounded>
        <lower>0</lower>
        <upper>1</upper>
      </existence>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ITEM_TREE</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0030</node_id>
        <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
          <rm_attribute_name>items</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>ELEMENT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>0</lower>
              <upper>1</upper>
            </occurrences>
            <node_id>at0103</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>value</rm_attribute_name>
              <existence>
                <lower_included>true</lower_included>
                <upper_included>true</upper_included>
                <lower_unbounded>false</lower_unbounded>
                <upper_unbounded>false</upper_unbounded>
                <lower>0</lower>
                <upper>1</upper>
              </existence>
              <children xsi:type="C_COMPLEX_OBJECT">
                <rm_type_name>DV_IDENTIFIER</rm_type_name>
                <occurrences>
                  <lower_included>true</lower_included>
                  <upper_included>true</upper_included>
                  <lower_unbounded>false</lower_unbounded>
                  <upper_unbounded>false</upper_unbounded>
                  <lower>1</lower>
                  <upper>1</upper>
                </occurrences>
                <node_id />
              </children>
            </attributes>
          </children>
          <children xsi:type="ARCHETYPE_SLOT">
            <rm_type_name>CLUSTER</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>0</lower>
            </occurrences>
            <node_id>at0085</node_id>
            <includes>
              <string_expression>archetype_id/value matches {/.*/}</string_expression>
              <expression xsi:type="EXPR_BINARY_OPERATOR">
                <type>Boolean</type>
                <operator>2007</operator>
                <precedence_overridden>false</precedence_overridden>
                <left_operand xsi:type="EXPR_LEAF">
                  <type>String</type>
                  <item xsi:type="xsd:string">archetype_id/value</item>
                  <reference_type>attribute</reference_type>
                </left_operand>
                <right_operand xsi:type="EXPR_LEAF">
                  <type>C_STRING</type>
                  <item xsi:type="C_STRING">
                    <pattern>.*</pattern>
                  </item>
                  <reference_type>constraint</reference_type>
                </right_operand>
              </expression>
            </includes>
          </children>
          <cardinality>
            <is_ordered>false</is_ordered>
            <is_unique>false</is_unique>
            <interval>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>1</lower>
            </interval>
          </cardinality>
        </attributes>
      </children>
    </attributes>
  </definition>
  <ontology>
    <term_definitions language="sl">
      <items code="at0000">
        <items id="text">*Medication(en)</items>
        <items id="description">*Details of use, administration, dispensing or other care step relating to a medicine, vaccine or other therapeutic good which may arise from an instruction from a clinician.(en)</items>
      </items>
      <items code="at0002">
        <items id="text">*Prescription first issued(en)</items>
        <items id="description">*The instruction has issued as an item on a prescription.(en)</items>
      </items>
      <items code="at0003">
        <items id="text">*Medication dispensed(en)</items>
        <items id="description">*The medication has been dispensed.(en)</items>
      </items>
      <items code="at0004">
        <items id="text">*Medication course commenced(en)</items>
        <items id="description">*The medication has been taken by, or administered to, the patient for the first time.(en)</items>
      </items>
      <items code="at0005">
        <items id="text">*Medication course reviewed(en)</items>
        <items id="description">*The medication has been reviewed.(en)</items>
      </items>
      <items code="at0006">
        <items id="text">*Dose administered(en)</items>
        <items id="description">*A single administration of the medication has taken place.(en)</items>
      </items>
      <items code="at0007">
        <items id="text">*Medication course completed(en)</items>
        <items id="description">*The medication course has been completed as planned.(en)</items>
      </items>
      <items code="at0008">
        <items id="text">*Medication course supply delayed(en)</items>
        <items id="description">*The medication course has not been dispensed as supply is not yet available.(en)</items>
      </items>
      <items code="at0009">
        <items id="text">*Medication course suspended(en)</items>
        <items id="description">*The administration of the medication has been suspended.(en)</items>
      </items>
      <items code="at0010">
        <items id="text">*Prescription re-issued(en)</items>
        <items id="description">*A prescription token has been re-issued for an existing medication order.(en)</items>
      </items>
      <items code="at0011">
        <items id="text">*Prescription re-issue suspended(en)</items>
        <items id="description">*Reissuing of this prescription is not available without some intervention.(en)</items>
      </items>
      <items code="at0012">
        <items id="text">*Medication course cancelled(en)</items>
        <items id="description">*The planned administration has been cancelled prior to any administration.(en)</items>
      </items>
      <items code="at0013">
        <items id="text">*Scheduled medication postponed(en)</items>
        <items id="description">*A scheduled medication has been postponed prior to any administration.(en)</items>
      </items>
      <items code="at0015">
        <items id="text">*Medication course stopped(en)</items>
        <items id="description">*The administration of this medication has been ceased before anticipated completion.(en)</items>
      </items>
      <items code="at0016">
        <items id="text">*Medication start date/condition set(en)</items>
        <items id="description">*The time to start this medication, or other starting condition, has been set.(en)</items>
      </items>
      <items code="at0017">
        <items id="text">Tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0018">
        <items id="text">*Dose administration omitted(en)</items>
        <items id="description">*The administration of a medication has been withheld and not given. There is no expectation that it will be given later, though the next dose (if any) should be administered according to the original order.(en)</items>
      </items>
      <items code="at0020">
        <items id="text">*Medication(en)</items>
        <items id="description">*The medicine, vaccine or other therapeutic good which was the focus of the action. This element will normally be coded with a medicines terminology but free text may be required in some cases.(en)</items>
      </items>
      <items code="at0021">
        <items id="text">Razlog za cepljenje</items>
        <items id="description">Razlog cepljenja z dolečnim cepivom</items>
      </items>
      <items code="at0024">
        <items id="text">*Comment(en)</items>
        <items id="description">*A comment on the action taken including details of any variance between the intended action and the action actually performed.(en)</items>
      </items>
      <items code="at0025">
        <items id="text">Zaporedna številka cepljenja</items>
        <items id="description">Zaporedna številka cepljenja</items>
      </items>
      <items code="at0030">
        <items id="text">Tree(en)</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0033">
        <items id="text">*Patient guidance(en)</items>
        <items id="description">*Any guidance, instructions or advice given to the subject of care or carer at the time of the action.(en)</items>
      </items>
      <items code="at0035">
        <items id="text">*Dispensed medication returned.(en)</items>
        <items id="description">*A dispensed medication is returned, or not collected, without being used.(en)</items>
      </items>
      <items code="at0039">
        <items id="text">*Major change to order.(en)</items>
        <items id="description">*A major change to the order was required, resulting in this order being stopped and a replacement order being started.(en)</items>
      </items>
      <items code="at0041">
        <items id="text">*Minor change to order(en)</items>
        <items id="description">*The medication order has been changed in a manner which does not require a new instruction/order to be issued, according to local clinical rules.(en)</items>
      </items>
      <items code="at0043">
        <items id="text">*Order scheduled datetime(en)</items>
        <items id="description">*The datetime at which the medication order was scheduled to occur.(en)</items>
        <items id="comment">* Used to compare variance from actual action time where this is not readily calculable from the original instruction.(en)</items>
      </items>
      <items code="at0044">
        <items id="text">*Dose administration deferred(en)</items>
        <items id="description">*Administration of a dose of mediciation has been delayed but is expected to be given as soon as possible.(en)</items>
      </items>
      <items code="at0053">
        <items id="text">*Details(en)</items>
        <items id="description">*Further structured details of the action, possibly specific to a pathway step.(en)</items>
      </items>
      <items code="at0082">
        <items id="text">*Product(en)</items>
        <items id="description">*Details of the product dispensed, authorised or administered.(en)</items>
      </items>
      <items code="at0083">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0084">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0085">
        <items id="text">*Cluster(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0103">
        <items id="text">*Order ID(en)</items>
        <items id="description">*The identifier assigned with the original order. (en)</items>
      </items>
      <items code="at0104">
        <items id="text">*Preparation details(en)</items>
        <items id="description">*Details of the medication preparation. (en)</items>
      </items>
      <items code="at0105">
        <items id="text">*Max dose administered(en)</items>
        <items id="description">*The proportion of the maximum allowed dose administered.(en)</items>
      </items>
      <items code="at0106">
        <items id="text">*Medication re-authorised(en)</items>
        <items id="description">*A repeat prescription or dispense has been re-authorised.(en)</items>
      </items>
      <items code="at0109">
        <items id="text">*Medication recommended(en)</items>
        <items id="description">*The medication has been recommended but no steps have been taken to initiate prescribing.(en)</items>
      </items>
      <items code="at0116">
        <items id="text">*Reason dose not administered(en)</items>
        <items id="description">*The reason(s) why a particular dose administration did not take place, including complte omission of the dose and deferral of the dose.(en)</items>
      </items>
      <items code="at0117">
        <items id="text">*Reason course amended/stopped(en)</items>
        <items id="description">*The reason(s) for amending or stopping a course of medication.(en)</items>
      </items>
      <items code="at0118">
        <items id="text">*Allergy/Adverse Reaction/ Intolerance(en)</items>
        <items id="description">*The patient experienced an adverse reaction.(en)</items>
      </items>
      <items code="at0119">
        <items id="text">*Inadequate clinical response(en)</items>
        <items id="description">*The clinical response to the medication was inadequate.(en)</items>
      </items>
      <items code="at0120">
        <items id="text">*Patient choice / difficulty(en)</items>
        <items id="description">*The course was changed because of patient preference or difficulty.(en)</items>
      </items>
      <items code="at0121">
        <items id="text">*Prescribed in error(en)</items>
        <items id="description">*The medication was prescribed in error.(en)</items>
      </items>
      <items code="at0122">
        <items id="text">*Additional information available(en)</items>
        <items id="description">*Addiotnal information informed the amendment.(en)</items>
      </items>
      <items code="at0123">
        <items id="text">*Temporarily suspended(en)</items>
        <items id="description">*The medication was suspended for a temporary period only.(en)</items>
      </items>
      <items code="at0124">
        <items id="text">*Change to dose form/ strength /route(en)</items>
        <items id="description">*The dose form/strength and or route were changed.(en)</items>
      </items>
      <items code="at0125">
        <items id="text">*Patient refused(en)</items>
        <items id="description">*The patient refused to take the medication.(en)</items>
      </items>
      <items code="at0126">
        <items id="text">*Nil by mouth(en)</items>
        <items id="description">*The patient is on a nil-by-mouth regime.(en)</items>
      </items>
      <items code="at0127">
        <items id="text">*Medicine unavailable(en)</items>
        <items id="description">*The medicine was unavailable.(en)</items>
      </items>
      <items code="at0128">
        <items id="text">*Patient unavailable(en)</items>
        <items id="description">*The patient was not available.(en)</items>
      </items>
      <items code="at0129">
        <items id="text">*Clinical reason(en)</items>
        <items id="description">*The medication administration was withheld/deferred for a clinical reason.(en)</items>
      </items>
      <items code="at0130">
        <items id="text">*Manufacturer(en)</items>
        <items id="description">*The manufacturer of the medication.(en)</items>
      </items>
      <items code="at0131">
        <items id="text">*Amount(en)</items>
        <items id="description">*Details of the amount of medication supplied i.e. authorised, dispensed or administered.(en)</items>
      </items>
      <items code="at0132">
        <items id="text">*Dispensing substitution(en)</items>
        <items id="description">*Subsitution action taken by the dispenser.(en)</items>
      </items>
      <items code="at0133">
        <items id="text">*Dispensing substitution reason(en)</items>
        <items id="description">*The reason or justification for the substitution action taken.(en)</items>
      </items>
      <items code="at0137">
        <items id="text">*Medication restart date/condition set(en)</items>
        <items id="description">*A  suspended medication has had its restart date or condition set.(en)</items>
      </items>
      <items code="at0138">
        <items id="text">*Substitute product dispensed(en)</items>
        <items id="description">*A medication was dispensed which is bioequivalent to that ordered.(en)</items>
      </items>
      <items code="at0139">
        <items id="text">*Substitute product not dispensed(en)</items>
        <items id="description">*Although allowed by the medication order a substitute bioequvalent medication was not dispensed.(en)</items>
      </items>
      <items code="at0140">
        <items id="text">*Delivery details(en)</items>
        <items id="description">*Details of body site and delivery of the medication.(en)</items>
      </items>
      <items code="at0141">
        <items id="text">*Body site(en)</items>
        <items id="description">*Identification of the site of administration of the medication, vaccine or therapeutic good.(en)</items>
        <items id="comment">*For example: 'left upper arm', 'intravenous catheter right hand'.&#xD;
Coding of the body site with a terminology is preferred, where possible.(en)</items>
      </items>
      <items code="at0142">
        <items id="text">*Structured body site(en)</items>
        <items id="description">*Structured description of the site of administration  of the medication, vaccine or therapeutic good.(en)</items>
      </items>
      <items code="at0143">
        <items id="text">*Delivery method(en)</items>
        <items id="description">*The method by which the medication is to be delivered.(en)</items>
        <items id="comment">*For example: 'via nebuliser'.(en)</items>
      </items>
      <items code="at0144">
        <items id="text">*Delivery device details(en)</items>
        <items id="description">*Details of the medical device used to assist delivery of the medication.(en)</items>
      </items>
    </term_definitions>
    <term_definitions language="es-ar">
      <items code="at0000">
        <items id="text">*Medication(en)</items>
        <items id="description">*Details of use, administration, dispensing or other care step relating to a medicine, vaccine or other therapeutic good which may arise from an instruction from a clinician.(en)</items>
      </items>
      <items code="at0002">
        <items id="text">*Prescription first issued(en)</items>
        <items id="description">*The instruction has issued as an item on a prescription.(en)</items>
      </items>
      <items code="at0003">
        <items id="text">*Medication dispensed(en)</items>
        <items id="description">*The medication has been dispensed.(en)</items>
      </items>
      <items code="at0004">
        <items id="text">*Medication course commenced(en)</items>
        <items id="description">*The medication has been taken by, or administered to, the patient for the first time.(en)</items>
      </items>
      <items code="at0005">
        <items id="text">*Medication course reviewed(en)</items>
        <items id="description">*The medication has been reviewed.(en)</items>
      </items>
      <items code="at0006">
        <items id="text">*Dose administered(en)</items>
        <items id="description">*A single administration of the medication has taken place.(en)</items>
      </items>
      <items code="at0007">
        <items id="text">*Medication course completed(en)</items>
        <items id="description">*The medication course has been completed as planned.(en)</items>
      </items>
      <items code="at0008">
        <items id="text">*Medication course supply delayed(en)</items>
        <items id="description">*The medication course has not been dispensed as supply is not yet available.(en)</items>
      </items>
      <items code="at0009">
        <items id="text">*Medication course suspended(en)</items>
        <items id="description">*The administration of the medication has been suspended.(en)</items>
      </items>
      <items code="at0010">
        <items id="text">*Prescription re-issued(en)</items>
        <items id="description">*A prescription token has been re-issued for an existing medication order.(en)</items>
      </items>
      <items code="at0011">
        <items id="text">*Prescription re-issue suspended(en)</items>
        <items id="description">*Reissuing of this prescription is not available without some intervention.(en)</items>
      </items>
      <items code="at0012">
        <items id="text">*Medication course cancelled(en)</items>
        <items id="description">*The planned administration has been cancelled prior to any administration.(en)</items>
      </items>
      <items code="at0013">
        <items id="text">*Scheduled medication postponed(en)</items>
        <items id="description">*A scheduled medication has been postponed prior to any administration.(en)</items>
      </items>
      <items code="at0015">
        <items id="text">*Medication course stopped(en)</items>
        <items id="description">*The administration of this medication has been ceased before anticipated completion.(en)</items>
      </items>
      <items code="at0016">
        <items id="text">*Medication start date/condition set(en)</items>
        <items id="description">*The time to start this medication, or other starting condition, has been set.(en)</items>
      </items>
      <items code="at0017">
        <items id="text">*Tree(en)</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0018">
        <items id="text">*Dose administration omitted(en)</items>
        <items id="description">*The administration of a medication has been withheld and not given. There is no expectation that it will be given later, though the next dose (if any) should be administered according to the original order.(en)</items>
      </items>
      <items code="at0020">
        <items id="text">*Medication(en)</items>
        <items id="description">*The medicine, vaccine or other therapeutic good which was the focus of the action. This element will normally be coded with a medicines terminology but free text may be required in some cases.(en)</items>
      </items>
      <items code="at0021">
        <items id="text">*Reason(en)</items>
        <items id="description">*The reason(s) the specific action or step was carried out. Note: This is not the reason for the medication instruction, rather the specific reason e.g. for administration or for ceasing the medication.(en)</items>
      </items>
      <items code="at0024">
        <items id="text">*Comment(en)</items>
        <items id="description">*A comment on the action taken including details of any variance between the intended action and the action actually performed.(en)</items>
      </items>
      <items code="at0025">
        <items id="text">*Sequence number(en)</items>
        <items id="description">*The sequence number specific to the action being recorded.(en)</items>
      </items>
      <items code="at0030">
        <items id="text">*Tree(en)</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0033">
        <items id="text">*Patient guidance(en)</items>
        <items id="description">*Any guidance, instructions or advice given to the subject of care or carer at the time of the action.(en)</items>
      </items>
      <items code="at0035">
        <items id="text">*Dispensed medication returned.(en)</items>
        <items id="description">*A dispensed medication is returned, or not collected, without being used.(en)</items>
      </items>
      <items code="at0039">
        <items id="text">*Major change to order.(en)</items>
        <items id="description">*A major change to the order was required, resulting in this order being stopped and a replacement order being started.(en)</items>
      </items>
      <items code="at0041">
        <items id="text">*Minor change to order(en)</items>
        <items id="description">*The medication order has been changed in a manner which does not require a new instruction/order to be issued, according to local clinical rules.(en)</items>
      </items>
      <items code="at0043">
        <items id="text">*Order scheduled datetime(en)</items>
        <items id="description">*The datetime at which the medication order was scheduled to occur.(en)</items>
        <items id="comment">* Used to compare variance from actual action time where this is not readily calculable from the original instruction.(en)</items>
      </items>
      <items code="at0044">
        <items id="text">*Dose administration deferred(en)</items>
        <items id="description">*Administration of a dose of mediciation has been delayed but is expected to be given as soon as possible.(en)</items>
      </items>
      <items code="at0053">
        <items id="text">*Details(en)</items>
        <items id="description">*Further structured details of the action, possibly specific to a pathway step.(en)</items>
      </items>
      <items code="at0082">
        <items id="text">*Product(en)</items>
        <items id="description">*Details of the product dispensed, authorised or administered.(en)</items>
      </items>
      <items code="at0083">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0084">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0085">
        <items id="text">*Cluster(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0103">
        <items id="text">*Order ID(en)</items>
        <items id="description">*The identifier assigned with the original order. (en)</items>
      </items>
      <items code="at0104">
        <items id="text">*Preparation details(en)</items>
        <items id="description">*Details of the medication preparation. (en)</items>
      </items>
      <items code="at0105">
        <items id="text">*Max dose administered(en)</items>
        <items id="description">*The proportion of the maximum allowed dose administered.(en)</items>
      </items>
      <items code="at0106">
        <items id="text">*Medication re-authorised(en)</items>
        <items id="description">*A repeat prescription or dispense has been re-authorised.(en)</items>
      </items>
      <items code="at0109">
        <items id="text">*Medication recommended(en)</items>
        <items id="description">*The medication has been recommended but no steps have been taken to initiate prescribing.(en)</items>
      </items>
      <items code="at0116">
        <items id="text">*Reason dose not administered(en)</items>
        <items id="description">*The reason(s) why a particular dose administration did not take place, including complte omission of the dose and deferral of the dose.(en)</items>
      </items>
      <items code="at0117">
        <items id="text">*Reason course amended/stopped(en)</items>
        <items id="description">*The reason(s) for amending or stopping a course of medication.(en)</items>
      </items>
      <items code="at0118">
        <items id="text">*Allergy/Adverse Reaction/ Intolerance(en)</items>
        <items id="description">*The patient experienced an adverse reaction.(en)</items>
      </items>
      <items code="at0119">
        <items id="text">*Inadequate clinical response(en)</items>
        <items id="description">*The clinical response to the medication was inadequate.(en)</items>
      </items>
      <items code="at0120">
        <items id="text">*Patient choice / difficulty(en)</items>
        <items id="description">*The course was changed because of patient preference or difficulty.(en)</items>
      </items>
      <items code="at0121">
        <items id="text">*Prescribed in error(en)</items>
        <items id="description">*The medication was prescribed in error.(en)</items>
      </items>
      <items code="at0122">
        <items id="text">*Additional information available(en)</items>
        <items id="description">*Addiotnal information informed the amendment.(en)</items>
      </items>
      <items code="at0123">
        <items id="text">*Temporarily suspended(en)</items>
        <items id="description">*The medication was suspended for a temporary period only.(en)</items>
      </items>
      <items code="at0124">
        <items id="text">*Change to dose form/ strength /route(en)</items>
        <items id="description">*The dose form/strength and or route were changed.(en)</items>
      </items>
      <items code="at0125">
        <items id="text">*Patient refused(en)</items>
        <items id="description">*The patient refused to take the medication.(en)</items>
      </items>
      <items code="at0126">
        <items id="text">*Nil by mouth(en)</items>
        <items id="description">*The patient is on a nil-by-mouth regime.(en)</items>
      </items>
      <items code="at0127">
        <items id="text">*Medicine unavailable(en)</items>
        <items id="description">*The medicine was unavailable.(en)</items>
      </items>
      <items code="at0128">
        <items id="text">*Patient unavailable(en)</items>
        <items id="description">*The patient was not available.(en)</items>
      </items>
      <items code="at0129">
        <items id="text">*Clinical reason(en)</items>
        <items id="description">*The medication administration was withheld/deferred for a clinical reason.(en)</items>
      </items>
      <items code="at0130">
        <items id="text">*Manufacturer(en)</items>
        <items id="description">*The manufacturer of the medication.(en)</items>
      </items>
      <items code="at0131">
        <items id="text">*Amount(en)</items>
        <items id="description">*Details of the amount of medication supplied i.e. authorised, dispensed or administered.(en)</items>
      </items>
      <items code="at0132">
        <items id="text">*Dispensing substitution(en)</items>
        <items id="description">*Subsitution action taken by the dispenser.(en)</items>
      </items>
      <items code="at0133">
        <items id="text">*Dispensing substitution reason(en)</items>
        <items id="description">*The reason or justification for the substitution action taken.(en)</items>
      </items>
      <items code="at0137">
        <items id="text">*Medication restart date/condition set(en)</items>
        <items id="description">*A  suspended medication has had its restart date or condition set.(en)</items>
      </items>
      <items code="at0138">
        <items id="text">*Substitute product dispensed(en)</items>
        <items id="description">*A medication was dispensed which is bioequivalent to that ordered.(en)</items>
      </items>
      <items code="at0139">
        <items id="text">*Substitute product not dispensed(en)</items>
        <items id="description">*Although allowed by the medication order a substitute bioequvalent medication was not dispensed.(en)</items>
      </items>
      <items code="at0140">
        <items id="text">*Delivery details(en)</items>
        <items id="description">*Details of body site and delivery of the medication.(en)</items>
      </items>
      <items code="at0141">
        <items id="text">*Body site(en)</items>
        <items id="description">*Identification of the site of administration of the medication, vaccine or therapeutic good.(en)</items>
        <items id="comment">*For example: 'left upper arm', 'intravenous catheter right hand'.&#xD;
Coding of the body site with a terminology is preferred, where possible.(en)</items>
      </items>
      <items code="at0142">
        <items id="text">*Structured body site(en)</items>
        <items id="description">*Structured description of the site of administration  of the medication, vaccine or therapeutic good.(en)</items>
      </items>
      <items code="at0143">
        <items id="text">*Delivery method(en)</items>
        <items id="description">*The method by which the medication is to be delivered.(en)</items>
        <items id="comment">*For example: 'via nebuliser'.(en)</items>
      </items>
      <items code="at0144">
        <items id="text">*Delivery device details(en)</items>
        <items id="description">*Details of the medical device used to assist delivery of the medication.(en)</items>
      </items>
    </term_definitions>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Medication</items>
        <items id="description">Details of use, administration, dispensing or other care step relating to a medicine, vaccine or other therapeutic good which may arise from an instruction from a clinician.</items>
      </items>
      <items code="at0002">
        <items id="text">Prescription first issued</items>
        <items id="description">The instruction has issued as an item on a prescription.</items>
      </items>
      <items code="at0003">
        <items id="text">Medication dispensed</items>
        <items id="description">The medication has been dispensed.</items>
      </items>
      <items code="at0004">
        <items id="text">Medication course commenced</items>
        <items id="description">The medication has been taken by, or administered to, the patient for the first time.</items>
      </items>
      <items code="at0005">
        <items id="text">Medication course reviewed</items>
        <items id="description">The medication has been reviewed.</items>
      </items>
      <items code="at0006">
        <items id="text">Dose administered</items>
        <items id="description">A single administration of the medication has taken place.</items>
      </items>
      <items code="at0007">
        <items id="text">Medication course completed</items>
        <items id="description">The medication course has been completed as planned.</items>
      </items>
      <items code="at0008">
        <items id="text">Medication course supply delayed</items>
        <items id="description">The medication course has not been dispensed as supply is not yet available.</items>
      </items>
      <items code="at0009">
        <items id="text">Medication course suspended</items>
        <items id="description">The administration of the medication has been suspended. No further doses should be given until further notice, or when the restart date or conditions have been met.</items>
      </items>
      <items code="at0010">
        <items id="text">Prescription re-issued</items>
        <items id="description">A prescription token has been re-issued for an existing medication order.</items>
      </items>
      <items code="at0011">
        <items id="text">Prescription re-issue suspended</items>
        <items id="description">Reissuing of this prescription is not available without some intervention.</items>
      </items>
      <items code="at0012">
        <items id="text">Medication course cancelled</items>
        <items id="description">The planned administration has been cancelled prior to any administration.</items>
      </items>
      <items code="at0013">
        <items id="text">Scheduled medication postponed</items>
        <items id="description">A scheduled medication has been postponed prior to any administration.</items>
      </items>
      <items code="at0015">
        <items id="text">Medication course stopped</items>
        <items id="description">The administration of this medication has been ceased before anticipated completion.</items>
      </items>
      <items code="at0016">
        <items id="text">Medication start date/condition set</items>
        <items id="description">The time to start this medication, or other starting condition, has been set.</items>
      </items>
      <items code="at0017">
        <items id="text">Tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0018">
        <items id="text">Dose administration omitted</items>
        <items id="description">The administration of a medication has been withheld and not given. There is no expectation that it will be given later, though the next dose (if any) should be administered according to the original order.</items>
      </items>
      <items code="at0020">
        <items id="text">Medication</items>
        <items id="description">The medicine, vaccine or other therapeutic good which was the focus of the action. This element will normally be coded with a medicines terminology but free text may be required in some cases.</items>
        <items id="comment">For example: 'Atenolol 100mg' or 'Atenolol tablets 100mg'.</items>
      </items>
      <items code="at0021">
        <items id="text">Reason</items>
        <items id="description">The reason(s) the specific action or step was carried out. Note: This is not the reason for the medication instruction, rather the specific reason e.g. for administration.</items>
      </items>
      <items code="at0024">
        <items id="text">Comment</items>
        <items id="description">A comment on the action taken including details of any variance between the intended action and the action actually performed.</items>
      </items>
      <items code="at0025">
        <items id="text">Sequence number</items>
        <items id="description">The sequence number specific to the action being recorded.</items>
      </items>
      <items code="at0030">
        <items id="text">Tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0033">
        <items id="text">Patient guidance</items>
        <items id="description">Any guidance, instructions or advice given to the subject of care or carer at the time of the action.</items>
      </items>
      <items code="at0035">
        <items id="text">Dispensed medication returned.</items>
        <items id="description">A dispensed medication is returned, or not collected, without being used.</items>
      </items>
      <items code="at0039">
        <items id="text">Major change to order.</items>
        <items id="description">A major change to the order was required, resulting in this order being stopped and a replacement order being started.</items>
      </items>
      <items code="at0041">
        <items id="text">Minor change to order</items>
        <items id="description">The medication order has been changed in a manner which does not require a new instruction/order to be issued, according to local clinical rules.</items>
      </items>
      <items code="at0043">
        <items id="text">Order scheduled datetime</items>
        <items id="description">The datetime at which the medication order was scheduled to occur.</items>
        <items id="comment">Used to compare variance from actual action time where this is not readily calculable from the original instruction.</items>
      </items>
      <items code="at0044">
        <items id="text">Dose administration deferred</items>
        <items id="description">Administration of a dose of mediciation has been delayed but is expected to be given as soon as possible.</items>
      </items>
      <items code="at0053">
        <items id="text">Details</items>
        <items id="description">Further structured details of the action, possibly specific to a pathway step.</items>
      </items>
      <items code="at0082">
        <items id="text">Product</items>
        <items id="description">Details of the product dispensed, authorised or administered.</items>
      </items>
      <items code="at0083">
        <items id="text">Batch ID</items>
        <items id="description">Assigned by the manufacturer to identify the manufacturing batch of the item.</items>
      </items>
      <items code="at0084">
        <items id="text">Expiry date</items>
        <items id="description">The expiry date of the medicine administered as documented by the manufacturer.</items>
      </items>
      <items code="at0085">
        <items id="text">Extension</items>
        <items id="description">Additional information required to capture local content or to align with other reference models/formalisms.</items>
        <items id="comment">For example: local information requirements or additional metadata to align with FHIR or CIMI equivalents.</items>
      </items>
      <items code="at0103">
        <items id="text">Order ID</items>
        <items id="description">The identifier assigned with the original order.</items>
      </items>
      <items code="at0104">
        <items id="text">Preparation details</items>
        <items id="description">Details of the medication preparation.</items>
      </items>
      <items code="at0105">
        <items id="text">Max class dose administered</items>
        <items id="description">The proportion of the maximum allowed dose equivalent administered.</items>
        <items id="comment">Used in mental health to allow monitoring of total amount of a drug class andministered e.g. anti-psychotics, where each medication is associated with a percentage contribution towards a total daily maximum, normally 100%.</items>
      </items>
      <items code="at0106">
        <items id="text">Medication re-authorised</items>
        <items id="description">A repeat prescription or dispense has been re-authorised.</items>
      </items>
      <items code="at0109">
        <items id="text">Medication recommended</items>
        <items id="description">The medication has been recommended but no steps have been taken to initiate prescribing.</items>
      </items>
      <items code="at0116">
        <items id="text">Reason dose not administered</items>
        <items id="description">The reason(s) why a particular dose administration did not take place, including complte omission of the dose and deferral of the dose.</items>
      </items>
      <items code="at0117">
        <items id="text">Reason course amended/stopped</items>
        <items id="description">The reason(s) for amending or stopping a course of medication.</items>
      </items>
      <items code="at0118">
        <items id="text">Allergy/Adverse Reaction/ Intolerance</items>
        <items id="description">The patient experienced an adverse reaction.</items>
      </items>
      <items code="at0119">
        <items id="text">Inadequate clinical response</items>
        <items id="description">The clinical response to the medication was inadequate.</items>
      </items>
      <items code="at0120">
        <items id="text">Patient choice / difficulty</items>
        <items id="description">The course was changed because of patient preference or difficulty.</items>
      </items>
      <items code="at0121">
        <items id="text">Prescribed in error</items>
        <items id="description">The medication was prescribed in error.</items>
      </items>
      <items code="at0122">
        <items id="text">Additional information available</items>
        <items id="description">Addiotnal information informed the amendment.</items>
      </items>
      <items code="at0123">
        <items id="text">Temporarily suspended</items>
        <items id="description">The medication was suspended for a temporary period only.</items>
      </items>
      <items code="at0124">
        <items id="text">Change to dose form/ strength /route</items>
        <items id="description">The dose form/strength and or route were changed.</items>
      </items>
      <items code="at0125">
        <items id="text">Patient refused</items>
        <items id="description">The patient refused to take the medication.</items>
      </items>
      <items code="at0126">
        <items id="text">Nil by mouth</items>
        <items id="description">The patient is on a nil-by-mouth regime.</items>
      </items>
      <items code="at0127">
        <items id="text">Medicine unavailable</items>
        <items id="description">The medicine was unavailable.</items>
      </items>
      <items code="at0128">
        <items id="text">Patient unavailable</items>
        <items id="description">The patient was not available.</items>
      </items>
      <items code="at0129">
        <items id="text">Clinical reason</items>
        <items id="description">The medication administration was withheld/deferred for a clinical reason.</items>
      </items>
      <items code="at0130">
        <items id="text">Manufacturer</items>
        <items id="description">The manufacturer of the medication.</items>
      </items>
      <items code="at0131">
        <items id="text">Amount</items>
        <items id="description">Details of the amount of medication supplied i.e. authorised, dispensed or administered.</items>
      </items>
      <items code="at0132">
        <items id="text">Dispensing substitution</items>
        <items id="description">Subsitution action taken by the dispenser.</items>
      </items>
      <items code="at0133">
        <items id="text">Dispensing substitution reason</items>
        <items id="description">The reason or justification for the substitution action taken.</items>
      </items>
      <items code="at0137">
        <items id="text">Medication restart date/condition set</items>
        <items id="description">A  suspended medication has had its restart date or condition set.</items>
      </items>
      <items code="at0138">
        <items id="text">Substitute product dispensed</items>
        <items id="description">A medication was dispensed which is bioequivalent to that ordered.</items>
      </items>
      <items code="at0139">
        <items id="text">Substitute product not dispensed</items>
        <items id="description">Although allowed by the medication order a substitute bioequvalent medication was not dispensed.</items>
      </items>
      <items code="at0140">
        <items id="text">Delivery details</items>
        <items id="description">Details of body site and delivery of the medication.</items>
      </items>
      <items code="at0141">
        <items id="text">Body site</items>
        <items id="description">Identification of the site of administration of the medication, vaccine or therapeutic good.</items>
        <items id="comment">For example: 'left upper arm', 'intravenous catheter right hand'.&#xD;
Coding of the body site with a terminology is preferred, where possible.</items>
      </items>
      <items code="at0142">
        <items id="text">Structured body site</items>
        <items id="description">Structured description of the site of administration  of the medication, vaccine or therapeutic good.</items>
      </items>
      <items code="at0143">
        <items id="text">Delivery method</items>
        <items id="description">The method by which the medication is to be delivered.</items>
        <items id="comment">For example: 'via nebuliser'.</items>
      </items>
      <items code="at0144">
        <items id="text">Delivery device details</items>
        <items id="description">Details of the medical device used to assist delivery of the medication.</items>
      </items>
    </term_definitions>
    <term_definitions language="ar-sy">
      <items code="at0000">
        <items id="text">*Medication(en)</items>
        <items id="description">*Details of use, administration, dispensing or other care step relating to a medicine, vaccine or other therapeutic good which may arise from an instruction from a clinician.(en)</items>
      </items>
      <items code="at0002">
        <items id="text">*Prescription first issued(en)</items>
        <items id="description">*The instruction has issued as an item on a prescription.(en)</items>
      </items>
      <items code="at0003">
        <items id="text">*Medication dispensed(en)</items>
        <items id="description">*The medication has been dispensed.(en)</items>
      </items>
      <items code="at0004">
        <items id="text">*Medication course commenced(en)</items>
        <items id="description">*The medication has been taken by, or administered to, the patient for the first time.(en)</items>
      </items>
      <items code="at0005">
        <items id="text">*Medication course reviewed(en)</items>
        <items id="description">*The medication has been reviewed.(en)</items>
      </items>
      <items code="at0006">
        <items id="text">*Dose administered(en)</items>
        <items id="description">*A single administration of the medication has taken place.(en)</items>
      </items>
      <items code="at0007">
        <items id="text">*Medication course completed(en)</items>
        <items id="description">*The medication course has been completed as planned.(en)</items>
      </items>
      <items code="at0008">
        <items id="text">*Medication course supply delayed(en)</items>
        <items id="description">*The medication course has not been dispensed as supply is not yet available.(en)</items>
      </items>
      <items code="at0009">
        <items id="text">*Medication course suspended(en)</items>
        <items id="description">*The administration of the medication has been suspended.(en)</items>
      </items>
      <items code="at0010">
        <items id="text">*Prescription re-issued(en)</items>
        <items id="description">*A prescription token has been re-issued for an existing medication order.(en)</items>
      </items>
      <items code="at0011">
        <items id="text">*Prescription re-issue suspended(en)</items>
        <items id="description">*Reissuing of this prescription is not available without some intervention.(en)</items>
      </items>
      <items code="at0012">
        <items id="text">*Medication course cancelled(en)</items>
        <items id="description">*The planned administration has been cancelled prior to any administration.(en)</items>
      </items>
      <items code="at0013">
        <items id="text">*Scheduled medication postponed(en)</items>
        <items id="description">*A scheduled medication has been postponed prior to any administration.(en)</items>
      </items>
      <items code="at0015">
        <items id="text">*Medication course stopped(en)</items>
        <items id="description">*The administration of this medication has been ceased before anticipated completion.(en)</items>
      </items>
      <items code="at0016">
        <items id="text">*Medication start date/condition set(en)</items>
        <items id="description">*The time to start this medication, or other starting condition, has been set.(en)</items>
      </items>
      <items code="at0017">
        <items id="text">*Tree(en)</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0018">
        <items id="text">*Dose administration omitted(en)</items>
        <items id="description">*The administration of a medication has been withheld and not given. There is no expectation that it will be given later, though the next dose (if any) should be administered according to the original order.(en)</items>
      </items>
      <items code="at0020">
        <items id="text">*Medication(en)</items>
        <items id="description">*The medicine, vaccine or other therapeutic good which was the focus of the action. This element will normally be coded with a medicines terminology but free text may be required in some cases.(en)</items>
      </items>
      <items code="at0021">
        <items id="text">*Reason(en)</items>
        <items id="description">*The reason(s) the specific action or step was carried out. Note: This is not the reason for the medication instruction, rather the specific reason e.g. for administration or for ceasing the medication.(en)</items>
      </items>
      <items code="at0024">
        <items id="text">*Comment(en)</items>
        <items id="description">*A comment on the action taken including details of any variance between the intended action and the action actually performed.(en)</items>
      </items>
      <items code="at0025">
        <items id="text">*Sequence number(en)</items>
        <items id="description">*The sequence number specific to the action being recorded.(en)</items>
      </items>
      <items code="at0030">
        <items id="text">*Tree(en)</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0033">
        <items id="text">*Patient guidance(en)</items>
        <items id="description">*Any guidance, instructions or advice given to the subject of care or carer at the time of the action.(en)</items>
      </items>
      <items code="at0035">
        <items id="text">*Dispensed medication returned.(en)</items>
        <items id="description">*A dispensed medication is returned, or not collected, without being used.(en)</items>
      </items>
      <items code="at0039">
        <items id="text">*Major change to order.(en)</items>
        <items id="description">*A major change to the order was required, resulting in this order being stopped and a replacement order being started.(en)</items>
      </items>
      <items code="at0041">
        <items id="text">*Minor change to order(en)</items>
        <items id="description">*The medication order has been changed in a manner which does not require a new instruction/order to be issued, according to local clinical rules.(en)</items>
      </items>
      <items code="at0043">
        <items id="text">*Order scheduled datetime(en)</items>
        <items id="description">*The datetime at which the medication order was scheduled to occur.(en)</items>
        <items id="comment">* Used to compare variance from actual action time where this is not readily calculable from the original instruction.(en)</items>
      </items>
      <items code="at0044">
        <items id="text">*Dose administration deferred(en)</items>
        <items id="description">*Administration of a dose of mediciation has been delayed but is expected to be given as soon as possible.(en)</items>
      </items>
      <items code="at0053">
        <items id="text">*Details(en)</items>
        <items id="description">*Further structured details of the action, possibly specific to a pathway step.(en)</items>
      </items>
      <items code="at0082">
        <items id="text">*Product(en)</items>
        <items id="description">*Details of the product dispensed, authorised or administered.(en)</items>
      </items>
      <items code="at0083">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0084">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0085">
        <items id="text">*Cluster(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0103">
        <items id="text">*Order ID(en)</items>
        <items id="description">*The identifier assigned with the original order. (en)</items>
      </items>
      <items code="at0104">
        <items id="text">*Preparation details(en)</items>
        <items id="description">*Details of the medication preparation. (en)</items>
      </items>
      <items code="at0105">
        <items id="text">*Max dose administered(en)</items>
        <items id="description">*The proportion of the maximum allowed dose administered.(en)</items>
      </items>
      <items code="at0106">
        <items id="text">*Medication re-authorised(en)</items>
        <items id="description">*A repeat prescription or dispense has been re-authorised.(en)</items>
      </items>
      <items code="at0109">
        <items id="text">*Medication recommended(en)</items>
        <items id="description">*The medication has been recommended but no steps have been taken to initiate prescribing.(en)</items>
      </items>
      <items code="at0116">
        <items id="text">*Reason dose not administered(en)</items>
        <items id="description">*The reason(s) why a particular dose administration did not take place, including complte omission of the dose and deferral of the dose.(en)</items>
      </items>
      <items code="at0117">
        <items id="text">*Reason course amended/stopped(en)</items>
        <items id="description">*The reason(s) for amending or stopping a course of medication.(en)</items>
      </items>
      <items code="at0118">
        <items id="text">*Allergy/Adverse Reaction/ Intolerance(en)</items>
        <items id="description">*The patient experienced an adverse reaction.(en)</items>
      </items>
      <items code="at0119">
        <items id="text">*Inadequate clinical response(en)</items>
        <items id="description">*The clinical response to the medication was inadequate.(en)</items>
      </items>
      <items code="at0120">
        <items id="text">*Patient choice / difficulty(en)</items>
        <items id="description">*The course was changed because of patient preference or difficulty.(en)</items>
      </items>
      <items code="at0121">
        <items id="text">*Prescribed in error(en)</items>
        <items id="description">*The medication was prescribed in error.(en)</items>
      </items>
      <items code="at0122">
        <items id="text">*Additional information available(en)</items>
        <items id="description">*Addiotnal information informed the amendment.(en)</items>
      </items>
      <items code="at0123">
        <items id="text">*Temporarily suspended(en)</items>
        <items id="description">*The medication was suspended for a temporary period only.(en)</items>
      </items>
      <items code="at0124">
        <items id="text">*Change to dose form/ strength /route(en)</items>
        <items id="description">*The dose form/strength and or route were changed.(en)</items>
      </items>
      <items code="at0125">
        <items id="text">*Patient refused(en)</items>
        <items id="description">*The patient refused to take the medication.(en)</items>
      </items>
      <items code="at0126">
        <items id="text">*Nil by mouth(en)</items>
        <items id="description">*The patient is on a nil-by-mouth regime.(en)</items>
      </items>
      <items code="at0127">
        <items id="text">*Medicine unavailable(en)</items>
        <items id="description">*The medicine was unavailable.(en)</items>
      </items>
      <items code="at0128">
        <items id="text">*Patient unavailable(en)</items>
        <items id="description">*The patient was not available.(en)</items>
      </items>
      <items code="at0129">
        <items id="text">*Clinical reason(en)</items>
        <items id="description">*The medication administration was withheld/deferred for a clinical reason.(en)</items>
      </items>
      <items code="at0130">
        <items id="text">*Manufacturer(en)</items>
        <items id="description">*The manufacturer of the medication.(en)</items>
      </items>
      <items code="at0131">
        <items id="text">*Amount(en)</items>
        <items id="description">*Details of the amount of medication supplied i.e. authorised, dispensed or administered.(en)</items>
      </items>
      <items code="at0132">
        <items id="text">*Dispensing substitution(en)</items>
        <items id="description">*Subsitution action taken by the dispenser.(en)</items>
      </items>
      <items code="at0133">
        <items id="text">*Dispensing substitution reason(en)</items>
        <items id="description">*The reason or justification for the substitution action taken.(en)</items>
      </items>
      <items code="at0137">
        <items id="text">*Medication restart date/condition set(en)</items>
        <items id="description">*A  suspended medication has had its restart date or condition set.(en)</items>
      </items>
      <items code="at0138">
        <items id="text">*Substitute product dispensed(en)</items>
        <items id="description">*A medication was dispensed which is bioequivalent to that ordered.(en)</items>
      </items>
      <items code="at0139">
        <items id="text">*Substitute product not dispensed(en)</items>
        <items id="description">*Although allowed by the medication order a substitute bioequvalent medication was not dispensed.(en)</items>
      </items>
      <items code="at0140">
        <items id="text">*Delivery details(en)</items>
        <items id="description">*Details of body site and delivery of the medication.(en)</items>
      </items>
      <items code="at0141">
        <items id="text">*Body site(en)</items>
        <items id="description">*Identification of the site of administration of the medication, vaccine or therapeutic good.(en)</items>
        <items id="comment">*For example: 'left upper arm', 'intravenous catheter right hand'.&#xD;
Coding of the body site with a terminology is preferred, where possible.(en)</items>
      </items>
      <items code="at0142">
        <items id="text">*Structured body site(en)</items>
        <items id="description">*Structured description of the site of administration  of the medication, vaccine or therapeutic good.(en)</items>
      </items>
      <items code="at0143">
        <items id="text">*Delivery method(en)</items>
        <items id="description">*The method by which the medication is to be delivered.(en)</items>
        <items id="comment">*For example: 'via nebuliser'.(en)</items>
      </items>
      <items code="at0144">
        <items id="text">*Delivery device details(en)</items>
        <items id="description">*Details of the medical device used to assist delivery of the medication.(en)</items>
      </items>
    </term_definitions>
    <term_definitions language="ru">
      <items code="at0000">
        <items id="text">*Medication(en)</items>
        <items id="description">*Details of use, administration, dispensing or other care step relating to a medicine, vaccine or other therapeutic good which may arise from an instruction from a clinician.(en)</items>
      </items>
      <items code="at0002">
        <items id="text">*Prescription first issued(en)</items>
        <items id="description">*The instruction has issued as an item on a prescription.(en)</items>
      </items>
      <items code="at0003">
        <items id="text">*Medication dispensed(en)</items>
        <items id="description">*The medication has been dispensed.(en)</items>
      </items>
      <items code="at0004">
        <items id="text">*Medication course commenced(en)</items>
        <items id="description">*The medication has been taken by, or administered to, the patient for the first time.(en)</items>
      </items>
      <items code="at0005">
        <items id="text">*Medication course reviewed(en)</items>
        <items id="description">*The medication has been reviewed.(en)</items>
      </items>
      <items code="at0006">
        <items id="text">*Dose administered(en)</items>
        <items id="description">*A single administration of the medication has taken place.(en)</items>
      </items>
      <items code="at0007">
        <items id="text">*Medication course completed(en)</items>
        <items id="description">*The medication course has been completed as planned.(en)</items>
      </items>
      <items code="at0008">
        <items id="text">*Medication course supply delayed(en)</items>
        <items id="description">*The medication course has not been dispensed as supply is not yet available.(en)</items>
      </items>
      <items code="at0009">
        <items id="text">*Medication course suspended(en)</items>
        <items id="description">*The administration of the medication has been suspended.(en)</items>
      </items>
      <items code="at0010">
        <items id="text">*Prescription re-issued(en)</items>
        <items id="description">*A prescription token has been re-issued for an existing medication order.(en)</items>
      </items>
      <items code="at0011">
        <items id="text">*Prescription re-issue suspended(en)</items>
        <items id="description">*Reissuing of this prescription is not available without some intervention.(en)</items>
      </items>
      <items code="at0012">
        <items id="text">*Medication course cancelled(en)</items>
        <items id="description">*The planned administration has been cancelled prior to any administration.(en)</items>
      </items>
      <items code="at0013">
        <items id="text">*Scheduled medication postponed(en)</items>
        <items id="description">*A scheduled medication has been postponed prior to any administration.(en)</items>
      </items>
      <items code="at0015">
        <items id="text">*Medication course stopped(en)</items>
        <items id="description">*The administration of this medication has been ceased before anticipated completion.(en)</items>
      </items>
      <items code="at0016">
        <items id="text">*Medication start date/condition set(en)</items>
        <items id="description">*The time to start this medication, or other starting condition, has been set.(en)</items>
      </items>
      <items code="at0017">
        <items id="text">*Tree(en)</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0018">
        <items id="text">*Dose administration omitted(en)</items>
        <items id="description">*The administration of a medication has been withheld and not given. There is no expectation that it will be given later, though the next dose (if any) should be administered according to the original order.(en)</items>
      </items>
      <items code="at0020">
        <items id="text">*Medication(en)</items>
        <items id="description">*The medicine, vaccine or other therapeutic good which was the focus of the action. This element will normally be coded with a medicines terminology but free text may be required in some cases.(en)</items>
      </items>
      <items code="at0021">
        <items id="text">*Reason(en)</items>
        <items id="description">*The reason(s) the specific action or step was carried out. Note: This is not the reason for the medication instruction, rather the specific reason e.g. for administration or for ceasing the medication.(en)</items>
      </items>
      <items code="at0024">
        <items id="text">*Comment(en)</items>
        <items id="description">*A comment on the action taken including details of any variance between the intended action and the action actually performed.(en)</items>
      </items>
      <items code="at0025">
        <items id="text">*Sequence number(en)</items>
        <items id="description">*The sequence number specific to the action being recorded.(en)</items>
      </items>
      <items code="at0030">
        <items id="text">*Tree(en)</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0033">
        <items id="text">*Patient guidance(en)</items>
        <items id="description">*Any guidance, instructions or advice given to the subject of care or carer at the time of the action.(en)</items>
      </items>
      <items code="at0035">
        <items id="text">*Dispensed medication returned.(en)</items>
        <items id="description">*A dispensed medication is returned, or not collected, without being used.(en)</items>
      </items>
      <items code="at0039">
        <items id="text">*Major change to order.(en)</items>
        <items id="description">*A major change to the order was required, resulting in this order being stopped and a replacement order being started.(en)</items>
      </items>
      <items code="at0041">
        <items id="text">*Minor change to order(en)</items>
        <items id="description">*The medication order has been changed in a manner which does not require a new instruction/order to be issued, according to local clinical rules.(en)</items>
      </items>
      <items code="at0043">
        <items id="text">*Order scheduled datetime(en)</items>
        <items id="description">*The datetime at which the medication order was scheduled to occur.(en)</items>
        <items id="comment">* Used to compare variance from actual action time where this is not readily calculable from the original instruction.(en)</items>
      </items>
      <items code="at0044">
        <items id="text">*Dose administration deferred(en)</items>
        <items id="description">*Administration of a dose of mediciation has been delayed but is expected to be given as soon as possible.(en)</items>
      </items>
      <items code="at0053">
        <items id="text">*Details(en)</items>
        <items id="description">*Further structured details of the action, possibly specific to a pathway step.(en)</items>
      </items>
      <items code="at0082">
        <items id="text">*Product(en)</items>
        <items id="description">*Details of the product dispensed, authorised or administered.(en)</items>
      </items>
      <items code="at0083">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0084">
        <items id="text">*New element(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0085">
        <items id="text">*Cluster(en)</items>
        <items id="description">**(en)</items>
      </items>
      <items code="at0103">
        <items id="text">*Order ID(en)</items>
        <items id="description">*The identifier assigned with the original order. (en)</items>
      </items>
      <items code="at0104">
        <items id="text">*Preparation details(en)</items>
        <items id="description">*Details of the medication preparation. (en)</items>
      </items>
      <items code="at0105">
        <items id="text">*Max dose administered(en)</items>
        <items id="description">*The proportion of the maximum allowed dose administered.(en)</items>
      </items>
      <items code="at0106">
        <items id="text">*Medication re-authorised(en)</items>
        <items id="description">*A repeat prescription or dispense has been re-authorised.(en)</items>
      </items>
      <items code="at0109">
        <items id="text">*Medication recommended(en)</items>
        <items id="description">*The medication has been recommended but no steps have been taken to initiate prescribing.(en)</items>
      </items>
      <items code="at0116">
        <items id="text">*Reason dose not administered(en)</items>
        <items id="description">*The reason(s) why a particular dose administration did not take place, including complte omission of the dose and deferral of the dose.(en)</items>
      </items>
      <items code="at0117">
        <items id="text">*Reason course amended/stopped(en)</items>
        <items id="description">*The reason(s) for amending or stopping a course of medication.(en)</items>
      </items>
      <items code="at0118">
        <items id="text">*Allergy/Adverse Reaction/ Intolerance(en)</items>
        <items id="description">*The patient experienced an adverse reaction.(en)</items>
      </items>
      <items code="at0119">
        <items id="text">*Inadequate clinical response(en)</items>
        <items id="description">*The clinical response to the medication was inadequate.(en)</items>
      </items>
      <items code="at0120">
        <items id="text">*Patient choice / difficulty(en)</items>
        <items id="description">*The course was changed because of patient preference or difficulty.(en)</items>
      </items>
      <items code="at0121">
        <items id="text">*Prescribed in error(en)</items>
        <items id="description">*The medication was prescribed in error.(en)</items>
      </items>
      <items code="at0122">
        <items id="text">*Additional information available(en)</items>
        <items id="description">*Addiotnal information informed the amendment.(en)</items>
      </items>
      <items code="at0123">
        <items id="text">*Temporarily suspended(en)</items>
        <items id="description">*The medication was suspended for a temporary period only.(en)</items>
      </items>
      <items code="at0124">
        <items id="text">*Change to dose form/ strength /route(en)</items>
        <items id="description">*The dose form/strength and or route were changed.(en)</items>
      </items>
      <items code="at0125">
        <items id="text">*Patient refused(en)</items>
        <items id="description">*The patient refused to take the medication.(en)</items>
      </items>
      <items code="at0126">
        <items id="text">*Nil by mouth(en)</items>
        <items id="description">*The patient is on a nil-by-mouth regime.(en)</items>
      </items>
      <items code="at0127">
        <items id="text">*Medicine unavailable(en)</items>
        <items id="description">*The medicine was unavailable.(en)</items>
      </items>
      <items code="at0128">
        <items id="text">*Patient unavailable(en)</items>
        <items id="description">*The patient was not available.(en)</items>
      </items>
      <items code="at0129">
        <items id="text">*Clinical reason(en)</items>
        <items id="description">*The medication administration was withheld/deferred for a clinical reason.(en)</items>
      </items>
      <items code="at0130">
        <items id="text">*Manufacturer(en)</items>
        <items id="description">*The manufacturer of the medication.(en)</items>
      </items>
      <items code="at0131">
        <items id="text">*Amount(en)</items>
        <items id="description">*Details of the amount of medication supplied i.e. authorised, dispensed or administered.(en)</items>
      </items>
      <items code="at0132">
        <items id="text">*Dispensing substitution(en)</items>
        <items id="description">*Subsitution action taken by the dispenser.(en)</items>
      </items>
      <items code="at0133">
        <items id="text">*Dispensing substitution reason(en)</items>
        <items id="description">*The reason or justification for the substitution action taken.(en)</items>
      </items>
      <items code="at0137">
        <items id="text">*Medication restart date/condition set(en)</items>
        <items id="description">*A  suspended medication has had its restart date or condition set.(en)</items>
      </items>
      <items code="at0138">
        <items id="text">*Substitute product dispensed(en)</items>
        <items id="description">*A medication was dispensed which is bioequivalent to that ordered.(en)</items>
      </items>
      <items code="at0139">
        <items id="text">*Substitute product not dispensed(en)</items>
        <items id="description">*Although allowed by the medication order a substitute bioequvalent medication was not dispensed.(en)</items>
      </items>
      <items code="at0140">
        <items id="text">*Delivery details(en)</items>
        <items id="description">*Details of body site and delivery of the medication.(en)</items>
      </items>
      <items code="at0141">
        <items id="text">*Body site(en)</items>
        <items id="description">*Identification of the site of administration of the medication, vaccine or therapeutic good.(en)</items>
        <items id="comment">*For example: 'left upper arm', 'intravenous catheter right hand'.&#xD;
Coding of the body site with a terminology is preferred, where possible.(en)</items>
      </items>
      <items code="at0142">
        <items id="text">*Structured body site(en)</items>
        <items id="description">*Structured description of the site of administration  of the medication, vaccine or therapeutic good.(en)</items>
      </items>
      <items code="at0143">
        <items id="text">*Delivery method(en)</items>
        <items id="description">*The method by which the medication is to be delivered.(en)</items>
        <items id="comment">*For example: 'via nebuliser'.(en)</items>
      </items>
      <items code="at0144">
        <items id="text">*Delivery device details(en)</items>
        <items id="description">*Details of the medical device used to assist delivery of the medication.(en)</items>
      </items>
    </term_definitions>
    <term_definitions language="nb">
      <items code="at0000">
        <items id="text">Legemiddelhandling</items>
        <items id="description">Detaljer om bruk, administrasjon, utdeling eller andre steg i behandlingsprosessen som er knyttet til legemiddel eller vaksine som kan følge en forordning.</items>
      </items>
      <items code="at0002">
        <items id="text">Utstedt resept for legemiddelet</items>
        <items id="description">Det er utstedt en resept for legemiddelet.</items>
      </items>
      <items code="at0003">
        <items id="text">Legemiddel utdelt</items>
        <items id="description">Legemiddelet er utdelt.</items>
      </items>
      <items code="at0004">
        <items id="text">Medisinering startet</items>
        <items id="description">Legemiddelet er tatt av eller administrert til pasienten for første gang.</items>
      </items>
      <items code="at0005">
        <items id="text">Medisinering gjennomgått</items>
        <items id="description">Medisineringen er gjennomgått.</items>
      </items>
      <items code="at0006">
        <items id="text">Legemiddel administrert</items>
        <items id="description">En enkelt administrering av legemiddelet er utført.</items>
      </items>
      <items code="at0007">
        <items id="text">Medisinering fullført</items>
        <items id="description">Medisineringen er fullført som foreskrevet.</items>
      </items>
      <items code="at0008">
        <items id="text">Forsinket levering</items>
        <items id="description">Legemiddelet er ikke utdelt fordi det ikke er på lager enda.</items>
      </items>
      <items code="at0009">
        <items id="text">Administrasjon satt på vent</items>
        <items id="description">Administrasjon av legemiddelet er satt på vent. Ingen ytterligere doser gis inntil videre, eller settes i gang først når vilkår eller dato for å sette medisineringen i gang igjen er møtt.</items>
      </items>
      <items code="at0010">
        <items id="text">Resept fornyet</items>
        <items id="description">Legemiddelet har fått en fornyet resept for den eksisterende ordineringen.</items>
      </items>
      <items code="at0011">
        <items id="text">Reseptfornying satt på vent</items>
        <items id="description">Reseptfornying kan ikke utføres uten inngripen.</items>
      </items>
      <items code="at0012">
        <items id="text">Planlagt medisinering er avbrutt</items>
        <items id="description">Den planlagte administrasjonen er avbrutt før noe er administrert.</items>
      </items>
      <items code="at0013">
        <items id="text">Planlagt medisinering satt på vent</items>
        <items id="description">Den planlagte medisineringen er satt på vent før noe er administert.</items>
      </items>
      <items code="at0015">
        <items id="text">Seponert</items>
        <items id="description">Legemiddelet er seponert før antatt fullførelse.</items>
      </items>
      <items code="at0016">
        <items id="text">Oppstartsdato satt</items>
        <items id="description">Tidspunktet eller vilkår for å starte medisineringen er satt.</items>
      </items>
      <items code="at0017">
        <items id="text">Tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0018">
        <items id="text">Legemiddel holdt tilbake</items>
        <items id="description">Administrasjon av et legemiddel er stoppet, og legemiddelet er holdt tilbake. Det er ingen forventing om at legemiddelet skal gis på et senere tidspunkt, men neste dose administreres i henhold til ordineringen.</items>
      </items>
      <items code="at0020">
        <items id="text">Legemiddel</items>
        <items id="description">Legemiddelet eller vaksinen som var i fokus i denne aktiviteten (ACTION). Dette elementet vil normalt sett bli kodet med en legemiddelterminologi, men i noen tilfeller kan fritekst være nødvendig.</items>
        <items id="comment">For eksempel: 'Atenolol 100mg' eller 'Atenolol 100mg tabletter'.</items>
      </items>
      <items code="at0021">
        <items id="text">Årsak</items>
        <items id="description">Årsak eller årsaker til at den aktuelle handlingen (ACTION) eller prosessteget ble utført. NB: Dette er ikke årsaken til legemiddelordineringen, heller de spesifikke årsakene til for eksempel administrasjonen.</items>
      </items>
      <items code="at0024">
        <items id="text">Kommentar</items>
        <items id="description">En kommentar til handlingen (ACTION) som ble foretatt.</items>
      </items>
      <items code="at0025">
        <items id="text">Sekvensnummer</items>
        <items id="description">Sekvensnummeret for den spesifikke handlingen som blir registrert.</items>
      </items>
      <items code="at0030">
        <items id="text">Tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0033">
        <items id="text">Pasientinstruksjoner</items>
        <items id="description">Enhver instruksjon som gis til pasienten eller en omsorgsperson når handlingen utføres.</items>
      </items>
      <items code="at0035">
        <items id="text">Legemiddel returnert</items>
        <items id="description">Utdelt legemiddel er returnert ubrukt eller ikke hentet.</items>
      </items>
      <items code="at0039">
        <items id="text">Endret dose eller timing</items>
        <items id="description">Det er utført en endring i ordingeringen, denne ordineringen er stoppet og en ny ordinering er igangsatt.</items>
      </items>
      <items code="at0041">
        <items id="text">Forordning endret</items>
        <items id="description">Legemiddelordineringen er endret, men på en slik måte at det etter lokale retningslinjer ikke er behov for en ny ordinering.</items>
      </items>
      <items code="at0043">
        <items id="text">Planlagt tid for ordinering</items>
        <items id="description">Planlagt tidspunkt for legemiddelordineringen.</items>
        <items id="comment">Brukes til å sammenligne varians fra faktisk tidspunkt for en handling (ACTION), der dette ikke er mulig å beregne ut fra den opprinnelige foreskrivningen.</items>
      </items>
      <items code="at0044">
        <items id="text">Utsatt administrering</items>
        <items id="description">Administrasjon av legemiddelet er forsinket, men legemiddelet forventes administrert så raskt som mulig.</items>
      </items>
      <items code="at0053">
        <items id="text">Prosesstrinndetaljer</items>
        <items id="description">Detaljer for handlingen spesifikk for et prosesstrinn.</items>
      </items>
      <items code="at0082">
        <items id="text">Produkt</items>
        <items id="description">Detaljer om produktet som er utdelt eller administrert.</items>
      </items>
      <items code="at0083">
        <items id="text">Batch-ID</items>
        <items id="description">Tilordnet av produsenten for å identifisere produksjons-batchen for produktet.</items>
      </items>
      <items code="at0084">
        <items id="text">Utløpsdato</items>
        <items id="description">Utløpsdatoen for legemiddelet, som dokumentert av produsenten.</items>
      </items>
      <items code="at0085">
        <items id="text">Tilleggsinformasjon</items>
        <items id="description">Ytterligere informasjon som er nødvendig for å sammenstille med andre referansemodeller/formalismer.</items>
        <items id="comment">F.eks. lokale informasjonskrav eller ekstra metadata for å samsvare med FHIR eller CIMI ekvivalenter.</items>
      </items>
      <items code="at0103">
        <items id="text">ForordningsID</items>
        <items id="description">Identifikatoren for den opprinnelige forordningen.</items>
      </items>
      <items code="at0104">
        <items id="text">Preparatdetaljer</items>
        <items id="description">Detaljer om legemiddelpreparatet.</items>
      </items>
      <items code="at0105">
        <items id="text">Maksimal klassedose administrert</items>
        <items id="description">Proporsjonen av den maksimale tillatte doseekvivalenten som er administrert.</items>
        <items id="comment">Brukes innenfor psykisk helsevern for å overvåke den totale mengden av en klasse legemidler, f.eks. antopsykotika, som administreres. Hvert legemiddel har et bidrag til det daglige maksimum angitt i prosent. Det daglige maksimum er normalt 100%.</items>
      </items>
      <items code="at0106">
        <items id="text">Legemiddel reautorisert</items>
        <items id="description">En repeterende resept eller utdeling har blitt reautorisert.</items>
      </items>
      <items code="at0109">
        <items id="text">Anbefalt medisinering</items>
        <items id="description">Medisineringen er anbefalt, men ordinering er ikke iverksatt.</items>
      </items>
      <items code="at0116">
        <items id="text">Begrunnelse for at dose ikke ble administrert</items>
        <items id="description">Begrunnelse(r) for hvorfor en spesifikk dose ikke ble administrert, både når dosen hoppes over og når den utsettes.</items>
      </items>
      <items code="at0117">
        <items id="text">Årsak til endring/seponering</items>
        <items id="description">Årsaken(e) for å endre eller seponere ordineringen.</items>
      </items>
      <items code="at0118">
        <items id="text">Overfølsomhetsreaksjon</items>
        <items id="description">Pasienten opplevde en overfølsomhetsreaksjon.</items>
      </items>
      <items code="at0119">
        <items id="text">Utilstrekkelig klinisk respons</items>
        <items id="description">Den kliniske responsen på legemiddelet var utilstrekkelig.</items>
      </items>
      <items code="at0120">
        <items id="text">Pasientpreferanser</items>
        <items id="description">Endring/seponering på grunn av pasientpreferanser eller vanskeligheter.</items>
      </items>
      <items code="at0121">
        <items id="text">Feilordinering</items>
        <items id="description">Legemiddelet ble ordinert ved en feil.</items>
      </items>
      <items code="at0122">
        <items id="text">Ytterligere informasjon tilgjengelig</items>
        <items id="description">Ytterligere informasjon førte til endringen.</items>
      </items>
      <items code="at0123">
        <items id="text">Midlertidig satt på vent</items>
        <items id="description">Legemiddelet ble satt på vent midlertidig.</items>
      </items>
      <items code="at0124">
        <items id="text">Endring av dose / form / styrke / administrasjonsvei</items>
        <items id="description">Dosen, formen, styrken eller administrasjonsveien ble endret.</items>
      </items>
      <items code="at0125">
        <items id="text">Pasient nektet</items>
        <items id="description">Pasienten nektet å ta legemiddelet.</items>
      </items>
      <items code="at0126">
        <items id="text">Faster</items>
        <items id="description">Pasienten faster.</items>
      </items>
      <items code="at0127">
        <items id="text">Legemiddel ikke tilgjengelig</items>
        <items id="description">Legemiddelelet var ikke tilgjengelig.</items>
      </items>
      <items code="at0128">
        <items id="text">Pasient ikke tilgjengelig</items>
        <items id="description">Pasienten var ikke tilgjengelig.</items>
      </items>
      <items code="at0129">
        <items id="text">Klinisk begrunnelse</items>
        <items id="description">Legemiddelet ble stoppet/utsatt av en klinisk årsak.</items>
      </items>
      <items code="at0130">
        <items id="text">Produsent</items>
        <items id="description">Produsenten av legemiddelet.</items>
      </items>
      <items code="at0131">
        <items id="text">Mengde</items>
        <items id="description">Detaljer om mengden legemiddel som skal utdeles eller administreres.</items>
      </items>
      <items code="at0132">
        <items id="text">Generisk bytte ved utdeling</items>
        <items id="description">Generisk bytte ved utdeling.</items>
      </items>
      <items code="at0133">
        <items id="text">Begrunnelse for bytte</items>
        <items id="description">Begrunnelsen for om det ble utført generisk bytte eller ikke.</items>
      </items>
      <items code="at0137">
        <items id="text">Vilkår satt for å sette medisineringen i gang igjen</items>
        <items id="description">Et legemiddel som er satt på vent har fått satt dato eller vilkår for å starte igjen.</items>
      </items>
      <items code="at0138">
        <items id="text">Generisk bytte utført</items>
        <items id="description">Et legemiddel som var bioekvivalent til det ordinerte ble utdelt.</items>
      </items>
      <items code="at0139">
        <items id="text">Generisk bytte ikke utført</items>
        <items id="description">Det ble ikke utført generisk bytte, til tross for at dette var tillatt i ordineringen.</items>
      </items>
      <items code="at0140">
        <items id="text">Administrasjonsdetaljer</items>
        <items id="description">Detaljer om kroppssted og administrasjon av legemiddelet.</items>
      </items>
      <items code="at0141">
        <items id="text">Anatomisk lokalisering</items>
        <items id="description">Kroppsstedet der legemiddelet eller vaksinen ble administrert.</items>
        <items id="comment">For eksempel "venstre overarm" eller "PVK høyre hånd". Koding av den anatoiske lokaliseringen med en terminologi foretrekkes der det er mulig.</items>
      </items>
      <items code="at0142">
        <items id="text">Strukturert anatomisk lokalisering</items>
        <items id="description">Strukturert beskrivelse av administrasjonsstedet for legemiddelet eller vaksinen.</items>
      </items>
      <items code="at0143">
        <items id="text">Administrasjonsmetode</items>
        <items id="description">Metoden legemiddelet ble administrert.</items>
        <items id="comment">For eksempel "via forstøver".</items>
      </items>
      <items code="at0144">
        <items id="text">Detaljer om administrasjonsutstyr</items>
        <items id="description">Detaljer om utstyret som ble brukt for å administrere legemiddelet.</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
