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
| Official URL: http://ehealth.sundhed.dk/fhir/CapabilityStatement/task | Version: 8.0.0 | |||
| Active as of 2025-12-09 | Computable Name: task | |||
Raw OpenAPI-Swagger Definition file | Download
application/fhir+xml, xml, application/fhir+json, json, application/x-turtle, ttl, html/json, html/xml, html/turtleNote to Implementers: FHIR Capabilities
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.
This CapabilityStatement instantiates the CapabilityStatement http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data
server| Conformance | Operation | Documentation |
|---|---|---|
| SHALL | $reindex | |
| SHALL | $migrate | Data migration |
| SHALL | $export-poll-status | 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
|
| SHALL | $export | 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. Initiation of exportThe 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
Polling status of exportSubsequent 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 filesThe 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 filesThe exported files are retained for a limited time after which they are deleted. The retention time is a server configuration with default 2 hours. |
| SHALL | $meta | |
| SHALL | $get-resource-counts | Provides the number of resources currently stored on the server, broken down by resource type |
| SHALL | $expunge |
The summary table lists the resources that are part of this configuration, and for each resource it lists:
_include_revinclude| Resource Type | Profile | R | V-R | S | U | P | C | Searches | _include | _revinclude | Operations |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Binary | http://hl7.org/fhir/StructureDefinition/Binary | y | y | * | ClinicalImpression:action, ClinicalImpression:assessor, ClinicalImpression:carePlan, ClinicalImpression:episodeOfCare, ClinicalImpression:finding-ref, ClinicalImpression:investigation, ClinicalImpression:patient, ClinicalImpression:previous, ClinicalImpression:problem, ClinicalImpression:subject, Task:based-on, Task:carePlan, Task:episodeOfCare, Task:focus, Task:owner, Task:part-of, Task:patient, Task:requester, Task:responsible, Task:subject | ||||||
| ClinicalImpression | http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression | y | y | y | y | y | _content, _has, _id, _language, _lastUpdated, _profile, _security, _tag, _text, action, assessor, carePlan, date, decision, episodeOfCare, finding-code, finding-ref, identifier, investigation, patient, previous, problem, status, subject | ClinicalImpression:previous | ClinicalImpression:action, ClinicalImpression:assessor, ClinicalImpression:carePlan, ClinicalImpression:episodeOfCare, ClinicalImpression:finding-ref, ClinicalImpression:investigation, ClinicalImpression:patient, ClinicalImpression:previous, ClinicalImpression:problem, ClinicalImpression:subject, Task:based-on, Task:carePlan, Task:episodeOfCare, Task:focus, Task:owner, Task:part-of, Task:patient, Task:requester, Task:responsible, Task:subject | $validate, $set-measurement-validity | |
| OperationDefinition | http://hl7.org/fhir/StructureDefinition/OperationDefinition | y | * | ClinicalImpression:action, ClinicalImpression:assessor, ClinicalImpression:carePlan, ClinicalImpression:episodeOfCare, ClinicalImpression:finding-ref, ClinicalImpression:investigation, ClinicalImpression:patient, ClinicalImpression:previous, ClinicalImpression:problem, ClinicalImpression:subject, Task:based-on, Task:carePlan, Task:episodeOfCare, Task:focus, Task:owner, Task:part-of, Task:patient, Task:requester, Task:responsible, Task:subject | |||||||
| Task | http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task | y | y | y | y | y | _content, _has, _id, _language, _lastUpdated, _profile, _security, _tag, _text, authored-on, based-on, business-status, carePlan, category, code, episodeOfCare, focus, group-identifier, identifier, intent, modified, owner, part-of, patient, performer, period, priority, requester, resolvedTimingEnd, resolvedTimingServiceRequestVersionId, resolvedTimingStart, resolvedTimingType, responsible, restriction-category, status, subject | Task:based-on, Task:focus, Task:part-of | ClinicalImpression:action, ClinicalImpression:assessor, ClinicalImpression:carePlan, ClinicalImpression:episodeOfCare, ClinicalImpression:finding-ref, ClinicalImpression:investigation, ClinicalImpression:patient, ClinicalImpression:previous, ClinicalImpression:problem, ClinicalImpression:subject, Task:based-on, Task:carePlan, Task:episodeOfCare, Task:focus, Task:owner, Task:part-of, Task:patient, Task:requester, Task:responsible, Task:subject | $validate |
vread, read.search-type, vread, read, patch, create.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _content | string | Search the contents of the resource's data using a fulltext search |
| SHALL | _has | string | Return resources linked to by the given target |
| SHALL | _id | token | The ID of the resource |
| SHALL | _language | string | The language of the resource |
| SHALL | _lastUpdated | date | Only return resources which were last updated as specified by the given range |
| SHALL | _profile | uri | Search for resources which have the given profile |
| SHALL | _security | token | Search for resources which have the given security labels |
| SHALL | _tag | token | Search for resources which have the given tag |
| SHALL | _text | string | Search the contents of the resource's narrative using a fulltext search |
| SHALL | action | reference | Action taken as part of assessment procedure |
| SHALL | assessor | reference | The clinician performing the assessment |
| SHALL | carePlan | reference | CarePlan |
| SHALL | date | date | When the assessment was documented |
| SHALL | decision | token | Decision |
| SHALL | episodeOfCare | reference | Encounter or Episode created from |
| SHALL | finding-code | token | What was found |
| SHALL | finding-ref | reference | What was found |
| SHALL | identifier | token | Business identifier |
| SHALL | investigation | reference | Record of a specific investigation |
| SHALL | patient | reference | Patient or group assessed |
| SHALL | previous | reference | Reference to last assessment |
| SHALL | problem | reference | Relevant impressions of patient state |
| SHALL | status | token | draft | completed | entered-in-error |
| SHALL | subject | reference | Patient or group assessed |
| Conformance | Operation | Documentation |
|---|---|---|
| SHALL | $validate | |
| SHALL | $set-measurement-validity | This operation is used to invalidate or retract an invalidation of a Measurement. InputThe input parameter is a ClinicalImpression resource with the following values:
OutputThe operation returns the persisted ClinicalImpression:
Operation side effects
|
read.search-type, vread, read, patch, create.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _content | string | Search the contents of the resource's data using a fulltext search |
| SHALL | _has | string | Return resources linked to by the given target |
| SHALL | _id | token | The ID of the resource |
| SHALL | _language | string | The language of the resource |
| SHALL | _lastUpdated | date | Only return resources which were last updated as specified by the given range |
| SHALL | _profile | uri | Search for resources which have the given profile |
| SHALL | _security | token | Search for resources which have the given security labels |
| SHALL | _tag | token | Search for resources which have the given tag |
| SHALL | _text | string | Search the contents of the resource's narrative using a fulltext search |
| SHALL | authored-on | date | Search by creation date |
| SHALL | based-on | reference | Search by requests this task is based on |
| SHALL | business-status | token | Search by business status |
| SHALL | carePlan | reference | Search by CarePlan |
| SHALL | category | token | Search by category |
| SHALL | code | token | Search by task code |
| SHALL | episodeOfCare | reference | Search by encounter or episode |
| SHALL | focus | reference | Search by task focus |
| SHALL | group-identifier | token | Search by group identifier |
| SHALL | identifier | token | Search for a task instance by its business identifier |
| SHALL | intent | token | Search by task intent |
| SHALL | modified | date | Search by last modification date |
| SHALL | owner | reference | Search by task owner |
| SHALL | part-of | reference | Search by task this task is part of |
| SHALL | patient | reference | Search by patient |
| SHALL | performer | token | Search by recommended type of performer (e.g., Requester, Performer, Scheduler). |
| SHALL | period | date | Search by period Task is/was underway |
| SHALL | priority | token | Search by task priority |
| SHALL | requester | reference | Search by task requester |
| SHALL | resolvedTimingEnd | date | Resolved Timing end |
| SHALL | resolvedTimingServiceRequestVersionId | token | Resolved Timing serviceRequestVersionID |
| SHALL | resolvedTimingStart | date | Resolved Timing start |
| SHALL | resolvedTimingType | token | Resolved Timing type |
| SHALL | responsible | reference | Search by responsible |
| SHALL | restriction-category | token | Search by restriction category |
| SHALL | status | token | Search by task status |
| SHALL | subject | reference | Search by subject |
| Conformance | Operation | Documentation |
|---|---|---|
| SHALL | $validate |