This page is part of the FUT Infrastructure (v3.5.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Official URL: http://ehealth.sundhed.dk/fhir/OperationDefinition/ehealth-patient-create | Version: 3.5.0 | |||
Active as of 2019-02-02 | Computable Name: Create Patient |
Creates a Patient resource on the server and returns it in the response. If the patient already exists, it is returned instead. If the CPR number does not match a patient on the service, looks up the CPR in the national registry and finds any potential prior CPRs used by the person. If a prior CPR number matches a patient on the service, updates the patient with national data, and returns a patient with the newest data. NOTE: This means that the returned patient can have a different identifier than the one used for the request. If no prior CPR matches, creates a new patient using national data. If the CPR is invalid, i.e. does not correspond to a patient on the national registry, it errors.
This operation is currently the only way to create Patient resources in the eHealth Infrastructure, as it ensures that the correct bindings from national registers
Generated Narrative: OperationDefinition ehealth-patient-create
URL: [base]/Patient/$createPatient
Use | Name | Scope | Cardinality | Type | Binding | Documentation |
IN | crn | 1..1 | Identifier | The social security number of the person on which this operation is executed. | ||
OUT | return | 1..1 | Patient | The Patient resource that has been created on the server or an already created patient |
See the wiki for examples on how to use the operation.