<?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">2021-04-13</original_author>
    <original_author id="name">Heather Leslie</original_author>
    <original_author id="organisation">Atomica Informatics</original_author>
    <original_author id="email">heather.leslie@atomicainformatics.com</original_author>
    <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">openEHR Foundation</other_details>
    <other_details id="original_namespace">org.openehr</other_details>
    <other_details id="original_publisher">openEHR Foundation</other_details>
    <other_details id="custodian_namespace">org.openehr</other_details>
    <other_details id="MD5-CAM-1.0.1">8DF84A7856DED7EAB026E030722C508B</other_details>
    <other_details id="build_uid">9547b630-7b02-4d29-b0c2-00aa40054052</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>de</code_string>
      </language>
      <purpose>Zum Erfassen von Informationen über einen Plan zur Versorgung zukünftiger gesundheitlicher und sozialer Bedürfnisse, einschließlich chronischer Erkrankungen und der Versorgung am Lebensende.</purpose>
      <keywords>vorausschauende Versorgungsplanung, Patientenverfügung, Intervention, Entscheidung</keywords>
      <use>Als Container zur Erfassung von Informationen über einen Plan zur Versorgung zukünftiger gesundheitlicher und sozialer Bedürfnisse, einschließlich chronischer Erkrankungen und der Versorgung am Lebensende. Der Inhalt sollte die individuelle gesundheitliche Situation und die persönlichen Umstände der betroffenen Person widerspiegeln.&#xD;
&#xD;
Dieser Archetyp wurde speziell dafür entwickelt, einen oder mehrere der folgenden Inhalte aufzunehmen:&#xD;
- den Archetyp EVALUATION.advance_care_directive, der die Präferenzen einer Person hinsichtlich ihrer zukünftigen Versorgung aus Sicht der Person selbst oder ihrer gesetzlichen Vertretung abbildet;&#xD;
- den Archetyp EVALUATION.advance_intervention_decisions, der aus Sicht einer klinischen Fachperson Entscheidungen über die allgemeine Behandlungsabsicht sowie über mögliche Behandlungen, Maßnahmen und diagnostische oder therapeutische Verfahren abbildet, die lebensrettend oder lebensverlängernd sein oder unerwünschte Nebenwirkungen verursachen können;&#xD;
- weitere Archetypen, die klinisch relevant sowie für die integrierte Versorgung oder die Versorgungsplanung am Lebensende von Bedeutung sind.&#xD;
&#xD;
Dieser Archetyp kann als einzelne COMPOSITION verwendet werden, um Informationen zu vorausschauenden Versorgungspräferenzen oder -entscheidungen abzufragen. Dabei wird die Herkunft der Informationen – von der betroffenen Person oder von einer klinischen Fachperson – durch unterschiedliche Archetypen klar unterschieden.</use>
      <misuse>Nicht zu verwenden für die Erfassung von Archetypen, die sich auf Anordnungen oder die Behandlung einer akuten oder Notfallsituation beziehen.&#xD;
&#xD;
Nicht zu verwenden für die Erfassung von Archetypen, die Versorgungspläne zur Behandlung aktueller gesundheitlicher und sozialer Bedürfnisse abbilden. Verwenden Sie hierfür COMPOSITION.care_plan.</misuse>
      <copyright />
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>To hold information about a plan for the management of future health and social care requirements, including chronic illness and end of life care.</purpose>
      <keywords>advance care, directive, intervention, decision,</keywords>
      <use>Use as a container to hold information about a plan for the management of future health and social care requirements, including chronic illness and end of life care, and the content should reflect the individual's unique health situation and circumstances.&#xD;
&#xD;
This archetype has been specifically designed to carry one, or more, of:&#xD;
- the EVALUATION.advance_care_directive, representing the preferences of an individual about their future care, from the point of view of the individual or their guardian; and&#xD;
- the EVALUATION.advance_intervention_decisions archetypes, representing the decisions about the overall intent of care and possible treatments, activities and diagnostic or therapeutic procedures that may be life-saving, life-prolonging or cause undesirable side effects, from the point of view of a clinician; or &#xD;
- other archetypes that are clinically relevant and relevant to integrated care or end-of-life planning. &#xD;
&#xD;
This archetype can be used as a single COMPOSITION for querying information about any anticipatory care preferences or decisions, with different archetypes clearly differentiating the source of the information as individual or clinician.</use>
      <misuse>Not to be used to carry archetypes that are related to orders or management of an acute or emergency situation.&#xD;
&#xD;
Not to be used to carry archetypes that are related to care plans related to management current health and social requirements - use COMPOSITION.care_plan for this purpose.</misuse>
      <copyright>© openEHR Foundation</copyright>
    </details>
  </description>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>de</code_string>
    </language>
    <author id="name">Olha Nikolaieva</author>
    <author id="organisation">University Hospital Basel</author>
    <author id="email">olha.nikolaieva@usb.ch</author>
    <other_details id="other_contributors">Maren Diepenbruck, University Hospital Basel, Switzerland</other_details>
  </translations>
  <uid>
    <value>1d9417b0-2abe-4cb6-b725-eeaa5b493f8b</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-COMPOSITION.advance_care.v0</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>COMPOSITION</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>category</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>at0001</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>431</code_list>
          </children>
        </attributes>
      </children>
    </attributes>
    <attributes xsi:type="C_SINGLE_ATTRIBUTE">
      <rm_attribute_name>context</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>EVENT_CONTEXT</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>other_context</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>at0003</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="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>at0004</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>0</lower>
                </interval>
              </cardinality>
            </attributes>
          </children>
        </attributes>
      </children>
    </attributes>
  </definition>
  <ontology>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Advance care</items>
        <items id="description">A plan for the management of future health and social care requirements, including chronic illness and end of life care.</items>
      </items>
      <items code="at0001">
        <items id="text">Coded text</items>
        <items id="description" />
      </items>
      <items code="at0002">
        <items id="text">Event Context</items>
        <items id="description" />
      </items>
      <items code="at0003">
        <items id="text">Item tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0004">
        <items id="text">Extension</items>
        <items id="description">Additional information required to extend the model with local content or to align with other reference models or formalisms.</items>
        <items id="comment">For example: local information requirements; or additional metadata to align with FHIR.</items>
      </items>
    </term_definitions>
    <term_definitions language="de">
      <items code="at0000">
        <items id="text">Vorausschauende Versorgung</items>
        <items id="description">Ein Plan zur Versorgung zukünftiger gesundheitlicher und sozialer Bedürfnisse, einschließlich chronischer Erkrankungen und der Versorgung am Lebensende.</items>
      </items>
      <items code="at0001">
        <items id="text">Coded text</items>
        <items id="description" />
      </items>
      <items code="at0002">
        <items id="text">Ereigniskontext</items>
        <items id="description" />
      </items>
      <items code="at0003">
        <items id="text">Item tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0004">
        <items id="text">Erweiterung</items>
        <items id="description">Zusätzliche Informationen zur Erfassung lokaler Inhalte oder Anpassung an andere Referenzmodelle/Formalismen.</items>
        <items id="comment">Zum Beispiel: Lokaler Informationsbedarf oder zusätzliche Metadaten zur Anpassung an FHIR-Ressourcen.</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
