Generated Narrative: CapabilityStatement measurement Implementation Guide Version: 7.0.2 FHIR Version: 4.0.1 Supported Formats: application/fhir+xml, xml, application/fhir+json, json, application/x-turtle, ttl, html/json, html/xml, html/turtle Published on: 2025-10-21 11:11:11+0000 Published by: Den telemedicinske infrastruktur (eHealth Infrastructure) Note 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. FHIR RESTful Capabilities Mode: server Summary of System-wide Operations Conformance Operation Documentation SHALL $migrate Data migration SHALL $search-measurements The search-measurements operation searches for bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria. Parameter description patient: Find resource(s) referring the specified patient - Reference(eHealth Patient). episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare). device: Find resource(s) referring the specified device - Reference(eHealth Device | eHealth DeviceMetric). period: Resource(s) must have either an instant or time period within or overlapping the given period. The used instant/time period varies with resource as follows: Element effective for eHealth Observation; Element authored for eHealth QuestionnaireResponse; Element occurrence for eHealth Media. based-on: Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest). _tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work. "period" must always be specified. Additionally at least "patient" or "episodeOfCare" must be specified. Output description The result of this operation will return a Bundle with a list of nested Bundles having resources matching the search parameters. Each of the nested bundles will contain the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources. If a eHealth QuestionnaireResponse is part of the nested bundle the referenced eHealth Questionnaire will also be included in the nested bundle. Related resources are the set of resources created by a single invocation of the submit-measurement operation. SHALL $search-measurements-bundle-limit The search-measurements-bundle-limit operation searches for a number of bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria. Parameter description patient: Find resource(s) referring the specified patient - Reference(eHealth Patient). episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare). count: The number of bundles to return, max allowed value is 100 - Integer. start: Based on the effective time of measurement, please see Observation.effective[x] , QuestionnaireResponse.effective-period , and Media.created[x]. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time after this time. The result bundles will be sorted in ascending order - DateTime. end: Based on the effective time of measurement, please see Observation.effective[x] , QuestionnaireResponse.effective-period , and Media.created[x]. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time before this time. The result bundles will be sorted in descending order - DateTime. based-on: Resources(s) must be based on any of the specified service requests - Reference(eHealth ServiceRequest). _tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work. One of either "start" or "end", along with the "count" parameter must always be specified. Additionally at least "patient" or "episodeOfCare" or "based-on" must be specified. Output description The result of this operation returns a Bundle with a list of nested Bundles having resources matching the search parameters. The number of nested Bundles depends on the count parameter. Each of the nested bundles contains the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources, from the same submission request. Related resources are the set of resources created by a single invocation of the submit-measurement operation. SHALL $submit-measurement The submit-measurement operation provides a single measurement in the form of a Bundle of Observation, QuestionnaireResponse and Media for storage and, subsequently, further processing in the eHealth Infrastructure. A Provenance resource is implicitly created by the infrastructure referencing input Bundle resources as target, thereby relating the resources that were submitted. Media resource inline content in content.data will be stored outside the resource, and the content.url for retrieval is set on the resource. Image content is anonymized by removing sensitive metadate before storage. Image content is processed to generate thumbnail representations in the thumbnail element. Parameter description measurement: Bundle containing: 0..* Observation (ehealth-observation profile) 0..* QuestionnaireResponse (ehealth-questionnaireresponse profile) 0..* Media (ehealth-media profile) 0..* Provenance (ehealth-provenance profile). Each Provenance (which is intended for capturing reuse of measurement(s) – as described in the eHealth Observation profile introduction) must refer to other resources in the Bundle as target in the format "urn:oid:<the oid>" or "urn:uuid:<the uuid>.". All resources in the Bundle must refer to the same Patient and EpisodeOfCare. All measurement resources in the Bundle must have status either completed or final (completed in case of Media/QuestionnaireResponse and final in case of Observation). All resources in the Bundle as well as the created Provenance will receive any missing system tags (ehealth-system CodeSystem) provided by the referenced EpisodeOfCare. The request will be denied if any resource in the Bundle contains a system tag, which is not present on the referenced EpisodeOfCare Output description The returned Bundle contains references to the stored input resources where the id has been substituted. eHealth infrastructure will substitute the id when saving the resources in a single transaction. SHALL $reindex-terminology SHALL $meta SHALL $get-resource-counts Provides the number of resources currently stored on the server, broken down by resource type Capabilities by Resource/Profile Summary The summary table lists the resources that are part of this configuration, and for each resource it lists: The relevant profiles (if any) The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them. The required, recommended, and some optional search parameters (if any). The linked resources enabled for _include The other resources enabled for _revinclude The operations on the resource (if any) Resource Type Profile R V-R S U P C Searches _include _revinclude Operations Communication http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication y y y y y _tag, episodeOfCare, identifier, recipient, recipientCareTeam, sender, senderCareTeam, subject Communication:episodeOfCare, Communication:recipient, Communication:recipientCareTeam, Communication:sender, Communication:senderCareTeam, Communication:subject, Media:based-on, Media:episodeOfCare, Media:relatedTo, Media:subject, Observation:based-on, Observation:episodeOfCare, Observation:patient, Observation:subject, Provenance:agent, Provenance:entity, Provenance:entity-episodeOfCare, Provenance:entity-serviceRequest, Provenance:target, QuestionnaireResponse:based-on, QuestionnaireResponse:episodeOfCare, QuestionnaireResponse:questionnaire, QuestionnaireResponse:subject $validate Media http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media y y y y y _content, _filter, _id, _tag, based-on, created, episodeOfCare, identifier, qualityCode, qualityType, relatedTo, resolvedTimingEnd, resolvedTimingServiceRequestVersionId, resolvedTimingStart, resolvedTimingType, series, subject, type, usageMode Media:relatedTo Media:relatedTo, Provenance:target $validate, $get-data Observation http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation y y y y _content, _filter, _id, _tag, _text, based-on, code, date, episodeOfCare, identifier, patient, qualityCode, qualityType, resolvedTimingEnd, resolvedTimingServiceRequestVersionId, resolvedTimingStart, resolvedTimingType, subject Provenance:target $validate OperationDefinition http://hl7.org/fhir/StructureDefinition/OperationDefinition y * Communication:episodeOfCare, Communication:recipient, Communication:recipientCareTeam, Communication:sender, Communication:senderCareTeam, Communication:subject, Media:based-on, Media:episodeOfCare, Media:relatedTo, Media:subject, Observation:based-on, Observation:episodeOfCare, Observation:patient, Observation:subject, Provenance:agent, Provenance:entity, Provenance:entity-episodeOfCare, Provenance:entity-serviceRequest, Provenance:target, QuestionnaireResponse:based-on, QuestionnaireResponse:episodeOfCare, QuestionnaireResponse:questionnaire, QuestionnaireResponse:subject Provenance http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance y y y _id, agent, entity, entity-episodeOfCare, entity-serviceRequest, recorded, target Provenance:target Communication:episodeOfCare, Communication:recipient, Communication:recipientCareTeam, Communication:sender, Communication:senderCareTeam, Communication:subject, Media:based-on, Media:episodeOfCare, Media:relatedTo, Media:subject, Observation:based-on, Observation:episodeOfCare, Observation:patient, Observation:subject, Provenance:agent, Provenance:entity, Provenance:entity-episodeOfCare, Provenance:entity-serviceRequest, Provenance:target, QuestionnaireResponse:based-on, QuestionnaireResponse:episodeOfCare, QuestionnaireResponse:questionnaire, QuestionnaireResponse:subject QuestionnaireResponse http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse y y y y y y _filter, _lastUpdated, _tag, authored, based-on, effectivePeriodEnd, effectivePeriodStart, episodeOfCare, identifier, qualityCode, qualityType, questionnaire, resolvedTimingEnd, resolvedTimingServiceRequestVersionId, resolvedTimingStart, resolvedTimingType, status, subject Provenance:target $validate Resource Conformance: supported Communication Base System Profile ehealth-communication Profile Conformance SHALL Reference Policy Interaction summary Supports search-type, vread, read, patch, create. Search Parameters Conformance Parameter Type Documentation SHALL _tag token Search for resources which have the given tag SHALL episodeOfCare reference Episode associated with communication SHALL identifier token Unique identifier SHALL recipient reference Message recipient SHALL recipientCareTeam reference Recipient care team SHALL sender reference Message sender SHALL senderCareTeam reference Sender care team SHALL subject reference Focus of message Extended Operations Conformance Operation Documentation SHALL $validate Resource Conformance: supported Media Base System Profile ehealth-media Profile Conformance SHALL Reference Policy Interaction summary Supports update, search-type, vread, read, patch. Search Parameters Conformance Parameter Type Documentation SHALL _content string Search the contents of the resource's data using a fulltext search SHALL _filter string Search the contents of the resource's data using a filter SHALL _id token The ID of the resource SHALL _tag token Search for resources which have the given tag SHALL based-on reference Procedure that caused this media to be created SHALL created date When Media was collected SHALL episodeOfCare reference Episode associated with media SHALL identifier token Identifier(s) for the image SHALL qualityCode token Quality code of the media SHALL qualityType token Quality type of the media SHALL relatedTo reference Media related to 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 series string Series ID SHALL subject reference Who/What this Media is a record of SHALL type token photo | video | audio SHALL usageMode token Usage mode Extended Operations Conformance Operation Documentation SHALL $validate SHALL $get-data The get-data operation returns a media content matching the uuid provided. Parameter description uuid: The uuid of the media to return Request header description ehealth-thumbnail-size: The size of thumbnail to return instead of original content. If thumbnails are not supported for the media, the original content is returned Output description The result of this operation returns a Binary containing the media found from the provided uuid Resource Conformance: supported Observation Base System Profile ehealth-observation Profile Conformance SHALL Reference Policy Interaction summary Supports search-type, vread, read, patch. Search Parameters Conformance Parameter Type Documentation SHALL _content string Search the contents of the resource's data using a fulltext search SHALL _filter string Search the contents of the resource's data using a filter SHALL _id token The ID of the resource 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 based-on reference Reference to the test or procedure request. SHALL code token The code of the observation type SHALL date date Obtained date/time. If the obtained element is a period, a date that falls in the period SHALL episodeOfCare reference Episode associated with observation SHALL identifier token The unique id for a particular observation SHALL patient reference The subject that the observation is about (if patient) SHALL qualityCode token The quality code of the observation SHALL qualityType token The quality type of the observation 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 subject reference The subject that the observation is about Extended Operations Conformance Operation Documentation SHALL $validate Resource Conformance: supported OperationDefinition Base System Profile OperationDefinition Profile Conformance SHALL Reference Policy Interaction summary Supports read. Resource Conformance: supported Provenance Base System Profile ehealth-provenance Profile Conformance SHALL Reference Policy Interaction summary Supports search-type, vread, read. Search Parameters Conformance Parameter Type Documentation SHALL _id token The ID of the resource SHALL agent reference Who participated in the activity SHALL entity reference Identity of entity SHALL entity-episodeOfCare reference EpisodeOfCare identity of entity SHALL entity-serviceRequest reference ServiceRequest identity of entity SHALL recorded date When the activity was recorded / updated SHALL target reference Target Reference(s) (usually version specific) Resource Conformance: supported QuestionnaireResponse Base System Profile ehealth-questionnaireresponse Profile Conformance SHALL Reference Policy Interaction summary Supports update, search-type, vread, read, patch, create. Search Parameters Conformance Parameter Type Documentation SHALL _filter string Search the contents of the resource's data using a filter SHALL _lastUpdated date Only return resources which were last updated as specified by the given range SHALL _tag token Search for resources which have the given tag SHALL authored date When the questionnaire response was last changed SHALL based-on reference Plan/proposal/order fulfilled by this questionnaire response SHALL effectivePeriodEnd date Effective Period end SHALL effectivePeriodStart date Effective Period start SHALL episodeOfCare reference Episode associated with questionnaire response SHALL identifier token The unique identifier for the questionnaire response SHALL qualityCode token The quality code of the questionnaire response SHALL qualityType token The quality type of the questionnaire response SHALL questionnaire reference The questionnaire the answers are provided for 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 status token The status of the questionnaire response SHALL subject reference The subject of the questionnaire response Extended Operations Conformance Operation Documentation SHALL $validate
Den telemedicinske infrastruktur (eHealth Infrastructure)
Search for resources which have the given tag
Search the contents of the resource's data using a fulltext search
Search the contents of the resource's data using a filter
Procedure that caused this media to be created
The get-data operation returns a media content matching the uuid provided. ### Parameter description - uuid: The uuid of the media to return ### Request header description - ehealth-thumbnail-size: The size of thumbnail to return instead of original content. If thumbnails are not supported for the media, the original content is returned ### Output description The result of this operation returns a Binary containing the media found from the provided uuid
Search the contents of the resource's narrative using a fulltext search
Reference to the test or procedure request.
Obtained date/time. If the obtained element is a period, a date that falls in the period
The unique id for a particular observation
The subject that the observation is about (if patient)
The subject that the observation is about
When the activity was recorded / updated
Target Reference(s) (usually version specific)
Only return resources which were last updated as specified by the given range
When the questionnaire response was last changed
Plan/proposal/order fulfilled by this questionnaire response
Episode associated with questionnaire response
The unique identifier for the questionnaire response
The quality code of the questionnaire response
The quality type of the questionnaire response
The questionnaire the answers are provided for
The status of the questionnaire response
The subject of the questionnaire response
The search-measurements operation searches for bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria. ### Parameter description - patient: Find resource(s) referring the specified patient - Reference(eHealth Patient). - episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare). - device: Find resource(s) referring the specified device - Reference(eHealth Device | eHealth DeviceMetric). - period: Resource(s) must have either an instant or time period within or overlapping the given period. The used instant/time period varies with resource as follows: Element effective for eHealth Observation; Element authored for eHealth QuestionnaireResponse; Element occurrence for eHealth Media. - based-on: Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest). - _tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work. "period" must always be specified. Additionally at least "patient" or "episodeOfCare" must be specified. ### Output description The result of this operation will return a Bundle with a list of nested Bundles having resources matching the search parameters. Each of the nested bundles will contain the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources. If a eHealth QuestionnaireResponse is part of the nested bundle the referenced eHealth Questionnaire will also be included in the nested bundle. Related resources are the set of resources created by a single invocation of the submit-measurement operation.
The search-measurements-bundle-limit operation searches for a number of bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria. ### Parameter description - patient: Find resource(s) referring the specified patient - Reference(eHealth Patient). - episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare). - count: The number of bundles to return, max allowed value is 100 - Integer. - start: Based on the effective time of measurement, please see Observation.effective[x] , QuestionnaireResponse.effective-period , and Media.created[x]. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time after this time. The result bundles will be sorted in ascending order - DateTime. - end: Based on the effective time of measurement, please see Observation.effective[x] , QuestionnaireResponse.effective-period , and Media.created[x]. If QuestionnaireResponse.effectivePeriod is missing, authored is used instead. If provided, the operation will search for observation, media and QuestionnaireResponse resource(s) with a clinical effective time before this time. The result bundles will be sorted in descending order - DateTime. - based-on: Resources(s) must be based on any of the specified service requests - Reference(eHealth ServiceRequest). - _tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system|xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work. One of either "start" or "end", along with the "count" parameter must always be specified. Additionally at least "patient" or "episodeOfCare" or "based-on" must be specified. ### Output description The result of this operation returns a Bundle with a list of nested Bundles having resources matching the search parameters. The number of nested Bundles depends on the count parameter. Each of the nested bundles contains the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources, from the same submission request. Related resources are the set of resources created by a single invocation of the submit-measurement operation.
The submit-measurement operation provides a single measurement in the form of a Bundle of Observation, QuestionnaireResponse and Media for storage and, subsequently, further processing in the eHealth Infrastructure. A Provenance resource is implicitly created by the infrastructure referencing input Bundle resources as target, thereby relating the resources that were submitted. Media resource inline content in `content.data` will be stored outside the resource, and the `content.url` for retrieval is set on the resource. Image content is anonymized by removing sensitive metadate before storage. Image content is processed to generate thumbnail representations in the thumbnail element. ### Parameter description measurement: Bundle containing: - 0..* Observation (ehealth-observation profile) - 0..* QuestionnaireResponse (ehealth-questionnaireresponse profile) - 0..* Media (ehealth-media profile) - 0..* Provenance (ehealth-provenance profile). Each Provenance (which is intended for capturing reuse of measurement(s) – as described in the eHealth Observation profile introduction) must refer to other resources in the Bundle as target in the format "urn:oid:<the oid>" or "urn:uuid:<the uuid>.". All resources in the Bundle must refer to the same Patient and EpisodeOfCare. All measurement resources in the Bundle must have status either `completed` or `final` (`completed` in case of Media/QuestionnaireResponse and `final` in case of Observation). All resources in the Bundle as well as the created Provenance will receive any missing system tags (ehealth-system CodeSystem) provided by the referenced EpisodeOfCare. The request will be denied if any resource in the Bundle contains a system tag, which is not present on the referenced EpisodeOfCare ### Output description The returned Bundle contains references to the stored input resources where the id has been substituted. eHealth infrastructure will substitute the id when saving the resources in a single transaction.
Provides the number of resources currently stored on the server, broken down by resource type