eHealth Infrastructure
5.0.2 - release Denmark flag

eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 5.0.2 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

CapabilityStatement: reporting

Official URL: http://ehealth.sundhed.dk/fhir/CapabilityStatement/reporting Version: 5.0.2
Active as of 2025-08-07 Computable Name: reporting

Raw OpenAPI-Swagger Definition file | Download

  • Implementation Guide Version: 5.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-08-07 02:52:13+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
ConformanceOperationDocumentation
SHALL$get-report-job-status

Status Contents

This operation returns status for reports scheduled by the user (by schedule or execute)

Output

The output is a Bundle containing Parameters resources for each scheduled report. The parts of the Parameters describe the class of report, the parameters that the report was scheduled with, the user ID, the status of the report, a reference to the report Binary and time of creation, start, and end of execution.

Example output

{ 'resourceType': 'Bundle', 'type': 'collection', 'entry': [ { 'fullUrl': 'ce35bcd5-4bb2-4c6e-b230-5347df1fe9bc', 'resource': { 'resourceType': 'Parameters', 'id': 'ce35bcd5-4bb2-4c6e-b230-5347df1fe9bc', 'parameter': [ { 'name': 'reportJob', 'part': [ { 'name': 'reportClass', 'valueString': 'com.systematic.ehealth.reporting.reports.PatientsUsageReport' }, { 'name': 'userId', 'valueString': '0aaca7cd-67c3-48dd-a8c4-0cceecb5d276' }, { 'name': 'status', 'valueString': 'DONE' }, { 'name': 'binary', 'valueReference': { 'reference': 'https://reporting.local.ehealth.sundhed.dk/fhir/Binary/7' } }, { 'name': 'parameters', 'resource': { 'resourceType': 'Parameters', 'parameter': [ { 'name': 'anonymization', 'valueString': 'None' } ] } }, { 'name': 'created', 'valueDateTime': '2023-10-12T09:51:50+00:00' }, { 'name': 'started', 'valueDateTime': '2023-10-12T09:51:50+00:00' }, { 'name': 'ended', 'valueDateTime': '2023-10-12T09:51:51+00:00' } ] } ] } } ] }

SHALL$schedule-questionnaireresponses

Report Contents

This report contains a collection of questionnaire responses and related resources

  • Organizations
  • CareTeams
  • PlanDefinitions
  • ActivityDefinitions
  • Questionnaires
  • QuestionnaireResponses
  • Communication
  • ServiceRequestSummary

Grouping

This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • condition: Filter on CarePlan.addresses.code match
  • period: Filter on QuestionnaireResponse.authored within period
  • plan: Filter on Plan match
  • questionnaire: Filter on ActivityDefinition.composed-of match
  • careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team
  • tag: Filter on tag match

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

Output

{ 'resourceType' : 'Bundle', 'id' : 'Questionnaire/44529', 'entry' : [ { 'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/24206/_history/1', 'resource' : { 'resourceType' : 'PlanDefinition', 'id' : '24206', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/14291' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'status' : 'active', 'action' : [ { 'definitionCanonical' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919' } ] } }, { 'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919/_history/1', 'resource' : { 'resourceType' : 'ActivityDefinition', 'id' : '10919', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies', 'code' : 'noSharing' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/25403' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'name' : '0ca879ed-678c-4439-aa4a-efc597f92dfb', 'status' : 'active', 'topic' : [ { 'coding' : [ { 'system' : 'http://terminology.hl7.org/CodeSystem/definition-topic', 'code' : 'treatment' } ] } ], 'relatedArtifact' : [ { 'type' : 'composed-of', 'resource' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529' } ], 'code' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/activitydefinition-code', 'code' : '273586006' } ] } } }, { 'fullUrl' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529/_history/1', 'resource' : { 'resourceType' : 'Questionnaire', 'id' : '44529', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/questionnaire-types', 'code' : 'QQ' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/24153' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'name' : '090b990e-046a-4374-b7c6-b08613a41cce', 'status' : 'active' } }, { 'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618/_history/1', 'resource' : { 'resourceType' : 'Organization', 'id' : '98618', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/organization-source', 'code' : 'manual' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/organization-synchronization-status', 'code' : 'NotSynchronized' } ] } } ], 'identifier' : [ { 'use' : 'official', 'system' : 'urn:oid:2.16.840.1.113883.2.24.1.1', 'value' : '11111111', 'period' : { 'start' : '2023-10-10T14:49:12+02:00' } } ], 'active' : false, 'name' : 'defaultTestFactory-be16f47b-1f8a-4440-a02e-23da1219b0ca', 'partOf' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/22124' } } }, { 'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455/_history/1', 'resource' : { 'resourceType' : 'CareTeam', 'id' : '87455', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam' ] }, 'identifier' : [ { 'system' : 'urn:ietf:rfc:3986', 'value' : 'urn:uuid:9658ef5f-019a-4c90-9c41-f3ad14a31777' } ], 'status' : 'active', 'name' : '1b900db5-09dd-4563-b612-2b81201fab16', 'reasonCode' : [ { 'coding' : [ { 'system' : 'urn:oid:1.2.208.176.2.4', 'code' : 'DJ44' } ] } ] } }, { 'fullUrl' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491/_history/1', 'resource' : { 'resourceType' : 'QuestionnaireResponse', 'id' : '92491', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse' ] }, 'extension' : [ { 'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/22208' } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', 'extension' : [ { 'url' : 'serviceRequestVersionId', 'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1' }, { 'url' : 'start', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'url' : 'end', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'url' : 'type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type', 'code' : 'Resolved' } ] } } ] } ], 'basedOn' : [ { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' } ], 'questionnaire' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529', 'status' : 'completed', 'subject' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/64465' }, 'authored' : '2023-10-10T14:49:12+02:00', 'source' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/75218' } } }, { 'fullUrl' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180/_history/1', 'resource' : { 'resourceType' : 'Communication', 'id' : '97180', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication' ] }, 'extension' : [ { 'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/14233' } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/restriction-category', 'code' : 'None' } ] } } ], 'basedOn' : [ { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' } ], 'status' : 'in-progress', 'category' : [ { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/communication-category', 'code' : 'annotation' } ] }, { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/message-category', 'code' : 'advice' } ] } ], 'subject' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/35194' }, 'topic' : { 'coding' : [ { 'system' : 'http://terminology.hl7.org/CodeSystem/communication-topic', 'code' : 'report-labs' } ] }, 'sent' : '2023-10-10T14:49:12+02:00', 'reasonCode' : [ { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/message-reasonCode', 'code' : 'ReminderSubmitMeasurement' } ] } ] } }, { 'fullUrl' : 'urn:uuid:57cfd6a7-dd43-4caa-8220-d50c77aebd8b', 'resource' : { 'resourceType' : 'Parameters', 'parameter' : [ { 'name' : 'serviceRequestResponseSummary', 'part' : [ { 'name' : 'serviceRequest', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' }, 'part' : [ { 'name' : 'condition', 'valueCoding' : { 'system' : 'urn:oid:1.2.208.176.2.4', 'code' : 'DJ44', 'display' : 'Kronisk obstruktiv lungesygdom' } }, { 'name' : 'episodeOfCareManagingOrganization', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618' } }, { 'name' : 'episodeOfCarePeriod', 'valuePeriod' : { 'start' : '1970-01-01T01:00:01+01:00', 'end' : '1970-01-01T01:01:40+01:00' } }, { 'name' : 'patientIdentifier', 'valueIdentifier' : { 'system' : 'urn:oid:1.2.208.176.1.2', 'value' : '0101010001' } }, { 'name' : 'statusHistory', 'part' : [ { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'draft' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-02T12:49:12+00:00', 'end' : '2023-10-03T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'active' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-03T12:49:12+00:00', 'end' : '2023-10-04T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'on-hold' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-04T12:49:12+00:00', 'end' : '2023-10-05T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'active' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-05T12:49:12+00:00', 'end' : '2023-10-08T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'on-hold' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-08T12:49:12+00:00' } } ] } ] }, { 'name' : 'involvedCareTeams', 'part' : [ { 'name' : 'careTeam', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455' } } ] }, { 'name' : 'responses', 'part' : [ { 'name' : 'response', 'part' : [ { 'name' : 'occurrence', 'part' : [ { 'name' : 'serviceRequestVersionId', 'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1' }, { 'name' : 'start', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'name' : 'end', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'name' : 'type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type', 'code' : 'Resolved' } ] } } ] }, { 'name' : 'questionnaireResponse', 'valueReference' : { 'reference' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491' } }, { 'name' : 'submitted', 'valueDateTime' : '2023-10-10T12:49:12+00:00' } ] } ] }, { 'name' : 'communications', 'part' : [ { 'name' : 'communication', 'valueReference' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180' } } ] } ] } ] } ] } } ] }

SHALL$fetch-questionnaireresponses

Report Contents

This report contains a collection of questionnaire responses and related resources

  • Organizations
  • CareTeams
  • PlanDefinitions
  • ActivityDefinitions
  • Questionnaires
  • QuestionnaireResponses
  • Communication
  • ServiceRequestSummary

Grouping

This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • condition: Filter on CarePlan.addresses.code match
  • period: Filter on QuestionnaireResponse.authored within period
  • plan: Filter on Plan match
  • questionnaire: Filter on ActivityDefinition.composed-of match
  • careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team
  • tag: Filter on tag match

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

Output

{ 'resourceType' : 'Bundle', 'id' : 'Questionnaire/44529', 'entry' : [ { 'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/24206/_history/1', 'resource' : { 'resourceType' : 'PlanDefinition', 'id' : '24206', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/14291' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'status' : 'active', 'action' : [ { 'definitionCanonical' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919' } ] } }, { 'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919/_history/1', 'resource' : { 'resourceType' : 'ActivityDefinition', 'id' : '10919', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies', 'code' : 'noSharing' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/25403' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'name' : '0ca879ed-678c-4439-aa4a-efc597f92dfb', 'status' : 'active', 'topic' : [ { 'coding' : [ { 'system' : 'http://terminology.hl7.org/CodeSystem/definition-topic', 'code' : 'treatment' } ] } ], 'relatedArtifact' : [ { 'type' : 'composed-of', 'resource' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529' } ], 'code' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/activitydefinition-code', 'code' : '273586006' } ] } } }, { 'fullUrl' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529/_history/1', 'resource' : { 'resourceType' : 'Questionnaire', 'id' : '44529', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/questionnaire-types', 'code' : 'QQ' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/24153' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'name' : '090b990e-046a-4374-b7c6-b08613a41cce', 'status' : 'active' } }, { 'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618/_history/1', 'resource' : { 'resourceType' : 'Organization', 'id' : '98618', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/organization-source', 'code' : 'manual' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/organization-synchronization-status', 'code' : 'NotSynchronized' } ] } } ], 'identifier' : [ { 'use' : 'official', 'system' : 'urn:oid:2.16.840.1.113883.2.24.1.1', 'value' : '11111111', 'period' : { 'start' : '2023-10-10T14:49:12+02:00' } } ], 'active' : false, 'name' : 'defaultTestFactory-be16f47b-1f8a-4440-a02e-23da1219b0ca', 'partOf' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/22124' } } }, { 'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455/_history/1', 'resource' : { 'resourceType' : 'CareTeam', 'id' : '87455', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam' ] }, 'identifier' : [ { 'system' : 'urn:ietf:rfc:3986', 'value' : 'urn:uuid:9658ef5f-019a-4c90-9c41-f3ad14a31777' } ], 'status' : 'active', 'name' : '1b900db5-09dd-4563-b612-2b81201fab16', 'reasonCode' : [ { 'coding' : [ { 'system' : 'urn:oid:1.2.208.176.2.4', 'code' : 'DJ44' } ] } ] } }, { 'fullUrl' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491/_history/1', 'resource' : { 'resourceType' : 'QuestionnaireResponse', 'id' : '92491', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse' ] }, 'extension' : [ { 'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/22208' } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', 'extension' : [ { 'url' : 'serviceRequestVersionId', 'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1' }, { 'url' : 'start', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'url' : 'end', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'url' : 'type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type', 'code' : 'Resolved' } ] } } ] } ], 'basedOn' : [ { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' } ], 'questionnaire' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529', 'status' : 'completed', 'subject' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/64465' }, 'authored' : '2023-10-10T14:49:12+02:00', 'source' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/75218' } } }, { 'fullUrl' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180/_history/1', 'resource' : { 'resourceType' : 'Communication', 'id' : '97180', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication' ] }, 'extension' : [ { 'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/14233' } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/restriction-category', 'code' : 'None' } ] } } ], 'basedOn' : [ { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' } ], 'status' : 'in-progress', 'category' : [ { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/communication-category', 'code' : 'annotation' } ] }, { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/message-category', 'code' : 'advice' } ] } ], 'subject' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/35194' }, 'topic' : { 'coding' : [ { 'system' : 'http://terminology.hl7.org/CodeSystem/communication-topic', 'code' : 'report-labs' } ] }, 'sent' : '2023-10-10T14:49:12+02:00', 'reasonCode' : [ { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/message-reasonCode', 'code' : 'ReminderSubmitMeasurement' } ] } ] } }, { 'fullUrl' : 'urn:uuid:57cfd6a7-dd43-4caa-8220-d50c77aebd8b', 'resource' : { 'resourceType' : 'Parameters', 'parameter' : [ { 'name' : 'serviceRequestResponseSummary', 'part' : [ { 'name' : 'serviceRequest', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' }, 'part' : [ { 'name' : 'condition', 'valueCoding' : { 'system' : 'urn:oid:1.2.208.176.2.4', 'code' : 'DJ44', 'display' : 'Kronisk obstruktiv lungesygdom' } }, { 'name' : 'episodeOfCareManagingOrganization', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618' } }, { 'name' : 'episodeOfCarePeriod', 'valuePeriod' : { 'start' : '1970-01-01T01:00:01+01:00', 'end' : '1970-01-01T01:01:40+01:00' } }, { 'name' : 'patientIdentifier', 'valueIdentifier' : { 'system' : 'urn:oid:1.2.208.176.1.2', 'value' : '0101010001' } }, { 'name' : 'statusHistory', 'part' : [ { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'draft' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-02T12:49:12+00:00', 'end' : '2023-10-03T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'active' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-03T12:49:12+00:00', 'end' : '2023-10-04T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'on-hold' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-04T12:49:12+00:00', 'end' : '2023-10-05T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'active' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-05T12:49:12+00:00', 'end' : '2023-10-08T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'on-hold' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-08T12:49:12+00:00' } } ] } ] }, { 'name' : 'involvedCareTeams', 'part' : [ { 'name' : 'careTeam', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455' } } ] }, { 'name' : 'responses', 'part' : [ { 'name' : 'response', 'part' : [ { 'name' : 'occurrence', 'part' : [ { 'name' : 'serviceRequestVersionId', 'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1' }, { 'name' : 'start', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'name' : 'end', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'name' : 'type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type', 'code' : 'Resolved' } ] } } ] }, { 'name' : 'questionnaireResponse', 'valueReference' : { 'reference' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491' } }, { 'name' : 'submitted', 'valueDateTime' : '2023-10-10T12:49:12+00:00' } ] } ] }, { 'name' : 'communications', 'part' : [ { 'name' : 'communication', 'valueReference' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180' } } ] } ] } ] } ] } } ] }

SHALL$execute-questionnaireresponses

Report Contents

This report contains a collection of questionnaire responses and related resources

  • Organizations
  • CareTeams
  • PlanDefinitions
  • ActivityDefinitions
  • Questionnaires
  • QuestionnaireResponses
  • Communication
  • ServiceRequestSummary

Grouping

This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • condition: Filter on CarePlan.addresses.code match
  • period: Filter on QuestionnaireResponse.authored within period
  • plan: Filter on Plan match
  • questionnaire: Filter on ActivityDefinition.composed-of match
  • careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team
  • tag: Filter on tag match

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

Output

{ 'resourceType' : 'Bundle', 'id' : 'Questionnaire/44529', 'entry' : [ { 'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/24206/_history/1', 'resource' : { 'resourceType' : 'PlanDefinition', 'id' : '24206', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/14291' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'status' : 'active', 'action' : [ { 'definitionCanonical' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919' } ] } }, { 'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919/_history/1', 'resource' : { 'resourceType' : 'ActivityDefinition', 'id' : '10919', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies', 'code' : 'noSharing' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/25403' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'name' : '0ca879ed-678c-4439-aa4a-efc597f92dfb', 'status' : 'active', 'topic' : [ { 'coding' : [ { 'system' : 'http://terminology.hl7.org/CodeSystem/definition-topic', 'code' : 'treatment' } ] } ], 'relatedArtifact' : [ { 'type' : 'composed-of', 'resource' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529' } ], 'code' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/activitydefinition-code', 'code' : '273586006' } ] } } }, { 'fullUrl' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529/_history/1', 'resource' : { 'resourceType' : 'Questionnaire', 'id' : '44529', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/questionnaire-types', 'code' : 'QQ' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role', 'extension' : [ { 'url' : 'reference', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/24153' } }, { 'url' : 'role', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/modifier-role', 'code' : 'owner' } ] } } ] } ], 'version' : '1.0', 'name' : '090b990e-046a-4374-b7c6-b08613a41cce', 'status' : 'active' } }, { 'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618/_history/1', 'resource' : { 'resourceType' : 'Organization', 'id' : '98618', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization' ] }, 'extension' : [ { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/organization-source', 'code' : 'manual' } ] } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/organization-synchronization-status', 'code' : 'NotSynchronized' } ] } } ], 'identifier' : [ { 'use' : 'official', 'system' : 'urn:oid:2.16.840.1.113883.2.24.1.1', 'value' : '11111111', 'period' : { 'start' : '2023-10-10T14:49:12+02:00' } } ], 'active' : false, 'name' : 'defaultTestFactory-be16f47b-1f8a-4440-a02e-23da1219b0ca', 'partOf' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/22124' } } }, { 'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455/_history/1', 'resource' : { 'resourceType' : 'CareTeam', 'id' : '87455', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam' ] }, 'identifier' : [ { 'system' : 'urn:ietf:rfc:3986', 'value' : 'urn:uuid:9658ef5f-019a-4c90-9c41-f3ad14a31777' } ], 'status' : 'active', 'name' : '1b900db5-09dd-4563-b612-2b81201fab16', 'reasonCode' : [ { 'coding' : [ { 'system' : 'urn:oid:1.2.208.176.2.4', 'code' : 'DJ44' } ] } ] } }, { 'fullUrl' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491/_history/1', 'resource' : { 'resourceType' : 'QuestionnaireResponse', 'id' : '92491', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse' ] }, 'extension' : [ { 'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/22208' } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', 'extension' : [ { 'url' : 'serviceRequestVersionId', 'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1' }, { 'url' : 'start', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'url' : 'end', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'url' : 'type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type', 'code' : 'Resolved' } ] } } ] } ], 'basedOn' : [ { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' } ], 'questionnaire' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529', 'status' : 'completed', 'subject' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/64465' }, 'authored' : '2023-10-10T14:49:12+02:00', 'source' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/75218' } } }, { 'fullUrl' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180/_history/1', 'resource' : { 'resourceType' : 'Communication', 'id' : '97180', 'meta' : { 'versionId' : '1', 'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication' ] }, 'extension' : [ { 'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/14233' } }, { 'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/restriction-category', 'code' : 'None' } ] } } ], 'basedOn' : [ { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' } ], 'status' : 'in-progress', 'category' : [ { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/communication-category', 'code' : 'annotation' } ] }, { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/message-category', 'code' : 'advice' } ] } ], 'subject' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/35194' }, 'topic' : { 'coding' : [ { 'system' : 'http://terminology.hl7.org/CodeSystem/communication-topic', 'code' : 'report-labs' } ] }, 'sent' : '2023-10-10T14:49:12+02:00', 'reasonCode' : [ { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/message-reasonCode', 'code' : 'ReminderSubmitMeasurement' } ] } ] } }, { 'fullUrl' : 'urn:uuid:57cfd6a7-dd43-4caa-8220-d50c77aebd8b', 'resource' : { 'resourceType' : 'Parameters', 'parameter' : [ { 'name' : 'serviceRequestResponseSummary', 'part' : [ { 'name' : 'serviceRequest', 'valueReference' : { 'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439' }, 'part' : [ { 'name' : 'condition', 'valueCoding' : { 'system' : 'urn:oid:1.2.208.176.2.4', 'code' : 'DJ44', 'display' : 'Kronisk obstruktiv lungesygdom' } }, { 'name' : 'episodeOfCareManagingOrganization', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618' } }, { 'name' : 'episodeOfCarePeriod', 'valuePeriod' : { 'start' : '1970-01-01T01:00:01+01:00', 'end' : '1970-01-01T01:01:40+01:00' } }, { 'name' : 'patientIdentifier', 'valueIdentifier' : { 'system' : 'urn:oid:1.2.208.176.1.2', 'value' : '0101010001' } }, { 'name' : 'statusHistory', 'part' : [ { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'draft' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-02T12:49:12+00:00', 'end' : '2023-10-03T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'active' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-03T12:49:12+00:00', 'end' : '2023-10-04T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'on-hold' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-04T12:49:12+00:00', 'end' : '2023-10-05T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'active' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-05T12:49:12+00:00', 'end' : '2023-10-08T12:49:12+00:00' } } ] }, { 'name' : 'statusPeriod', 'part' : [ { 'name' : 'status', 'valueCoding' : { 'system' : 'http://hl7.org/fhir/request-status', 'code' : 'on-hold' } }, { 'name' : 'period', 'valuePeriod' : { 'start' : '2023-10-08T12:49:12+00:00' } } ] } ] }, { 'name' : 'involvedCareTeams', 'part' : [ { 'name' : 'careTeam', 'valueReference' : { 'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455' } } ] }, { 'name' : 'responses', 'part' : [ { 'name' : 'response', 'part' : [ { 'name' : 'occurrence', 'part' : [ { 'name' : 'serviceRequestVersionId', 'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1' }, { 'name' : 'start', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'name' : 'end', 'valueDateTime' : '2023-10-10T14:49:12+02:00' }, { 'name' : 'type', 'valueCodeableConcept' : { 'coding' : [ { 'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type', 'code' : 'Resolved' } ] } } ] }, { 'name' : 'questionnaireResponse', 'valueReference' : { 'reference' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491' } }, { 'name' : 'submitted', 'valueDateTime' : '2023-10-10T12:49:12+00:00' } ] } ] }, { 'name' : 'communications', 'part' : [ { 'name' : 'communication', 'valueReference' : { 'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180' } } ] } ] } ] } ] } } ] }

SHALL$schedule-patient-usage-stats

Report Contents

This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.

Grouping

This report is grouped by months and years. All groups are contained in the same JSON file.

Parameters

  • None

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details First example is the monthly data:

{ 'PatientsUsageSummary': { 'monthData': [ { 'month': '1', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '2', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '3', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '4', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '5', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '6', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '7', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '8', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '9', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '10', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '11', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '12', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] } ] } }

Second example is the yearly data:

{ 'PatientsUsageSummary': { 'yearData': [ { 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 } ] } ] } }

SHALL$fetch-patient-usage-stats

Report Contents

This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.

Grouping

This report is grouped by months and years. All groups are contained in the same JSON file.

Parameters

  • None

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details First example is the monthly data:

{ 'PatientsUsageSummary': { 'monthData': [ { 'month': '1', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '2', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '3', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '4', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '5', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '6', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '7', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '8', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '9', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '10', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '11', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '12', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] } ] } }

Second example is the yearly data:

{ 'PatientsUsageSummary': { 'yearData': [ { 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 } ] } ] } }

SHALL$execute-patient-usage-stats

Report Contents

This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.

Grouping

This report is grouped by months and years. All groups are contained in the same JSON file.

Parameters

  • None

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details First example is the monthly data:

{ 'PatientsUsageSummary': { 'monthData': [ { 'month': '1', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '2', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '3', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '4', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '5', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '6', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '7', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '8', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '9', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '10', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '11', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '12', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] } ] } }

Second example is the yearly data:

{ 'PatientsUsageSummary': { 'yearData': [ { 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 } ] } ] } }

SHALL$schedule-ssl-orders

Report Contents

This report contains SSL Orders

  • OrderDetails
  • OrderLines
  • TraceLines

Grouping

Order. Each Order is returned in a single JSon file.

Parameters

  • organization: Filter on Order.buyer
  • period: Filter on TraceLine.timestamp
  • seller: Filter on Order.seller

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are SSL resources. See the SSL API description for details

{
    'OrderDetails': {
        'order': {
            'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
            'threadId': null,
            'identifiers': null,
            'status': null,
            'priority': null,
            'notes': null,
            'buyer': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/BUYER',
            'seller': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/SELLER',
            'sellerDeliveryContactEmail': null,
            'carePlanRef': null,
            'carePlanTitle': null,
            'earliestDeliveryDate': null,
            'latestDeliveryDate': null,
            'receiver': null
        },
        'orderLines': [{
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order-line/ORDERLINE',
                'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'status': null,
                'item': null,
                'agreedDate': null,
                'device': null
            }
        ],
        'traceLines': [{
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER/1',
                'timestamp': '2019-12-24T18:00:00Z',
                'createdByOrganization': null,
                'createdByUser': null,
                'text': null,
                'supplementaryText': null,
                'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'orderLine': null,
                'statusChange': null
            }
        ]
    }
}
SHALL$fetch-ssl-orders

Report Contents

This report contains SSL Orders

  • OrderDetails
  • OrderLines
  • TraceLines

Grouping

Order. Each Order is returned in a single JSon file.

Parameters

  • organization: Filter on Order.buyer
  • period: Filter on TraceLine.timestamp
  • seller: Filter on Order.seller

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are SSL resources. See the SSL API description for details

{
    'OrderDetails': {
        'order': {
            'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
            'threadId': null,
            'identifiers': null,
            'status': null,
            'priority': null,
            'notes': null,
            'buyer': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/BUYER',
            'seller': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/SELLER',
            'sellerDeliveryContactEmail': null,
            'carePlanRef': null,
            'carePlanTitle': null,
            'earliestDeliveryDate': null,
            'latestDeliveryDate': null,
            'receiver': null
        },
        'orderLines': [{
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order-line/ORDERLINE',
                'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'status': null,
                'item': null,
                'agreedDate': null,
                'device': null
            }
        ],
        'traceLines': [{
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER/1',
                'timestamp': '2019-12-24T18:00:00Z',
                'createdByOrganization': null,
                'createdByUser': null,
                'text': null,
                'supplementaryText': null,
                'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'orderLine': null,
                'statusChange': null
            }
        ]
    }
}
SHALL$execute-ssl-orders

Report Contents

This report contains SSL Orders

  • OrderDetails
  • OrderLines
  • TraceLines

Grouping

Order. Each Order is returned in a single JSon file.

Parameters

  • organization: Filter on Order.buyer
  • period: Filter on TraceLine.timestamp
  • seller: Filter on Order.seller

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are SSL resources. See the SSL API description for details

{
    'OrderDetails': {
        'order': {
            'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
            'threadId': null,
            'identifiers': null,
            'status': null,
            'priority': null,
            'notes': null,
            'buyer': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/BUYER',
            'seller': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/SELLER',
            'sellerDeliveryContactEmail': null,
            'carePlanRef': null,
            'carePlanTitle': null,
            'earliestDeliveryDate': null,
            'latestDeliveryDate': null,
            'receiver': null
        },
        'orderLines': [{
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order-line/ORDERLINE',
                'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'status': null,
                'item': null,
                'agreedDate': null,
                'device': null
            }
        ],
        'traceLines': [{
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER/1',
                'timestamp': '2019-12-24T18:00:00Z',
                'createdByOrganization': null,
                'createdByUser': null,
                'text': null,
                'supplementaryText': null,
                'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'orderLine': null,
                'statusChange': null
            }
        ]
    }
}
SHALL$schedule-practitioner-stats

Report Contents

This report contains counts of practitioners associated with Organizations and CareTeams

  • List of Organization and associated practitonerCount
  • List of CareTeam and associated practitionerCount

Grouping

None. The report is returned in a single JSon file.

Parameters

  • organization:
    • CareTeam: Filter on CareTeam.ManagingOrganization match
    • PractitionerRole: Filter on PractitionerRole.Organization match
  • period
    • CareTeam: Filter on CareTeam.participant.period overlap
    • PractitionerRole: Filter on PractitionerRole.perid overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

Organization and CareTeam are Fhir resources. See the implementation guide for details

{
    'PractitionerSummary': {
        'organizationPractitionerStatistics': [{
                'organization': {
                    'resourceType': 'Organization',
                    'id': '69075',
                    'meta': {
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
                    },
                    'extension': [{
                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/organization-source',
                                        'code': 'manual'
                                    }
                                ]
                            }
                        }, {
                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',
                                        'code': 'NotSynchronized'
                                    }
                                ]
                            }
                        }
                    ],
                    'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'
                },
                'practitionerCount': 1
            }
        ],
        'careTeamPractitionerStatistics': [{
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '44267',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '40831',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '78765',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '7378e850-aff6-430d-9e86-cca801bf2375',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '46096',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '32543',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }
        ]
    }
}
SHALL$fetch-practitioner-stats

Report Contents

This report contains counts of practitioners associated with Organizations and CareTeams

  • List of Organization and associated practitonerCount
  • List of CareTeam and associated practitionerCount

Grouping

None. The report is returned in a single JSon file.

Parameters

  • organization:
    • CareTeam: Filter on CareTeam.ManagingOrganization match
    • PractitionerRole: Filter on PractitionerRole.Organization match
  • period
    • CareTeam: Filter on CareTeam.participant.period overlap
    • PractitionerRole: Filter on PractitionerRole.perid overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

Organization and CareTeam are Fhir resources. See the implementation guide for details

{
    'PractitionerSummary': {
        'organizationPractitionerStatistics': [{
                'organization': {
                    'resourceType': 'Organization',
                    'id': '69075',
                    'meta': {
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
                    },
                    'extension': [{
                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/organization-source',
                                        'code': 'manual'
                                    }
                                ]
                            }
                        }, {
                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',
                                        'code': 'NotSynchronized'
                                    }
                                ]
                            }
                        }
                    ],
                    'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'
                },
                'practitionerCount': 1
            }
        ],
        'careTeamPractitionerStatistics': [{
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '44267',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '40831',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '78765',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '7378e850-aff6-430d-9e86-cca801bf2375',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '46096',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '32543',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }
        ]
    }
}
SHALL$execute-practitioner-stats

Report Contents

This report contains counts of practitioners associated with Organizations and CareTeams

  • List of Organization and associated practitonerCount
  • List of CareTeam and associated practitionerCount

Grouping

None. The report is returned in a single JSon file.

Parameters

  • organization:
    • CareTeam: Filter on CareTeam.ManagingOrganization match
    • PractitionerRole: Filter on PractitionerRole.Organization match
  • period
    • CareTeam: Filter on CareTeam.participant.period overlap
    • PractitionerRole: Filter on PractitionerRole.perid overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

Organization and CareTeam are Fhir resources. See the implementation guide for details

{
    'PractitionerSummary': {
        'organizationPractitionerStatistics': [{
                'organization': {
                    'resourceType': 'Organization',
                    'id': '69075',
                    'meta': {
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
                    },
                    'extension': [{
                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/organization-source',
                                        'code': 'manual'
                                    }
                                ]
                            }
                        }, {
                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',
                                        'code': 'NotSynchronized'
                                    }
                                ]
                            }
                        }
                    ],
                    'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'
                },
                'practitionerCount': 1
            }
        ],
        'careTeamPractitionerStatistics': [{
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '44267',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '40831',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '78765',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '7378e850-aff6-430d-9e86-cca801bf2375',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '46096',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }, {
                'careTeam': {
                    'resourceType': 'CareTeam',
                    'id': '32543',
                    'meta': {
                        'versionId': '1',
                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                    },
                    'identifier': [{
                            'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',
                            'system': 'urn:ietf:rfc:3986'
                        }
                    ],
                    'status': 'active',
                    'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',
                    'reasonCode': [{
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    ],
                    'managingOrganization': [{
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                        }
                    ]
                },
                'practitionerCount': 0
            }
        ]
    }
}
SHALL$schedule-practitioner-gdpr

Report Contents

This report contains all information related to the specified Practitioner

  • Practitioner
  • CareTeam
  • PractitionerRole

Grouping

None. The report is returned in a single JSon file.

Parameters

  • organization:
    • Practitioner: Not filtered
    • CareTeam: Filter on CareTeam.ManagingOrganization match
    • PractitionerRole: Filter on PractitionerRole.Organization match
  • period: not used
  • practitionerID: The practitioner to fetch information for

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthPractitioner': {
        'resourceType': 'Practitioner',
        'id': '20599',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
        },
        'name': [{
                'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'
            }
        ]
    },
    'EHealthPractitionerRole': [],
    'EHealthCareTeam': [{
            'resourceType': 'CareTeam',
            'id': '99438',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
            },
            'identifier': [{
                    'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',
                    'system': 'urn:ietf:rfc:3986'
                }
            ],
            'status': 'active',
            'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',
            'participant': [{
                    'member': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'
                    }
                }
            ],
            'reasonCode': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'managingOrganization': [{
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'
                }
            ]
        }
    ]
}
SHALL$fetch-practitioner-gdpr

Report Contents

This report contains all information related to the specified Practitioner

  • Practitioner
  • CareTeam
  • PractitionerRole

Grouping

None. The report is returned in a single JSon file.

Parameters

  • organization:
    • Practitioner: Not filtered
    • CareTeam: Filter on CareTeam.ManagingOrganization match
    • PractitionerRole: Filter on PractitionerRole.Organization match
  • period: not used
  • practitionerID: The practitioner to fetch information for

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthPractitioner': {
        'resourceType': 'Practitioner',
        'id': '20599',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
        },
        'name': [{
                'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'
            }
        ]
    },
    'EHealthPractitionerRole': [],
    'EHealthCareTeam': [{
            'resourceType': 'CareTeam',
            'id': '99438',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
            },
            'identifier': [{
                    'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',
                    'system': 'urn:ietf:rfc:3986'
                }
            ],
            'status': 'active',
            'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',
            'participant': [{
                    'member': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'
                    }
                }
            ],
            'reasonCode': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'managingOrganization': [{
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'
                }
            ]
        }
    ]
}
SHALL$execute-practitioner-gdpr

Report Contents

This report contains all information related to the specified Practitioner

  • Practitioner
  • CareTeam
  • PractitionerRole

Grouping

None. The report is returned in a single JSon file.

Parameters

  • organization:
    • Practitioner: Not filtered
    • CareTeam: Filter on CareTeam.ManagingOrganization match
    • PractitionerRole: Filter on PractitionerRole.Organization match
  • period: not used
  • practitionerID: The practitioner to fetch information for

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthPractitioner': {
        'resourceType': 'Practitioner',
        'id': '20599',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
        },
        'name': [{
                'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'
            }
        ]
    },
    'EHealthPractitionerRole': [],
    'EHealthCareTeam': [{
            'resourceType': 'CareTeam',
            'id': '99438',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
            },
            'identifier': [{
                    'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',
                    'system': 'urn:ietf:rfc:3986'
                }
            ],
            'status': 'active',
            'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',
            'participant': [{
                    'member': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'
                    }
                }
            ],
            'reasonCode': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'managingOrganization': [{
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'
                }
            ]
        }
    ]
}
SHALL$schedule-patient-total

Report Contents

This report contains clinical information for each Patient

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on EpisodeOfCare.period overlap
  • conditionCode: Filter on Condition.code related to EpisodeOfCare
  • status: Filter on EpisodeOfCare.status

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'Patient': {
        'resourceType': 'Patient',
        'id': '70791',
        'meta': {
            'versionId': '1'
        }
    },
    'EHealthEpisodeOfCare': [{
            'resourceType': 'EpisodeOfCare',
            'id': '10928',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }, {
            'resourceType': 'EpisodeOfCare',
            'id': '48392',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }
    ],
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '4021',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            }
        }, {
            'resourceType': 'DeviceUseStatement',
            'id': '5732',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '81729',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }, {
            'resourceType': 'Device',
            'id': '91432',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '35094',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }, {
            'resourceType': 'DeviceMetric',
            'id': '22449',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }
    ],
    'EHealthConsent': [{
            'resourceType': 'Consent',
            'id': '51690',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
            },
            'status': 'active',
            'category': [{
                    'coding': [{
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'consentingParty': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                }
            ],
            'actor': [{
                    'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                    'role': {
                        'coding': [{
                                'code': 'authserver'
                            }
                        ]
                    },
                    'reference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                    }
                }
            ],
            'policyRule': 'Rule',
            'data': [{
                    'meaning': 'related',
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                    }
                }
            ]
        }
    ],
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '87235',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                }
            ]
        }, {
            'resourceType': 'CarePlan',
            'id': '23385',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                }
            ]
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '18904',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '7654414a-7f86-4170-9920-fde60368b58b'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCondition': [{
            'resourceType': 'Condition',
            'id': '22743',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
            },
            'clinicalStatus': 'active',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthObservation': [{
            'resourceType': 'Observation',
            'id': '55832',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                }
            ],
            'status': 'amended',
            'code': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.1',
                        'code': 'NPU03011'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'effectivePeriod': {
                'start': '2020-03-26T13:37:40+01:00',
                'end': '2020-03-26T13:37:40+01:00'
            },
            'performer': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                }
            ],
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
            }
        }
    ],
    'EHealthQuestionnaireResponse': [{
            'resourceType': 'QuestionnaireResponse',
            'id': '21957',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                }
            ],
            'questionnaire': {
                'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
            },
            'status': 'completed',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'authored': '2020-03-26T13:37:40+01:00',
            'source': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
            }
        }
    ],
    'EHealthMedia': [{
            'resourceType': 'Media',
            'id': '18256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                    'extension': [{
                            'url': 'qualityType',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }, {
                            'url': 'qualityCode',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                }
            ],
            'type': 'audio',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
            'content': {
                'language': 'en'
            }
        }
    ],
    'EHealthClinicalImpression': [{
            'resourceType': 'ClinicalImpression',
            'id': '39697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
            },
            'status': 'draft',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ]
}
SHALL$fetch-patient-total

Report Contents

This report contains clinical information for each Patient

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on EpisodeOfCare.period overlap
  • conditionCode: Filter on Condition.code related to EpisodeOfCare
  • status: Filter on EpisodeOfCare.status

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'Patient': {
        'resourceType': 'Patient',
        'id': '70791',
        'meta': {
            'versionId': '1'
        }
    },
    'EHealthEpisodeOfCare': [{
            'resourceType': 'EpisodeOfCare',
            'id': '10928',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }, {
            'resourceType': 'EpisodeOfCare',
            'id': '48392',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }
    ],
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '4021',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            }
        }, {
            'resourceType': 'DeviceUseStatement',
            'id': '5732',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '81729',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }, {
            'resourceType': 'Device',
            'id': '91432',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '35094',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }, {
            'resourceType': 'DeviceMetric',
            'id': '22449',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }
    ],
    'EHealthConsent': [{
            'resourceType': 'Consent',
            'id': '51690',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
            },
            'status': 'active',
            'category': [{
                    'coding': [{
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'consentingParty': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                }
            ],
            'actor': [{
                    'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                    'role': {
                        'coding': [{
                                'code': 'authserver'
                            }
                        ]
                    },
                    'reference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                    }
                }
            ],
            'policyRule': 'Rule',
            'data': [{
                    'meaning': 'related',
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                    }
                }
            ]
        }
    ],
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '87235',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                }
            ]
        }, {
            'resourceType': 'CarePlan',
            'id': '23385',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                }
            ]
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '18904',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '7654414a-7f86-4170-9920-fde60368b58b'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCondition': [{
            'resourceType': 'Condition',
            'id': '22743',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
            },
            'clinicalStatus': 'active',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthObservation': [{
            'resourceType': 'Observation',
            'id': '55832',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                }
            ],
            'status': 'amended',
            'code': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.1',
                        'code': 'NPU03011'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'effectivePeriod': {
                'start': '2020-03-26T13:37:40+01:00',
                'end': '2020-03-26T13:37:40+01:00'
            },
            'performer': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                }
            ],
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
            }
        }
    ],
    'EHealthQuestionnaireResponse': [{
            'resourceType': 'QuestionnaireResponse',
            'id': '21957',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                }
            ],
            'questionnaire': {
                'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
            },
            'status': 'completed',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'authored': '2020-03-26T13:37:40+01:00',
            'source': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
            }
        }
    ],
    'EHealthMedia': [{
            'resourceType': 'Media',
            'id': '18256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                    'extension': [{
                            'url': 'qualityType',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }, {
                            'url': 'qualityCode',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                }
            ],
            'type': 'audio',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
            'content': {
                'language': 'en'
            }
        }
    ],
    'EHealthClinicalImpression': [{
            'resourceType': 'ClinicalImpression',
            'id': '39697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
            },
            'status': 'draft',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ]
}
SHALL$execute-patient-total

Report Contents

This report contains clinical information for each Patient

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on EpisodeOfCare.period overlap
  • conditionCode: Filter on Condition.code related to EpisodeOfCare
  • status: Filter on EpisodeOfCare.status

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'Patient': {
        'resourceType': 'Patient',
        'id': '70791',
        'meta': {
            'versionId': '1'
        }
    },
    'EHealthEpisodeOfCare': [{
            'resourceType': 'EpisodeOfCare',
            'id': '10928',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }, {
            'resourceType': 'EpisodeOfCare',
            'id': '48392',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }
    ],
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '4021',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            }
        }, {
            'resourceType': 'DeviceUseStatement',
            'id': '5732',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '81729',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }, {
            'resourceType': 'Device',
            'id': '91432',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '35094',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }, {
            'resourceType': 'DeviceMetric',
            'id': '22449',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }
    ],
    'EHealthConsent': [{
            'resourceType': 'Consent',
            'id': '51690',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
            },
            'status': 'active',
            'category': [{
                    'coding': [{
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'consentingParty': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                }
            ],
            'actor': [{
                    'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                    'role': {
                        'coding': [{
                                'code': 'authserver'
                            }
                        ]
                    },
                    'reference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                    }
                }
            ],
            'policyRule': 'Rule',
            'data': [{
                    'meaning': 'related',
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                    }
                }
            ]
        }
    ],
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '87235',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                }
            ]
        }, {
            'resourceType': 'CarePlan',
            'id': '23385',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                }
            ]
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '18904',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '7654414a-7f86-4170-9920-fde60368b58b'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCondition': [{
            'resourceType': 'Condition',
            'id': '22743',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
            },
            'clinicalStatus': 'active',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthObservation': [{
            'resourceType': 'Observation',
            'id': '55832',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                }
            ],
            'status': 'amended',
            'code': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.1',
                        'code': 'NPU03011'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'effectivePeriod': {
                'start': '2020-03-26T13:37:40+01:00',
                'end': '2020-03-26T13:37:40+01:00'
            },
            'performer': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                }
            ],
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
            }
        }
    ],
    'EHealthQuestionnaireResponse': [{
            'resourceType': 'QuestionnaireResponse',
            'id': '21957',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                }
            ],
            'questionnaire': {
                'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
            },
            'status': 'completed',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'authored': '2020-03-26T13:37:40+01:00',
            'source': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
            }
        }
    ],
    'EHealthMedia': [{
            'resourceType': 'Media',
            'id': '18256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                    'extension': [{
                            'url': 'qualityType',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }, {
                            'url': 'qualityCode',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                }
            ],
            'type': 'audio',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
            'content': {
                'language': 'en'
            }
        }
    ],
    'EHealthClinicalImpression': [{
            'resourceType': 'ClinicalImpression',
            'id': '39697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
            },
            'status': 'draft',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ]
}
SHALL$schedule-patient-gdpr

Report Contents

This report contains all information related to the specified Patient:

Grouping

None. This report returns a single JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: not used.
  • patient: The patient to fetch information for.

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'Patient': {
        'resourceType': 'Patient',
        'id': '70791',
        'meta': {
            'versionId': '1'
        }
    },
    'Communication': [{
            'resourceType': 'Communication',
            'id': '29256',
            'meta': {
                'versionId': '1'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'RelatedPerson': [{
            'resourceType': 'RelatedPerson',
            'id': '44196',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
            },
            'identifier': [{
                    'use': 'official',
                    'system': 'urn:oid:1.2.208.176.1.2',
                    'value': '2412001234'
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'name': [{
                    'text': 'Tester'
                }
            ]
        }
    ],
    'Appointment': [{
            'resourceType': 'Appointment',
            'id': '74036',
            'meta': {
                'versionId': '1'
            },
            'participant': [{
                    'id': '5fda865d-5e46-4fc4-8dcc-9b5f9a6b501a',
                    'actor': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                    }
                }
            ]
        }
    ],
    'AppointmentResponse': [{
            'resourceType': 'AppointmentResponse',
            'id': '63226',
            'meta': {
                'versionId': '1'
            },
            'actor': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            }
        }
    ],
    'EHealthEpisodeOfCare': [{
            'resourceType': 'EpisodeOfCare',
            'id': '10928',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }, {
            'resourceType': 'EpisodeOfCare',
            'id': '48392',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }
    ],
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '4021',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            }
        }, {
            'resourceType': 'DeviceUseStatement',
            'id': '5732',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '81729',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }, {
            'resourceType': 'Device',
            'id': '91432',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '35094',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }, {
            'resourceType': 'DeviceMetric',
            'id': '22449',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }
    ],
    'EHealthConsent': [{
            'resourceType': 'Consent',
            'id': '51690',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
            },
            'status': 'active',
            'category': [{
                    'coding': [{
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'consentingParty': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                }
            ],
            'actor': [{
                    'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                    'role': {
                        'coding': [{
                                'code': 'authserver'
                            }
                        ]
                    },
                    'reference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                    }
                }
            ],
            'policyRule': 'Rule',
            'data': [{
                    'meaning': 'related',
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                    }
                }
            ]
        }
    ],
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '87235',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                }
            ]
        }, {
            'resourceType': 'CarePlan',
            'id': '23385',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                }
            ]
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '18904',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '7654414a-7f86-4170-9920-fde60368b58b'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCondition': [{
            'resourceType': 'Condition',
            'id': '22743',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
            },
            'clinicalStatus': 'active',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthObservation': [{
            'resourceType': 'Observation',
            'id': '55832',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                }
            ],
            'status': 'amended',
            'code': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.1',
                        'code': 'NPU03011'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'effectivePeriod': {
                'start': '2020-03-26T13:37:40+01:00',
                'end': '2020-03-26T13:37:40+01:00'
            },
            'performer': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                }
            ],
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
            }
        }
    ],
    'EHealthQuestionnaireResponse': [{
            'resourceType': 'QuestionnaireResponse',
            'id': '21957',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                }
            ],
            'questionnaire': {
                'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
            },
            'status': 'completed',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'authored': '2020-03-26T13:37:40+01:00',
            'source': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
            }
        }
    ],
    'EHealthMedia': [{
            'resourceType': 'Media',
            'id': '18256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                    'extension': [{
                            'url': 'qualityType',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }, {
                            'url': 'qualityCode',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                }
            ],
            'type': 'audio',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
            'content': {
                'language': 'en'
            }
        }
    ],
    'EHealthClinicalImpression': [{
            'resourceType': 'ClinicalImpression',
            'id': '39697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
            },
            'status': 'draft',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthTask': [{
            'resourceType': 'Task',
            'id': '96988',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/task-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/restriction-category',
                                'code': 'None'
                            }
                        ]
                    }
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/74334'
                    }
                }
            ],
            'status': 'draft',
            'intent': 'proposal',
            'priority': 'routine',
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCommunication': [{
            'resourceType': 'Communication',
            'id': '29256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication']
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthProvenance': [{
            'resourceType': 'Provenance',
            'id': '68399',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
            },
            'target': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            ],
            'recorded': '2020-03-26T13:37:39.772+01:00',
            'policy': ['policy'],
            'agent': [{
                    'whoReference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/6901'
                    }
                }
            ]
        }, {
            'resourceType': 'Provenance',
            'id': '96195',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
            },
            'target': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
                }
            ],
            'recorded': '2020-03-26T13:37:39.801+01:00',
            'policy': ['policy'],
            'agent': [{
                    'whoReference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/45854'
                    }
                }
            ]
        }
    ]
}
SHALL$fetch-patient-gdpr

Report Contents

This report contains all information related to the specified Patient

Grouping

None. This report returns a single JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: not used.
  • patient: The patient to fetch information for.

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'Patient': {
        'resourceType': 'Patient',
        'id': '70791',
        'meta': {
            'versionId': '1'
        }
    },
    'Communication': [{
            'resourceType': 'Communication',
            'id': '29256',
            'meta': {
                'versionId': '1'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'RelatedPerson': [{
            'resourceType': 'RelatedPerson',
            'id': '44196',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
            },
            'identifier': [{
                    'use': 'official',
                    'system': 'urn:oid:1.2.208.176.1.2',
                    'value': '2412001234'
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'name': [{
                    'text': 'Tester'
                }
            ]
        }
    ],
    'Appointment': [{
            'resourceType': 'Appointment',
            'id': '74036',
            'meta': {
                'versionId': '1'
            },
            'participant': [{
                    'id': '5fda865d-5e46-4fc4-8dcc-9b5f9a6b501a',
                    'actor': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                    }
                }
            ]
        }
    ],
    'AppointmentResponse': [{
            'resourceType': 'AppointmentResponse',
            'id': '63226',
            'meta': {
                'versionId': '1'
            },
            'actor': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            }
        }
    ],
    'EHealthEpisodeOfCare': [{
            'resourceType': 'EpisodeOfCare',
            'id': '10928',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }, {
            'resourceType': 'EpisodeOfCare',
            'id': '48392',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }
    ],
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '4021',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            }
        }, {
            'resourceType': 'DeviceUseStatement',
            'id': '5732',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '81729',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }, {
            'resourceType': 'Device',
            'id': '91432',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '35094',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }, {
            'resourceType': 'DeviceMetric',
            'id': '22449',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }
    ],
    'EHealthConsent': [{
            'resourceType': 'Consent',
            'id': '51690',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
            },
            'status': 'active',
            'category': [{
                    'coding': [{
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'consentingParty': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                }
            ],
            'actor': [{
                    'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                    'role': {
                        'coding': [{
                                'code': 'authserver'
                            }
                        ]
                    },
                    'reference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                    }
                }
            ],
            'policyRule': 'Rule',
            'data': [{
                    'meaning': 'related',
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                    }
                }
            ]
        }
    ],
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '87235',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                }
            ]
        }, {
            'resourceType': 'CarePlan',
            'id': '23385',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                }
            ]
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '18904',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '7654414a-7f86-4170-9920-fde60368b58b'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCondition': [{
            'resourceType': 'Condition',
            'id': '22743',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
            },
            'clinicalStatus': 'active',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthObservation': [{
            'resourceType': 'Observation',
            'id': '55832',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                }
            ],
            'status': 'amended',
            'code': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.1',
                        'code': 'NPU03011'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'effectivePeriod': {
                'start': '2020-03-26T13:37:40+01:00',
                'end': '2020-03-26T13:37:40+01:00'
            },
            'performer': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                }
            ],
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
            }
        }
    ],
    'EHealthQuestionnaireResponse': [{
            'resourceType': 'QuestionnaireResponse',
            'id': '21957',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                }
            ],
            'questionnaire': {
                'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
            },
            'status': 'completed',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'authored': '2020-03-26T13:37:40+01:00',
            'source': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
            }
        }
    ],
    'EHealthMedia': [{
            'resourceType': 'Media',
            'id': '18256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                    'extension': [{
                            'url': 'qualityType',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }, {
                            'url': 'qualityCode',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                }
            ],
            'type': 'audio',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
            'content': {
                'language': 'en'
            }
        }
    ],
    'EHealthClinicalImpression': [{
            'resourceType': 'ClinicalImpression',
            'id': '39697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
            },
            'status': 'draft',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthTask': [{
            'resourceType': 'Task',
            'id': '96988',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/task-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/restriction-category',
                                'code': 'None'
                            }
                        ]
                    }
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/74334'
                    }
                }
            ],
            'status': 'draft',
            'intent': 'proposal',
            'priority': 'routine',
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCommunication': [{
            'resourceType': 'Communication',
            'id': '29256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication']
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthProvenance': [{
            'resourceType': 'Provenance',
            'id': '68399',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
            },
            'target': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            ],
            'recorded': '2020-03-26T13:37:39.772+01:00',
            'policy': ['policy'],
            'agent': [{
                    'whoReference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/6901'
                    }
                }
            ]
        }, {
            'resourceType': 'Provenance',
            'id': '96195',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
            },
            'target': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
                }
            ],
            'recorded': '2020-03-26T13:37:39.801+01:00',
            'policy': ['policy'],
            'agent': [{
                    'whoReference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/45854'
                    }
                }
            ]
        }
    ]
}
SHALL$execute-patient-gdpr

Report Contents

This report contains all information related to the specified Patient

Grouping

None. This report returns a single JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: not used.
  • patient: The patient to fetch information for.

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'Patient': {
        'resourceType': 'Patient',
        'id': '70791',
        'meta': {
            'versionId': '1'
        }
    },
    'Communication': [{
            'resourceType': 'Communication',
            'id': '29256',
            'meta': {
                'versionId': '1'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'RelatedPerson': [{
            'resourceType': 'RelatedPerson',
            'id': '44196',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
            },
            'identifier': [{
                    'use': 'official',
                    'system': 'urn:oid:1.2.208.176.1.2',
                    'value': '2412001234'
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'name': [{
                    'text': 'Tester'
                }
            ]
        }
    ],
    'Appointment': [{
            'resourceType': 'Appointment',
            'id': '74036',
            'meta': {
                'versionId': '1'
            },
            'participant': [{
                    'id': '5fda865d-5e46-4fc4-8dcc-9b5f9a6b501a',
                    'actor': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                    }
                }
            ]
        }
    ],
    'AppointmentResponse': [{
            'resourceType': 'AppointmentResponse',
            'id': '63226',
            'meta': {
                'versionId': '1'
            },
            'actor': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            }
        }
    ],
    'EHealthEpisodeOfCare': [{
            'resourceType': 'EpisodeOfCare',
            'id': '10928',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }, {
            'resourceType': 'EpisodeOfCare',
            'id': '48392',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        }
    ],
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '4021',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            }
        }, {
            'resourceType': 'DeviceUseStatement',
            'id': '5732',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '81729',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }, {
            'resourceType': 'Device',
            'id': '91432',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '35094',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }, {
            'resourceType': 'DeviceMetric',
            'id': '22449',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
            },
            'category': 'calculation'
        }
    ],
    'EHealthConsent': [{
            'resourceType': 'Consent',
            'id': '51690',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
            },
            'status': 'active',
            'category': [{
                    'coding': [{
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'consentingParty': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                }
            ],
            'actor': [{
                    'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                    'role': {
                        'coding': [{
                                'code': 'authserver'
                            }
                        ]
                    },
                    'reference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                    }
                }
            ],
            'policyRule': 'Rule',
            'data': [{
                    'meaning': 'related',
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                    }
                }
            ]
        }
    ],
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '87235',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                }
            ]
        }, {
            'resourceType': 'CarePlan',
            'id': '23385',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                }
            ]
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '18904',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '7654414a-7f86-4170-9920-fde60368b58b'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCondition': [{
            'resourceType': 'Condition',
            'id': '22743',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
            },
            'clinicalStatus': 'active',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthObservation': [{
            'resourceType': 'Observation',
            'id': '55832',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                }
            ],
            'status': 'amended',
            'code': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.1',
                        'code': 'NPU03011'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'effectivePeriod': {
                'start': '2020-03-26T13:37:40+01:00',
                'end': '2020-03-26T13:37:40+01:00'
            },
            'performer': [{
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                }
            ],
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
            }
        }
    ],
    'EHealthQuestionnaireResponse': [{
            'resourceType': 'QuestionnaireResponse',
            'id': '21957',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
            },
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                }
            ],
            'questionnaire': {
                'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
            },
            'status': 'completed',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'authored': '2020-03-26T13:37:40+01:00',
            'source': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
            }
        }
    ],
    'EHealthMedia': [{
            'resourceType': 'Media',
            'id': '18256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                    'extension': [{
                            'url': 'qualityType',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }, {
                            'url': 'qualityCode',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'basedOn': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                }
            ],
            'type': 'audio',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            },
            'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
            'content': {
                'language': 'en'
            }
        }
    ],
    'EHealthClinicalImpression': [{
            'resourceType': 'ClinicalImpression',
            'id': '39697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
            },
            'status': 'draft',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                        'code': 'TBD'
                    }
                ]
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthTask': [{
            'resourceType': 'Task',
            'id': '96988',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/task-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/restriction-category',
                                'code': 'None'
                            }
                        ]
                    }
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/74334'
                    }
                }
            ],
            'status': 'draft',
            'intent': 'proposal',
            'priority': 'routine',
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthCommunication': [{
            'resourceType': 'Communication',
            'id': '29256',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication']
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
            }
        }
    ],
    'EHealthProvenance': [{
            'resourceType': 'Provenance',
            'id': '68399',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
            },
            'target': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            ],
            'recorded': '2020-03-26T13:37:39.772+01:00',
            'policy': ['policy'],
            'agent': [{
                    'whoReference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/6901'
                    }
                }
            ]
        }, {
            'resourceType': 'Provenance',
            'id': '96195',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
            },
            'target': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
                }
            ],
            'recorded': '2020-03-26T13:37:39.801+01:00',
            'policy': ['policy'],
            'agent': [{
                    'whoReference': {
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/45854'
                    }
                }
            ]
        }
    ]
}
SHALL$schedule-patient-devices

Report Contents

This report contains Device information for each EpisodeOfCare:

  • Device
  • DeviceUseStatement
  • DeviceMetrics

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on DeviceUseStatement.whenUsed overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': 'F417C17F9FDE24C9090BD629C8EE1697',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '9541E8EAEAD24376F208D5CD8A4D25F5',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '08D51B81A7FE5B480278150A94D4048A',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '7EA21ACD27EE012439F1440574A6BB21',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
            },
            'category': 'calculation'
        }
    ]
}
SHALL$fetch-patient-devices

Report Contents

This report contains Device information for each EpisodeOfCare:

  • Device
  • DeviceUseStatement
  • DeviceMetrics

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on DeviceUseStatement.whenUsed overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': 'F417C17F9FDE24C9090BD629C8EE1697',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '9541E8EAEAD24376F208D5CD8A4D25F5',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '08D51B81A7FE5B480278150A94D4048A',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '7EA21ACD27EE012439F1440574A6BB21',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
            },
            'category': 'calculation'
        }
    ]
}
SHALL$execute-patient-devices

Report Contents

This report contains Device information for each EpisodeOfCare:

  • Device
  • DeviceUseStatement
  • DeviceMetrics

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on DeviceUseStatement.whenUsed overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': 'F417C17F9FDE24C9090BD629C8EE1697',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EHealthDeviceUseStatement': [{
            'resourceType': 'DeviceUseStatement',
            'id': '9541E8EAEAD24376F208D5CD8A4D25F5',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                    'valueReference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'
                    }
                }
            ],
            'status': 'active',
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'
            },
            'device': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
            }
        }
    ],
    'EHealthDevice': [{
            'resourceType': 'Device',
            'id': '08D51B81A7FE5B480278150A94D4048A',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                    'valueBoolean': true
                }
            ],
            'status': 'active'
        }
    ],
    'EHealthDeviceMetric': [{
            'resourceType': 'DeviceMetric',
            'id': '7EA21ACD27EE012439F1440574A6BB21',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 5
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 10
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 12
                        }
                    ]
                }, {
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                    'extension': [{
                            'url': 'category',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                        'code': 'initial'
                                    }
                                ]
                            }
                        }, {
                            'url': 'value',
                            'valueInteger': 14
                        }
                    ]
                }
            ],
            'identifier': {
                'value': 'Foo'
            },
            'type': {
                'text': 'code'
            },
            'source': {
                'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
            },
            'category': 'calculation'
        }
    ]
}
SHALL$schedule-measurement-stats

Report Contents

This report contains counts of Measurements for each EpisodeOfCare:

  • Observation
  • QuestionnaireResponse
  • Media

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on:
    • Observation.effective inside period for Observations
    • Questionnaire.authored inside period for QuestionnaireResponses
    • Media.occurence inside period for Media

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': '21357',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EpisodeOfCareMeasurementSummary': {
        'observationCount': 5,
        'mediaCount': 0,
        'questionnaireResponseCount': 0
    }
}
SHALL$fetch-measurement-stats

Report Contents

This report contains counts of Measurements for each EpisodeOfCare:

  • Observation
  • QuestionnaireResponse
  • Media

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on:
    • Observation.effective inside period for Observations
    • Questionnaire.authored inside period for QuestionnaireResponses
    • Media.occurence inside period for Media

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': '21357',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EpisodeOfCareMeasurementSummary': {
        'observationCount': 5,
        'mediaCount': 0,
        'questionnaireResponseCount': 0
    }
}
SHALL$execute-measurement-stats

Report Contents

This report contains counts of Measurements for each EpisodeOfCare:

  • Observation
  • QuestionnaireResponse
  • Media

Grouping

This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on:
    • Observation.effective inside period for Observations
    • Questionnaire.authored inside period for QuestionnaireResponses
    • Media.occurence inside period for Media

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': '21357',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EpisodeOfCareMeasurementSummary': {
        'observationCount': 5,
        'mediaCount': 0,
        'questionnaireResponseCount': 0
    }
}
SHALL$schedule-careteam-stats

Report Contents

This report contains counts of resources associated with CareTeams:

  • EpisodeOfCare
  • CarePlan
  • Task: Count for each task category

Grouping

This report is grouped by CareTeam. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on CareTeam.managingOrganization match
  • period: Filter on:
    • CarePlan.period overlap for CarePlans
    • EpisodeOfCare.period overlap for EpisodeOfCare
    • Task.authoredOn inside period for Tasks

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthCareTeam is a Fhir resource. See the implementation guide for details

{
    'EHealthCareTeam': {
        'resourceType': 'CareTeam',
        'id': '12958',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
        },
        'identifier': [{
                'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',
                'system': 'urn:ietf:rfc:3986'
            }
        ],
        'status': 'active',
        'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',
        'reasonCode': [{
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            }
        ],
        'managingOrganization': [{
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'
            }
        ]
    },
    'CareTeamSummary': {
        'episodeOfCareCount': 2,
        'carePlanCount': 6,
        'taskCountByCategory': {
            'MissingMeasurementResolving': 2
        }
    }
}
SHALL$fetch-careteam-stats

Report Contents

This report contains counts of resources associated with CareTeams:

  • EpisodeOfCare
  • CarePlan
  • Task: Count for each task category

Grouping

This report is grouped by CareTeam. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on CareTeam.managingOrganization match
  • period: Filter on:
    • CarePlan.period overlap for CarePlans
    • EpisodeOfCare.period overlap for EpisodeOfCare
    • Task.authoredOn inside period for Tasks

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthCareTeam is a Fhir resource. See the implementation guide for details

{
    'EHealthCareTeam': {
        'resourceType': 'CareTeam',
        'id': '12958',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
        },
        'identifier': [{
                'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',
                'system': 'urn:ietf:rfc:3986'
            }
        ],
        'status': 'active',
        'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',
        'reasonCode': [{
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            }
        ],
        'managingOrganization': [{
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'
            }
        ]
    },
    'CareTeamSummary': {
        'episodeOfCareCount': 2,
        'carePlanCount': 6,
        'taskCountByCategory': {
            'MissingMeasurementResolving': 2
        }
    }
}
SHALL$execute-careteam-stats

Report Contents

This report contains counts of resources associated with CareTeams:

  • EpisodeOfCare
  • CarePlan
  • Task: Count for each task category

Grouping

This report is grouped by CareTeam. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on CareTeam.managingOrganization match
  • period: Filter on:
    • CarePlan.period overlap for CarePlans
    • EpisodeOfCare.period overlap for EpisodeOfCare
    • Task.authoredOn inside period for Tasks

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthCareTeam is a Fhir resource. See the implementation guide for details

{
    'EHealthCareTeam': {
        'resourceType': 'CareTeam',
        'id': '12958',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
        },
        'identifier': [{
                'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',
                'system': 'urn:ietf:rfc:3986'
            }
        ],
        'status': 'active',
        'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',
        'reasonCode': [{
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                        'code': 'TBD'
                    }
                ]
            }
        ],
        'managingOrganization': [{
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'
            }
        ]
    },
    'CareTeamSummary': {
        'episodeOfCareCount': 2,
        'carePlanCount': 6,
        'taskCountByCategory': {
            'MissingMeasurementResolving': 2
        }
    }
}
SHALL$schedule-careplans-by-patient

Report Contents

This report contains the following resources:

  • EpisodeOfCare
  • PlanDefinition
  • CarePlan
  • ServiceRequest

Grouping

This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': '30254',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '1597',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'
                }
            ],
            'activity': [{
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'
                    }
                }
            ]
        }
    ],
    'EHealthPlanDefinition': [{
            'resourceType': 'PlanDefinition',
            'id': '59578',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                    'extension': [{
                            'url': 'reference',
                            'valueReference': {
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'
                            }
                        }, {
                            'url': 'role',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                        'code': 'owner'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',
            'status': 'active'
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '76916',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'
            }
        }
    ]
}
SHALL$fetch-careplans-by-patient

Report Contents

This report contains the following resources:

  • EpisodeOfCare
  • PlanDefinition
  • CarePlan
  • ServiceRequest

Grouping

This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': '30254',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '1597',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'
                }
            ],
            'activity': [{
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'
                    }
                }
            ]
        }
    ],
    'EHealthPlanDefinition': [{
            'resourceType': 'PlanDefinition',
            'id': '59578',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                    'extension': [{
                            'url': 'reference',
                            'valueReference': {
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'
                            }
                        }, {
                            'url': 'role',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                        'code': 'owner'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',
            'status': 'active'
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '76916',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'
            }
        }
    ]
}
SHALL$execute-careplans-by-patient

Report Contents

This report contains the following resources:

  • EpisodeOfCare
  • PlanDefinition
  • CarePlan
  • ServiceRequest

Grouping

This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

All returned objects are Fhir resources. See the implementation guide for details

{
    'EHealthEpisodeOfCare': {
        'resourceType': 'EpisodeOfCare',
        'id': '30254',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                'valueReference': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'
                }
            }
        ],
        'status': 'active',
        'diagnosis': [{
                'condition': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'
                },
                'rank': 1
            }
        ],
        'patient': {
            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'
        },
        'managingOrganization': {
            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'
        },
        'period': {
            'start': '1970-01-01T01:00:01+01:00',
            'end': '1970-01-01T01:01:40+01:00'
        }
    },
    'EHealthCarePlan': [{
            'resourceType': 'CarePlan',
            'id': '1597',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
            },
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'
                }
            ],
            'status': 'draft',
            'intent': 'option',
            'category': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            },
            'addresses': [{
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'
                }
            ],
            'activity': [{
                    'reference': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'
                    }
                }
            ]
        }
    ],
    'EHealthPlanDefinition': [{
            'resourceType': 'PlanDefinition',
            'id': '59578',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                    'extension': [{
                            'url': 'reference',
                            'valueReference': {
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'
                            }
                        }, {
                            'url': 'role',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                        'code': 'owner'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',
            'status': 'active'
        }
    ],
    'EHealthServiceRequest': [{
            'resourceType': 'ServiceRequest',
            'id': '76916',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                'code': 'TBD'
                            }
                        ]
                    }
                }
            ],
            'definition': [{
                    'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'
                }
            ],
            'status': 'completed',
            'intent': 'filler-order',
            'code': {
                'coding': [{
                        'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                        'code': 'TBD'
                    }
                ],
                'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'
            },
            'subject': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'
            },
            'context': {
                'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'
            }
        }
    ]
}
SHALL$schedule-careplan-duration-stats

Report Contents

This report contains statistics on status changes for CarePlans:

  • count: Number of CarePlans in each state
  • min: Shortest time spent in each state
  • max: Longest time spent in each state
  • sum: Sum of time spent in each state
  • average: Average time spent in each state.

The durations are specified in ISO 8601 format.

Grouping

This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap
  • condition: Filter on EpisodeOfCare condition match

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

{
    'EHealthPlanDefinition': {
        'resourceType': 'PlanDefinition',
        'id': '257',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                'extension': [{
                        'url': 'reference',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'
                        }
                    }, {
                        'url': 'role',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                    'code': 'owner'
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',
        'status': 'active'
    },
    'CarePlanStatusDurationSummary': {
        'statusDurationStatistics': {
            'draft': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'draft'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P10DT10H0M0S',
                    'max': 'P15DT0H0M0S',
                    'sum': 'P25DT10H0M0S',
                    'average': 'P12DT17H0M0S'
                }
            },
            'active': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'active'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P200DT0H0M0S',
                    'max': 'P200DT0H0M0S',
                    'sum': 'P400DT0H0M0S',
                    'average': 'P200DT0H0M0S'
                }
            },
            'completed': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'completed'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P284DT14H0M0S',
                    'max': 'P380DT0H0M0S',
                    'sum': 'P664DT14H0M0S',
                    'average': 'P332DT7H0M0S'
                }
            },
            'suspended': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'suspended'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P5DT0H0M0S',
                    'max': 'P5DT0H0M0S',
                    'sum': 'P10DT0H0M0S',
                    'average': 'P5DT0H0M0S'
                }
            }
        }
    }
}
SHALL$fetch-careplan-duration-stats

Report Contents

This report contains statistics on status changes for CarePlans:

  • count: Number of CarePlans in each state
  • min: Shortest time spent in each state
  • max: Longest time spent in each state
  • sum: Sum of time spent in each state
  • average: Average time spent in each state.

The durations are specified in ISO 8601 format.

Grouping

This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap
  • condition: Filter on EpisodeOfCare condition match

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

{
    'EHealthPlanDefinition': {
        'resourceType': 'PlanDefinition',
        'id': '257',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                'extension': [{
                        'url': 'reference',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'
                        }
                    }, {
                        'url': 'role',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                    'code': 'owner'
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',
        'status': 'active'
    },
    'CarePlanStatusDurationSummary': {
        'statusDurationStatistics': {
            'draft': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'draft'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P10DT10H0M0S',
                    'max': 'P15DT0H0M0S',
                    'sum': 'P25DT10H0M0S',
                    'average': 'P12DT17H0M0S'
                }
            },
            'active': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'active'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P200DT0H0M0S',
                    'max': 'P200DT0H0M0S',
                    'sum': 'P400DT0H0M0S',
                    'average': 'P200DT0H0M0S'
                }
            },
            'completed': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'completed'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P284DT14H0M0S',
                    'max': 'P380DT0H0M0S',
                    'sum': 'P664DT14H0M0S',
                    'average': 'P332DT7H0M0S'
                }
            },
            'suspended': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'suspended'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P5DT0H0M0S',
                    'max': 'P5DT0H0M0S',
                    'sum': 'P10DT0H0M0S',
                    'average': 'P5DT0H0M0S'
                }
            }
        }
    }
}
SHALL$execute-careplan-duration-stats

Report Contents

This report contains statistics on status changes for CarePlans:

  • count: Number of CarePlans in each state
  • min: Shortest time spent in each state
  • max: Longest time spent in each state
  • sum: Sum of time spent in each state
  • average: Average time spent in each state.

The durations are specified in ISO 8601 format.

Grouping

This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap
  • condition: Filter on EpisodeOfCare condition match

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

{
    'EHealthPlanDefinition': {
        'resourceType': 'PlanDefinition',
        'id': '257',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                'extension': [{
                        'url': 'reference',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'
                        }
                    }, {
                        'url': 'role',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                    'code': 'owner'
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',
        'status': 'active'
    },
    'CarePlanStatusDurationSummary': {
        'statusDurationStatistics': {
            'draft': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'draft'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P10DT10H0M0S',
                    'max': 'P15DT0H0M0S',
                    'sum': 'P25DT10H0M0S',
                    'average': 'P12DT17H0M0S'
                }
            },
            'active': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'active'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P200DT0H0M0S',
                    'max': 'P200DT0H0M0S',
                    'sum': 'P400DT0H0M0S',
                    'average': 'P200DT0H0M0S'
                }
            },
            'completed': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'completed'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P284DT14H0M0S',
                    'max': 'P380DT0H0M0S',
                    'sum': 'P664DT14H0M0S',
                    'average': 'P332DT7H0M0S'
                }
            },
            'suspended': {
                'status': {
                    'valueCodeableConcept': {
                        'coding': [{
                                'system': 'http://hl7.org/fhir/care-plan-status',
                                'code': 'suspended'
                            }
                        ]
                    }
                },
                'durationStatistics': {
                    'count': 2,
                    'min': 'P5DT0H0M0S',
                    'max': 'P5DT0H0M0S',
                    'sum': 'P10DT0H0M0S',
                    'average': 'P5DT0H0M0S'
                }
            }
        }
    }
}
SHALL$schedule-careplan-customization-stats

Report Contents

This report contains a count of patient specific modifications of:

  • Measurement schedule timing
  • Reference ranges

Grouping

This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

{
    'EHealthPlanDefinition': {
        'resourceType': 'PlanDefinition',
        'id': '53450',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                'extension': [{
                        'url': 'reference',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'
                        }
                    }, {
                        'url': 'role',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                    'code': 'owner'
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        'version': '97219ba1-2202-42a1-b99d-45de3a506b40',
        'status': 'active'
    },
    'CarePlanCustomizationSummary': {
        'timingCustomizationCount': 1,
        'referenceRangeCustomizationCount': 1
    }
}
SHALL$fetch-careplan-customization-stats

Report Contents

This report contains a count of patient specific modifications of:

  • Measurement schedule timing
  • Reference ranges

Grouping

This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

{
    'EHealthPlanDefinition': {
        'resourceType': 'PlanDefinition',
        'id': '53450',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                'extension': [{
                        'url': 'reference',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'
                        }
                    }, {
                        'url': 'role',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                    'code': 'owner'
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        'version': '97219ba1-2202-42a1-b99d-45de3a506b40',
        'status': 'active'
    },
    'CarePlanCustomizationSummary': {
        'timingCustomizationCount': 1,
        'referenceRangeCustomizationCount': 1
    }
}
SHALL$execute-careplan-customization-stats

Report Contents

This report contains a count of patient specific modifications of:

  • Measurement schedule timing
  • Reference ranges

Grouping

This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

{
    'EHealthPlanDefinition': {
        'resourceType': 'PlanDefinition',
        'id': '53450',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
        },
        'extension': [{
                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                'extension': [{
                        'url': 'reference',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'
                        }
                    }, {
                        'url': 'role',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                    'code': 'owner'
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        'version': '97219ba1-2202-42a1-b99d-45de3a506b40',
        'status': 'active'
    },
    'CarePlanCustomizationSummary': {
        'timingCustomizationCount': 1,
        'referenceRangeCustomizationCount': 1
    }
}
SHALL$schedule-careplan-and-episode-of-care-stats

Report Contents

This report contains a count of active EpisodeOfCare and CarePlans.

Grouping

This report is grouped by ConditionCode. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details

{
    'ConditionCode': {
        'valueCodeableConcept': {
            'coding': [{
                    'system': 'urn:oid:1.2.208.176.2.4',
                    'code': 'DJ44'
                }
            ]
        }
    },
    'ConditionSummary': {
        'activeEpisodeOfCareCount': 1,
        'activeCarePlanCount': 1
    }
}
SHALL$fetch-careplan-and-episode-of-care-stats

Report Contents

This report contains a count of active EpisodeOfCare and CarePlans.

Grouping

This report is grouped by ConditionCode. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details

{
    'ConditionCode': {
        'valueCodeableConcept': {
            'coding': [{
                    'system': 'urn:oid:1.2.208.176.2.4',
                    'code': 'DJ44'
                }
            ]
        }
    },
    'ConditionSummary': {
        'activeEpisodeOfCareCount': 1,
        'activeCarePlanCount': 1
    }
}
SHALL$execute-careplan-and-episode-of-care-stats

Report Contents

This report contains a count of active EpisodeOfCare and CarePlans.

Grouping

This report is grouped by ConditionCode. Each group is returned in a separate JSon file.

Parameters

  • organization: Filter on EpisodeOfCare.managingOrganization match
  • period: Filter on CarePlan.period overlap

Output

Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.

Example output

The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details

{
    'ConditionCode': {
        'valueCodeableConcept': {
            'coding': [{
                    'system': 'urn:oid:1.2.208.176.2.4',
                    'code': 'DJ44'
                }
            ]
        }
    },
    'ConditionSummary': {
        'activeEpisodeOfCareCount': 1,
        'activeCarePlanCount': 1
    }
}
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 Conformance: supported Binary

Base System Profile
Binary
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports vread, read, delete.

Resource Conformance: supported OperationDefinition

Base System Profile
OperationDefinition
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports read.