eHealth Infrastructure
2.4.0 - release

eHealth Infrastructure - Local Development build (v2.4.0). See the Directory of published versions

: Submit measurement - XML Representation

Active as of 2022-10-14

Raw xml | Download



<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="-s-submit-measurement"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><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/R4/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/R4/bundle.html">Bundle</a></td><td/><td/></tr></table></div>
  </text>
  <url
       value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-submit-measurement"/>
  <version value="2.4.0"/>
  <name value="submit-measurement"/>
  <title value="Submit measurement"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2022-10-14T11:57:21+00:00"/>
  <publisher value="Systematic | Trifork"/>
  <contact>
    <name value="Systematic | Trifork"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <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.
All resources in the Bundle as well as the created Provenance will receive any missing system tags (ehealth-system CodeSystem) provided by the referenced EpisodeOfCare.
The request will be denied if any resource in the Bundle contains a system tag, which is not present on the referenced 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."/>
  <affectsState value="true"/>
  <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>