<?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">2019-11-12</original_author>
    <original_author id="name">Sarah Ballout</original_author>
    <original_author id="organisation">MHH-Hannover</original_author>
    <original_author id="email">ballout.sarah@mh-hannover.de</original_author>
    <lifecycle_state>in_development</lifecycle_state>
    <other_details id="licence">This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.</other_details>
    <other_details id="custodian_organisation">HiGHmed</other_details>
    <other_details id="references">https://simplifier.net/packages/hl7.fhir.r4.core/4.0.1/files/82502</other_details>
    <other_details id="original_namespace">org.highmed</other_details>
    <other_details id="original_publisher">HiGHmed</other_details>
    <other_details id="custodian_namespace">org.highmed</other_details>
    <other_details id="MD5-CAM-1.0.1">D89C6BDB7361A3527154105AF319A685</other_details>
    <other_details id="build_uid">1c83fe3f-74ff-4978-b554-27c52725b889</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>Dieser Archetyp wird verwendet, um eine (fachliche) Organisationseinheit abzubilden, z.B. eine Fachabteilung im Krankenhaus.</purpose>
      <keywords>Fachabteilung</keywords>
      <keywords>Abteilung</keywords>
      <keywords>Organisationseinheit</keywords>
      <keywords>Organisation</keywords>
      <use>Zur Beschreibung einer Organisationseinheit.</use>
      <misuse>Der Archetyp dient nicht zur Erfassung der physischen Standorte, z. B. von Patienten. Verwenden Sie bitte den Cluster-Archetyp Standort.</misuse>
      <copyright>© HiGHmed</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>This archetype is used to record the localization of the patient during their stay in the clinic.&#xD;
&#xD;
To record all locations, e.g. to document the patient's location during a hospital stay or to describe in detail the locations involved in Action or Observation (clinics, departments and others).</purpose>
      <keywords>patient location</keywords>
      <keywords>location</keywords>
      <keywords>department</keywords>
      <keywords>supply point</keywords>
      <keywords>specialist department</keywords>
      <keywords>station</keywords>
      <use>To document the patient's location during a hospital. &#xD;
&#xD;
To describe in detail the locations (clinics, departments and others) take Action or Observation.&#xD;
&#xD;
To represent further information about the bed of the patient used (bed ID, etc.), please use the archetype CLUSTER.device in the "Details" Slot.&#xD;
&#xD;
To represent the address data of the location, please use the archetype CLUSTER.address in the "Details" Slot.</use>
      <misuse>The archetype does not serve to record the devices. To enter this, please use the archetype "medical device".</misuse>
      <copyright>© HiGHmed</copyright>
    </details>
  </description>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>de</code_string>
    </language>
    <author id="name">Sarah Ballout</author>
    <author id="organisation">MHH-Hannover</author>
    <author id="email">ballout.sarah@mh-hannover.de</author>
  </translations>
  <uid>
    <value>c1af6cbf-71d4-48f5-896a-2fa0f55630d9</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-CLUSTER.organization.v0</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>CLUSTER</rm_type_name>
    <occurrences>
      <lower_included>true</lower_included>
      <upper_included>true</upper_included>
      <lower_unbounded>false</lower_unbounded>
      <upper_unbounded>false</upper_unbounded>
      <lower>1</lower>
      <upper>1</upper>
    </occurrences>
    <node_id>at0000</node_id>
    <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
      <rm_attribute_name>items</rm_attribute_name>
      <existence>
        <lower_included>true</lower_included>
        <upper_included>true</upper_included>
        <lower_unbounded>false</lower_unbounded>
        <upper_unbounded>false</upper_unbounded>
        <lower>1</lower>
        <upper>1</upper>
      </existence>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ELEMENT</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>0</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0051</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>1</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>
      <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>at0052</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>at0050</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_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 />
          </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>at0046</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>at0047</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>
  </definition>
  <ontology>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Organization</items>
        <items id="description">Location includes both casual locations (a place used for health care without prior designation or authorisation) and dedicated, formally designated locations. The sites can be private, public, mobile or fixed.</items>
      </items>
      <items code="at0024">
        <items id="text">Identifier</items>
        <items id="description">A group of buildings or other locations such as a site or campus. For example: Campus that is outside the facility, but belongs to the hospital, university.</items>
      </items>
      <items code="at0046">
        <items id="text">Location description</items>
        <items id="description">The field contains the optional free text description of the location, e.g. thoracic, heart and vascular surgery.</items>
      </items>
      <items code="at0047">
        <items id="text">Details</items>
        <items id="description">To record further information about the bed or about the address of the location. For this purpose use the archetype CLUSTER.device or CLUSTER.address.</items>
      </items>
      <items code="at0050">
        <items id="text">Active/Inactive</items>
        <items id="description" />
      </items>
      <items code="at0051">
        <items id="text">Type</items>
        <items id="description" />
      </items>
      <items code="at0052">
        <items id="text">Name</items>
        <items id="description" />
      </items>
    </term_definitions>
    <term_definitions language="de">
      <items code="at0000">
        <items id="text">Organisationseinheit</items>
        <items id="description">Eine fachliche Einheit, Organisation, Abteilung, Zusammenschluss, Gruppierung mit einem gemeinsamen Ziel.</items>
        <items id="fhir">Organization</items>
      </items>
      <items code="at0024">
        <items id="text">Organisationsschlüssel</items>
        <items id="description">Eindeutiger Identifikator der Organisationseinheit.</items>
        <items id="fhir">Organization.identifier</items>
      </items>
      <items code="at0046">
        <items id="text">Zusätzliche Beschreibung</items>
        <items id="description">Zusätzliche Informationen</items>
      </items>
      <items code="at0047">
        <items id="text">Details</items>
        <items id="description">Für die Erfassung weiterer Angaben über die Organisationseinheit, zum Beispiel Adresse oder Telekommunikationsdetails.</items>
        <items id="fhir">Organization.address</items>
      </items>
      <items code="at0050">
        <items id="text">Aktiv/Inaktiv</items>
        <items id="description">Gibt an, ob die Organisationseinheit noch aktiv ist.</items>
        <items id="fhir">Organization.active</items>
      </items>
      <items code="at0051">
        <items id="text">Typ</items>
        <items id="description">Art der Organisationseinheit.</items>
        <items id="comment">Zum Beispiel: Fachabteilung im Krankenhaus, Versicherungsunternehmen, Sponsor</items>
        <items id="fhir">Organization.type</items>
      </items>
      <items code="at0052">
        <items id="text">Name</items>
        <items id="description">Bezeichnung für die Organisationseinheit</items>
        <items id="fhir">Organization.name</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
