eHealth Infrastructure
3.1.0 - release

This page is part of the FUT Infrastructure (v3.1.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Create Patient - XML Representation

Active as of 2019-02-02

Raw xml | Download



<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="ehealth-patient-create"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition ehealth-patient-create</b></p><a name="ehealth-patient-create"> </a><a name="hcehealth-patient-create"> </a><a name="hcehealth-patient-create-en-US"> </a><p>URL: [base]/Patient/$createPatient</p><p>Parameters</p><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>crn</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td/><td><div><p>The social security number of the person on which this operation is executed.</p>
</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/patient.html">Patient</a></td><td/><td><div><p>The Patient resource that has been created on the server or an already created patient</p>
</div></td></tr></table><div><p>See the wiki for examples on how to use the operation.</p>
</div></div>
  </text>
  <url
       value="http://ehealth.sundhed.dk/fhir/OperationDefinition/ehealth-patient-create"/>
  <version value="3.1.0"/>
  <name value="Create Patient"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2019-02-02"/>
  <publisher
             value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
  <contact>
    <name value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <description
               value="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. 

### Note
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"/>
  <code value="createPatient"/>
  <comment value="See the wiki for examples on how to use the operation."/>
  <resource value="Patient"/>
  <system value="false"/>
  <type value="true"/>
  <instance value="false"/>
  <parameter>
    <name value="crn"/>
    <use value="in"/>
    <min value="1"/>
    <max value="1"/>
    <documentation
                   value="The social security number of the person on which this operation is executed."/>
    <type value="Identifier"/>
  </parameter>
  <parameter>
    <name value="return"/>
    <use value="out"/>
    <min value="1"/>
    <max value="1"/>
    <documentation
                   value="The Patient resource that has been created on the server or an already created patient"/>
    <type value="Patient"/>
  </parameter>
</OperationDefinition>