{ "description": "This is for demonstration purposes only and MUST not be used operationally.", "_filename": "OperationDefinition-patientRegistration.json", "package_name": "uk.nhsdigital.r4.test", "date": "2022-05-05T09:29:23+11:00", "meta": { "lastUpdated": "2022-05-05T09:29:23+11:00" }, "system": false, "publisher": "NHS Digital", "instance": false, "name": "PatientRegistration", "type": "true", "experimental": null, "outputProfile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-OperationOutcome", "resourceType": "OperationDefinition", "title": null, "package_version": "2.8.7-prerelease", "status": "draft", "id": "4d357eab-61c8-431a-828b-5e5ae9f38f83", "resource": [ "Patient" ], "affectsState": true, "kind": "operation", "comment": "Patient Registration options example of a custom operation", "url": "https://fhir.nhs.uk/OperationDefinition/patient-registration", "code": "patient-registration", "version": "4.0.1", "contact": [ { "telecom": [ { "value": "interoperabilityteam@nhs.net", "system": "email" } ] } ], "parameter": [ { "max": "1", "min": 1, "use": "in", "name": "identifier", "type": "Identifier", "documentation": "User defined identifier of the request" }, { "max": "1", "min": 1, "use": "in", "name": "for", "type": "Identifier", "documentation": "The NHS Number of the patient being registered." }, { "max": "1", "min": 1, "use": "in", "name": "owner", "type": "Identifier", "documentation": "The ODS code of the GP Surgery being asked to register the patient" }, { "max": "1", "min": 0, "use": "in", "name": "status", "type": "code", "documentation": "`requested` for the initial request. Status from ValueSet http://hl7.org/fhir/valueset-task-status.html" }, { "max": "1", "min": 1, "use": "in", "name": "authoredOn", "type": "dateTime", "documentation": "date time the request was authored" }, { "max": "1", "min": 1, "use": "in", "name": "requester", "type": "PractitionerRole", "documentation": "The professional and ODS code of the requester (ODS code may be sufficient)" }, { "max": "1", "min": 1, "use": "in", "name": "patient", "type": "Patient", "documentation": "The updated Patient resource to be used to register the Patient. GP Suppliers MUST update PDS with these details" }, { "max": "1", "min": 1, "use": "out", "name": "return", "type": "OperationOutcome", "documentation": "The outcome of the operation" } ] }