eHealth Infrastructure (v2020.2)


<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="-s-submit-measurement"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>submit-measurement</h2><p>OPERATION: submit-measurement</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-submit-measurement</pre><div><p>The submit-measurement operation provides a single measurement in the form of a Bundle of Observation, QuestionnaireResponse and Media for storage and, subsequently, further processing in the eHealth Infrastructure. A Provenance resource is implicitly created by the infrastructure referencing input Bundle resources as target, thereby relating the resources that were submitted.</p>
<h3>Parameter description</h3>
<p>measurement: Bundle containing:</p>
<ul>
<li>0..* Observation (ehealth-observation profile)</li>
<li>0..* QuestionnaireResponse (ehealth-questionnaireresponse profile)</li>
<li>0..* Media (ehealth-media profile)</li>
<li>0..* Provenance (ehealth-provenance profile). Each Provenance (which is intended for capturing reuse of measurement(s) – as described in the eHealth Observation profile introduction) must refer to other resources in the Bundle as target in the format &quot;urn:oid:&lt;the oid&gt;&quot; or &quot;urn:uuid:&lt;the uuid&gt;.&quot;.</li>
</ul>
<p>All resources in the Bundle must refer to the same Patient and EpisodeOfCare.</p>
<h3>Output description</h3>
<p>The returned Bundle contains references to the stored input resources where the id has been substituted.</p>
<p>eHealth infrastructure will substitute the id when saving the resources in a single transaction.</p>
</div><p>URL: [base]/$submit-measurement</p><p>Parameters</p><table class="grid"><tr><td><b>Use</b></td><td><b>Name</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>measurement</td><td>0..1</td><td><a href="http://hl7.org/fhir/STU3/bundle.html">Bundle</a></td><td/><td/></tr><tr><td>OUT</td><td>bundle</td><td>0..1</td><td><a href="http://hl7.org/fhir/STU3/bundle.html">Bundle</a></td><td/><td/></tr></table></div>
  </text>
  <url
       value="http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-submit-measurement"/>
  <name value="submit-measurement"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2020-03-31T08:26:16+00:00"/>
  <description
               value="The submit-measurement operation provides a single measurement in the form of a Bundle of Observation, QuestionnaireResponse and Media for storage and, subsequently, further processing in the eHealth Infrastructure. A Provenance resource is implicitly created by the infrastructure referencing input Bundle resources as target, thereby relating the resources that were submitted. 


### Parameter description
measurement: Bundle containing:
- 0..* Observation (ehealth-observation profile)
- 0..* QuestionnaireResponse (ehealth-questionnaireresponse profile)
- 0..* Media (ehealth-media profile)
- 0..* Provenance (ehealth-provenance profile). Each Provenance (which is intended for capturing reuse of measurement(s) – as described in the eHealth Observation profile introduction) must refer to other resources in the Bundle as target in the format &quot;urn:oid:&lt;the oid&gt;&quot; or &quot;urn:uuid:&lt;the uuid&gt;.&quot;.

All resources in the Bundle must refer to the same Patient and EpisodeOfCare.


### Output description
The returned Bundle contains references to the stored input resources where the id has been substituted.

eHealth infrastructure will substitute the id when saving the resources in a single transaction."/>
  <idempotent value="false"/>
  <code value="submit-measurement"/>
  <system value="true"/>
  <type value="false"/>
  <instance value="false"/>
  <parameter>
    <name value="measurement"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <type value="Bundle"/>
  </parameter>
  <parameter>
    <name value="bundle"/>
    <use value="out"/>
    <min value="0"/>
    <max value="1"/>
    <type value="Bundle"/>
  </parameter>
</OperationDefinition>