{ "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": "2025-01-01", "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.0.0-rc1", "status": "draft", "id": "f40d4a37-2067-428a-9de6-54927f15c4bc", "affectsState": true, "kind": "operation", "url": "https://gematik.de/fhir/erp-eu/OperationDefinition/Grant_Access_PermissionOperationDefinition", "code": "grant-eu-access-permission", "version": "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." } ] }