description: The prescriptionID is an generated and not changeable sequence of numbers seperated by dots. The first three numbers define the type of the prescription. The next twelve numbers are the generated unique and consecutive sequence of the prescription. The last two digits are the check numbers according to ISO 7064. package_name: de.gematik.erezept derivation: constraint name: GEM_ERP_PR_PrescriptionId type: Identifier elements: use: pattern: {type: Code, value: official} index: 0 system: pattern: {type: Uri, value: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'} mustSupport: true index: 1 value: {mustSupport: true, index: 2} package_version: workflow.r4-1.2.1 class: complex-type kind: complex-type url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PrescriptionId base: http://hl7.org/fhir/StructureDefinition/Identifier version: '1.2' required: [value, system]