FHIR IG Statistics: StructureDefinition/GEM-ERP-PR-Task
Resources that use this resource
Resources that this resource uses
Narrative
No narrative content found in resource
Source
{
"resourceType": "StructureDefinition",
"id": "GEM-ERP-PR-Task",
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task",
"version": "1.6.0-ballot1",
"name": "GEM_ERP_PR_Task",
"title": "Task für die Verwaltung des E-Rezept-Workflows",
"status": "draft",
"date": "2025-08-01",
"description": "Diese Ressource verwaltet den E-Rezept-Workflow",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Task",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Task.meta",
"path": "Task.meta",
"min": 1,
"mustSupport": true
},
{
"id": "Task.meta.profile",
"path": "Task.meta.profile",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "$this"
}
],
"rules": "closed",
"description": "Slicing für meta profile",
"ordered": false
},
"min": 1,
"max": "1",
"mustSupport": true
},
{
"id": "Task.meta.profile:workflowProfile",
"path": "Task.meta.profile",
"sliceName": "workflowProfile",
"min": 1,
"max": "1",
"fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.6",
"mustSupport": true
},
{
"id": "Task.extension",
"path": "Task.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Erweiterungen für die Aufgabe, die durch url unterschieden werden.",
"rules": "closed",
"ordered": false
},
"min": 1
},
{
"id": "Task.extension:flowType",
"path": "Task.extension",
"sliceName": "flowType",
"min": 1,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"
]
}
],
"mustSupport": true
},
{
"id": "Task.extension:acceptDate",
"path": "Task.extension",
"sliceName": "acceptDate",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate"
]
}
],
"mustSupport": true
},
{
"id": "Task.extension:expiryDate",
"path": "Task.extension",
"sliceName": "expiryDate",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate"
]
}
],
"mustSupport": true
},
{
"id": "Task.extension:lastMedicationDispense",
"path": "Task.extension",
"sliceName": "lastMedicationDispense",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense"
]
}
]
},
{
"id": "Task.extension:eu-isRedeemableByProperties",
"path": "Task.extension",
"sliceName": "eu-isRedeemableByProperties",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_EU_IS_REDEEMABLE_BY_PROPERTIES"
]
}
],
"mustSupport": true
},
{
"id": "Task.extension:eu-isRedeemableByPatientAuthorization",
"path": "Task.extension",
"sliceName": "eu-isRedeemableByPatientAuthorization",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_EU_IS_REDEEMABLE_BY_PATIENT_AUTHORIZATION"
]
}
],
"mustSupport": true
},
{
"id": "Task.identifier",
"path": "Task.identifier",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "system"
}
],
"description": "Die Task-Ressource enthält zwei Kennungen. Die erste ist die Kennung für den Task, die ein E-Rezept darstellt. Die andere Kennung repräsentiert den Patienten als Eigentümer des E-Rezepts via Krankenversichertennummer (KVNR)",
"rules": "closed"
},
"min": 1
},
{
"id": "Task.identifier:PrescriptionID",
"path": "Task.identifier",
"sliceName": "PrescriptionID",
"short": "E-Rezept-ID",
"definition": "Die E-Rezept-ID ist der Hauptidentifikator für die Task Ressource und den gesamten E-Rezept Workflow. Dieser Identifikator wird vom E-Rezept Fachdienst generiert und darf nicht manuell geändert werden.",
"min": 1,
"max": "1",
"type": [
{
"code": "Identifier",
"profile": [
"https://gematik.de/fhir/ti/StructureDefinition/e-prescription-id"
]
}
]
},
{
"id": "Task.identifier:AccessCode",
"path": "Task.identifier",
"sliceName": "AccessCode",
"short": "AccessCode Identifier",
"definition": "Generiert vom E-Rezept Fachdienst. Dieser Identifikator muss in jeder Anfrage zur Task Ressource übertragen werden.",
"min": 0,
"max": "1"
},
{
"id": "Task.identifier:AccessCode.system",
"path": "Task.identifier.system",
"min": 1,
"fixedUri": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode"
},
{
"id": "Task.identifier:AccessCode.value",
"path": "Task.identifier.value",
"min": 1
},
{
"id": "Task.identifier:Secret",
"path": "Task.identifier",
"sliceName": "Secret",
"short": "Secret",
"min": 0,
"max": "1",
"type": [
{
"code": "Identifier",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Secret"
]
}
]
},
{
"id": "Task.intent",
"path": "Task.intent",
"fixedCode": "order"
},
{
"id": "Task.for",
"path": "Task.for",
"short": "Kennung des Patienten (KVID or PKV-Identifier)"
},
{
"id": "Task.for.identifier",
"path": "Task.for.identifier",
"type": [
{
"code": "Identifier",
"profile": [
"http://fhir.de/StructureDefinition/identifier-kvid-10"
]
}
]
},
{
"id": "Task.performerType.coding",
"path": "Task.performerType.coding",
"min": 1,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_OrganizationType"
}
},
{
"id": "Task.input",
"path": "Task.input",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "type.coding.code"
}
],
"rules": "closed"
},
"short": "Input Bundle",
"definition": "Referenz auf Eingabe und Ergebnis des E-Rezeptes während des Prozesses",
"mustSupport": true
},
{
"id": "Task.input:ePrescription",
"path": "Task.input",
"sliceName": "ePrescription",
"short": "QES-Binary des E-Rezept",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Task.input:ePrescription.type.coding",
"path": "Task.input.type.coding",
"min": 1,
"max": "1",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType"
}
},
{
"id": "Task.input:ePrescription.type.coding.system",
"path": "Task.input.type.coding.system",
"min": 1
},
{
"id": "Task.input:ePrescription.type.coding.code",
"path": "Task.input.type.coding.code",
"min": 1,
"fixedCode": "1"
},
{
"id": "Task.input:ePrescription.value[x]",
"path": "Task.input.value[x]",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary"
]
}
]
},
{
"id": "Task.input:patientReceipt",
"path": "Task.input",
"sliceName": "patientReceipt",
"short": "JSON-Bundle des E-Rezepts, das vom E-Rezept-FdV konsumiert werden soll",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Task.input:patientReceipt.type.coding",
"path": "Task.input.type.coding",
"min": 1,
"max": "1",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType"
}
},
{
"id": "Task.input:patientReceipt.type.coding.system",
"path": "Task.input.type.coding.system",
"min": 1
},
{
"id": "Task.input:patientReceipt.type.coding.code",
"path": "Task.input.type.coding.code",
"min": 1,
"fixedCode": "2"
},
{
"id": "Task.input:patientReceipt.value[x]",
"path": "Task.input.value[x]",
"comment": "Dies ist ein Bundle eines Rezepts, z.B. KBV_PR_ERP_Bundle oder KBV_PR_EVDGA_Bundle",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Bundle"
]
}
]
},
{
"id": "Task.output",
"path": "Task.output",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "type.coding.code"
}
],
"rules": "closed"
},
"short": "Output Bundle",
"definition": "Referenz auf das Bundle, das die Quittung darstellt.",
"mustSupport": true
},
{
"id": "Task.output:receipt",
"path": "Task.output",
"sliceName": "receipt",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Task.output:receipt.type.coding",
"path": "Task.output.type.coding",
"min": 1,
"max": "1",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType"
}
},
{
"id": "Task.output:receipt.type.coding.system",
"path": "Task.output.type.coding.system",
"min": 1
},
{
"id": "Task.output:receipt.type.coding.code",
"path": "Task.output.type.coding.code",
"min": 1,
"fixedCode": "3"
},
{
"id": "Task.output:receipt.value[x]",
"path": "Task.output.value[x]",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
]
}
]
}
]
}
}