{
"description": "This operation receives the access code and the country that the patient wants to grant access to. The operation validates the country and creates registeres the Access Code.",
"_filename": "OperationDefinition-Grant-EU-Access-Permission.json",
"package_name": "de.gematik.erezept.eu",
"date": "2026-01-06",
"system": true,
"publisher": null,
"instance": false,
"name": "Grant_Access_Permission",
"type": "false",
"experimental": null,
"outputProfile": "https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_PAR_Access_Authorization_Response",
"resourceType": "OperationDefinition",
"title": null,
"package_version": "1.1.0",
"status": "active",
"id": "7edd3d26-fcac-49e4-91b8-71f45452b384",
"affectsState": true,
"kind": "operation",
"url": "https://gematik.de/fhir/erp-eu/OperationDefinition/Grant_Access_PermissionOperationDefinition",
"code": "grant-eu-access-permission",
"version": "1.1.0",
"inputProfile": "https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_PAR_Access_Authorization_Request",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "countryCode",
"type": "Coding",
"documentation": "The country for which the patient wants to grant access."
}, {
"max": "1",
"min": 1,
"use": "in",
"name": "accessCode",
"type": "Identifier",
"documentation": "The access code for that country."
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "countryCode",
"type": "Coding",
"documentation": "The country for which the patient wants to grant access."
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "accessCode",
"type": "Identifier",
"documentation": "The access code for that country."
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "validUntil",
"type": "instant",
"documentation": "The instant until the access code is valid."
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "createdAt",
"type": "instant",
"documentation": "The instant when the record was created in the E-Rezept-Fachdienst."
} ]
}