PackagesCanonicalsLogsProblems
    Packages
    de.abda.erezeptabgabedaten@1.0.1
    http://fhir.abda.de/eRezeptAbgabadaten/StructureDefinition/DAV-PR-ERP-Abgabeinformationen
{
  "description": null,
  "_filename": "Profile-DAV-PR-ERP-Abgabeinformationen.json",
  "package_name": "de.abda.erezeptabgabedaten",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "DAV_PR_ERP_Abgabeinformationen",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://www.hl7.org/v3/PORX_RM020070UV",
    "name": "V3 Pharmacy Dispense RMIM",
    "identity": "rx-dispense-rmim"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  } ],
  "abstract": false,
  "type": "MedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.1",
  "status": "active",
  "id": "a826e8a2-dec2-42e0-b18c-b8e70fe46bce",
  "kind": "resource",
  "url": "http://fhir.abda.de/eRezeptAbgabadaten/StructureDefinition/DAV-PR-ERP-Abgabeinformationen",
  "version": "1.0.1",
  "differential": {
    "element": [ {
      "id": "MedicationDispense.meta",
      "min": 1,
      "path": "MedicationDispense.meta",
      "type": [ {
        "code": "Meta",
        "profile": [ "http://fhir.abda.de/StructureDefinition/DAV-PR-ERP-AbgabedatenMeta" ]
      } ]
    }, {
      "id": "MedicationDispense.extension",
      "path": "MedicationDispense.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.extension:Vertragskennzeichen",
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Vertragskennzeichen" ]
      } ],
      "sliceName": "Vertragskennzeichen",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.extension:Abrechnungszeilen",
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen" ]
      } ],
      "sliceName": "Abrechnungszeilen",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.extension:ZusatzdatenHerstellung",
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenHerstellung" ]
      } ],
      "sliceName": "ZusatzdatenHerstellung",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.partOf",
      "max": "0",
      "path": "MedicationDispense.partOf"
    }, {
      "id": "MedicationDispense.status",
      "path": "MedicationDispense.status",
      "patternCode": "completed"
    }, {
      "id": "MedicationDispense.statusReason[x]",
      "max": "0",
      "path": "MedicationDispense.statusReason[x]"
    }, {
      "id": "MedicationDispense.category",
      "max": "0",
      "path": "MedicationDispense.category"
    }, {
      "id": "MedicationDispense.medication[x]",
      "path": "MedicationDispense.medication[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ]
    }, {
      "id": "MedicationDispense.medication[x].coding.system",
      "path": "MedicationDispense.medication[x].coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason"
    }, {
      "id": "MedicationDispense.medication[x].coding.code",
      "path": "MedicationDispense.medication[x].coding.code",
      "fixedCode": "not-applicable"
    }, {
      "id": "MedicationDispense.subject",
      "max": "0",
      "path": "MedicationDispense.subject"
    }, {
      "id": "MedicationDispense.context",
      "max": "0",
      "path": "MedicationDispense.context"
    }, {
      "id": "MedicationDispense.supportingInformation",
      "max": "0",
      "path": "MedicationDispense.supportingInformation"
    }, {
      "id": "MedicationDispense.performer",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.performer",
      "short": "Apotheke",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer.function",
      "max": "0",
      "path": "MedicationDispense.performer.function"
    }, {
      "id": "MedicationDispense.performer.actor",
      "path": "MedicationDispense.performer.actor",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-Apotheke" ]
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer.actor.reference",
      "min": 1,
      "path": "MedicationDispense.performer.actor.reference"
    }, {
      "id": "MedicationDispense.performer.actor.identifier",
      "max": "0",
      "path": "MedicationDispense.performer.actor.identifier"
    }, {
      "id": "MedicationDispense.location",
      "max": "0",
      "path": "MedicationDispense.location"
    }, {
      "id": "MedicationDispense.authorizingPrescription",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.authorizingPrescription",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription" ]
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationDispense.authorizingPrescription.reference",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.reference"
    }, {
      "id": "MedicationDispense.authorizingPrescription.identifier",
      "min": 1,
      "path": "MedicationDispense.authorizingPrescription.identifier",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.authorizingPrescription.identifier.system",
      "min": 1,
      "path": "MedicationDispense.authorizingPrescription.identifier.system",
      "fixedUri": "https://gematik.de/fhir/NamingSystem/PrescriptionID"
    }, {
      "id": "MedicationDispense.authorizingPrescription.identifier.value",
      "min": 1,
      "path": "MedicationDispense.authorizingPrescription.identifier.value",
      "short": "Rezept-ID",
      "definition": "Eindeutige Identifikation der Verordnung (Dokumenten-ID), auf die sich die Abgabedaten beziehen. Diese ID wird mit signiert und sichert damit die Abgabedaten vor Fälschungen."
    }, {
      "id": "MedicationDispense.type",
      "min": 1,
      "path": "MedicationDispense.type",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "Abgabeinformationen",
          "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp"
        } ]
      }
    }, {
      "id": "MedicationDispense.quantity",
      "max": "0",
      "path": "MedicationDispense.quantity"
    }, {
      "id": "MedicationDispense.daysSupply",
      "max": "0",
      "path": "MedicationDispense.daysSupply"
    }, {
      "id": "MedicationDispense.whenPrepared",
      "max": "0",
      "path": "MedicationDispense.whenPrepared"
    }, {
      "id": "MedicationDispense.whenHandedOver",
      "min": 1,
      "path": "MedicationDispense.whenHandedOver",
      "short": "Abgabedatum",
      "constraint": [ {
        "key": "EX-Abgabeinformationen-1",
        "human": "Wert muss ein Datum in der Form: YYYY-MM-DD sein.",
        "source": "http://fhir.abda.de/eRezeptAbgabadaten/StructureDefinition/DAV-PR-ERP-Abgabeinformationen",
        "severity": "error",
        "expression": "matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$')"
      } ],
      "definition": "Datum der Abgabe an den Versicherten oder seinen Vertreter.",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.destination",
      "max": "0",
      "path": "MedicationDispense.destination"
    }, {
      "id": "MedicationDispense.receiver",
      "max": "0",
      "path": "MedicationDispense.receiver"
    }, {
      "id": "MedicationDispense.note",
      "max": "0",
      "path": "MedicationDispense.note"
    }, {
      "id": "MedicationDispense.dosageInstruction",
      "max": "0",
      "path": "MedicationDispense.dosageInstruction"
    }, {
      "id": "MedicationDispense.substitution",
      "path": "MedicationDispense.substitution",
      "definition": "Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done.",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.substitution.extension",
      "path": "MedicationDispense.substitution.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.substitution.extension:Rezeptaenderungen",
      "min": 1,
      "path": "MedicationDispense.substitution.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung" ]
      } ],
      "sliceName": "Rezeptaenderungen"
    }, {
      "id": "MedicationDispense.substitution.wasSubstituted",
      "path": "MedicationDispense.substitution.wasSubstituted",
      "mustSupport": true,
      "fixedBoolean": true
    }, {
      "id": "MedicationDispense.substitution.type",
      "max": "0",
      "path": "MedicationDispense.substitution.type"
    }, {
      "id": "MedicationDispense.substitution.reason",
      "max": "0",
      "path": "MedicationDispense.substitution.reason"
    }, {
      "id": "MedicationDispense.substitution.responsibleParty",
      "max": "0",
      "path": "MedicationDispense.substitution.responsibleParty"
    }, {
      "id": "MedicationDispense.detectedIssue",
      "max": "0",
      "path": "MedicationDispense.detectedIssue"
    }, {
      "id": "MedicationDispense.eventHistory",
      "max": "0",
      "path": "MedicationDispense.eventHistory"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
}