eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 8.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions
| Active as of 2026-01-13 |
<CapabilityStatement xmlns="http://hl7.org/fhir">
<id value="plan"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CapabilityStatement plan</b></p><a name="plan"> </a><a name="hcplan"> </a><h2 id="title"/><ul><li>Implementation Guide Version: 8.0.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>Published on: 2026-01-13 11:12:47+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><p>This CapabilityStatement instantiates the CapabilityStatement <code>http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data</code></p><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>$reindex</td><td><div/></td></tr><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>$export-poll-status</td><td><div><p>Operation for polling the status of a previously initiated FHIR Bulk Data System Level Export. A complete URL including the '_jobId' is returned in the 'Content-Location' response header when initiating the export. A 'GET' request to the polling location will return '202 Accepted' with a response header 'X-Progress' containing a status message for the progress of the export job. When the job has finished, the polling location will return '200 OK', and the contents of the body will be a JSON object providing metadata and links to the generated bulk data files. A 'DELETE' request can be used to cancel the export. If the export has already finished, the delete will return '404 Not Found', else the export job will be cancelled and a '202 Accepted' is returned with an operation outcome response.</p>
<h3>Parameters</h3>
<ul>
<li>_jobId: the job ID for the Bulk Export job which was returned in the 'Content-Location' header when initiating the export</li>
</ul>
</div></td></tr><tr><td><b>SHALL</b></td><td>$export</td><td><div><p>FHIR Operation to initiate an export of data from a FHIR server. The type of resources returned can be restricted using the '_type' parameter, and the '_since' parameter can be used to restrict resources to be only included if changed since the supplied time. The FHIR server support invocation of this operation using the <a href="http://hl7.org/fhir/R4/async.html">FHIR Asynchronous Request Pattern</a>.</p>
<h2>Initiation of export</h2>
<p>The initiation of an export must specify the request header 'Prefer: respond-async', and will return '202 Accepted' with a polling location in the response header 'Content-Location'. The polling location is for the endpoint '$export-poll-status' and has the export job ID as parameter '_jobId'.</p>
<h3>Parameters</h3>
<ul>
<li>_outputFormat: Optional parameter to specify the output format of the exported files. Default is 'application/fhir+ndjson'</li>
<li>_type: Optional parameter to specify a comma separated list of resource types to be included in the export. If not provided, all resource types will be included.</li>
<li>_since: Optional parameter to specify a time. Only resources that have been created or modified after this time will be included in the export (i.e., if Resource.meta.lastUpdated is later than the supplied _since time).</li>
<li>_typeFilter: Optional parameter to apply search filter of resources for export. It is a string of comma-delimited FHIR REST search queries in the format [resourceType]?[parameters]. The filter will be applied when searching resources.</li>
<li>_typePostFetchFilterUrl: Optional parameter to apply filtering of resources for export. It is a string of comma-delimited FHIR REST search queries in the format [resourceType]?[parameters]. The filter will be applied on resources after being fetched from the database.</li>
<li>_exportId: Optional parameter to specify a client provided identifier for the export. Resulting exported files (Binary) will be labeled with the identifer in meta extension 'https://hapifhir.org/NamingSystem/bulk-export-identifier'</li>
</ul>
<h2>Polling status of export</h2>
<p>Subsequent GET requests to the polling location will return '202 Accepted' with a response header 'X-Progress' containing a status message for the progress of the export job. When the job has finished, the polling location will return '200 OK', and the contents of the body will be a JSON object providing metadata and links to the generated bulk export data files.</p>
<h2>Retrieving exported files</h2>
<p>The JSON object returned when the export job is complete will contain a list of files (Binary resources) available for download. Each file can be retrieved using a standard HTTP GET request to the provided URL. The security context of the Binary resources resulting from the export is the user that initiated the export. The files can therefore only be retrieved by the same user.</p>
<h3>Retention of exported files</h3>
<p>The exported files are retained for a limited time after which they are deleted. The retention time is a server configuration with default 2 hours.</p>
</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><tr><td><b>SHALL</b></td><td>$expunge</td><td><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="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="#ActivityDefinition1-1">ActivityDefinition</a></td><td><a href="StructureDefinition-ehealth-activitydefinition.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition</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>_content, _has, _id, _language, _lastUpdated, _profile, _security, _source, _tag, _text, base, baseEnvironment, composed-of, context, context-quantity, context-type, context-type-value, date, depends-on, derived-from, description, effective, ehealthPredecessor, employeeTitle, identifier, intendedAudience, jurisdiction, modifier_role_reference, modifier_role_role, name, predecessor, publisher, recommendation, status, successor, title, topic, url, version</td><td><code>ActivityDefinition:composed-of</code>, <code>ActivityDefinition:depends-on</code>, <code>ActivityDefinition:derived-from</code>, <code>ActivityDefinition:predecessor</code>, <code>ActivityDefinition:successor</code></td><td><code>ActivityDefinition:composed-of</code>, <code>ActivityDefinition:depends-on</code>, <code>ActivityDefinition:derived-from</code>, <code>ActivityDefinition:intendedAudience</code>, <code>ActivityDefinition:modifier_role_reference</code>, <code>ActivityDefinition:predecessor</code>, <code>ActivityDefinition:successor</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:intendedOrganization</code>, <code>DocumentReference:modifier_role_reference</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code>, <code>PlanDefinition:composed-of</code>, <code>PlanDefinition:definition</code>, <code>PlanDefinition:depends-on</code>, <code>PlanDefinition:derived-from</code>, <code>PlanDefinition:documentation</code>, <code>PlanDefinition:intendedAudience</code>, <code>PlanDefinition:modifier_role_reference</code>, <code>PlanDefinition:predecessor</code>, <code>PlanDefinition:successor</code></td><td><code>$validate</code>, <code>$create-clone</code></td></tr><tr><td><a href="#Binary1-2">Binary</a></td><td><a href="http://hl7.org/fhir/R4/binary.html">http://hl7.org/fhir/StructureDefinition/Binary</a></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/><td><code>*</code></td><td><code>ActivityDefinition:composed-of</code>, <code>ActivityDefinition:depends-on</code>, <code>ActivityDefinition:derived-from</code>, <code>ActivityDefinition:intendedAudience</code>, <code>ActivityDefinition:modifier_role_reference</code>, <code>ActivityDefinition:predecessor</code>, <code>ActivityDefinition:successor</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:intendedOrganization</code>, <code>DocumentReference:modifier_role_reference</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code>, <code>PlanDefinition:composed-of</code>, <code>PlanDefinition:definition</code>, <code>PlanDefinition:depends-on</code>, <code>PlanDefinition:derived-from</code>, <code>PlanDefinition:documentation</code>, <code>PlanDefinition:intendedAudience</code>, <code>PlanDefinition:modifier_role_reference</code>, <code>PlanDefinition:predecessor</code>, <code>PlanDefinition:successor</code></td><td/></tr><tr><td><a href="#DocumentReference1-3">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">y</td><td class="text-center">y</td><td>_content, _filter, _has, _id, _language, _lastUpdated, _profile, _security, _source, _tag, _text, authenticator, author, category, contenttype, custodian, date, description, encounter, event, facility, format, identifier, intendedOrganization, language, location, modifier_role_reference, modifier_role_role, patient, period, related, relatesto, relation, relationship, security-label, setting, status, subject, type, use-context-context, use-context-context-type, use-context-context-type-value</td><td><code>*</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:intendedOrganization</code>, <code>DocumentReference:modifier_role_reference</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code></td><td><code>ActivityDefinition:composed-of</code>, <code>ActivityDefinition:depends-on</code>, <code>ActivityDefinition:derived-from</code>, <code>ActivityDefinition:intendedAudience</code>, <code>ActivityDefinition:modifier_role_reference</code>, <code>ActivityDefinition:predecessor</code>, <code>ActivityDefinition:successor</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:intendedOrganization</code>, <code>DocumentReference:modifier_role_reference</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code>, <code>PlanDefinition:composed-of</code>, <code>PlanDefinition:definition</code>, <code>PlanDefinition:depends-on</code>, <code>PlanDefinition:derived-from</code>, <code>PlanDefinition:documentation</code>, <code>PlanDefinition:intendedAudience</code>, <code>PlanDefinition:modifier_role_reference</code>, <code>PlanDefinition:predecessor</code>, <code>PlanDefinition:successor</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/><td><code>*</code></td><td><code>ActivityDefinition:composed-of</code>, <code>ActivityDefinition:depends-on</code>, <code>ActivityDefinition:derived-from</code>, <code>ActivityDefinition:intendedAudience</code>, <code>ActivityDefinition:modifier_role_reference</code>, <code>ActivityDefinition:predecessor</code>, <code>ActivityDefinition:successor</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:intendedOrganization</code>, <code>DocumentReference:modifier_role_reference</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code>, <code>PlanDefinition:composed-of</code>, <code>PlanDefinition:definition</code>, <code>PlanDefinition:depends-on</code>, <code>PlanDefinition:derived-from</code>, <code>PlanDefinition:documentation</code>, <code>PlanDefinition:intendedAudience</code>, <code>PlanDefinition:modifier_role_reference</code>, <code>PlanDefinition:predecessor</code>, <code>PlanDefinition:successor</code></td><td/></tr><tr><td><a href="#PlanDefinition1-5">PlanDefinition</a></td><td><a href="StructureDefinition-ehealth-plandefinition.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition</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>_content, _has, _id, _language, _lastUpdated, _profile, _security, _source, _tag, _text, base, baseEnvironment, composed-of, context, context-quantity, context-type, context-type-value, date, definition, depends-on, derived-from, description, documentation, effective, ehealthPredecessor, employeeTitle, identifier, intendedAudience, jurisdiction, modifier_role_reference, modifier_role_role, name, predecessor, publisher, recommendation, status, successor, title, topic, type, url, version</td><td><code>*</code>, <code>PlanDefinition:composed-of</code>, <code>PlanDefinition:definition</code>, <code>PlanDefinition:depends-on</code>, <code>PlanDefinition:derived-from</code>, <code>PlanDefinition:documentation</code>, <code>PlanDefinition:predecessor</code>, <code>PlanDefinition:successor</code></td><td><code>ActivityDefinition:composed-of</code>, <code>ActivityDefinition:depends-on</code>, <code>ActivityDefinition:derived-from</code>, <code>ActivityDefinition:intendedAudience</code>, <code>ActivityDefinition:modifier_role_reference</code>, <code>ActivityDefinition:predecessor</code>, <code>ActivityDefinition:successor</code>, <code>DocumentReference:authenticator</code>, <code>DocumentReference:author</code>, <code>DocumentReference:custodian</code>, <code>DocumentReference:encounter</code>, <code>DocumentReference:intendedOrganization</code>, <code>DocumentReference:modifier_role_reference</code>, <code>DocumentReference:patient</code>, <code>DocumentReference:related</code>, <code>DocumentReference:relatesto</code>, <code>DocumentReference:subject</code>, <code>PlanDefinition:composed-of</code>, <code>PlanDefinition:definition</code>, <code>PlanDefinition:depends-on</code>, <code>PlanDefinition:derived-from</code>, <code>PlanDefinition:documentation</code>, <code>PlanDefinition:intendedAudience</code>, <code>PlanDefinition:modifier_role_reference</code>, <code>PlanDefinition:predecessor</code>, <code>PlanDefinition:successor</code></td><td><code>$validate</code>, <code>$import</code>, <code>$export</code>, <code>$create-clone</code>, <code>$apply</code></td></tr></tbody></table></div><hr/><div class="panel panel-default"><div class="panel-heading"><h4 id="ActivityDefinition1-1" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>ActivityDefinition</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-activitydefinition.html">ehealth-activitydefinition</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>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>_source</td><td><code>uri</code></td><td><div><p>Search for resources which have the given source value (Resource.meta.source)</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>base</td><td><code>token</code></td><td><div><p>Base of resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>baseEnvironment</td><td><code>token</code></td><td><div><p>Base Environment of resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>composed-of</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context</td><td><code>token</code></td><td><div><p>A use context assigned to the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context-quantity</td><td><code>quantity</code></td><td><div><p>A quantity- or range-valued use context assigned to the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context-type</td><td><code>token</code></td><td><div><p>A type of use context assigned to the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context-type-value</td><td><code>composite</code></td><td><div><p>A use context type and value assigned to the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>date</td><td><code>date</code></td><td><div><p>The activity definition publication date</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>depends-on</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>derived-from</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>description</td><td><code>string</code></td><td><div><p>The description of the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>effective</td><td><code>date</code></td><td><div><p>The time during which the activity definition is intended to be in use</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>ehealthPredecessor</td><td><code>token</code></td><td><div><p>Predecessor of resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>employeeTitle</td><td><code>string</code></td><td><div><p>Title intented for clinicians</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>External identifier for the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>intendedAudience</td><td><code>reference</code></td><td><div><p>The intended audience of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>jurisdiction</td><td><code>token</code></td><td><div><p>Intended jurisdiction for the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>modifier_role_reference</td><td><code>reference</code></td><td><div><p>Reference to either Organization, CareTeam, Practitioner</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>modifier_role_role</td><td><code>token</code></td><td><div><p>Role of Organization, CareTeam, Practitioner</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>name</td><td><code>string</code></td><td><div><p>Computationally friendly name of the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>predecessor</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>publisher</td><td><code>string</code></td><td><div><p>Name of the publisher of the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>recommendation</td><td><code>token</code></td><td><div><p>Recommendation for the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>The current status of the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>successor</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>title</td><td><code>string</code></td><td><div><p>The human-friendly name of the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>topic</td><td><code>token</code></td><td><div><p>Topics associated with the module</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>url</td><td><code>uri</code></td><td><div><p>The uri that identifies the activity definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>version</td><td><code>token</code></td><td><div><p>The business version of the activity definition</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>$create-clone</td><td><div><h3>Input</h3>
<ul>
<li>resourceId: reference to the ActivityDefinition resource that should be cloned</li>
<li>clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation</li>
<li>default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned</li>
<li>deep-clone-references: References to resources to create as new resources rather than referencing the existing ones.</li>
</ul>
<h3>Output</h3>
<p>Bundle containing all resources that were created during the operation.</p>
<h3>Validation</h3>
<ul>
<li>New business versions require that the user has modifier-role: owner or co-author for the resource</li>
<li>New copy does not require that the user has a modifier-role.</li>
<li>New business version can be made only when no draft resource exists (having identical base identifier).</li>
<li>Read/search/create privileges are required for the resource types affected by $create-clone</li>
</ul>
</div></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Binary1-2" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Binary</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/binary.html">Binary</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>vread</code>, <code>read</code>.</li></ul></div></div><p/></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="DocumentReference1-3" 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>update</code>, <code>search-type</code>, <code>vread</code>, <code>read</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>_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>_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>_source</td><td><code>uri</code></td><td><div><p>Search for resources which have the given source value (Resource.meta.source)</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>category</td><td><code>token</code></td><td><div><p>Categorization of document</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>contenttype</td><td><code>token</code></td><td><div><p>Mime type of the content, with charset etc.</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>When this document reference was created</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>description</td><td><code>string</code></td><td><div><p>Human-readable description</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>intendedOrganization</td><td><code>reference</code></td><td><div><p>The Organization which is intended to use the DocumentReference</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>modifier_role_reference</td><td><code>reference</code></td><td><div><p>Reference to modifier Organization</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>modifier_role_role</td><td><code>token</code></td><td><div><p>Role of Organization related to modification of the DocumentReference</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>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>security-label</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><tr><td><b>SHALL</b></td><td>use-context-context</td><td><code>token</code></td><td><div><p>A use context assigned to the DocumentReference</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>use-context-context-type</td><td><code>token</code></td><td><div><p>A type of use context assigned to the DocumentReference</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>use-context-context-type-value</td><td><code>composite</code></td><td><div><p>A use context type and value assigned to the DocumentReference</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="PlanDefinition1-5" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>PlanDefinition</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-plandefinition.html">ehealth-plandefinition</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>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>_source</td><td><code>uri</code></td><td><div><p>Search for resources which have the given source value (Resource.meta.source)</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>base</td><td><code>token</code></td><td><div><p>Base of resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>baseEnvironment</td><td><code>token</code></td><td><div><p>Base Environment of resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>composed-of</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context</td><td><code>token</code></td><td><div><p>A use context assigned to the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context-quantity</td><td><code>quantity</code></td><td><div><p>A quantity- or range-valued use context assigned to the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context-type</td><td><code>token</code></td><td><div><p>A type of use context assigned to the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>context-type-value</td><td><code>composite</code></td><td><div><p>A use context type and value assigned to the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>date</td><td><code>date</code></td><td><div><p>The plan definition publication date</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>definition</td><td><code>reference</code></td><td><div><p>Activity or plan definitions used by plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>depends-on</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>derived-from</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>description</td><td><code>string</code></td><td><div><p>The description of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>documentation</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>effective</td><td><code>date</code></td><td><div><p>The time during which the plan definition is intended to be in use</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>ehealthPredecessor</td><td><code>token</code></td><td><div><p>Predecessor of resource</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>employeeTitle</td><td><code>string</code></td><td><div><p>Title intented for clinicians</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>External identifier for the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>intendedAudience</td><td><code>reference</code></td><td><div><p>The intended audience of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>jurisdiction</td><td><code>token</code></td><td><div><p>Intended jurisdiction for the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>modifier_role_reference</td><td><code>reference</code></td><td><div><p>Reference to either Organization, CareTeam, Practitioner</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>modifier_role_role</td><td><code>token</code></td><td><div><p>Role of Organization, CareTeam, Practitioner</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>name</td><td><code>string</code></td><td><div><p>Computationally friendly name of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>predecessor</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>publisher</td><td><code>string</code></td><td><div><p>Name of the publisher of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>recommendation</td><td><code>token</code></td><td><div><p>Recommendation for the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>The current status of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>successor</td><td><code>reference</code></td><td><div><p>What resource is being referenced</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>title</td><td><code>string</code></td><td><div><p>The human-friendly name of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>topic</td><td><code>token</code></td><td><div><p>Topics associated with the module</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>type</td><td><code>token</code></td><td><div><p>The type of artifact the plan (e.g. order-set, eca-rule, protocol)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>url</td><td><code>uri</code></td><td><div><p>The uri that identifies the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>version</td><td><code>token</code></td><td><div><p>The business version of the plan definition</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>$import</td><td><div><p>Import a Plandefinition</p>
<h3>Parameters</h3>
<ul>
<li>planDefinitionPackage: Binary package produced by the export operation</li>
</ul>
<h3>Output</h3>
<p>Bundle containing the created resources. PlanDefinitions, ActivityDefinitions, and Questionnaires will be created. Imports QFFD DocumentReference into Document-Transformation service.Libraries and Organizations are used to find the corresponding resources on the target system.</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$export</td><td><div><p>Export a PlanDefinition.</p>
<h3>Export Contents</h3>
<p>The export contains the PlanDefinition including referenced resources:- PlanDefinitions</p>
<ul>
<li>ActivityDefinitions</li>
<li>Questionnaires</li>
<li>Libraries</li>
<li>Organizations</li>
<li>DocumentReference + QFDD</li>
</ul>
<p>Each resource is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>exclude: references to ActivityDefinitions or PlanDefinitions to exclude from the export.</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files.
All returned objects are Fhir resources. See the implementation guide for details</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$create-clone</td><td><div><h3>Input</h3>
<ul>
<li>resourceId: reference to the PlanDefinition resource that should be cloned</li>
<li>clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation</li>
<li>default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned</li>
<li>deep-clone-references: References to resources to create as new resources rather than referencing the existing ones.</li>
</ul>
<h3>Output</h3>
<p>Bundle containing all resources that were created during the operation.</p>
<h3>Validation</h3>
<ul>
<li>New business versions require that the user has modifier-role: owner or co-author for the resource</li>
<li>New copy does not require that the user has a modifier-role.</li>
<li>New business version can be made only when no draft resource exists (having identical base identifier).</li>
<li>Read/search/create privileges are required for the resource types affected by $create-clone</li>
</ul>
</div></td></tr><tr><td><b>SHALL</b></td><td>$apply</td><td><div><p>Create a careplan with service requests for a specific episodeOfCare using the PlanDefinition as a template.</p>
<h3>HTTP Methods</h3>
<ul>
<li>If using POST the operation will persist resources and return the careplan.</li>
<li>If using GET the operation will return transient resources in a transaction bundle. The bundle with transient careplan and servicerequest resources can then be modified before being persisted using a FHIR transaction.</li>
</ul>
<h3>Parameters</h3>
<ul>
<li>episodeOfCare: Reference(EpisodeOfCare) - The episode of care for which the plan is being applied.</li>
</ul>
<h3>Output</h3>
<p>CarePlan or Bundle of transient CarePlan and ServiceRequest resources.</p>
</div></td></tr></tbody></table></div></div></div></div></div></div>
</text>
<url value="http://ehealth.sundhed.dk/fhir/CapabilityStatement/plan"/>
<version value="8.0.0"/>
<name value="plan"/>
<status value="active"/>
<date value="2026-01-13T11:12:47.537+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"/>
<instantiates
value="http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data"/>
<software>
<name value="plan"/>
<version value="2.16.0"/>
</software>
<implementation>
<description value="eHealth plan service"/>
<url value="https://plan.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="ActivityDefinition"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition"/>
<interaction>
<code value="update"/>
</interaction>
<interaction>
<code value="search-type"/>
</interaction>
<interaction>
<code value="vread"/>
</interaction>
<interaction>
<code value="read"/>
</interaction>
<interaction>
<code value="create"/>
</interaction>
<conditionalCreate value="true"/>
<conditionalUpdate value="true"/>
<searchInclude value="ActivityDefinition:composed-of"/>
<searchInclude value="ActivityDefinition:depends-on"/>
<searchInclude value="ActivityDefinition:derived-from"/>
<searchInclude value="ActivityDefinition:predecessor"/>
<searchInclude value="ActivityDefinition:successor"/>
<searchRevInclude value="ActivityDefinition:composed-of"/>
<searchRevInclude value="ActivityDefinition:depends-on"/>
<searchRevInclude value="ActivityDefinition:derived-from"/>
<searchRevInclude value="ActivityDefinition:intendedAudience"/>
<searchRevInclude value="ActivityDefinition:modifier_role_reference"/>
<searchRevInclude value="ActivityDefinition:predecessor"/>
<searchRevInclude value="ActivityDefinition:successor"/>
<searchRevInclude value="DocumentReference:authenticator"/>
<searchRevInclude value="DocumentReference:author"/>
<searchRevInclude value="DocumentReference:custodian"/>
<searchRevInclude value="DocumentReference:encounter"/>
<searchRevInclude value="DocumentReference:intendedOrganization"/>
<searchRevInclude value="DocumentReference:modifier_role_reference"/>
<searchRevInclude value="DocumentReference:patient"/>
<searchRevInclude value="DocumentReference:related"/>
<searchRevInclude value="DocumentReference:relatesto"/>
<searchRevInclude value="DocumentReference:subject"/>
<searchRevInclude value="PlanDefinition:composed-of"/>
<searchRevInclude value="PlanDefinition:definition"/>
<searchRevInclude value="PlanDefinition:depends-on"/>
<searchRevInclude value="PlanDefinition:derived-from"/>
<searchRevInclude value="PlanDefinition:documentation"/>
<searchRevInclude value="PlanDefinition:intendedAudience"/>
<searchRevInclude value="PlanDefinition:modifier_role_reference"/>
<searchRevInclude value="PlanDefinition:predecessor"/>
<searchRevInclude value="PlanDefinition:successor"/>
<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="_source"/>
<type value="uri"/>
<documentation
value="Search for resources which have the given source value (Resource.meta.source)"/>
</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="base"/>
<type value="token"/>
<documentation value="Base of resource"/>
</searchParam>
<searchParam>
<name value="baseEnvironment"/>
<type value="token"/>
<documentation value="Base Environment of resource"/>
</searchParam>
<searchParam>
<name value="composed-of"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="context"/>
<type value="token"/>
<documentation
value="A use context assigned to the activity definition"/>
</searchParam>
<searchParam>
<name value="context-quantity"/>
<type value="quantity"/>
<documentation
value="A quantity- or range-valued use context assigned to the activity definition"/>
</searchParam>
<searchParam>
<name value="context-type"/>
<type value="token"/>
<documentation
value="A type of use context assigned to the activity definition"/>
</searchParam>
<searchParam>
<name value="context-type-value"/>
<type value="composite"/>
<documentation
value="A use context type and value assigned to the activity definition"/>
</searchParam>
<searchParam>
<name value="date"/>
<type value="date"/>
<documentation value="The activity definition publication date"/>
</searchParam>
<searchParam>
<name value="depends-on"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="derived-from"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="description"/>
<type value="string"/>
<documentation value="The description of the activity definition"/>
</searchParam>
<searchParam>
<name value="effective"/>
<type value="date"/>
<documentation
value="The time during which the activity definition is intended to be in use"/>
</searchParam>
<searchParam>
<name value="ehealthPredecessor"/>
<type value="token"/>
<documentation value="Predecessor of resource"/>
</searchParam>
<searchParam>
<name value="employeeTitle"/>
<type value="string"/>
<documentation value="Title intented for clinicians"/>
</searchParam>
<searchParam>
<name value="identifier"/>
<type value="token"/>
<documentation
value="External identifier for the activity definition"/>
</searchParam>
<searchParam>
<name value="intendedAudience"/>
<type value="reference"/>
<documentation value="The intended audience of the plan definition"/>
</searchParam>
<searchParam>
<name value="jurisdiction"/>
<type value="token"/>
<documentation
value="Intended jurisdiction for the activity definition"/>
</searchParam>
<searchParam>
<name value="modifier_role_reference"/>
<type value="reference"/>
<documentation
value="Reference to either Organization, CareTeam, Practitioner"/>
</searchParam>
<searchParam>
<name value="modifier_role_role"/>
<type value="token"/>
<documentation value="Role of Organization, CareTeam, Practitioner"/>
</searchParam>
<searchParam>
<name value="name"/>
<type value="string"/>
<documentation
value="Computationally friendly name of the activity definition"/>
</searchParam>
<searchParam>
<name value="predecessor"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="publisher"/>
<type value="string"/>
<documentation
value="Name of the publisher of the activity definition"/>
</searchParam>
<searchParam>
<name value="recommendation"/>
<type value="token"/>
<documentation value="Recommendation for the plan definition"/>
</searchParam>
<searchParam>
<name value="status"/>
<type value="token"/>
<documentation value="The current status of the activity definition"/>
</searchParam>
<searchParam>
<name value="successor"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="title"/>
<type value="string"/>
<documentation
value="The human-friendly name of the activity definition"/>
</searchParam>
<searchParam>
<name value="topic"/>
<type value="token"/>
<documentation value="Topics associated with the module"/>
</searchParam>
<searchParam>
<name value="url"/>
<type value="uri"/>
<documentation
value="The uri that identifies the activity definition"/>
</searchParam>
<searchParam>
<name value="version"/>
<type value="token"/>
<documentation
value="The business version of the activity definition"/>
</searchParam>
<operation>
<name value="validate"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"/>
</operation>
<operation>
<name value="create-clone"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone"/>
<documentation
value="### Input
- resourceId: reference to the ActivityDefinition resource that should be cloned
- clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation
- default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned
- deep-clone-references: References to resources to create as new resources rather than referencing the existing ones.
### Output
Bundle containing all resources that were created during the operation.
### Validation
- New business versions require that the user has modifier-role: owner or co-author for the resource
- New copy does not require that the user has a modifier-role.
- New business version can be made only when no draft resource exists (having identical base identifier).
- Read/search/create privileges are required for the resource types affected by $create-clone"/>
</operation>
</resource>
<resource>
<type value="Binary"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Binary"/>
<interaction>
<code value="vread"/>
</interaction>
<interaction>
<code value="read"/>
</interaction>
<searchInclude value="*"/>
<searchRevInclude value="ActivityDefinition:composed-of"/>
<searchRevInclude value="ActivityDefinition:depends-on"/>
<searchRevInclude value="ActivityDefinition:derived-from"/>
<searchRevInclude value="ActivityDefinition:intendedAudience"/>
<searchRevInclude value="ActivityDefinition:modifier_role_reference"/>
<searchRevInclude value="ActivityDefinition:predecessor"/>
<searchRevInclude value="ActivityDefinition:successor"/>
<searchRevInclude value="DocumentReference:authenticator"/>
<searchRevInclude value="DocumentReference:author"/>
<searchRevInclude value="DocumentReference:custodian"/>
<searchRevInclude value="DocumentReference:encounter"/>
<searchRevInclude value="DocumentReference:intendedOrganization"/>
<searchRevInclude value="DocumentReference:modifier_role_reference"/>
<searchRevInclude value="DocumentReference:patient"/>
<searchRevInclude value="DocumentReference:related"/>
<searchRevInclude value="DocumentReference:relatesto"/>
<searchRevInclude value="DocumentReference:subject"/>
<searchRevInclude value="PlanDefinition:composed-of"/>
<searchRevInclude value="PlanDefinition:definition"/>
<searchRevInclude value="PlanDefinition:depends-on"/>
<searchRevInclude value="PlanDefinition:derived-from"/>
<searchRevInclude value="PlanDefinition:documentation"/>
<searchRevInclude value="PlanDefinition:intendedAudience"/>
<searchRevInclude value="PlanDefinition:modifier_role_reference"/>
<searchRevInclude value="PlanDefinition:predecessor"/>
<searchRevInclude value="PlanDefinition:successor"/>
</resource>
<resource>
<type value="DocumentReference"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"/>
<interaction>
<code value="update"/>
</interaction>
<interaction>
<code value="search-type"/>
</interaction>
<interaction>
<code value="vread"/>
</interaction>
<interaction>
<code value="read"/>
</interaction>
<interaction>
<code value="create"/>
</interaction>
<conditionalCreate value="true"/>
<conditionalUpdate value="true"/>
<searchInclude value="*"/>
<searchInclude value="DocumentReference:authenticator"/>
<searchInclude value="DocumentReference:author"/>
<searchInclude value="DocumentReference:custodian"/>
<searchInclude value="DocumentReference:encounter"/>
<searchInclude value="DocumentReference:intendedOrganization"/>
<searchInclude value="DocumentReference:modifier_role_reference"/>
<searchInclude value="DocumentReference:patient"/>
<searchInclude value="DocumentReference:related"/>
<searchInclude value="DocumentReference:relatesto"/>
<searchInclude value="DocumentReference:subject"/>
<searchRevInclude value="ActivityDefinition:composed-of"/>
<searchRevInclude value="ActivityDefinition:depends-on"/>
<searchRevInclude value="ActivityDefinition:derived-from"/>
<searchRevInclude value="ActivityDefinition:intendedAudience"/>
<searchRevInclude value="ActivityDefinition:modifier_role_reference"/>
<searchRevInclude value="ActivityDefinition:predecessor"/>
<searchRevInclude value="ActivityDefinition:successor"/>
<searchRevInclude value="DocumentReference:authenticator"/>
<searchRevInclude value="DocumentReference:author"/>
<searchRevInclude value="DocumentReference:custodian"/>
<searchRevInclude value="DocumentReference:encounter"/>
<searchRevInclude value="DocumentReference:intendedOrganization"/>
<searchRevInclude value="DocumentReference:modifier_role_reference"/>
<searchRevInclude value="DocumentReference:patient"/>
<searchRevInclude value="DocumentReference:related"/>
<searchRevInclude value="DocumentReference:relatesto"/>
<searchRevInclude value="DocumentReference:subject"/>
<searchRevInclude value="PlanDefinition:composed-of"/>
<searchRevInclude value="PlanDefinition:definition"/>
<searchRevInclude value="PlanDefinition:depends-on"/>
<searchRevInclude value="PlanDefinition:derived-from"/>
<searchRevInclude value="PlanDefinition:documentation"/>
<searchRevInclude value="PlanDefinition:intendedAudience"/>
<searchRevInclude value="PlanDefinition:modifier_role_reference"/>
<searchRevInclude value="PlanDefinition:predecessor"/>
<searchRevInclude value="PlanDefinition:successor"/>
<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="_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="_source"/>
<type value="uri"/>
<documentation
value="Search for resources which have the given source value (Resource.meta.source)"/>
</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="category"/>
<type value="token"/>
<documentation value="Categorization of document"/>
</searchParam>
<searchParam>
<name value="contenttype"/>
<type value="token"/>
<documentation value="Mime type of the content, with charset etc."/>
</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="When this document reference was created"/>
</searchParam>
<searchParam>
<name value="description"/>
<type value="string"/>
<documentation value="Human-readable description"/>
</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="intendedOrganization"/>
<type value="reference"/>
<documentation
value="The Organization which is intended to use the DocumentReference"/>
</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="modifier_role_reference"/>
<type value="reference"/>
<documentation value="Reference to modifier Organization"/>
</searchParam>
<searchParam>
<name value="modifier_role_role"/>
<type value="token"/>
<documentation
value="Role of Organization related to modification of the DocumentReference"/>
</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="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="security-label"/>
<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>
<searchParam>
<name value="use-context-context"/>
<type value="token"/>
<documentation
value="A use context assigned to the DocumentReference"/>
</searchParam>
<searchParam>
<name value="use-context-context-type"/>
<type value="token"/>
<documentation
value="A type of use context assigned to the DocumentReference"/>
</searchParam>
<searchParam>
<name value="use-context-context-type-value"/>
<type value="composite"/>
<documentation
value="A use context type and value assigned to the DocumentReference"/>
</searchParam>
<operation>
<name value="validate"/>
<definition
value="https://plan.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="ActivityDefinition:composed-of"/>
<searchRevInclude value="ActivityDefinition:depends-on"/>
<searchRevInclude value="ActivityDefinition:derived-from"/>
<searchRevInclude value="ActivityDefinition:intendedAudience"/>
<searchRevInclude value="ActivityDefinition:modifier_role_reference"/>
<searchRevInclude value="ActivityDefinition:predecessor"/>
<searchRevInclude value="ActivityDefinition:successor"/>
<searchRevInclude value="DocumentReference:authenticator"/>
<searchRevInclude value="DocumentReference:author"/>
<searchRevInclude value="DocumentReference:custodian"/>
<searchRevInclude value="DocumentReference:encounter"/>
<searchRevInclude value="DocumentReference:intendedOrganization"/>
<searchRevInclude value="DocumentReference:modifier_role_reference"/>
<searchRevInclude value="DocumentReference:patient"/>
<searchRevInclude value="DocumentReference:related"/>
<searchRevInclude value="DocumentReference:relatesto"/>
<searchRevInclude value="DocumentReference:subject"/>
<searchRevInclude value="PlanDefinition:composed-of"/>
<searchRevInclude value="PlanDefinition:definition"/>
<searchRevInclude value="PlanDefinition:depends-on"/>
<searchRevInclude value="PlanDefinition:derived-from"/>
<searchRevInclude value="PlanDefinition:documentation"/>
<searchRevInclude value="PlanDefinition:intendedAudience"/>
<searchRevInclude value="PlanDefinition:modifier_role_reference"/>
<searchRevInclude value="PlanDefinition:predecessor"/>
<searchRevInclude value="PlanDefinition:successor"/>
</resource>
<resource>
<type value="PlanDefinition"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"/>
<interaction>
<code value="update"/>
</interaction>
<interaction>
<code value="search-type"/>
</interaction>
<interaction>
<code value="vread"/>
</interaction>
<interaction>
<code value="read"/>
</interaction>
<interaction>
<code value="create"/>
</interaction>
<conditionalCreate value="true"/>
<conditionalUpdate value="true"/>
<searchInclude value="*"/>
<searchInclude value="PlanDefinition:composed-of"/>
<searchInclude value="PlanDefinition:definition"/>
<searchInclude value="PlanDefinition:depends-on"/>
<searchInclude value="PlanDefinition:derived-from"/>
<searchInclude value="PlanDefinition:documentation"/>
<searchInclude value="PlanDefinition:predecessor"/>
<searchInclude value="PlanDefinition:successor"/>
<searchRevInclude value="ActivityDefinition:composed-of"/>
<searchRevInclude value="ActivityDefinition:depends-on"/>
<searchRevInclude value="ActivityDefinition:derived-from"/>
<searchRevInclude value="ActivityDefinition:intendedAudience"/>
<searchRevInclude value="ActivityDefinition:modifier_role_reference"/>
<searchRevInclude value="ActivityDefinition:predecessor"/>
<searchRevInclude value="ActivityDefinition:successor"/>
<searchRevInclude value="DocumentReference:authenticator"/>
<searchRevInclude value="DocumentReference:author"/>
<searchRevInclude value="DocumentReference:custodian"/>
<searchRevInclude value="DocumentReference:encounter"/>
<searchRevInclude value="DocumentReference:intendedOrganization"/>
<searchRevInclude value="DocumentReference:modifier_role_reference"/>
<searchRevInclude value="DocumentReference:patient"/>
<searchRevInclude value="DocumentReference:related"/>
<searchRevInclude value="DocumentReference:relatesto"/>
<searchRevInclude value="DocumentReference:subject"/>
<searchRevInclude value="PlanDefinition:composed-of"/>
<searchRevInclude value="PlanDefinition:definition"/>
<searchRevInclude value="PlanDefinition:depends-on"/>
<searchRevInclude value="PlanDefinition:derived-from"/>
<searchRevInclude value="PlanDefinition:documentation"/>
<searchRevInclude value="PlanDefinition:intendedAudience"/>
<searchRevInclude value="PlanDefinition:modifier_role_reference"/>
<searchRevInclude value="PlanDefinition:predecessor"/>
<searchRevInclude value="PlanDefinition:successor"/>
<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="_source"/>
<type value="uri"/>
<documentation
value="Search for resources which have the given source value (Resource.meta.source)"/>
</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="base"/>
<type value="token"/>
<documentation value="Base of resource"/>
</searchParam>
<searchParam>
<name value="baseEnvironment"/>
<type value="token"/>
<documentation value="Base Environment of resource"/>
</searchParam>
<searchParam>
<name value="composed-of"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="context"/>
<type value="token"/>
<documentation value="A use context assigned to the plan definition"/>
</searchParam>
<searchParam>
<name value="context-quantity"/>
<type value="quantity"/>
<documentation
value="A quantity- or range-valued use context assigned to the plan definition"/>
</searchParam>
<searchParam>
<name value="context-type"/>
<type value="token"/>
<documentation
value="A type of use context assigned to the plan definition"/>
</searchParam>
<searchParam>
<name value="context-type-value"/>
<type value="composite"/>
<documentation
value="A use context type and value assigned to the plan definition"/>
</searchParam>
<searchParam>
<name value="date"/>
<type value="date"/>
<documentation value="The plan definition publication date"/>
</searchParam>
<searchParam>
<name value="definition"/>
<type value="reference"/>
<documentation
value="Activity or plan definitions used by plan definition"/>
</searchParam>
<searchParam>
<name value="depends-on"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="derived-from"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="description"/>
<type value="string"/>
<documentation value="The description of the plan definition"/>
</searchParam>
<searchParam>
<name value="documentation"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="effective"/>
<type value="date"/>
<documentation
value="The time during which the plan definition is intended to be in use"/>
</searchParam>
<searchParam>
<name value="ehealthPredecessor"/>
<type value="token"/>
<documentation value="Predecessor of resource"/>
</searchParam>
<searchParam>
<name value="employeeTitle"/>
<type value="string"/>
<documentation value="Title intented for clinicians"/>
</searchParam>
<searchParam>
<name value="identifier"/>
<type value="token"/>
<documentation value="External identifier for the plan definition"/>
</searchParam>
<searchParam>
<name value="intendedAudience"/>
<type value="reference"/>
<documentation value="The intended audience of the plan definition"/>
</searchParam>
<searchParam>
<name value="jurisdiction"/>
<type value="token"/>
<documentation value="Intended jurisdiction for the plan definition"/>
</searchParam>
<searchParam>
<name value="modifier_role_reference"/>
<type value="reference"/>
<documentation
value="Reference to either Organization, CareTeam, Practitioner"/>
</searchParam>
<searchParam>
<name value="modifier_role_role"/>
<type value="token"/>
<documentation value="Role of Organization, CareTeam, Practitioner"/>
</searchParam>
<searchParam>
<name value="name"/>
<type value="string"/>
<documentation
value="Computationally friendly name of the plan definition"/>
</searchParam>
<searchParam>
<name value="predecessor"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="publisher"/>
<type value="string"/>
<documentation value="Name of the publisher of the plan definition"/>
</searchParam>
<searchParam>
<name value="recommendation"/>
<type value="token"/>
<documentation value="Recommendation for the plan definition"/>
</searchParam>
<searchParam>
<name value="status"/>
<type value="token"/>
<documentation value="The current status of the plan definition"/>
</searchParam>
<searchParam>
<name value="successor"/>
<type value="reference"/>
<documentation value="What resource is being referenced"/>
</searchParam>
<searchParam>
<name value="title"/>
<type value="string"/>
<documentation
value="The human-friendly name of the plan definition"/>
</searchParam>
<searchParam>
<name value="topic"/>
<type value="token"/>
<documentation value="Topics associated with the module"/>
</searchParam>
<searchParam>
<name value="type"/>
<type value="token"/>
<documentation
value="The type of artifact the plan (e.g. order-set, eca-rule, protocol)"/>
</searchParam>
<searchParam>
<name value="url"/>
<type value="uri"/>
<documentation value="The uri that identifies the plan definition"/>
</searchParam>
<searchParam>
<name value="version"/>
<type value="token"/>
<documentation value="The business version of the plan definition"/>
</searchParam>
<operation>
<name value="validate"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"/>
</operation>
<operation>
<name value="import"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-t-import"/>
<documentation
value="Import a Plandefinition
### Parameters
- planDefinitionPackage: Binary package produced by the export operation
### Output
Bundle containing the created resources. PlanDefinitions, ActivityDefinitions, and Questionnaires will be created. Imports QFFD DocumentReference into Document-Transformation service.Libraries and Organizations are used to find the corresponding resources on the target system."/>
</operation>
<operation>
<name value="export"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-is-export"/>
<documentation
value="Export a PlanDefinition.
### Export Contents
The export contains the PlanDefinition including referenced resources:- PlanDefinitions
- ActivityDefinitions
- Questionnaires
- Libraries
- Organizations
- DocumentReference + QFDD
Each resource is returned in a separate JSon file.
### Parameters
- exclude: references to ActivityDefinitions or PlanDefinitions to exclude from the export.
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files.
All returned objects are Fhir resources. See the implementation guide for details"/>
</operation>
<operation>
<name value="create-clone"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone"/>
<documentation
value="### Input
- resourceId: reference to the PlanDefinition resource that should be cloned
- clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation
- default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned
- deep-clone-references: References to resources to create as new resources rather than referencing the existing ones.
### Output
Bundle containing all resources that were created during the operation.
### Validation
- New business versions require that the user has modifier-role: owner or co-author for the resource
- New copy does not require that the user has a modifier-role.
- New business version can be made only when no draft resource exists (having identical base identifier).
- Read/search/create privileges are required for the resource types affected by $create-clone"/>
</operation>
<operation>
<name value="apply"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-i-apply"/>
<documentation
value="Create a careplan with service requests for a specific episodeOfCare using the PlanDefinition as a template.
### HTTP Methods
- If using POST the operation will persist resources and return the careplan.
- If using GET the operation will return transient resources in a transaction bundle. The bundle with transient careplan and servicerequest resources can then be modified before being persisted using a FHIR transaction.
### Parameters
- episodeOfCare: Reference(EpisodeOfCare) - The episode of care for which the plan is being applied.
### Output
CarePlan or Bundle of transient CarePlan and ServiceRequest resources."/>
</operation>
</resource>
<operation>
<name value="reindex"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex"/>
</operation>
<operation>
<name value="migrate"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-migrate"/>
<documentation value="Data migration"/>
</operation>
<operation>
<name value="export-poll-status"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-export-poll-status"/>
<documentation
value="Operation for polling the status of a previously initiated FHIR Bulk Data System Level Export. A complete URL including the '_jobId' is returned in the 'Content-Location' response header when initiating the export. A 'GET' request to the polling location will return '202 Accepted' with a response header 'X-Progress' containing a status message for the progress of the export job. When the job has finished, the polling location will return '200 OK', and the contents of the body will be a JSON object providing metadata and links to the generated bulk data files. A 'DELETE' request can be used to cancel the export. If the export has already finished, the delete will return '404 Not Found', else the export job will be cancelled and a '202 Accepted' is returned with an operation outcome response.
### Parameters
- _jobId: the job ID for the Bulk Export job which was returned in the 'Content-Location' header when initiating the export"/>
</operation>
<operation>
<name value="export"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-is-export"/>
<documentation
value="FHIR Operation to initiate an export of data from a FHIR server. The type of resources returned can be restricted using the '_type' parameter, and the '_since' parameter can be used to restrict resources to be only included if changed since the supplied time. The FHIR server support invocation of this operation using the [FHIR Asynchronous Request Pattern](http://hl7.org/fhir/R4/async.html).
## Initiation of export
The initiation of an export must specify the request header 'Prefer: respond-async', and will return '202 Accepted' with a polling location in the response header 'Content-Location'. The polling location is for the endpoint '$export-poll-status' and has the export job ID as parameter '_jobId'.
### Parameters
- _outputFormat: Optional parameter to specify the output format of the exported files. Default is 'application/fhir+ndjson'
- _type: Optional parameter to specify a comma separated list of resource types to be included in the export. If not provided, all resource types will be included.
- _since: Optional parameter to specify a time. Only resources that have been created or modified after this time will be included in the export (i.e., if Resource.meta.lastUpdated is later than the supplied _since time).
- _typeFilter: Optional parameter to apply search filter of resources for export. It is a string of comma-delimited FHIR REST search queries in the format [resourceType]?[parameters]. The filter will be applied when searching resources.
- _typePostFetchFilterUrl: Optional parameter to apply filtering of resources for export. It is a string of comma-delimited FHIR REST search queries in the format [resourceType]?[parameters]. The filter will be applied on resources after being fetched from the database.
- _exportId: Optional parameter to specify a client provided identifier for the export. Resulting exported files (Binary) will be labeled with the identifer in meta extension 'https://hapifhir.org/NamingSystem/bulk-export-identifier'
## Polling status of export
Subsequent GET requests to the polling location will return '202 Accepted' with a response header 'X-Progress' containing a status message for the progress of the export job. When the job has finished, the polling location will return '200 OK', and the contents of the body will be a JSON object providing metadata and links to the generated bulk export data files.
## Retrieving exported files
The JSON object returned when the export job is complete will contain a list of files (Binary resources) available for download. Each file can be retrieved using a standard HTTP GET request to the provided URL. The security context of the Binary resources resulting from the export is the user that initiated the export. The files can therefore only be retrieved by the same user.
### Retention of exported files
The exported files are retained for a limited time after which they are deleted. The retention time is a server configuration with default 2 hours."/>
</operation>
<operation>
<name value="meta"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta"/>
</operation>
<operation>
<name value="get-resource-counts"/>
<definition
value="https://plan.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="expunge"/>
<definition
value="https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-expunge"/>
</operation>
</rest>
</CapabilityStatement>