<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://fhir.dguv.de/Basis/Observation/DGUV-Basis-PR-Unfallereignis" />
  <version value="1.5" />
  <name value="DGUV_Basis_PR_Unfallereignis" />
  <title value="Unfallereignis" />
  <status value="draft" />
  <publisher value="Deutsche Gesetzliche Unfallversicherung e.V. (DGUV)" />
  <description value="Dieses Profil bildet das Unfallereignis mit verschiedenen Informationskomponenten (Zeitpunkte, Unfallhergang, etc.) ab." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="Dieses Profil bildet das Unfallereignis ab." />
    </element>
    <element id="Observation.extension:Pflegeunfall">
      <path value="Observation.extension" />
      <sliceName value="Pflegeunfall" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.dguv.de/Basis/Extension/DGUV-Basis-EX-Pflegeunfall" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Observation.extension:Pflegeunfall.extension:Pflegekasse">
      <path value="Observation.extension.extension" />
      <sliceName value="Pflegekasse" />
    </element>
    <element id="Observation.extension:Pflegeunfall.extension:Pflegekasse.value[x]">
      <path value="Observation.extension.extension.value[x]" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.dguv.de/Basis/Organization/DGUV-Basis-PR-Pflegekasse" />
      </type>
    </element>
    <element id="Observation.identifier">
      <path value="Observation.identifier" />
      <short value="Aktenzeichen als Identifier" />
      <max value="1" />
    </element>
    <element id="Observation.identifier.system">
      <path value="Observation.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/NamingSystem/DGUV-Basis-NS-Aktenzeichen" />
    </element>
    <element id="Observation.identifier.value">
      <path value="Observation.identifier.value" />
      <short value="Konkreter Inhalt des Identifiers &quot;Aktenzeichen&quot;" />
      <min value="1" />
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <fixedCode value="final" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="Einordnung der Verletzung" />
      <definition value="Angaben zur Verletzung bzw. Einordnung der Verletzung in das entsprechende Verfahren: Durchgangsarztverfahren (DAV), Verletzungsartenverfahren (VAV) oder Schwerstverletzenartenverfahren (SAV)." />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:DAV">
      <path value="Observation.code.coding" />
      <sliceName value="DAV" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:DAV.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-Durchgangsarztverfahren" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.code.coding:DAV.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
      <fixedCode value="DAV" />
    </element>
    <element id="Observation.code.coding:DAV.display">
      <path value="Observation.code.coding.display" />
      <min value="1" />
      <fixedString value="Durchgangsarztverfahren" />
    </element>
    <element id="Observation.code.coding:SAV-VAV">
      <path value="Observation.code.coding" />
      <sliceName value="SAV-VAV" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:SAV-VAV.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-Verletzungsartenverzeichnis" />
    </element>
    <element id="Observation.code.coding:SAV-VAV.code">
      <path value="Observation.code.coding.code" />
      <short value="Code nach VAV oder SAV" />
      <min value="1" />
    </element>
    <element id="Observation.code.coding:SAV-VAV.display">
      <path value="Observation.code.coding.display" />
      <short value="Display nach VAV oder SAV" />
      <min value="1" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.dguv.de/Basis/Patient/DGUV-Basis-PR-VersichertePerson" />
      </type>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <short value="Unfallzeitpunkt" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code.coding.code" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:BeginnDerArbeitszeit">
      <path value="Observation.component" />
      <sliceName value="BeginnDerArbeitszeit" />
      <max value="1" />
    </element>
    <element id="Observation.component:BeginnDerArbeitszeit.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="required" />
        <description value="Codes identifying names of an accident attribute." />
        <valueSet value="http://fhir.dguv.de/Basis/ValueSet/DGUV-Basis-VS-UnfallereignisComponents" />
      </binding>
    </element>
    <element id="Observation.component:BeginnDerArbeitszeit.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:BeginnDerArbeitszeit.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-UnfallereignisComponents" />
    </element>
    <element id="Observation.component:BeginnDerArbeitszeit.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <fixedCode value="01" />
    </element>
    <element id="Observation.component:BeginnDerArbeitszeit.code.coding.display">
      <path value="Observation.component.code.coding.display" />
      <min value="1" />
      <fixedString value="Beginn der Arbeitszeit" />
    </element>
    <element id="Observation.component:BeginnDerArbeitszeit.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.component:EndeDerArbeitszeit">
      <path value="Observation.component" />
      <sliceName value="EndeDerArbeitszeit" />
      <max value="1" />
    </element>
    <element id="Observation.component:EndeDerArbeitszeit.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="required" />
        <description value="Codes identifying names of an accident attribute." />
        <valueSet value="http://fhir.dguv.de/Basis/ValueSet/DGUV-Basis-VS-UnfallereignisComponents" />
      </binding>
    </element>
    <element id="Observation.component:EndeDerArbeitszeit.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:EndeDerArbeitszeit.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-UnfallereignisComponents" />
    </element>
    <element id="Observation.component:EndeDerArbeitszeit.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <fixedCode value="02" />
    </element>
    <element id="Observation.component:EndeDerArbeitszeit.code.coding.display">
      <path value="Observation.component.code.coding.display" />
      <min value="1" />
      <fixedString value="Ende der Arbeitszeit" />
    </element>
    <element id="Observation.component:EndeDerArbeitszeit.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.component:Unfallhergang">
      <path value="Observation.component" />
      <sliceName value="Unfallhergang" />
      <short value="Beschreibung Unfallhergang" />
      <definition value="Von der versicherten Person und/oder Angehörigen vorgetragener Unfallhergang" />
      <max value="1" />
    </element>
    <element id="Observation.component:Unfallhergang.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="required" />
        <description value="Codes identifying names of an accident attribute." />
        <valueSet value="http://fhir.dguv.de/Basis/ValueSet/DGUV-Basis-VS-UnfallereignisComponents" />
      </binding>
    </element>
    <element id="Observation.component:Unfallhergang.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:Unfallhergang.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-UnfallereignisComponents" />
    </element>
    <element id="Observation.component:Unfallhergang.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <fixedCode value="03" />
    </element>
    <element id="Observation.component:Unfallhergang.code.coding.display">
      <path value="Observation.component.code.coding.display" />
      <min value="1" />
      <fixedString value="Unfallhergang" />
    </element>
    <element id="Observation.component:Unfallhergang.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Observation.component:BeschwerdenKlagen">
      <path value="Observation.component" />
      <sliceName value="BeschwerdenKlagen" />
      <short value="Beschwerden / Klagen bei Aufnahme, Anamnese" />
      <definition value="Vorgetragenen subjektiven Beschwerden der versicherten Person und/oder Angehörigen" />
      <max value="1" />
    </element>
    <element id="Observation.component:BeschwerdenKlagen.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="required" />
        <description value="Codes identifying names of an accident attribute." />
        <valueSet value="http://fhir.dguv.de/Basis/ValueSet/DGUV-Basis-VS-UnfallereignisComponents" />
      </binding>
    </element>
    <element id="Observation.component:BeschwerdenKlagen.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:BeschwerdenKlagen.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-UnfallereignisComponents" />
    </element>
    <element id="Observation.component:BeschwerdenKlagen.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <fixedCode value="04" />
    </element>
    <element id="Observation.component:BeschwerdenKlagen.code.coding.display">
      <path value="Observation.component.code.coding.display" />
      <min value="1" />
      <fixedString value="Beschwerden/Klagen" />
    </element>
    <element id="Observation.component:BeschwerdenKlagen.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Observation.component:BeschaeftigtAls">
      <path value="Observation.component" />
      <sliceName value="BeschaeftigtAls" />
      <short value="Bei Unfall ausgeübte Tätigkeit (Beruf)" />
      <definition value="Konkrete Beschreibung der Tätigkeit (Beruf) zum Zeitpunkt des Unfalls" />
      <max value="1" />
    </element>
    <element id="Observation.component:BeschaeftigtAls.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="required" />
        <description value="Codes identifying names of an accident attribute." />
        <valueSet value="http://fhir.dguv.de/Basis/ValueSet/DGUV-Basis-VS-UnfallereignisComponents" />
      </binding>
    </element>
    <element id="Observation.component:BeschaeftigtAls.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:BeschaeftigtAls.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-UnfallereignisComponents" />
    </element>
    <element id="Observation.component:BeschaeftigtAls.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <fixedCode value="05" />
    </element>
    <element id="Observation.component:BeschaeftigtAls.code.coding.display">
      <path value="Observation.component.code.coding.display" />
      <min value="1" />
      <fixedString value="Beschäftigt als" />
    </element>
    <element id="Observation.component:BeschaeftigtAls.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Observation.component:Beschaeftigungsbeginn">
      <path value="Observation.component" />
      <sliceName value="Beschaeftigungsbeginn" />
      <short value="Beginn der Beschäftigung" />
      <definition value="Seit wann führt der Versicherte die Tätigkeit aus?" />
      <max value="1" />
    </element>
    <element id="Observation.component:Beschaeftigungsbeginn.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="required" />
        <description value="Codes identifying names of an accident attribute." />
        <valueSet value="http://fhir.dguv.de/Basis/ValueSet/DGUV-Basis-VS-UnfallereignisComponents" />
      </binding>
    </element>
    <element id="Observation.component:Beschaeftigungsbeginn.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:Beschaeftigungsbeginn.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.dguv.de/Basis/CodeSystem/DGUV-Basis-CS-UnfallereignisComponents" />
    </element>
    <element id="Observation.component:Beschaeftigungsbeginn.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <fixedCode value="06" />
    </element>
    <element id="Observation.component:Beschaeftigungsbeginn.code.coding.display">
      <path value="Observation.component.code.coding.display" />
      <min value="1" />
      <fixedString value="Beschäftigungsbeginn" />
    </element>
    <element id="Observation.component:Beschaeftigungsbeginn.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
  </differential>
</StructureDefinition>