<Encounter xmlns="http://hl7.org/fhir">
  <id value="SZ1Vorstationaer" />
  <meta>
    <profile value="https://gematik.de/fhir/isik/StructureDefinition/ISiKKontaktGesundheitseinrichtung" />
  </meta>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
        <code value="VN" />
      </coding>
    </type>
    <system value="http://beispiel-krankenhaus.de/sid/besuchsnummer" />
    <value value="0123456789-1" />
  </identifier>
  <status value="finished" />
  <class>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
    <code value="AMB" />
  </class>
  <type>
    <coding>
      <system value="http://fhir.de/CodeSystem/Kontaktebene" />
      <code value="abteilungskontakt" />
    </coding>
  </type>
  <type>
    <coding>
      <system value="http://fhir.de/CodeSystem/kontaktart-de" />
      <code value="vorstationaer" />
      <display value="Vorstationär" />
    </coding>
  </type>
  <subject>
    <reference value="Patient/SZ1Patient" />
  </subject>
  <period>
    <start value="2024-10-01" />
    <end value="2024-10-01" />
  </period>
  <account>
    <reference value="Account/SZ1DRGFall" />
    <identifier>
      <system value="http://beispiel-krankenhaus.de/sid/fallnummern" />
      <value value="0123456789" />
    </identifier>
  </account>
</Encounter>