{ "description": null, "_filename": "Profile-DAV-PR-Base-ZusatzdatenHerstellung.json", "package_name": "de.abda.erezeptabgabedatenbasis", "date": "2024-05-16", "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "DAV_PR_Base_ZusatzdatenHerstellung", "abstract": false, "type": "MedicationDispense", "experimental": null, "resourceType": "StructureDefinition", "title": "DAV_PR_Base_ZusatzdatenHerstellung", "package_version": "1.4.0", "status": "active", "id": "c12e3b9a-4fa8-43bb-ace2-b6c4d3ff7225", "kind": "resource", "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung", "version": "1.4", "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": 2, "path": "MedicationDispense.extension", "slicing": { "rules": "closed", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "MedicationDispense.extension:ZaehlerHerstellung", "max": "1", "min": 1, "path": "MedicationDispense.extension", "type": [ { "code": "Extension", "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zaehler" ] } ], "short": "Angabe des Zählers zur Kennzeichnung des Herstellungsvorgangs", "sliceName": "ZaehlerHerstellung" }, { "id": "MedicationDispense.extension:ZaehlerHerstellung.value[x]", "path": "MedicationDispense.extension.value[x]", "short": "Zähler zur Kennzeichnung des Herstellungsvorgangs", "constraint": [ { "key": "PR-ZaehlerHerstellung-1", "human": "Das Element ZusatzdatenHerstellung kann 0 bis 99 mal angegeben werden. Daher hat der Zähler einen Wertebereich von 1 bis 99.", "source": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung", "severity": "error", "expression": "toString().matches('^\\\\d{1,2}$')" } ], "definition": "Jeder Herstellungsvorgang ist beginnend mit „1“ lückenlos fortlaufend zu nummerieren." }, { "id": "MedicationDispense.extension:Einheit", "min": 1, "path": "MedicationDispense.extension", "type": [ { "code": "Extension", "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenEinheit" ] } ], "sliceName": "Einheit" }, { "id": "MedicationDispense.identifier", "max": "0", "path": "MedicationDispense.identifier" }, { "id": "MedicationDispense.partOf", "max": "0", "path": "MedicationDispense.partOf" }, { "id": "MedicationDispense.status", "path": "MedicationDispense.status", "fixedCode": "completed", "definition": "A code specifying thcompleted state of the set of dispense events." }, { "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" }, { "id": "MedicationDispense.medication[x].coding.system", "min": 1, "path": "MedicationDispense.medication[x].coding.system" }, { "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" }, { "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", "path": "MedicationDispense.performer" }, { "id": "MedicationDispense.performer.function", "min": 1, "path": "MedicationDispense.performer.function", "short": "Funktion der abrechnenden Apotheke", "definition": "Angabe, ob die abrechnende Apotheke auch der Hersteller ist oder nicht." }, { "id": "MedicationDispense.performer.function.coding", "max": "1", "min": 1, "path": "MedicationDispense.performer.function.coding" }, { "id": "MedicationDispense.performer.function.coding.system", "min": 1, "path": "MedicationDispense.performer.function.coding.system" }, { "id": "MedicationDispense.performer.function.coding.version", "max": "0", "path": "MedicationDispense.performer.function.coding.version" }, { "id": "MedicationDispense.performer.function.coding.code", "min": 1, "path": "MedicationDispense.performer.function.coding.code", "short": "Information, ob die abrechnende Apotheke auch Hersteller ist" }, { "id": "MedicationDispense.performer.function.coding.display", "max": "0", "path": "MedicationDispense.performer.function.coding.display" }, { "id": "MedicationDispense.performer.function.coding.userSelected", "max": "0", "path": "MedicationDispense.performer.function.coding.userSelected" }, { "id": "MedicationDispense.performer.function.text", "max": "0", "path": "MedicationDispense.performer.function.text" }, { "id": "MedicationDispense.performer.actor.reference", "max": "0", "path": "MedicationDispense.performer.actor.reference" }, { "id": "MedicationDispense.performer.actor.type", "max": "0", "path": "MedicationDispense.performer.actor.type" }, { "id": "MedicationDispense.performer.actor.identifier", "min": 1, "path": "MedicationDispense.performer.actor.identifier", "short": "Kennzeichen des Herstellenden", "constraint": [ { "key": "PR-ZusatzdatenHerstellung-1", "human": "Die Angabe des Identifiers für den Herstellerschlüssel muss dem Profil http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-DAVHerstellerSchluessel oder http://fhir.de/StructureDefinition/identifier-iknr entsprechen.", "source": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung", "severity": "error", "expression": "conformsTo('http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-DAVHerstellerSchluessel') or conformsTo('http://fhir.de/StructureDefinition/identifier-iknr')" }, { "key": "PR-ZusatzdatenHerstellung-2", "human": "Wenn der Herstellerschlüssel als IK-Nummer angegeben wird, muss die Angabe 9-stellig inklusive Prüfziffer erfolgen.", "source": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung", "severity": "error", "expression": "conformsTo('http://fhir.de/StructureDefinition/identifier-iknr') implies value.matches('^[0-9]{9}$')" } ], "definition": "Institutionskennzeichen der herstellenden Apotheke oder der von der Avoxa/ABDATA im Auftrag des DAV vergebene Schlüssel des Herstellenden." }, { "id": "MedicationDispense.performer.actor.display", "max": "0", "path": "MedicationDispense.performer.actor.display" }, { "id": "MedicationDispense.location", "max": "0", "path": "MedicationDispense.location" }, { "id": "MedicationDispense.authorizingPrescription", "max": "0", "path": "MedicationDispense.authorizingPrescription" }, { "id": "MedicationDispense.type", "min": 1, "path": "MedicationDispense.type", "patternCodeableConcept": { "coding": [ { "code": "ZusatzdatenHerstellung", "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", "path": "MedicationDispense.whenPrepared", "short": "Herstellungsdatum und Zeitpunkt der Herstellung", "constraint": [ { "key": "PR-DatumMitZeit", "human": "Die DateTimeAngabe muss eine Zeit beinhalten.", "source": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung", "severity": "error", "expression": "toString().substring(10, 1) = 'T'" } ], "definition": "Die Angabe muss im Format ISO 8601 (z.B.: YYYY-MM-DDTHH:MM:00Z oder YYYY-MM-DDThh:mm:ss+zz:zz) erfolgen." }, { "id": "MedicationDispense.whenHandedOver", "max": "0", "path": "MedicationDispense.whenHandedOver" }, { "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", "max": "0", "path": "MedicationDispense.substitution" }, { "id": "MedicationDispense.detectedIssue", "max": "0", "path": "MedicationDispense.detectedIssue" }, { "id": "MedicationDispense.eventHistory", "max": "0", "path": "MedicationDispense.eventHistory" } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense" }