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

<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="add-eml-entry-op"/>
  <meta>
    <profile value="https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition add-eml-entry-op</b></p><a name="add-eml-entry-op"> </a><a name="hcadd-eml-entry-op"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="https://gematik.de/fhir/ti/1.1.1-ballot.1/StructureDefinition-ti-operationdefinition.html">OperationDefinition Profil für TI FHIR Data Service</a></p></div><p>URL: [base]/MedicationStatement/$add-eml-entry</p><p>Input parameters Profile:<a href="StructureDefinition-epa-op-add-eml-entry-input-parameters.html">EPA Operation addEMLEntry Input-Parameters</a></p><p>Output parameters Profile:<a href="StructureDefinition-epa-op-eml-entry-output-parameters.html">EPA Operation EMLEntry Output-Parameters</a></p><h3>Parameters</h3><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr></table></div>
  </text>
  <extension url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-method">
    <valueCode value="POST"/>
  </extension>
  <url value="https://gematik.de/fhir/epa-medication/OperationDefinition/add-eml-entry-op"/>
  <version value="1.2.0-ballot.2"/>
  <name value="addEMLEntry_MedicationSvc"/>
  <title value="Add Medication List Entry"/>
  <status value="draft"/>
  <kind value="operation"/>
  <date value="2025-09-02"/>
  <publisher value="gematik GmbH"/>
  <contact>
    <name value="gematik GmbH"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.gematik.de"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="patientteam [ at ] gematik.de"/>
    </telecom>
  </contact>
  <description value="Diese Operation ermöglicht das gezielte Hinzufügen einer neuen Medikation zur elektronischen Medikationsliste (eML)."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="DE"/>
    </coding>
  </jurisdiction>
  <affectsState value="true"/>
  <code value="add-eml-entry"/>
  <resource value="MedicationStatement"/>
  <system value="false"/>
  <type value="true"/>
  <instance value="false"/>
  <inputProfile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-add-eml-entry-input-parameters"/>
  <outputProfile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-eml-entry-output-parameters"/>
</OperationDefinition>