<?xml version="1.0" encoding="UTF-8"?>

<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="measurement"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CapabilityStatement measurement</b></p><a name="measurement"> </a><a name="hcmeasurement"> </a><h2 id="title"/><ul><li>Implementation Guide Version: 6.0.1 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>application/fhir+xml</code>, <code>xml</code>, <code>application/fhir+json</code>, <code>json</code>, <code>application/x-turtle</code>, <code>ttl</code>, <code>html/json</code>, <code>html/xml</code>, <code>html/turtle</code></li><li>Published on: 2025-10-21 11:11:11+0000 </li><li>Published by: Den telemedicinske infrastruktur (eHealth Infrastructure) </li></ul><blockquote class="impl-note"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h2 id="rest">FHIR RESTful Capabilities</h2><div class="panel panel-default"><div class="panel-heading"><h3 id="mode1" class="panel-title">Mode: <code>server</code></h3></div><div class="panel-body"><div class="row"><div class="col-12"><span class="lead">Summary of System-wide Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$migrate</td><td><div><p>Data migration</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$search-measurements</td><td><div><p>The search-measurements operation searches for bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria.</p>
<h3>Parameter description</h3>
<ul>
<li>patient: Find resource(s) referring the specified patient - Reference(eHealth Patient).</li>
<li>episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare).</li>
<li>device: Find resource(s) referring the specified device - Reference(eHealth Device | eHealth DeviceMetric).</li>
<li>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.</li>
<li>based-on: Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest).</li>
<li>_tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work.</li>
</ul>
<p>&quot;period&quot; must always be specified.</p>
<p>Additionally at least &quot;patient&quot; or &quot;episodeOfCare&quot; must be specified.</p>
<h3>Output description</h3>
<p>The result of this operation will return a Bundle with a list of nested Bundles having resources matching the search parameters.</p>
<p>Each of the nested bundles will contain the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources.</p>
<p>If a eHealth QuestionnaireResponse is part of the nested bundle the referenced eHealth Questionnaire will also be included in the nested bundle.</p>
<p>Related resources are the set of resources created by a single invocation of the submit-measurement operation.</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$search-measurements-bundle-limit</td><td><div><p>The search-measurements-bundle-limit operation searches for a number of bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria.</p>
<h3>Parameter description</h3>
<ul>
<li>patient: Find resource(s) referring the specified patient - Reference(eHealth Patient).</li>
<li>episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare).</li>
<li>count: The number of bundles to return, max allowed value is 100 - Integer.</li>
<li>start: Based on the effective time of measurement, please see &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-observation-definitions.html#key_Observation.effective[x]'&gt;Observation.effective[x]&lt;/a&gt; , &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-questionnaireresponse.html#effective-period'&gt;QuestionnaireResponse.effective-period&lt;/a&gt; , and &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-media-definitions.html#key_Media.created[x]'&gt;Media.created[x]&lt;/a&gt;. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time after this time. The result bundles will be sorted in ascending order - DateTime.</li>
<li>end: Based on the effective time of measurement, please see &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-observation-definitions.html#key_Observation.effective[x]'&gt;Observation.effective[x]&lt;/a&gt; , &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-questionnaireresponse.html#effective-period'&gt;QuestionnaireResponse.effective-period&lt;/a&gt; , and &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-media-definitions.html#key_Media.created[x]'&gt;Media.created[x]&lt;/a&gt;. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time before this time. The result bundles will be sorted in descending order - DateTime.</li>
<li>based-on: Resources(s) must be based on any of the specified service requests - Reference(eHealth ServiceRequest).</li>
<li>_tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work.</li>
</ul>
<p>One of either &quot;start&quot; or &quot;end&quot;, along with the &quot;count&quot; parameter must always be specified.</p>
<p>Additionally at least &quot;patient&quot; or &quot;episodeOfCare&quot; or &quot;based-on&quot; must be specified.</p>
<h3>Output description</h3>
<p>The result of this operation returns a Bundle with a list of nested Bundles having resources matching the search parameters. The number of nested Bundles depends on the count parameter.</p>
<p>Each of the nested bundles contains the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources, from the same submission request.</p>
<p>Related resources are the set of resources created by a single invocation of the submit-measurement operation.</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$submit-measurement</td><td><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>
<p>Media resource inline content in <code>content.data</code> will be stored outside the resource, and the <code>content.url</code> for retrieval is set on the resource. Image content is anonymized by removing sensitive metadate before storage. Image content is processed to generate thumbnail representations in the thumbnail element.</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.
All measurement resources in the Bundle must have status either <code>completed</code> or <code>final</code> (<code>completed</code> in case of Media/QuestionnaireResponse and <code>final</code> in case of Observation).
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</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></td></tr><tr><td><b>SHALL</b></td><td>$reindex-terminology</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>$meta</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>$get-resource-counts</td><td><div><p>Provides the number of resources currently stored on the server, broken down by resource type</p>
</div></td></tr></tbody></table></div></div></div></div><h3 id="resourcesCap1">Capabilities by Resource/Profile</h3><h4 id="resourcesSummary1">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class="bg-info">R</span></b>ead, <b><span class="bg-info">S</span></b>earch, <b><span class="bg-info">U</span></b>pdate, and <b><span class="bg-info">C</span></b>reate, are always shown, while <b><span class="bg-info">VR</span></b>ead, <b><span class="bg-info">P</span></b>atch, <b><span class="bg-info">D</span></b>elete, <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">I</span></b>nstance, or <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class="table-responsive"><table class="table table-condensed table-hover"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class="text-center"><b title="GET a resource (read interaction)">R</b></th><th class="text-center"><b title="GET past versions of resources (vread interaction)">V-R</b></th><th class="text-center"><b title="GET all set of resources of the type (search interaction)">S</b></th><th class="text-center"><b title="PUT a new resource version (update interaction)">U</b></th><th class="text-center"><b title="PATCH a new resource version (patch interaction)">P</b></th><th class="text-center"><b title="POST a new resource (create interaction)">C</b></th><th><b title="Required and recommended search parameters">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href="#Communication1-1">Communication</a></td><td><a href="StructureDefinition-ehealth-communication.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication</a></td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center">y</td><td class="text-center">y</td><td>_tag, episodeOfCare, identifier, recipient, recipientCareTeam, sender, senderCareTeam, subject</td><td/><td><code>Communication:episodeOfCare</code>, <code>Communication:recipient</code>, <code>Communication:recipientCareTeam</code>, <code>Communication:sender</code>, <code>Communication:senderCareTeam</code>, <code>Communication:subject</code>, <code>Media:based-on</code>, <code>Media:episodeOfCare</code>, <code>Media:relatedTo</code>, <code>Media:subject</code>, <code>Observation:based-on</code>, <code>Observation:episodeOfCare</code>, <code>Observation:patient</code>, <code>Observation:subject</code>, <code>Provenance:agent</code>, <code>Provenance:entity</code>, <code>Provenance:entity-episodeOfCare</code>, <code>Provenance:entity-serviceRequest</code>, <code>Provenance:target</code>, <code>QuestionnaireResponse:based-on</code>, <code>QuestionnaireResponse:episodeOfCare</code>, <code>QuestionnaireResponse:questionnaire</code>, <code>QuestionnaireResponse:subject</code></td><td><code>$validate</code></td></tr><tr><td><a href="#Media1-2">Media</a></td><td><a href="StructureDefinition-ehealth-media.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media</a></td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center"/><td>_content, _filter, _id, _tag, based-on, created, episodeOfCare, identifier, qualityCode, qualityType, relatedTo, resolvedTimingEnd, resolvedTimingServiceRequestVersionId, resolvedTimingStart, resolvedTimingType, series, subject, type, usageMode</td><td><code>Media:relatedTo</code></td><td><code>Media:relatedTo</code>, <code>Provenance:target</code></td><td><code>$validate</code>, <code>$get-data</code></td></tr><tr><td><a href="#Observation1-3">Observation</a></td><td><a href="StructureDefinition-ehealth-observation.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation</a></td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center">y</td><td class="text-center"/><td>_content, _filter, _id, _tag, _text, based-on, code, date, episodeOfCare, identifier, patient, qualityCode, qualityType, resolvedTimingEnd, resolvedTimingServiceRequestVersionId, resolvedTimingStart, resolvedTimingType, subject</td><td/><td><code>Provenance:target</code></td><td><code>$validate</code></td></tr><tr><td><a href="#OperationDefinition1-4">OperationDefinition</a></td><td><a href="http://hl7.org/fhir/R4/operationdefinition.html">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a></td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td class="text-center"/><td class="text-center"/><td class="text-center"/><td/><td><code>*</code></td><td><code>Communication:episodeOfCare</code>, <code>Communication:recipient</code>, <code>Communication:recipientCareTeam</code>, <code>Communication:sender</code>, <code>Communication:senderCareTeam</code>, <code>Communication:subject</code>, <code>Media:based-on</code>, <code>Media:episodeOfCare</code>, <code>Media:relatedTo</code>, <code>Media:subject</code>, <code>Observation:based-on</code>, <code>Observation:episodeOfCare</code>, <code>Observation:patient</code>, <code>Observation:subject</code>, <code>Provenance:agent</code>, <code>Provenance:entity</code>, <code>Provenance:entity-episodeOfCare</code>, <code>Provenance:entity-serviceRequest</code>, <code>Provenance:target</code>, <code>QuestionnaireResponse:based-on</code>, <code>QuestionnaireResponse:episodeOfCare</code>, <code>QuestionnaireResponse:questionnaire</code>, <code>QuestionnaireResponse:subject</code></td><td/></tr><tr><td><a href="#Provenance1-5">Provenance</a></td><td><a href="StructureDefinition-ehealth-provenance.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance</a></td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td class="text-center"/><td>_id, agent, entity, entity-episodeOfCare, entity-serviceRequest, recorded, target</td><td><code>Provenance:target</code></td><td><code>Communication:episodeOfCare</code>, <code>Communication:recipient</code>, <code>Communication:recipientCareTeam</code>, <code>Communication:sender</code>, <code>Communication:senderCareTeam</code>, <code>Communication:subject</code>, <code>Media:based-on</code>, <code>Media:episodeOfCare</code>, <code>Media:relatedTo</code>, <code>Media:subject</code>, <code>Observation:based-on</code>, <code>Observation:episodeOfCare</code>, <code>Observation:patient</code>, <code>Observation:subject</code>, <code>Provenance:agent</code>, <code>Provenance:entity</code>, <code>Provenance:entity-episodeOfCare</code>, <code>Provenance:entity-serviceRequest</code>, <code>Provenance:target</code>, <code>QuestionnaireResponse:based-on</code>, <code>QuestionnaireResponse:episodeOfCare</code>, <code>QuestionnaireResponse:questionnaire</code>, <code>QuestionnaireResponse:subject</code></td><td/></tr><tr><td><a href="#QuestionnaireResponse1-6">QuestionnaireResponse</a></td><td><a href="StructureDefinition-ehealth-questionnaireresponse.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse</a></td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>_filter, _lastUpdated, _tag, authored, based-on, effectivePeriodEnd, effectivePeriodStart, episodeOfCare, identifier, qualityCode, qualityType, questionnaire, resolvedTimingEnd, resolvedTimingServiceRequestVersionId, resolvedTimingStart, resolvedTimingType, status, subject</td><td/><td><code>Provenance:target</code></td><td><code>$validate</code></td></tr></tbody></table></div><hr/><div class="panel panel-default"><div class="panel-heading"><h4 id="Communication1-1" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Communication</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="StructureDefinition-ehealth-communication.html">ehealth-communication</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>patch</code>, <code>create</code>.</li></ul></div></div><p/><div class="row"><div class="col-lg-7"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>episodeOfCare</td><td><code>reference</code></td><td><div><p>Episode associated with communication</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>Unique identifier</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>recipient</td><td><code>reference</code></td><td><div><p>Message recipient</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>recipientCareTeam</td><td><code>reference</code></td><td><div><p>Recipient care team</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>sender</td><td><code>reference</code></td><td><div><p>Message sender</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>senderCareTeam</td><td><code>reference</code></td><td><div><p>Sender care team</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>Focus of message</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div><div class="row"><div class="col-12"><span class="lead">Extended Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Media1-2" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Media</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="StructureDefinition-ehealth-media.html">ehealth-media</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>update</code>, <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>patch</code>.</li></ul></div></div><p/><div class="row"><div class="col-lg-7"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_content</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a fulltext search</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_filter</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a filter</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_id</td><td><code>token</code></td><td><div><p>The ID of the resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>based-on</td><td><code>reference</code></td><td><div><p>Procedure that caused this media to be created</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>created</td><td><code>date</code></td><td><div><p>When Media was collected</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>episodeOfCare</td><td><code>reference</code></td><td><div><p>Episode associated with media</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>Identifier(s) for the image</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>qualityCode</td><td><code>token</code></td><td><div><p>Quality code of the media</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>qualityType</td><td><code>token</code></td><td><div><p>Quality type of the media</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>relatedTo</td><td><code>reference</code></td><td><div><p>Media related to</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingEnd</td><td><code>date</code></td><td><div><p>Resolved Timing end</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingServiceRequestVersionId</td><td><code>token</code></td><td><div><p>Resolved Timing serviceRequestVersionID</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingStart</td><td><code>date</code></td><td><div><p>Resolved Timing start</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingType</td><td><code>token</code></td><td><div><p>Resolved Timing type</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>series</td><td><code>string</code></td><td><div><p>Series ID</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>Who/What this Media is a record of</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>type</td><td><code>token</code></td><td><div><p>photo | video | audio</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>usageMode</td><td><code>token</code></td><td><div><p>Usage mode</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div><div class="row"><div class="col-12"><span class="lead">Extended Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>$get-data</td><td><div><p>The get-data operation returns a media content matching the uuid provided.</p>
<h3>Parameter description</h3>
<ul>
<li>uuid: The uuid of the media to return</li>
</ul>
<h3>Request header description</h3>
<ul>
<li>ehealth-thumbnail-size: The size of thumbnail to return instead of original content. If thumbnails are not supported for the media, the original content is returned</li>
</ul>
<h3>Output description</h3>
<p>The result of this operation returns a Binary containing the media found from the provided uuid</p>
</div></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Observation1-3" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Observation</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="StructureDefinition-ehealth-observation.html">ehealth-observation</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>patch</code>.</li></ul></div></div><p/><div class="row"><div class="col-lg-7"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_content</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a fulltext search</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_filter</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a filter</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_id</td><td><code>token</code></td><td><div><p>The ID of the resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_text</td><td><code>string</code></td><td><div><p>Search the contents of the resource's narrative using a fulltext search</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>based-on</td><td><code>reference</code></td><td><div><p>Reference to the test or procedure request.</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>code</td><td><code>token</code></td><td><div><p>The code of the observation type</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>date</td><td><code>date</code></td><td><div><p>Obtained date/time. If the obtained element is a period, a date that falls in the period</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>episodeOfCare</td><td><code>reference</code></td><td><div><p>Episode associated with observation</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>The unique id for a particular observation</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>The subject that the observation is about (if patient)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>qualityCode</td><td><code>token</code></td><td><div><p>The quality code of the observation</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>qualityType</td><td><code>token</code></td><td><div><p>The quality type of the observation</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingEnd</td><td><code>date</code></td><td><div><p>Resolved Timing end</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingServiceRequestVersionId</td><td><code>token</code></td><td><div><p>Resolved Timing serviceRequestVersionID</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingStart</td><td><code>date</code></td><td><div><p>Resolved Timing start</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingType</td><td><code>token</code></td><td><div><p>Resolved Timing type</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>The subject that the observation is about</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div><div class="row"><div class="col-12"><span class="lead">Extended Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="OperationDefinition1-4" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>OperationDefinition</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="http://hl7.org/fhir/R4/operationdefinition.html">OperationDefinition</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>read</code>.</li></ul></div></div><p/></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Provenance1-5" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Provenance</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="StructureDefinition-ehealth-provenance.html">ehealth-provenance</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>search-type</code>, <code>vread</code>, <code>read</code>.</li></ul></div></div><p/><div class="row"><div class="col-lg-7"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_id</td><td><code>token</code></td><td><div><p>The ID of the resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>agent</td><td><code>reference</code></td><td><div><p>Who participated in the activity</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>entity</td><td><code>reference</code></td><td><div><p>Identity of entity</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>entity-episodeOfCare</td><td><code>reference</code></td><td><div><p>EpisodeOfCare identity of entity</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>entity-serviceRequest</td><td><code>reference</code></td><td><div><p>ServiceRequest identity of entity</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>recorded</td><td><code>date</code></td><td><div><p>When the activity was recorded / updated</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>target</td><td><code>reference</code></td><td><div><p>Target Reference(s) (usually version specific)</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="QuestionnaireResponse1-6" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>QuestionnaireResponse</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="StructureDefinition-ehealth-questionnaireresponse.html">ehealth-questionnaireresponse</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>update</code>, <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>patch</code>, <code>create</code>.</li></ul></div></div><p/><div class="row"><div class="col-lg-7"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_filter</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a filter</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_lastUpdated</td><td><code>date</code></td><td><div><p>Only return resources which were last updated as specified by the given range</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>authored</td><td><code>date</code></td><td><div><p>When the questionnaire response was last changed</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>based-on</td><td><code>reference</code></td><td><div><p>Plan/proposal/order fulfilled by this questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>effectivePeriodEnd</td><td><code>date</code></td><td><div><p>Effective Period end</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>effectivePeriodStart</td><td><code>date</code></td><td><div><p>Effective Period start</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>episodeOfCare</td><td><code>reference</code></td><td><div><p>Episode associated with questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>The unique identifier for the questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>qualityCode</td><td><code>token</code></td><td><div><p>The quality code of the questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>qualityType</td><td><code>token</code></td><td><div><p>The quality type of the questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>questionnaire</td><td><code>reference</code></td><td><div><p>The questionnaire the answers are provided for</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingEnd</td><td><code>date</code></td><td><div><p>Resolved Timing end</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingServiceRequestVersionId</td><td><code>token</code></td><td><div><p>Resolved Timing serviceRequestVersionID</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingStart</td><td><code>date</code></td><td><div><p>Resolved Timing start</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>resolvedTimingType</td><td><code>token</code></td><td><div><p>Resolved Timing type</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>The status of the questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>The subject of the questionnaire response</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div><div class="row"><div class="col-12"><span class="lead">Extended Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div></div>
  </text>
  <url value="http://ehealth.sundhed.dk/fhir/CapabilityStatement/measurement"/>
  <version value="6.0.1"/>
  <name value="measurement"/>
  <status value="active"/>
  <date value="2025-10-21T11:11:11.320+00:00"/>
  <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>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="DK"/>
      <display value="Denmark"/>
    </coding>
  </jurisdiction>
  <kind value="instance"/>
  <software>
    <name value="measurement"/>
    <version value="1.27.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:relatedTo"/>
      <searchRevInclude value="Media:subject"/>
      <searchRevInclude value="Observation:based-on"/>
      <searchRevInclude value="Observation:episodeOfCare"/>
      <searchRevInclude value="Observation:patient"/>
      <searchRevInclude value="Observation:subject"/>
      <searchRevInclude value="Provenance:agent"/>
      <searchRevInclude value="Provenance:entity"/>
      <searchRevInclude value="Provenance:entity-episodeOfCare"/>
      <searchRevInclude value="Provenance:entity-serviceRequest"/>
      <searchRevInclude value="Provenance:target"/>
      <searchRevInclude value="QuestionnaireResponse:based-on"/>
      <searchRevInclude value="QuestionnaireResponse:episodeOfCare"/>
      <searchRevInclude value="QuestionnaireResponse:questionnaire"/>
      <searchRevInclude value="QuestionnaireResponse:subject"/>
      <searchParam>
        <name value="_tag"/>
        <type value="token"/>
        <documentation value="Search for resources which have the given tag"/>
      </searchParam>
      <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="update"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="patch"/>
      </interaction>
      <conditionalUpdate value="true"/>
      <searchInclude value="Media:relatedTo"/>
      <searchRevInclude value="Media:relatedTo"/>
      <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="_tag"/>
        <type value="token"/>
        <documentation value="Search for resources which have the given tag"/>
      </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="relatedTo"/>
        <type value="reference"/>
        <documentation value="Media related to"/>
      </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="series"/>
        <type value="string"/>
        <documentation value="Series ID"/>
      </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>
      <searchParam>
        <name value="usageMode"/>
        <type value="token"/>
        <documentation value="Usage mode"/>
      </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"/>
        <documentation value="The get-data operation returns a media content matching the uuid provided.&#xA;&#xA;&#xA;### Parameter description&#xA;- uuid: The uuid of the media to return&#xA;&#xA;&#xA;### Request header description&#xA;- ehealth-thumbnail-size: The size of thumbnail to return instead of original content. If thumbnails are not supported for the media, the original content is returned&#xA;&#xA;&#xA;### Output description&#xA;The result of this operation returns a Binary containing the media found from the provided uuid"/>
      </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>
      <interaction>
        <code value="patch"/>
      </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="_tag"/>
        <type value="token"/>
        <documentation value="Search for resources which have the given tag"/>
      </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:relatedTo"/>
      <searchRevInclude value="Media:subject"/>
      <searchRevInclude value="Observation:based-on"/>
      <searchRevInclude value="Observation:episodeOfCare"/>
      <searchRevInclude value="Observation:patient"/>
      <searchRevInclude value="Observation:subject"/>
      <searchRevInclude value="Provenance:agent"/>
      <searchRevInclude value="Provenance:entity"/>
      <searchRevInclude value="Provenance:entity-episodeOfCare"/>
      <searchRevInclude value="Provenance:entity-serviceRequest"/>
      <searchRevInclude value="Provenance:target"/>
      <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="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <searchInclude value="Provenance:target"/>
      <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:relatedTo"/>
      <searchRevInclude value="Media:subject"/>
      <searchRevInclude value="Observation:based-on"/>
      <searchRevInclude value="Observation:episodeOfCare"/>
      <searchRevInclude value="Observation:patient"/>
      <searchRevInclude value="Observation:subject"/>
      <searchRevInclude value="Provenance:agent"/>
      <searchRevInclude value="Provenance:entity"/>
      <searchRevInclude value="Provenance:entity-episodeOfCare"/>
      <searchRevInclude value="Provenance:entity-serviceRequest"/>
      <searchRevInclude value="Provenance:target"/>
      <searchRevInclude value="QuestionnaireResponse:based-on"/>
      <searchRevInclude value="QuestionnaireResponse:episodeOfCare"/>
      <searchRevInclude value="QuestionnaireResponse:questionnaire"/>
      <searchRevInclude value="QuestionnaireResponse:subject"/>
      <searchParam>
        <name value="_id"/>
        <type value="token"/>
        <documentation value="The ID of the resource"/>
      </searchParam>
      <searchParam>
        <name value="agent"/>
        <type value="reference"/>
        <documentation value="Who participated in the activity"/>
      </searchParam>
      <searchParam>
        <name value="entity"/>
        <type value="reference"/>
        <documentation value="Identity of entity"/>
      </searchParam>
      <searchParam>
        <name value="entity-episodeOfCare"/>
        <type value="reference"/>
        <documentation value="EpisodeOfCare identity of entity"/>
      </searchParam>
      <searchParam>
        <name value="entity-serviceRequest"/>
        <type value="reference"/>
        <documentation value="ServiceRequest identity of entity"/>
      </searchParam>
      <searchParam>
        <name value="recorded"/>
        <type value="date"/>
        <documentation value="When the activity was recorded / updated"/>
      </searchParam>
      <searchParam>
        <name value="target"/>
        <type value="reference"/>
        <documentation value="Target Reference(s) (usually version specific)"/>
      </searchParam>
    </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="patch"/>
      </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="_lastUpdated"/>
        <type value="date"/>
        <documentation value="Only return resources which were last updated as specified by the given range"/>
      </searchParam>
      <searchParam>
        <name value="_tag"/>
        <type value="token"/>
        <documentation value="Search for resources which have the given tag"/>
      </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="effectivePeriodEnd"/>
        <type value="date"/>
        <documentation value="Effective Period end"/>
      </searchParam>
      <searchParam>
        <name value="effectivePeriodStart"/>
        <type value="date"/>
        <documentation value="Effective Period start"/>
      </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="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>
    <operation>
      <name value="migrate"/>
      <definition value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-migrate"/>
      <documentation value="Data migration"/>
    </operation>
    <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.&#xA;&#xA;&#xA;### Parameter description&#xA;- patient: Find resource(s) referring the specified patient - Reference(eHealth Patient).&#xA;- episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare).&#xA;- device: Find resource(s) referring the specified device - Reference(eHealth Device | eHealth DeviceMetric).&#xA;- 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.&#xA;- based-on: Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest).&#xA;- _tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work.&#xA;&#xA;&#xA;&quot;period&quot; must always be specified.&#xA;&#xA;Additionally at least &quot;patient&quot; or &quot;episodeOfCare&quot; must be specified.&#xA;&#xA;### Output description&#xA;&#xA;The result of this operation will return a Bundle with a list of nested Bundles having resources matching the search parameters.&#xA;&#xA;Each of the nested bundles will contain the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources.&#xA;&#xA;If a eHealth QuestionnaireResponse is part of the nested bundle the referenced eHealth Questionnaire will also be included in the nested bundle.&#xA;&#xA;Related resources are the set of resources created by a single invocation of the submit-measurement operation."/>
    </operation>
    <operation>
      <name value="search-measurements-bundle-limit"/>
      <definition value="https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-search-measurements-bundle-limit"/>
      <documentation value="The search-measurements-bundle-limit operation searches for a number of bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria.&#xA;&#xA;&#xA;### Parameter description&#xA;- patient: Find resource(s) referring the specified patient - Reference(eHealth Patient).&#xA;- episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare).&#xA;- count: The number of bundles to return, max allowed value is 100 - Integer.&#xA;- start: Based on the effective time of measurement, please see &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-observation-definitions.html#key_Observation.effective[x]'&gt;Observation.effective[x]&lt;/a&gt; , &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-questionnaireresponse.html#effective-period'&gt;QuestionnaireResponse.effective-period&lt;/a&gt; , and &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-media-definitions.html#key_Media.created[x]'&gt;Media.created[x]&lt;/a&gt;. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time after this time. The result bundles will be sorted in ascending order - DateTime.&#xA;- end: Based on the effective time of measurement, please see &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-observation-definitions.html#key_Observation.effective[x]'&gt;Observation.effective[x]&lt;/a&gt; , &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-questionnaireresponse.html#effective-period'&gt;QuestionnaireResponse.effective-period&lt;/a&gt; , and &lt;a href='https://ehealth.sundhed.dk/fhir/StructureDefinition-ehealth-media-definitions.html#key_Media.created[x]'&gt;Media.created[x]&lt;/a&gt;. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time before this time. The result bundles will be sorted in descending order - DateTime.&#xA;- based-on: Resources(s) must be based on any of the specified service requests - Reference(eHealth ServiceRequest).&#xA;- _tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work.&#xA;&#xA;&#xA;One of either &quot;start&quot; or &quot;end&quot;, along with the &quot;count&quot; parameter must always be specified.&#xA;&#xA;Additionally at least &quot;patient&quot; or &quot;episodeOfCare&quot; or &quot;based-on&quot; must be specified.&#xA;&#xA;### Output description&#xA;&#xA;The result of this operation returns a Bundle with a list of nested Bundles having resources matching the search parameters. The number of nested Bundles depends on the count parameter.&#xA;&#xA;Each of the nested bundles contains the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources, from the same submission request.&#xA;&#xA;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. &#xA;&#xA;Media resource inline content in `content.data` will be stored outside the resource, and the `content.url` for retrieval is set on the resource. Image content is anonymized by removing sensitive metadate before storage. Image content is processed to generate thumbnail representations in the thumbnail element. &#xA;&#xA;&#xA;### Parameter description&#xA;measurement: Bundle containing:&#xA;- 0..* Observation (ehealth-observation profile)&#xA;- 0..* QuestionnaireResponse (ehealth-questionnaireresponse profile)&#xA;- 0..* Media (ehealth-media profile)&#xA;- 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;.&#xA;&#xA;All resources in the Bundle must refer to the same Patient and EpisodeOfCare.&#xA;All measurement resources in the Bundle must have status either `completed` or `final` (`completed` in case of Media/QuestionnaireResponse and `final` in case of Observation).&#xA;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.&#xA;The request will be denied if any resource in the Bundle contains a system tag, which is not present on the referenced EpisodeOfCare&#xA;&#xA;&#xA;### Output description&#xA;The returned Bundle contains references to the stored input resources where the id has been substituted.&#xA;&#xA;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="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>