eHealth Infrastructure
3.2.0 - release

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

: document-transformation - XML Representation

Active as of 2024-08-06

Raw xml | Download



<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="document-transformation"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CapabilityStatement document-transformation</b></p><a name="document-transformation"> </a><a name="hcdocument-transformation"> </a><a name="document-transformation-en-US"> </a><h2 id="title"/><ul><li>Implementation Guide Version: 3.2.0 </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>Supported Patch Formats: </li><li>Published on: 2024-08-06 02:18:15+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="lead"><em>Summary of System-wide Interactions</em></div><ul><li>Supports the <code>transaction</code>interaction.</li><li>Supports the <code>history-system</code>interaction.</li></ul></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 class="text-center"><b title="DELETE a resource (delete interaction)">D</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="#Composition1-1">Composition</a></td><td><a href="StructureDefinition-ehealth-composition.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition</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><td class="text-center"></td><td class="text-center">y</td><td class="text-center">y</td><td>_content, _has, _id, _language, _lastUpdated, _profile, _security, _tag, _text, attester, author, class, confidentiality, context, date, encounter, entry, identifier, patient, period, related-id, related-ref, section, status, subject, title, type</td><td><code>Composition:related-ref</code></td><td><code>Composition:attester</code>, <code>Composition:author</code>, <code>Composition:encounter</code>, <code>Composition:entry</code>, <code>Composition:patient</code>, <code>Composition:related-ref</code>, <code>Composition:subject</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:related-ref</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code></td><td><code>$validate</code></td></tr><tr><td><a href="#DocumentReference1-2">DocumentReference</a></td><td><a href="StructureDefinition-ehealth-documentreference.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference</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><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>_content, _has, _id, _language, _lastUpdated, _profile, _security, _tag, _text, authenticator, author, class, custodian, date, description, encounter, event, facility, format, identifier, indexed, language, location, masterIdentifier, patient, period, related, related-id, related-ref, relatesto, relation, relationship, securitylabel, setting, status, subject, type</td><td><code>DocumentReference:relatesto</code></td><td><code>Composition:attester</code>, <code>Composition:author</code>, <code>Composition:encounter</code>, <code>Composition:entry</code>, <code>Composition:patient</code>, <code>Composition:related-ref</code>, <code>Composition:subject</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:related-ref</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code></td><td><code>$validate</code>, <code>$deprecate-document</code></td></tr><tr><td><a href="#OperationDefinition1-3">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><td class="text-center"></td><td class="text-center"></td><td class="text-center"></td><td class="text-center"></td><td class="text-center"></td><td></td><td><code>*</code></td><td><code>Composition:attester</code>, <code>Composition:author</code>, <code>Composition:encounter</code>, <code>Composition:entry</code>, <code>Composition:patient</code>, <code>Composition:related-ref</code>, <code>Composition:subject</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:related-ref</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code></td><td/></tr></tbody></table></div><hr/><div class="panel panel-default"><div class="panel-heading"><h4 id="Composition1-1" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Composition</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-composition.html">ehealth-composition</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>delete</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>_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>_has</td><td><code>string</code></td><td><div><p>Return resources linked to by the given target</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>_language</td><td><code>string</code></td><td><div><p>The language of the resource</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>_profile</td><td><code>uri</code></td><td><div><p>Search for resources which have the given profile</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_security</td><td><code>token</code></td><td><div><p>Search for resources which have the given security labels</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>attester</td><td><code>reference</code></td><td><div><p>Who attested the composition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>author</td><td><code>reference</code></td><td><div><p>Who and/or what authored the composition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>class</td><td><code>token</code></td><td><div><p>Categorization of Composition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>confidentiality</td><td><code>token</code></td><td><div><p>As defined by affinity domain</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context</td><td><code>token</code></td><td><div><p>Code(s) that apply to the event being documented</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>date</td><td><code>date</code></td><td><div><p>Composition editing time</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>encounter</td><td><code>reference</code></td><td><div><p>Context of the Composition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>entry</td><td><code>reference</code></td><td><div><p>A reference to data that supports this section</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>Logical identifier of composition (version-independent)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>Who and/or what the composition is about</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>period</td><td><code>date</code></td><td><div><p>The period covered by the documentation</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>related-id</td><td><code>token</code></td><td><div><p>Target of the relationship</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>related-ref</td><td><code>reference</code></td><td><div><p>Target of the relationship</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>section</td><td><code>token</code></td><td><div><p>Classification of section (recommended)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>preliminary | final | amended | entered-in-error</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>Who and/or what the composition is about</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>title</td><td><code>string</code></td><td><div><p>Human Readable name/title</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>type</td><td><code>token</code></td><td><div><p>Kind of composition (LOINC if possible)</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="DocumentReference1-2" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>DocumentReference</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-documentreference.html">ehealth-documentreference</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>delete</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>_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>_has</td><td><code>string</code></td><td><div><p>Return resources linked to by the given target</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>_language</td><td><code>string</code></td><td><div><p>The language of the resource</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>_profile</td><td><code>uri</code></td><td><div><p>Search for resources which have the given profile</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_security</td><td><code>token</code></td><td><div><p>Search for resources which have the given security labels</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>authenticator</td><td><code>reference</code></td><td><div><p>Who/what authenticated the document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>author</td><td><code>reference</code></td><td><div><p>Who and/or what authored the document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>class</td><td><code>token</code></td><td><div><p>Categorization of document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>custodian</td><td><code>reference</code></td><td><div><p>Organization which maintains the document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>date</td><td><code>date</code></td><td><div><p>Document creation time</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>description</td><td><code>string</code></td><td><div><p>Human-readable description (title)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>encounter</td><td><code>reference</code></td><td><div><p>Context of the document  content</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>event</td><td><code>token</code></td><td><div><p>Main clinical acts documented</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>facility</td><td><code>token</code></td><td><div><p>Kind of facility where patient was seen</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>format</td><td><code>token</code></td><td><div><p>Format/content rules for the document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>Master Version Specific Identifier</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>indexed</td><td><code>date</code></td><td><div><p>When this document reference was created</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>language</td><td><code>token</code></td><td><div><p>Human language of the content (BCP-47)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>location</td><td><code>uri</code></td><td><div><p>Uri where the data can be found</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>masterIdentifier</td><td><code>token</code></td><td><div><p>Master identifier</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>Who/what is the subject of the document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>period</td><td><code>date</code></td><td><div><p>Time of service that is being documented</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>related</td><td><code>reference</code></td><td><div><p>Related identifiers or resources</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>related-id</td><td><code>token</code></td><td><div><p>Identifier of related objects or events</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>related-ref</td><td><code>reference</code></td><td><div><p>Related Resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>relatesto</td><td><code>reference</code></td><td><div><p>Target of the relationship</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>relation</td><td><code>token</code></td><td><div><p>replaces | transforms | signs | appends</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>relationship</td><td><code>composite</code></td><td><div><p>Combination of relation and relatesTo</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>securitylabel</td><td><code>token</code></td><td><div><p>Document security-tags</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>setting</td><td><code>token</code></td><td><div><p>Additional details about where the content was created (e.g. clinical specialty)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>current | superseded | entered-in-error</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>Who/what is the subject of the document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>type</td><td><code>token</code></td><td><div><p>Kind of document (LOINC if possible)</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><a href="OperationDefinition-DocumentReference-t-deprecate-document.html">$deprecate-document</a></td><td><div><p>Deprecates a shared document. The operation takes a documentIdentifier and cpr-number as parameters and finds the DocumentReference with the corresponding masterIdentifier. masterIdentifier should be unique for DocumentReference so if less than 0 or more than 1 are found the operation throws and exception. If the found documentReference has a patient which cpr number matches the provided value the document is deprecated. iti-57 is used to deprecate the document on XDS. On successthe documentReference status is updated to superseded and updated in the database.</p>
</div></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="OperationDefinition1-3" 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><h3 id="operationsCap1">Operations</h3><h4 id="operationsSummary1">Use</h4></div>
  </text>
  <url
       value="http://ehealth.sundhed.dk/fhir/CapabilityStatement/document-transformation"/>
  <version value="3.2.0"/>
  <name value="document-transformation"/>
  <status value="active"/>
  <date value="2024-08-06T02:18:15.077+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>
  <kind value="instance"/>
  <software>
    <name value="document-transformation"/>
    <version value="1.14.0"/>
  </software>
  <implementation>
    <description value="eHealth document-transformation service"/>
    <url
         value="https://document-transformation.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="Composition"/>
      <profile
               value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition"/>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="create"/>
      </interaction>
      <conditionalCreate value="true"/>
      <conditionalDelete value="multiple"/>
      <searchInclude value="Composition:related-ref"/>
      <searchRevInclude value="Composition:attester"/>
      <searchRevInclude value="Composition:author"/>
      <searchRevInclude value="Composition:encounter"/>
      <searchRevInclude value="Composition:entry"/>
      <searchRevInclude value="Composition:patient"/>
      <searchRevInclude value="Composition:related-ref"/>
      <searchRevInclude value="Composition:subject"/>
      <searchRevInclude value="DocumentReference:authenticator"/>
      <searchRevInclude value="DocumentReference:author"/>
      <searchRevInclude value="DocumentReference:custodian"/>
      <searchRevInclude value="DocumentReference:encounter"/>
      <searchRevInclude value="DocumentReference:patient"/>
      <searchRevInclude value="DocumentReference:related"/>
      <searchRevInclude value="DocumentReference:related-ref"/>
      <searchRevInclude value="DocumentReference:relatesto"/>
      <searchRevInclude value="DocumentReference:subject"/>
      <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="_has"/>
        <type value="string"/>
        <documentation
                       value="Return resources linked to by the given target"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <type value="token"/>
        <documentation value="The ID of the resource"/>
      </searchParam>
      <searchParam>
        <name value="_language"/>
        <type value="string"/>
        <documentation value="The language of the resource"/>
      </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="_profile"/>
        <type value="uri"/>
        <documentation
                       value="Search for resources which have the given profile"/>
      </searchParam>
      <searchParam>
        <name value="_security"/>
        <type value="token"/>
        <documentation
                       value="Search for resources which have the given security labels"/>
      </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="attester"/>
        <type value="reference"/>
        <documentation value="Who attested the composition"/>
      </searchParam>
      <searchParam>
        <name value="author"/>
        <type value="reference"/>
        <documentation value="Who and/or what authored the composition"/>
      </searchParam>
      <searchParam>
        <name value="class"/>
        <type value="token"/>
        <documentation value="Categorization of Composition"/>
      </searchParam>
      <searchParam>
        <name value="confidentiality"/>
        <type value="token"/>
        <documentation value="As defined by affinity domain"/>
      </searchParam>
      <searchParam>
        <name value="context"/>
        <type value="token"/>
        <documentation
                       value="Code(s) that apply to the event being documented"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <type value="date"/>
        <documentation value="Composition editing time"/>
      </searchParam>
      <searchParam>
        <name value="encounter"/>
        <type value="reference"/>
        <documentation value="Context of the Composition"/>
      </searchParam>
      <searchParam>
        <name value="entry"/>
        <type value="reference"/>
        <documentation
                       value="A reference to data that supports this section"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <type value="token"/>
        <documentation
                       value="Logical identifier of composition (version-independent)"/>
      </searchParam>
      <searchParam>
        <name value="patient"/>
        <type value="reference"/>
        <documentation value="Who and/or what the composition is about"/>
      </searchParam>
      <searchParam>
        <name value="period"/>
        <type value="date"/>
        <documentation value="The period covered by the documentation"/>
      </searchParam>
      <searchParam>
        <name value="related-id"/>
        <type value="token"/>
        <documentation value="Target of the relationship"/>
      </searchParam>
      <searchParam>
        <name value="related-ref"/>
        <type value="reference"/>
        <documentation value="Target of the relationship"/>
      </searchParam>
      <searchParam>
        <name value="section"/>
        <type value="token"/>
        <documentation value="Classification of section (recommended)"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <type value="token"/>
        <documentation
                       value="preliminary | final | amended | entered-in-error"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <type value="reference"/>
        <documentation value="Who and/or what the composition is about"/>
      </searchParam>
      <searchParam>
        <name value="title"/>
        <type value="string"/>
        <documentation value="Human Readable name/title"/>
      </searchParam>
      <searchParam>
        <name value="type"/>
        <type value="token"/>
        <documentation value="Kind of composition (LOINC if possible)"/>
      </searchParam>
      <operation>
        <name value="validate"/>
        <definition
                    value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/CompositionDocumentReference-it-validate"/>
      </operation>
    </resource>
    <resource>
      <type value="DocumentReference"/>
      <profile
               value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"/>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="patch"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="create"/>
      </interaction>
      <conditionalCreate value="true"/>
      <conditionalDelete value="multiple"/>
      <searchInclude value="DocumentReference:relatesto"/>
      <searchRevInclude value="Composition:attester"/>
      <searchRevInclude value="Composition:author"/>
      <searchRevInclude value="Composition:encounter"/>
      <searchRevInclude value="Composition:entry"/>
      <searchRevInclude value="Composition:patient"/>
      <searchRevInclude value="Composition:related-ref"/>
      <searchRevInclude value="Composition:subject"/>
      <searchRevInclude value="DocumentReference:authenticator"/>
      <searchRevInclude value="DocumentReference:author"/>
      <searchRevInclude value="DocumentReference:custodian"/>
      <searchRevInclude value="DocumentReference:encounter"/>
      <searchRevInclude value="DocumentReference:patient"/>
      <searchRevInclude value="DocumentReference:related"/>
      <searchRevInclude value="DocumentReference:related-ref"/>
      <searchRevInclude value="DocumentReference:relatesto"/>
      <searchRevInclude value="DocumentReference:subject"/>
      <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="_has"/>
        <type value="string"/>
        <documentation
                       value="Return resources linked to by the given target"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <type value="token"/>
        <documentation value="The ID of the resource"/>
      </searchParam>
      <searchParam>
        <name value="_language"/>
        <type value="string"/>
        <documentation value="The language of the resource"/>
      </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="_profile"/>
        <type value="uri"/>
        <documentation
                       value="Search for resources which have the given profile"/>
      </searchParam>
      <searchParam>
        <name value="_security"/>
        <type value="token"/>
        <documentation
                       value="Search for resources which have the given security labels"/>
      </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="authenticator"/>
        <type value="reference"/>
        <documentation value="Who/what authenticated the document"/>
      </searchParam>
      <searchParam>
        <name value="author"/>
        <type value="reference"/>
        <documentation value="Who and/or what authored the document"/>
      </searchParam>
      <searchParam>
        <name value="class"/>
        <type value="token"/>
        <documentation value="Categorization of document"/>
      </searchParam>
      <searchParam>
        <name value="custodian"/>
        <type value="reference"/>
        <documentation value="Organization which maintains the document"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <type value="date"/>
        <documentation value="Document creation time"/>
      </searchParam>
      <searchParam>
        <name value="description"/>
        <type value="string"/>
        <documentation value="Human-readable description (title)"/>
      </searchParam>
      <searchParam>
        <name value="encounter"/>
        <type value="reference"/>
        <documentation value="Context of the document  content"/>
      </searchParam>
      <searchParam>
        <name value="event"/>
        <type value="token"/>
        <documentation value="Main clinical acts documented"/>
      </searchParam>
      <searchParam>
        <name value="facility"/>
        <type value="token"/>
        <documentation value="Kind of facility where patient was seen"/>
      </searchParam>
      <searchParam>
        <name value="format"/>
        <type value="token"/>
        <documentation value="Format/content rules for the document"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <type value="token"/>
        <documentation value="Master Version Specific Identifier"/>
      </searchParam>
      <searchParam>
        <name value="indexed"/>
        <type value="date"/>
        <documentation value="When this document reference was created"/>
      </searchParam>
      <searchParam>
        <name value="language"/>
        <type value="token"/>
        <documentation value="Human language of the content (BCP-47)"/>
      </searchParam>
      <searchParam>
        <name value="location"/>
        <type value="uri"/>
        <documentation value="Uri where the data can be found"/>
      </searchParam>
      <searchParam>
        <name value="masterIdentifier"/>
        <type value="token"/>
        <documentation value="Master identifier"/>
      </searchParam>
      <searchParam>
        <name value="patient"/>
        <type value="reference"/>
        <documentation value="Who/what is the subject of the document"/>
      </searchParam>
      <searchParam>
        <name value="period"/>
        <type value="date"/>
        <documentation value="Time of service that is being documented"/>
      </searchParam>
      <searchParam>
        <name value="related"/>
        <type value="reference"/>
        <documentation value="Related identifiers or resources"/>
      </searchParam>
      <searchParam>
        <name value="related-id"/>
        <type value="token"/>
        <documentation value="Identifier of related objects or events"/>
      </searchParam>
      <searchParam>
        <name value="related-ref"/>
        <type value="reference"/>
        <documentation value="Related Resource"/>
      </searchParam>
      <searchParam>
        <name value="relatesto"/>
        <type value="reference"/>
        <documentation value="Target of the relationship"/>
      </searchParam>
      <searchParam>
        <name value="relation"/>
        <type value="token"/>
        <documentation value="replaces | transforms | signs | appends"/>
      </searchParam>
      <searchParam>
        <name value="relationship"/>
        <type value="composite"/>
        <documentation value="Combination of relation and relatesTo"/>
      </searchParam>
      <searchParam>
        <name value="securitylabel"/>
        <type value="token"/>
        <documentation value="Document security-tags"/>
      </searchParam>
      <searchParam>
        <name value="setting"/>
        <type value="token"/>
        <documentation
                       value="Additional details about where the content was created (e.g. clinical specialty)"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <type value="token"/>
        <documentation value="current | superseded | entered-in-error"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <type value="reference"/>
        <documentation value="Who/what is the subject of the document"/>
      </searchParam>
      <searchParam>
        <name value="type"/>
        <type value="token"/>
        <documentation value="Kind of document (LOINC if possible)"/>
      </searchParam>
      <operation>
        <name value="validate"/>
        <definition
                    value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/CompositionDocumentReference-it-validate"/>
      </operation>
      <operation>
        <name value="deprecate-document"/>
        <definition
                    value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/DocumentReference-t-deprecate-document"/>
        <documentation
                       value="Deprecates a shared document. The operation takes a documentIdentifier and cpr-number as parameters and finds the DocumentReference with the corresponding masterIdentifier. masterIdentifier should be unique for DocumentReference so if less than 0 or more than 1 are found the operation throws and exception. If the found documentReference has a patient which cpr number matches the provided value the document is deprecated. iti-57 is used to deprecate the document on XDS. On successthe documentReference status is updated to superseded and updated in the database."/>
      </operation>
    </resource>
    <resource>
      <type value="OperationDefinition"/>
      <profile
               value="http://hl7.org/fhir/StructureDefinition/OperationDefinition"/>
      <interaction>
        <code value="read"/>
      </interaction>
      <searchInclude value="*"/>
      <searchRevInclude value="Composition:attester"/>
      <searchRevInclude value="Composition:author"/>
      <searchRevInclude value="Composition:encounter"/>
      <searchRevInclude value="Composition:entry"/>
      <searchRevInclude value="Composition:patient"/>
      <searchRevInclude value="Composition:related-ref"/>
      <searchRevInclude value="Composition:subject"/>
      <searchRevInclude value="DocumentReference:authenticator"/>
      <searchRevInclude value="DocumentReference:author"/>
      <searchRevInclude value="DocumentReference:custodian"/>
      <searchRevInclude value="DocumentReference:encounter"/>
      <searchRevInclude value="DocumentReference:patient"/>
      <searchRevInclude value="DocumentReference:related"/>
      <searchRevInclude value="DocumentReference:related-ref"/>
      <searchRevInclude value="DocumentReference:relatesto"/>
      <searchRevInclude value="DocumentReference:subject"/>
    </resource>
    <interaction>
      <code value="transaction"/>
    </interaction>
    <interaction>
      <code value="history-system"/>
    </interaction>
    <operation>
      <name value="upload-QFDD"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-upload-QFDD"/>
      <documentation
                     value="Uploads an DK-HL7 Questionnaire Form Definition Document (QFDD). The input FHIR DocumentReference must be of type QFDD (74468-0) and the status set to current. Include an attachment which contains the base64 encoded QFDD XML document with contentType application/xml. The QFDD XML document must contain a unique id which is used as the the masterIdentifier in the DocumentReference. The returned FHIR DocumentReference contains a masterIdentifier, a type and the description all pulled from the attachment."/>
    </operation>
    <operation>
      <name value="transform-to-QRD"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-to-QRD"/>
      <documentation
                     value="Transforms a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource to a DK-HL7 Questionnaire Response Document (QRD) XML document. The input FHIR Bundle contains FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse resource. a FHIR Questionnaire resource. The bundle must also contain a FHIR DocumentReference containing a QFDD xml file (base64 encoded)The returned FHIR DocumentReference contains the QRD XML document adhering to the DK-HL7 Questionnaire Response Document profile."/>
    </operation>
    <operation>
      <name value="transform-to-QFDD"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-to-QFDD"/>
      <documentation
                     value="Transforms an eHealth Questionnaire resource to the DK-HL7 Questionnaire Form Definition Document (QFDD). The input Bundle contains an eHealth Questionnaire and Composition resource which reference the returned eHealth Questionnaire. The returned Bundle in case of no validation errors contains the FHIR DocumentReference containing the QFDD XML for the DK-HL7 Questionnaire Form Definition Document and an OperationOutcome will possible warnings. In case of validation errors the Bundle will only contain an OperationOutcome with the validation errors/warnings."/>
    </operation>
    <operation>
      <name value="transform-to-PHMR"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-to-PHMR"/>
      <documentation
                     value="Transforms a FHIR Observation (ehealth-observation profile) resource to a DK-HL7 Personal Health Monitoring Report (PHMR) XML document. The input FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing one or more FHIR Observation (ehealth-observation profile) resources and referenced resources such as FHIR Organization. The returned FHIR DocumentReference contains the PHMR XML document adhering to the DK-HL7 Personal Health Monitoring Report profile."/>
    </operation>
    <operation>
      <name value="transform-to-APD"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-to-APD"/>
      <documentation
                     value="Transforms a FHIR Appointment (ehealth-appointment profile) resource to a DK-HL7 Appointment Document (APD) XML document. The input FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR Appointment (ehealth-appointment profile) resource and referenced resources such as FHIR Organization. The returned FHIR DocumentReference contains the APD XML document adhering to the DK-HL7 Appointment Document profile."/>
    </operation>
    <operation>
      <name value="transform-from-QRD-based-on-questionnaire"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-from-QRD-based-on-questionnaire"/>
      <documentation
                     value="Transforms a DK-HL7 Questionnaire Response Document (QRD) XML document to a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource. The input bundle must contain the QRD XML document adhering to the DK-HL7 Questionnaire Response Document profile. And a FHIR Questionnaire resource. The returned FHIR Bundle contains FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse (ehealth-documentreference profile) resource."/>
    </operation>
    <operation>
      <name value="transform-from-QRD"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-from-QRD"/>
      <documentation
                     value="Transforms a DK-HL7 Questionnaire Response Document (QRD) XML document to a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource. The input FHIR DocumentReference contains the QRD XML document adhering to the DK-HL7 Questionnaire Response Document profile. The returned FHIR Bundle contains FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse (ehealth-documentreference profile) resource."/>
    </operation>
    <operation>
      <name value="transform-from-QFDD"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-from-QFDD"/>
      <documentation
                     value="Transforms the DK-HL7 Questionnaire Form Definition Document (QFDD) to an eHealth Questionnaire resource. The input FHIR DocumentReference contains QFDD XML for the DK-HL7 Questionnaire Form Definition Document. The returned Bundle contains the eHealth Questionnaire and Composition resource which reference the returned eHealth Questionnaire."/>
    </operation>
    <operation>
      <name value="transform-from-PHMR"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-from-PHMR"/>
      <documentation
                     value="Transforms a DK-HL7 Personal Health Monitoring Report (PHMR) XML document to FHIR Observation (ehealth-observation profile) resource. The input FHIR DocumentReference contains the PHMR XML document adhering to the DK-HL7 Personal Health Monitoring Report profile The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing.one or more FHIR Observation (ehealth-observation profile) resources and referenced resources such as FHIR Organization."/>
    </operation>
    <operation>
      <name value="transform-from-APD"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-transform-from-APD"/>
      <documentation
                     value="Transforms a DK-HL7 Appointment Document (APD) XML document to a FHIR Appointment (ehealth-appointment profile) resource. The input FHIR DocumentReference (ehealth-documentreference profile) contains the APD XML document. The caller must ensure that the APD XML document is valid and adheres to the DK-HL7 Appointment Document profile. The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR Appointment (ehealth-appointment profile) resource."/>
    </operation>
    <operation>
      <name value="perform-reindexing-pass"/>
      <definition
                  value="https://document-transformation.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://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta"/>
    </operation>
    <operation>
      <name value="get-resource-counts"/>
      <definition
                  value="https://document-transformation.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>
    <operation>
      <name value="reindex-terminology"/>
      <definition
                  value="https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology"/>
    </operation>
  </rest>
</CapabilityStatement>