OPERATION: Create Patient
The official URL for this operation definition is:
http://ehealth.sundhed.dk/fhir/OperationDefinition/ehealth-patient-create-operationdefinition
This operation is used to create a new Patient resource. Once executed successfully the Patient resource is created on the server and as well returned in the response parameter. The operation takes the input parameters listed and returns the Patient resource where the person having the provided civil registration number (crn) is used as the origin of the data.
This operation is currently the only way to create Patient resources in the eHealth Infrastructure, as it ensures that the correct bindings are present according to danish law
URL: [base]/Patient/$createPatient
Parameters
Use | Name | Cardinality | Type | Binding | Documentation |
IN | crn | 1..1 | Identifier | The social security number of the person on which this operation is executed. | |
IN | managingOrganization | 1..1 | Reference | A reference to the managing organization that has the responsibility of the context of the created Patient resource | |
IN | policy | 1..* | uri | A uri that models what act this patient is under | |
OUT | return | 1..1 | Parameters | The Patient resource that has been created on the server |
See the wiki for examples on how to use the operation.