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

<Parameters xmlns="http://hl7.org/fhir">
  <id value="example-epa-op-rx-prescription-erp-output-parameters-1"/>
  <meta>
    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-rx-prescription-erp-output-parameters"/>
  </meta>
  <parameter>
    <name value="rxPrescription"/>
    <part>
      <name value="prescriptionId"/>
      <valueIdentifier>
        <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/>
        <value value="160.100.000.000.011.09"/>
      </valueIdentifier>
    </part>
    <part>
      <name value="authoredOn"/>
      <valueDate value="2025-09-06"/>
    </part>
    <part>
      <name value="operationOutcome"/>
      <resource>
        <OperationOutcome>
          <id value="255002c7-aa1b-4163-bdd4-ede482453cca"/>
          <meta>
            <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-ms-operation-outcome"/>
          </meta>
          <issue>
            <severity value="information"/>
            <code value="informational"/>
            <details>
              <coding>
                <system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-ms-operation-outcome-details"/>
                <code value="MEDICATIONSVC_OPERATION_SUCCESS"/>
                <display value="Operation Successfully Completed in Medication Service"/>
              </coding>
            </details>
          </issue>
        </OperationOutcome>
      </resource>
    </part>
  </parameter>
</Parameters>