PackagesCanonicalsLogsProblems
    Packages
    de.abda.erezeptabgabedatenbasis@1.2.1
    http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen
{
  "description": null,
  "_filename": "Profile-DAV-PR-Base-Abgabeinformationen.json",
  "package_name": "de.abda.erezeptabgabedatenbasis",
  "date": "2022-03-31",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "DAV_PR_Base_Abgabeinformationen",
  "abstract": false,
  "type": "MedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "DAV_PR_Base_Abgabeinformationen",
  "package_version": "1.2.1",
  "status": "active",
  "id": "fdfe9967-44b9-405d-a3b4-35ea040153da",
  "kind": "resource",
  "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen",
  "version": "1.2",
  "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.implicitRules",
      "max": "0",
      "path": "MedicationDispense.implicitRules"
    }, {
      "id": "MedicationDispense.language",
      "max": "0",
      "path": "MedicationDispense.language"
    }, {
      "id": "MedicationDispense.text",
      "max": "0",
      "path": "MedicationDispense.text"
    }, {
      "id": "MedicationDispense.contained",
      "max": "0",
      "path": "MedicationDispense.contained"
    }, {
      "id": "MedicationDispense.extension",
      "min": 1,
      "path": "MedicationDispense.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.extension:Vertragskennzeichen",
      "min": 0,
      "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",
      "min": 1,
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen" ]
      } ],
      "sliceName": "Abrechnungszeilen"
    }, {
      "id": "MedicationDispense.extension:ZusatzdatenHerstellung",
      "min": 0,
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenHerstellung" ]
      } ],
      "sliceName": "ZusatzdatenHerstellung",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.identifier",
      "max": "0",
      "path": "MedicationDispense.identifier"
    }, {
      "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"
      } ],
      "patternCodeableConcept": {
        "coding": [ {
          "code": "not-applicable",
          "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason"
        } ]
      }
    }, {
      "id": "MedicationDispense.medication[x].coding",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.medication[x].coding",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.medication[x].coding.system",
      "min": 1,
      "path": "MedicationDispense.medication[x].coding.system",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.medication[x].coding.version",
      "max": "0",
      "path": "MedicationDispense.medication[x].coding.version"
    }, {
      "id": "MedicationDispense.medication[x].coding.code",
      "min": 1,
      "path": "MedicationDispense.medication[x].coding.code",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.medication[x].coding.display",
      "max": "0",
      "path": "MedicationDispense.medication[x].coding.display"
    }, {
      "id": "MedicationDispense.medication[x].coding.userSelected",
      "max": "0",
      "path": "MedicationDispense.medication[x].coding.userSelected"
    }, {
      "id": "MedicationDispense.medication[x].text",
      "max": "0",
      "path": "MedicationDispense.medication[x].text"
    }, {
      "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"
    }, {
      "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-Base-Apotheke" ]
      } ]
    }, {
      "id": "MedicationDispense.performer.actor.reference",
      "min": 1,
      "path": "MedicationDispense.performer.actor.reference"
    }, {
      "id": "MedicationDispense.performer.actor.type",
      "max": "0",
      "path": "MedicationDispense.performer.actor.type"
    }, {
      "id": "MedicationDispense.performer.actor.identifier",
      "max": "0",
      "path": "MedicationDispense.performer.actor.identifier"
    }, {
      "id": "MedicationDispense.performer.actor.display",
      "max": "0",
      "path": "MedicationDispense.performer.actor.display"
    }, {
      "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" ]
      } ]
    }, {
      "id": "MedicationDispense.authorizingPrescription.reference",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.reference"
    }, {
      "id": "MedicationDispense.authorizingPrescription.type",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.type"
    }, {
      "id": "MedicationDispense.authorizingPrescription.identifier",
      "min": 1,
      "path": "MedicationDispense.authorizingPrescription.identifier"
    }, {
      "id": "MedicationDispense.authorizingPrescription.identifier.use",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.identifier.use"
    }, {
      "id": "MedicationDispense.authorizingPrescription.identifier.type",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.identifier.type"
    }, {
      "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.authorizingPrescription.identifier.period",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.identifier.period"
    }, {
      "id": "MedicationDispense.authorizingPrescription.identifier.assigner",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.identifier.assigner"
    }, {
      "id": "MedicationDispense.authorizingPrescription.display",
      "max": "0",
      "path": "MedicationDispense.authorizingPrescription.display"
    }, {
      "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.type.coding",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.type.coding"
    }, {
      "id": "MedicationDispense.type.coding.system",
      "min": 1,
      "path": "MedicationDispense.type.coding.system"
    }, {
      "id": "MedicationDispense.type.coding.version",
      "max": "0",
      "path": "MedicationDispense.type.coding.version"
    }, {
      "id": "MedicationDispense.type.coding.code",
      "min": 1,
      "path": "MedicationDispense.type.coding.code"
    }, {
      "id": "MedicationDispense.type.coding.display",
      "max": "0",
      "path": "MedicationDispense.type.coding.display"
    }, {
      "id": "MedicationDispense.type.coding.userSelected",
      "max": "0",
      "path": "MedicationDispense.type.coding.userSelected"
    }, {
      "id": "MedicationDispense.type.text",
      "max": "0",
      "path": "MedicationDispense.type.text"
    }, {
      "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/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen",
        "severity": "error",
        "expression": "toString().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."
    }, {
      "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",
      "min": 1,
      "path": "MedicationDispense.substitution.extension",
      "slicing": {
        "rules": "closed",
        "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",
      "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"
}