<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="epa-medicationstatement-processing-event-code"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem epa-medicationstatement-processing-event-code</b></p><a name="epa-medicationstatement-processing-event-code"> </a><a name="hcepa-medicationstatement-processing-event-code"> </a><p>This case-sensitive code system <code>https://gematik.de/fhir/epa-medication/CodeSystem/epa-medicationstatement-processing-event-code</code> defines the following codes:</p><table class="codes"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>Deutsch (Deutschland) (German (Germany), de)</b></td></tr><tr><td style="white-space:nowrap">LINKING_NOT_SUCCESSFUL<a name="epa-medicationstatement-processing-event-code-LINKING_NOT_SUCCESSFUL"> </a></td><td>eMP linking not successful</td><td>MedicationStatement could not be linked to an eMP-Entry successfully</td><td>Fehlerhafte eMP Zuordnung</td></tr><tr><td style="white-space:nowrap">UNLINKING_NOT_SUCCESSFUL<a name="epa-medicationstatement-processing-event-code-UNLINKING_NOT_SUCCESSFUL"> </a></td><td>eMP unlinking not successful</td><td>MedicationStatement could not be unlinked from an eMP-Entry successfully</td><td>Fehlerhafte Aufhebung der eMP-Verknüpfung</td></tr></table></div>
  </text>
  <url value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-medicationstatement-processing-event-code"/>
  <version value="1.2.0-ballot.2"/>
  <name value="EPAMedicationStatementProcessingEventCodeCS"/>
  <title value="EPA MedicationStatement Processing Codes"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2025-09-02"/>
  <publisher value="gematik GmbH"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="https://www.gematik.de"/>
    </telecom>
  </contact>
  <description value="Codes that define events that occur during processing of an EMPMedicationStatement"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="DE"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <content value="complete"/>
  <count value="2"/>
  <concept>
    <code value="LINKING_NOT_SUCCESSFUL"/>
    <display value="eMP linking not successful"/>
    <definition value="MedicationStatement could not be linked to an eMP-Entry successfully"/>
    <designation>
      <language value="de-DE"/>
      <value value="Fehlerhafte eMP Zuordnung"/>
    </designation>
  </concept>
  <concept>
    <code value="UNLINKING_NOT_SUCCESSFUL"/>
    <display value="eMP unlinking not successful"/>
    <definition value="MedicationStatement could not be unlinked from an eMP-Entry successfully"/>
    <designation>
      <language value="de-DE"/>
      <value value="Fehlerhafte Aufhebung der eMP-Verknüpfung"/>
    </designation>
  </concept>
</CodeSystem>