eHealth Infrastructure
2.3.0 - release

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

: measurement - XML Representation

Active as of 2022-09-16

Raw xml | Download



<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="measurement"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>measurement</h2><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td/></tr><tr><td>Transaction</td><td>y</td></tr><tr><td>System History</td><td>y</td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title="GET a resource (read interaction)">Read</b></th><th><b title="GET past versions of resources (vread interaction)">V-Read</b></th><th><b title="GET all set of resources of the type (search interaction)">Search</b></th><th><b title="PUT a new resource version (update interaction)">Update</b></th><th><b title="PATCH a new resource version (patch interaction)">Patch</b></th><th><b title="POST a new resource (create interaction)">Create</b></th></tr><tr><td>Communication</td><td><a href="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication</a></td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td>y</td></tr><tr><td>Media</td><td><a href="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media</a></td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td></tr><tr><td>Observation</td><td><a href="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation</a></td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td></tr><tr><td>OperationDefinition</td><td><a href="http://hl7.org/fhir/StructureDefinition/OperationDefinition">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a></td><td>y</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Provenance</td><td><a href="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance</a></td><td>y</td><td>y</td><td></td><td></td><td></td><td></td></tr><tr><td>QuestionnaireResponse</td><td><a href="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td></tr></table></div>
  </text>
  <url
       value="http://ehealth.sundhed.dk/fhir/CapabilityStatement/measurement"/>
  <version value="2.3.0"/>
  <name value="measurement"/>
  <status value="active"/>
  <date value="2022-09-16T10:33:47.663+00:00"/>
  <publisher value="Systematic | Trifork"/>
  <contact>
    <name value="Systematic | Trifork"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <kind value="instance"/>
  <software>
    <name value="measurement"/>
    <version value="1.10.0"/>
  </software>
  <implementation>
    <description value="eHealth measurement service"/>
    <url value="https://measurement.devtest.systematic-ehealth.com/fhir"/>
  </implementation>
  <fhirVersion value="4.0.1"/>
  <format value="application/fhir+xml"/>
  <format value="xml"/>
  <format value="application/fhir+json"/>
  <format value="json"/>
  <format value="application/x-turtle"/>
  <format value="ttl"/>
  <format value="html/json"/>
  <format value="html/xml"/>
  <format value="html/turtle"/>
  <rest>
    <mode value="server"/>
    <resource>
      <type value="Communication"/>
      <profile
               value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication"/>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="patch"/>
      </interaction>
      <interaction>
        <code value="create"/>
      </interaction>
      <conditionalCreate value="true"/>
      <searchRevInclude value="Communication:episodeOfCare"/>
      <searchRevInclude value="Communication:recipient"/>
      <searchRevInclude value="Communication:recipientCareTeam"/>
      <searchRevInclude value="Communication:sender"/>
      <searchRevInclude value="Communication:senderCareTeam"/>
      <searchRevInclude value="Communication:subject"/>
      <searchRevInclude value="Media:based-on"/>
      <searchRevInclude value="Media:episodeOfCare"/>
      <searchRevInclude value="Media:subject"/>
      <searchRevInclude value="Observation:based-on"/>
      <searchRevInclude value="Observation:episodeOfCare"/>
      <searchRevInclude value="Observation:patient"/>
      <searchRevInclude value="Observation:subject"/>
      <searchRevInclude value="QuestionnaireResponse:based-on"/>
      <searchRevInclude value="QuestionnaireResponse:episodeOfCare"/>
      <searchRevInclude value="QuestionnaireResponse:questionnaire"/>
      <searchRevInclude value="QuestionnaireResponse:subject"/>
      <searchParam>
        <name value="episodeOfCare"/>
        <type value="reference"/>
        <documentation value="Episode associated with communication"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <type value="token"/>
        <documentation value="Unique identifier"/>
      </searchParam>
      <searchParam>
        <name value="recipient"/>
        <type value="reference"/>
        <documentation value="Message recipient"/>
      </searchParam>
      <searchParam>
        <name value="recipientCareTeam"/>
        <type value="reference"/>
        <documentation value="Recipient care team"/>
      </searchParam>
      <searchParam>
        <name value="sender"/>
        <type value="reference"/>
        <documentation value="Message sender"/>
      </searchParam>
      <searchParam>
        <name value="senderCareTeam"/>
        <type value="reference"/>
        <documentation value="Sender care team"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <type value="reference"/>
        <documentation value="Focus of message"/>
      </searchParam>
      <operation>
        <name value="validate"/>
        <definition
                    value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"/>
      </operation>
    </resource>
    <resource>
      <type value="Media"/>
      <profile
               value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media"/>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <name value="_content"/>
        <type value="string"/>
        <documentation
                       value="Search the contents of the resource's data using a fulltext search"/>
      </searchParam>
      <searchParam>
        <name value="_filter"/>
        <type value="string"/>
        <documentation
                       value="Search the contents of the resource's data using a filter"/>
      </searchParam>
      <searchParam>
        <name value="based-on"/>
        <type value="reference"/>
        <documentation
                       value="Procedure that caused this media to be created"/>
      </searchParam>
      <searchParam>
        <name value="created"/>
        <type value="date"/>
        <documentation value="When Media was collected"/>
      </searchParam>
      <searchParam>
        <name value="episodeOfCare"/>
        <type value="reference"/>
        <documentation value="Episode associated with media"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <type value="token"/>
        <documentation value="Identifier(s) for the image"/>
      </searchParam>
      <searchParam>
        <name value="qualityCode"/>
        <type value="token"/>
        <documentation value="Quality code of the media"/>
      </searchParam>
      <searchParam>
        <name value="qualityType"/>
        <type value="token"/>
        <documentation value="Quality type of the media"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingEnd"/>
        <type value="date"/>
        <documentation value="Resolved Timing end"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingServiceRequestVersionId"/>
        <type value="token"/>
        <documentation value="Resolved Timing serviceRequestVersionID"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingStart"/>
        <type value="date"/>
        <documentation value="Resolved Timing start"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingType"/>
        <type value="token"/>
        <documentation value="Resolved Timing type"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <type value="reference"/>
        <documentation value="Who/What this Media is a record of"/>
      </searchParam>
      <searchParam>
        <name value="type"/>
        <type value="token"/>
        <documentation value="photo | video | audio"/>
      </searchParam>
      <operation>
        <name value="validate"/>
        <definition
                    value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"/>
      </operation>
      <operation>
        <name value="get-data"/>
        <definition
                    value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/Media-t-get-data"/>
      </operation>
    </resource>
    <resource>
      <type value="Observation"/>
      <profile
               value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"/>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <name value="_content"/>
        <type value="string"/>
        <documentation
                       value="Search the contents of the resource's data using a fulltext search"/>
      </searchParam>
      <searchParam>
        <name value="_filter"/>
        <type value="string"/>
        <documentation
                       value="Search the contents of the resource's data using a filter"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <type value="token"/>
        <documentation value="The ID of the resource"/>
      </searchParam>
      <searchParam>
        <name value="_text"/>
        <type value="string"/>
        <documentation
                       value="Search the contents of the resource's narrative using a fulltext search"/>
      </searchParam>
      <searchParam>
        <name value="based-on"/>
        <type value="reference"/>
        <documentation value="Reference to the test or procedure request."/>
      </searchParam>
      <searchParam>
        <name value="code"/>
        <type value="token"/>
        <documentation value="The code of the observation type"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <type value="date"/>
        <documentation
                       value="Obtained date/time. If the obtained element is a period, a date that falls in the period"/>
      </searchParam>
      <searchParam>
        <name value="episodeOfCare"/>
        <type value="reference"/>
        <documentation value="Episode associated with observation"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <type value="token"/>
        <documentation value="The unique id for a particular observation"/>
      </searchParam>
      <searchParam>
        <name value="patient"/>
        <type value="reference"/>
        <documentation
                       value="The subject that the observation is about (if patient)"/>
      </searchParam>
      <searchParam>
        <name value="qualityCode"/>
        <type value="token"/>
        <documentation value="The quality code of the observation"/>
      </searchParam>
      <searchParam>
        <name value="qualityType"/>
        <type value="token"/>
        <documentation value="The quality type of the observation"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingEnd"/>
        <type value="date"/>
        <documentation value="Resolved Timing end"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingServiceRequestVersionId"/>
        <type value="token"/>
        <documentation value="Resolved Timing serviceRequestVersionID"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingStart"/>
        <type value="date"/>
        <documentation value="Resolved Timing start"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingType"/>
        <type value="token"/>
        <documentation value="Resolved Timing type"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <type value="reference"/>
        <documentation value="The subject that the observation is about"/>
      </searchParam>
      <operation>
        <name value="validate"/>
        <definition
                    value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"/>
      </operation>
    </resource>
    <resource>
      <type value="OperationDefinition"/>
      <profile
               value="http://hl7.org/fhir/StructureDefinition/OperationDefinition"/>
      <interaction>
        <code value="read"/>
      </interaction>
      <searchInclude value="*"/>
      <searchRevInclude value="Communication:episodeOfCare"/>
      <searchRevInclude value="Communication:recipient"/>
      <searchRevInclude value="Communication:recipientCareTeam"/>
      <searchRevInclude value="Communication:sender"/>
      <searchRevInclude value="Communication:senderCareTeam"/>
      <searchRevInclude value="Communication:subject"/>
      <searchRevInclude value="Media:based-on"/>
      <searchRevInclude value="Media:episodeOfCare"/>
      <searchRevInclude value="Media:subject"/>
      <searchRevInclude value="Observation:based-on"/>
      <searchRevInclude value="Observation:episodeOfCare"/>
      <searchRevInclude value="Observation:patient"/>
      <searchRevInclude value="Observation:subject"/>
      <searchRevInclude value="QuestionnaireResponse:based-on"/>
      <searchRevInclude value="QuestionnaireResponse:episodeOfCare"/>
      <searchRevInclude value="QuestionnaireResponse:questionnaire"/>
      <searchRevInclude value="QuestionnaireResponse:subject"/>
    </resource>
    <resource>
      <type value="Provenance"/>
      <profile
               value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"/>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <searchInclude value="*"/>
      <searchRevInclude value="Communication:episodeOfCare"/>
      <searchRevInclude value="Communication:recipient"/>
      <searchRevInclude value="Communication:recipientCareTeam"/>
      <searchRevInclude value="Communication:sender"/>
      <searchRevInclude value="Communication:senderCareTeam"/>
      <searchRevInclude value="Communication:subject"/>
      <searchRevInclude value="Media:based-on"/>
      <searchRevInclude value="Media:episodeOfCare"/>
      <searchRevInclude value="Media:subject"/>
      <searchRevInclude value="Observation:based-on"/>
      <searchRevInclude value="Observation:episodeOfCare"/>
      <searchRevInclude value="Observation:patient"/>
      <searchRevInclude value="Observation:subject"/>
      <searchRevInclude value="QuestionnaireResponse:based-on"/>
      <searchRevInclude value="QuestionnaireResponse:episodeOfCare"/>
      <searchRevInclude value="QuestionnaireResponse:questionnaire"/>
      <searchRevInclude value="QuestionnaireResponse:subject"/>
    </resource>
    <resource>
      <type value="QuestionnaireResponse"/>
      <profile
               value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse"/>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="create"/>
      </interaction>
      <conditionalCreate value="true"/>
      <conditionalUpdate value="true"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <name value="_filter"/>
        <type value="string"/>
        <documentation
                       value="Search the contents of the resource's data using a filter"/>
      </searchParam>
      <searchParam>
        <name value="authored"/>
        <type value="date"/>
        <documentation
                       value="When the questionnaire response was last changed"/>
      </searchParam>
      <searchParam>
        <name value="based-on"/>
        <type value="reference"/>
        <documentation
                       value="Plan/proposal/order fulfilled by this questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="episodeOfCare"/>
        <type value="reference"/>
        <documentation
                       value="Episode associated with questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <type value="token"/>
        <documentation
                       value="The unique identifier for the questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="lastUpdated"/>
        <type value="date"/>
        <documentation value="The date when resource was updated last time"/>
      </searchParam>
      <searchParam>
        <name value="qualityCode"/>
        <type value="token"/>
        <documentation
                       value="The quality code of the questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="qualityType"/>
        <type value="token"/>
        <documentation
                       value="The quality type of the questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="questionnaire"/>
        <type value="reference"/>
        <documentation
                       value="The questionnaire the answers are provided for"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingEnd"/>
        <type value="date"/>
        <documentation value="Resolved Timing end"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingServiceRequestVersionId"/>
        <type value="token"/>
        <documentation value="Resolved Timing serviceRequestVersionID"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingStart"/>
        <type value="date"/>
        <documentation value="Resolved Timing start"/>
      </searchParam>
      <searchParam>
        <name value="resolvedTimingType"/>
        <type value="token"/>
        <documentation value="Resolved Timing type"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <type value="token"/>
        <documentation value="The status of the questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <type value="reference"/>
        <documentation value="The subject of the questionnaire response"/>
      </searchParam>
      <operation>
        <name value="validate"/>
        <definition
                    value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"/>
      </operation>
    </resource>
    <interaction>
      <code value="transaction"/>
    </interaction>
    <interaction>
      <code value="history-system"/>
    </interaction>
    <operation>
      <name value="search-measurements"/>
      <definition
                  value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-search-measurements"/>
      <documentation
                     value="The search-measurements operation searches for bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria.


### Parameter description
- patient: Find resource(s) referring the specified patient - Reference(eHealth Patient).
- episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare).
- device: Find resource(s) referring the specified device - Reference(eHealth Device | eHealth DeviceMetric).
- period: Resource(s) must have either an instant or time period within or overlapping the given period. The used instant/time period varies with resource as follows: Element effective for eHealth Observation; Element authored for eHealth QuestionnaireResponse; Element occurrence for eHealth Media.
- based-on: Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest).


&quot;period&quot; must always be specified.

Additionally at least &quot;patient&quot; or &quot;episodeOfCare&quot; must be specified.

### Output description

The result of this operation will return a Bundle with a list of nested Bundles having resources matching the search parameters.

Each of the nested bundles will contain the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources.

If a eHealth QuestionnaireResponse is part of the nested bundle the referenced eHealth Questionnaire will also be included in the nested bundle.

Related resources are the set of resources created by a single invocation of the submit-measurement operation."/>
    </operation>
    <operation>
      <name value="submit-measurement"/>
      <definition
                  value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-submit-measurement"/>
      <documentation
                     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."/>
    </operation>
    <operation>
      <name value="reindex-terminology"/>
      <definition
                  value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology"/>
    </operation>
    <operation>
      <name value="process-message"/>
      <definition
                  value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-process-message"/>
      <documentation value="Accept a FHIR Message Bundle for processing"/>
    </operation>
    <operation>
      <name value="perform-reindexing-pass"/>
      <definition
                  value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-perform-reindexing-pass"/>
      <documentation
                     value="Forces a single pass of the resource reindexing processor"/>
    </operation>
    <operation>
      <name value="meta"/>
      <definition
                  value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta"/>
    </operation>
    <operation>
      <name value="get-resource-counts"/>
      <definition
                  value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts"/>
      <documentation
                     value="Provides the number of resources currently stored on the server, broken down by resource type"/>
    </operation>
  </rest>
</CapabilityStatement>