<?xml version="1.0" encoding="UTF-8"?>

<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="reporting"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CapabilityStatement reporting</b></p><a name="reporting"> </a><a name="hcreporting"> </a><h2 id="title"/><ul><li>Implementation Guide Version: 8.0.1 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>application/fhir+xml</code>, <code>xml</code>, <code>application/fhir+json</code>, <code>json</code>, <code>application/x-turtle</code>, <code>ttl</code>, <code>html/json</code>, <code>html/xml</code>, <code>html/turtle</code></li><li>Published on: 2026-03-19 02:52:23+0000 </li><li>Published by: Den telemedicinske infrastruktur (eHealth Infrastructure) </li></ul><blockquote class="impl-note"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h2 id="rest">FHIR RESTful Capabilities</h2><div class="panel panel-default"><div class="panel-heading"><h3 id="mode1" class="panel-title">Mode: <code>server</code></h3></div><div class="panel-body"><div class="row"><div class="col-12"><span class="lead">Summary of System-wide Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$reindex</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>$hapi.fhir.reindex-status</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>$get-report-job-status</td><td><div><h3>Status Contents</h3>
<p>This operation returns status for reports scheduled by the user (by schedule or execute)</p>
<h3>Output</h3>
<p>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.</p>
<h3>Example output</h3>
<p>{
'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'
}
]
}
]
}
}
]
}</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-questionnaireresponses</td><td><div><h3>Report Contents</h3>
<p>This report contains a collection of questionnaire responses and related resources</p>
<ul>
<li>Organizations</li>
<li>CareTeams</li>
<li>PlanDefinitions</li>
<li>ActivityDefinitions</li>
<li>Questionnaires</li>
<li>QuestionnaireResponses</li>
<li>Communication</li>
<li>ServiceRequestSummary</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>condition: Filter on CarePlan.addresses.code match</li>
<li>period: Filter on QuestionnaireResponse.authored within period</li>
<li>plan: Filter on Plan match</li>
<li>questionnaire: Filter on ActivityDefinition.composed-of match</li>
<li>careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team</li>
<li>tag: Filter on tag match</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<h3>Output</h3>
<p>{
'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'
}
} ]
} ]
} ]
} ]
}
} ]
}</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-questionnaireresponses</td><td><div><h3>Report Contents</h3>
<p>This report contains a collection of questionnaire responses and related resources</p>
<ul>
<li>Organizations</li>
<li>CareTeams</li>
<li>PlanDefinitions</li>
<li>ActivityDefinitions</li>
<li>Questionnaires</li>
<li>QuestionnaireResponses</li>
<li>Communication</li>
<li>ServiceRequestSummary</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>condition: Filter on CarePlan.addresses.code match</li>
<li>period: Filter on QuestionnaireResponse.authored within period</li>
<li>plan: Filter on Plan match</li>
<li>questionnaire: Filter on ActivityDefinition.composed-of match</li>
<li>careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team</li>
<li>tag: Filter on tag match</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<h3>Output</h3>
<p>{
'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'
}
} ]
} ]
} ]
} ]
}
} ]
}</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-questionnaireresponses</td><td><div><h3>Report Contents</h3>
<p>This report contains a collection of questionnaire responses and related resources</p>
<ul>
<li>Organizations</li>
<li>CareTeams</li>
<li>PlanDefinitions</li>
<li>ActivityDefinitions</li>
<li>Questionnaires</li>
<li>QuestionnaireResponses</li>
<li>Communication</li>
<li>ServiceRequestSummary</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>condition: Filter on CarePlan.addresses.code match</li>
<li>period: Filter on QuestionnaireResponse.authored within period</li>
<li>plan: Filter on Plan match</li>
<li>questionnaire: Filter on ActivityDefinition.composed-of match</li>
<li>careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team</li>
<li>tag: Filter on tag match</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<h3>Output</h3>
<p>{
'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'
}
} ]
} ]
} ]
} ]
}
} ]
}</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-patient-usage-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.</p>
<h3>Grouping</h3>
<p>This report is grouped by months and years. All groups are contained in the same JSON file.</p>
<h3>Parameters</h3>
<ul>
<li>None</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details
First example is the monthly data:</p>
<p>{
'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
}
]
}
]
}
}</p>
<p>Second example is the yearly data:</p>
<p>{
'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
}
]
}
]
}
}</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-patient-usage-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.</p>
<h3>Grouping</h3>
<p>This report is grouped by months and years. All groups are contained in the same JSON file.</p>
<h3>Parameters</h3>
<ul>
<li>None</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details
First example is the monthly data:</p>
<p>{
'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
}
]
}
]
}
}</p>
<p>Second example is the yearly data:</p>
<p>{
'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
}
]
}
]
}
}</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-patient-usage-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.</p>
<h3>Grouping</h3>
<p>This report is grouped by months and years. All groups are contained in the same JSON file.</p>
<h3>Parameters</h3>
<ul>
<li>None</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details
First example is the monthly data:</p>
<p>{
'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
}
]
}
]
}
}</p>
<p>Second example is the yearly data:</p>
<p>{
'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
}
]
}
]
}
}</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-practitioner-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of practitioners associated with Organizations and CareTeams</p>
<ul>
<li>List of Organization and associated practitonerCount</li>
<li>List of CareTeam and associated practitionerCount</li>
</ul>
<h3>Grouping</h3>
<p>None. The report is returned in a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization:
<ul>
<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>
<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>
</ul>
</li>
<li>period
<ul>
<li>CareTeam: Filter on CareTeam.participant.period overlap</li>
<li>PractitionerRole: Filter on PractitionerRole.perid overlap</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>Organization and CareTeam are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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
            }
        ]
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-practitioner-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of practitioners associated with Organizations and CareTeams</p>
<ul>
<li>List of Organization and associated practitonerCount</li>
<li>List of CareTeam and associated practitionerCount</li>
</ul>
<h3>Grouping</h3>
<p>None. The report is returned in a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization:
<ul>
<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>
<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>
</ul>
</li>
<li>period
<ul>
<li>CareTeam: Filter on CareTeam.participant.period overlap</li>
<li>PractitionerRole: Filter on PractitionerRole.perid overlap</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>Organization and CareTeam are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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
            }
        ]
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-practitioner-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of practitioners associated with Organizations and CareTeams</p>
<ul>
<li>List of Organization and associated practitonerCount</li>
<li>List of CareTeam and associated practitionerCount</li>
</ul>
<h3>Grouping</h3>
<p>None. The report is returned in a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization:
<ul>
<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>
<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>
</ul>
</li>
<li>period
<ul>
<li>CareTeam: Filter on CareTeam.participant.period overlap</li>
<li>PractitionerRole: Filter on PractitionerRole.perid overlap</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>Organization and CareTeam are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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
            }
        ]
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-practitioner-gdpr</td><td><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Practitioner</p>
<ul>
<li>Practitioner</li>
<li>CareTeam</li>
<li>PractitionerRole</li>
</ul>
<h3>Grouping</h3>
<p>None. The report is returned in a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization:
<ul>
<li>Practitioner: Not filtered</li>
<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>
<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>
</ul>
</li>
<li>period: not used</li>
<li>practitionerID: The practitioner to fetch information for</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
                }
            ]
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-practitioner-gdpr</td><td><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Practitioner</p>
<ul>
<li>Practitioner</li>
<li>CareTeam</li>
<li>PractitionerRole</li>
</ul>
<h3>Grouping</h3>
<p>None. The report is returned in a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization:
<ul>
<li>Practitioner: Not filtered</li>
<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>
<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>
</ul>
</li>
<li>period: not used</li>
<li>practitionerID: The practitioner to fetch information for</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
                }
            ]
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-practitioner-gdpr</td><td><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Practitioner</p>
<ul>
<li>Practitioner</li>
<li>CareTeam</li>
<li>PractitionerRole</li>
</ul>
<h3>Grouping</h3>
<p>None. The report is returned in a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization:
<ul>
<li>Practitioner: Not filtered</li>
<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>
<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>
</ul>
</li>
<li>period: not used</li>
<li>practitionerID: The practitioner to fetch information for</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
                }
            ]
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-patient-total</td><td><div><h3>Report Contents</h3>
<p>This report contains clinical information for each Patient</p>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on EpisodeOfCare.period overlap</li>
<li>conditionCode: Filter on Condition.code related to EpisodeOfCare</li>
<li>status: Filter on EpisodeOfCare.status</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
            }
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-patient-total</td><td><div><h3>Report Contents</h3>
<p>This report contains clinical information for each Patient</p>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on EpisodeOfCare.period overlap</li>
<li>conditionCode: Filter on Condition.code related to EpisodeOfCare</li>
<li>status: Filter on EpisodeOfCare.status</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
            }
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-patient-total</td><td><div><h3>Report Contents</h3>
<p>This report contains clinical information for each Patient</p>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on EpisodeOfCare.period overlap</li>
<li>conditionCode: Filter on Condition.code related to EpisodeOfCare</li>
<li>status: Filter on EpisodeOfCare.status</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
            }
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-patient-gdpr</td><td><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Patient:</p>
<h3>Grouping</h3>
<p>None. This report returns a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: not used.</li>
<li>patient: The patient to fetch information for.</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
                    }
                }
            ]
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-patient-gdpr</td><td><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Patient</p>
<h3>Grouping</h3>
<p>None. This report returns a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: not used.</li>
<li>patient: The patient to fetch information for.</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
                    }
                }
            ]
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-patient-gdpr</td><td><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Patient</p>
<h3>Grouping</h3>
<p>None. This report returns a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: not used.</li>
<li>patient: The patient to fetch information for.</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
                    }
                }
            ]
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-patient-devices</td><td><div><h3>Report Contents</h3>
<p>This report contains Device information for each EpisodeOfCare:</p>
<ul>
<li>Device</li>
<li>DeviceUseStatement</li>
<li>DeviceMetrics</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on DeviceUseStatement.whenUsed overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-patient-devices</td><td><div><h3>Report Contents</h3>
<p>This report contains Device information for each EpisodeOfCare:</p>
<ul>
<li>Device</li>
<li>DeviceUseStatement</li>
<li>DeviceMetrics</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on DeviceUseStatement.whenUsed overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-patient-devices</td><td><div><h3>Report Contents</h3>
<p>This report contains Device information for each EpisodeOfCare:</p>
<ul>
<li>Device</li>
<li>DeviceUseStatement</li>
<li>DeviceMetrics</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on DeviceUseStatement.whenUsed overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-measurement-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of Measurements for each EpisodeOfCare:</p>
<ul>
<li>Observation</li>
<li>QuestionnaireResponse</li>
<li>Media</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on:
<ul>
<li>Observation.effective inside period for Observations</li>
<li>Questionnaire.authored inside period for QuestionnaireResponses</li>
<li>Media.occurence inside period for Media</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-measurement-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of Measurements for each EpisodeOfCare:</p>
<ul>
<li>Observation</li>
<li>QuestionnaireResponse</li>
<li>Media</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on:
<ul>
<li>Observation.effective inside period for Observations</li>
<li>Questionnaire.authored inside period for QuestionnaireResponses</li>
<li>Media.occurence inside period for Media</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-measurement-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of Measurements for each EpisodeOfCare:</p>
<ul>
<li>Observation</li>
<li>QuestionnaireResponse</li>
<li>Media</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on:
<ul>
<li>Observation.effective inside period for Observations</li>
<li>Questionnaire.authored inside period for QuestionnaireResponses</li>
<li>Media.occurence inside period for Media</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-careteam-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of resources associated with CareTeams:</p>
<ul>
<li>EpisodeOfCare</li>
<li>CarePlan</li>
<li>Task: Count for each task category</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by CareTeam. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on CareTeam.managingOrganization match</li>
<li>period: Filter on:
<ul>
<li>CarePlan.period overlap for CarePlans</li>
<li>EpisodeOfCare.period overlap for EpisodeOfCare</li>
<li>Task.authoredOn inside period for Tasks</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthCareTeam is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
        }
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-careteam-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of resources associated with CareTeams:</p>
<ul>
<li>EpisodeOfCare</li>
<li>CarePlan</li>
<li>Task: Count for each task category</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by CareTeam. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on CareTeam.managingOrganization match</li>
<li>period: Filter on:
<ul>
<li>CarePlan.period overlap for CarePlans</li>
<li>EpisodeOfCare.period overlap for EpisodeOfCare</li>
<li>Task.authoredOn inside period for Tasks</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthCareTeam is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
        }
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-careteam-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains counts of resources associated with CareTeams:</p>
<ul>
<li>EpisodeOfCare</li>
<li>CarePlan</li>
<li>Task: Count for each task category</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by CareTeam. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on CareTeam.managingOrganization match</li>
<li>period: Filter on:
<ul>
<li>CarePlan.period overlap for CarePlans</li>
<li>EpisodeOfCare.period overlap for EpisodeOfCare</li>
<li>Task.authoredOn inside period for Tasks</li>
</ul>
</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthCareTeam is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
        }
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-careplans-by-patient</td><td><div><h3>Report Contents</h3>
<p>This report contains the following resources:</p>
<ul>
<li>EpisodeOfCare</li>
<li>PlanDefinition</li>
<li>CarePlan</li>
<li>ServiceRequest</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
            }
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-careplans-by-patient</td><td><div><h3>Report Contents</h3>
<p>This report contains the following resources:</p>
<ul>
<li>EpisodeOfCare</li>
<li>PlanDefinition</li>
<li>CarePlan</li>
<li>ServiceRequest</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
            }
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-careplans-by-patient</td><td><div><h3>Report Contents</h3>
<p>This report contains the following resources:</p>
<ul>
<li>EpisodeOfCare</li>
<li>PlanDefinition</li>
<li>CarePlan</li>
<li>ServiceRequest</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    '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'
            }
        }
    ]
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-careplan-duration-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains statistics on status changes for CarePlans:</p>
<ul>
<li>count: Number of CarePlans in each state</li>
<li>min: Shortest time spent in each state</li>
<li>max: Longest time spent in each state</li>
<li>sum: Sum of time spent in each state</li>
<li>average: Average time spent in each state.</li>
</ul>
<p>The durations are specified in <a href="https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm">ISO 8601</a> format.</p>
<h3>Grouping</h3>
<p>This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
<li>condition: Filter on EpisodeOfCare condition match</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthPlanDefinition is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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'
                }
            }
        }
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-careplan-duration-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains statistics on status changes for CarePlans:</p>
<ul>
<li>count: Number of CarePlans in each state</li>
<li>min: Shortest time spent in each state</li>
<li>max: Longest time spent in each state</li>
<li>sum: Sum of time spent in each state</li>
<li>average: Average time spent in each state.</li>
</ul>
<p>The durations are specified in <a href="https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm">ISO 8601</a> format.</p>
<h3>Grouping</h3>
<p>This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
<li>condition: Filter on EpisodeOfCare condition match</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthPlanDefinition is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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'
                }
            }
        }
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-careplan-duration-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains statistics on status changes for CarePlans:</p>
<ul>
<li>count: Number of CarePlans in each state</li>
<li>min: Shortest time spent in each state</li>
<li>max: Longest time spent in each state</li>
<li>sum: Sum of time spent in each state</li>
<li>average: Average time spent in each state.</li>
</ul>
<p>The durations are specified in <a href="https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm">ISO 8601</a> format.</p>
<h3>Grouping</h3>
<p>This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
<li>condition: Filter on EpisodeOfCare condition match</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthPlanDefinition is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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'
                }
            }
        }
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-careplan-customization-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains a count of patient specific modifications of:</p>
<ul>
<li>Measurement schedule timing</li>
<li>Reference ranges</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthPlanDefinition is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-careplan-customization-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains a count of patient specific modifications of:</p>
<ul>
<li>Measurement schedule timing</li>
<li>Reference ranges</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthPlanDefinition is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-careplan-customization-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains a count of patient specific modifications of:</p>
<ul>
<li>Measurement schedule timing</li>
<li>Reference ranges</li>
</ul>
<h3>Grouping</h3>
<p>This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>EHealthPlanDefinition is a Fhir resource. See the implementation guide for details</p>
<pre><code>{
    '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
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$schedule-careplan-and-episode-of-care-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains a count of active EpisodeOfCare and CarePlans.</p>
<h3>Grouping</h3>
<p>This report is grouped by ConditionCode. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details</p>
<pre><code>{
    'ConditionCode': {
        'valueCodeableConcept': {
            'coding': [{
                    'system': 'urn:oid:1.2.208.176.2.4',
                    'code': 'DJ44'
                }
            ]
        }
    },
    'ConditionSummary': {
        'activeEpisodeOfCareCount': 1,
        'activeCarePlanCount': 1
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$fetch-careplan-and-episode-of-care-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains a count of active EpisodeOfCare and CarePlans.</p>
<h3>Grouping</h3>
<p>This report is grouped by ConditionCode. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details</p>
<pre><code>{
    'ConditionCode': {
        'valueCodeableConcept': {
            'coding': [{
                    'system': 'urn:oid:1.2.208.176.2.4',
                    'code': 'DJ44'
                }
            ]
        }
    },
    'ConditionSummary': {
        'activeEpisodeOfCareCount': 1,
        'activeCarePlanCount': 1
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$execute-careplan-and-episode-of-care-stats</td><td><div><h3>Report Contents</h3>
<p>This report contains a count of active EpisodeOfCare and CarePlans.</p>
<h3>Grouping</h3>
<p>This report is grouped by ConditionCode. Each group is returned in a separate JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: Filter on CarePlan.period overlap</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details</p>
<pre><code>{
    'ConditionCode': {
        'valueCodeableConcept': {
            'coding': [{
                    'system': 'urn:oid:1.2.208.176.2.4',
                    'code': 'DJ44'
                }
            ]
        }
    },
    'ConditionSummary': {
        'activeEpisodeOfCareCount': 1,
        'activeCarePlanCount': 1
    }
}
</code></pre>
</div></td></tr><tr><td><b>SHALL</b></td><td>$meta</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>$get-resource-counts</td><td><div><p>Provides the number of resources currently stored on the server, broken down by resource type</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>$expunge</td><td><div/></td></tr></tbody></table></div></div></div></div><h3 id="resourcesCap1">Capabilities by Resource/Profile</h3><h4 id="resourcesSummary1">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class="bg-info">R</span></b>ead, <b><span class="bg-info">S</span></b>earch, <b><span class="bg-info">U</span></b>pdate, and <b><span class="bg-info">C</span></b>reate, are always shown, while <b><span class="bg-info">VR</span></b>ead, <b><span class="bg-info">P</span></b>atch, <b><span class="bg-info">D</span></b>elete, <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">I</span></b>nstance, or <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class="table-responsive"><table class="table table-condensed table-hover"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class="text-center"><b title="GET a resource (read interaction)">R</b></th><th class="text-center"><b title="GET past versions of resources (vread interaction)">V-R</b></th><th class="text-center"><b title="GET all set of resources of the type (search interaction)">S</b></th><th class="text-center"><b title="PUT a new resource version (update interaction)">U</b></th><th class="text-center"><b title="POST a new resource (create interaction)">C</b></th><th class="text-center"><b title="DELETE a resource (delete interaction)">D</b></th><th><b title="Required and recommended search parameters">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href="#Binary1-1">Binary</a></td><td><a href="http://hl7.org/fhir/R4/binary.html">http://hl7.org/fhir/StructureDefinition/Binary</a></td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td class="text-center"/><td class="text-center">y</td><td/><td><code>*</code></td><td/><td/></tr><tr><td><a href="#OperationDefinition1-2">OperationDefinition</a></td><td><a href="http://hl7.org/fhir/R4/operationdefinition.html">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a></td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td class="text-center"/><td class="text-center"/><td class="text-center"/><td/><td><code>*</code></td><td/><td/></tr></tbody></table></div><hr/><div class="panel panel-default"><div class="panel-heading"><h4 id="Binary1-1" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </span>Binary</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="http://hl7.org/fhir/R4/binary.html">Binary</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>vread</code>, <code>read</code>, <code>delete</code>.</li></ul></div></div><p/></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="OperationDefinition1-2" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </span>OperationDefinition</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6"><span class="lead">Base System Profile</span><br/><a href="http://hl7.org/fhir/R4/operationdefinition.html">OperationDefinition</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHALL</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></div></div><p/><div class="row"><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>read</code>.</li></ul></div></div><p/></div></div></div></div>
  </text>
  <url value="http://ehealth.sundhed.dk/fhir/CapabilityStatement/reporting"/>
  <version value="8.0.1"/>
  <name value="reporting"/>
  <status value="active"/>
  <date value="2026-03-19T02:52:23.163+00:00"/>
  <publisher value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
  <contact>
    <name value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="DK"/>
      <display value="Denmark"/>
    </coding>
  </jurisdiction>
  <kind value="instance"/>
  <software>
    <name value="reporting"/>
    <version value="1.24.0"/>
  </software>
  <implementation>
    <description value="eHealth reporting service"/>
    <url value="https://reporting.devtest.systematic-ehealth.com/fhir"/>
  </implementation>
  <fhirVersion value="4.0.1"/>
  <format value="application/fhir+xml"/>
  <format value="xml"/>
  <format value="application/fhir+json"/>
  <format value="json"/>
  <format value="application/x-turtle"/>
  <format value="ttl"/>
  <format value="html/json"/>
  <format value="html/xml"/>
  <format value="html/turtle"/>
  <rest>
    <mode value="server"/>
    <resource>
      <type value="Binary"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Binary"/>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <conditionalDelete value="multiple"/>
      <searchInclude value="*"/>
    </resource>
    <resource>
      <type value="OperationDefinition"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/OperationDefinition"/>
      <interaction>
        <code value="read"/>
      </interaction>
      <searchInclude value="*"/>
    </resource>
    <operation>
      <name value="reindex"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex"/>
    </operation>
    <operation>
      <name value="hapi.fhir.reindex-status"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-hapi.fhir.reindex-status"/>
    </operation>
    <operation>
      <name value="get-report-job-status"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-report-job-status"/>
      <documentation value="### Status Contents &#xA;This operation returns status for reports scheduled by the user (by schedule or execute)&#xA;### Output&#xA;The output is a Bundle containing Parameters resources for each scheduled report.&#xA;The parts of the Parameters describe the class of report, the parameters that the report&#xA;was scheduled with, the user ID, the status of the report, a reference to the report Binary&#xA;and time of creation, start, and end of execution.&#xA;### Example output&#xA;{&#xA;  'resourceType': 'Bundle',&#xA;  'type': 'collection',&#xA;  'entry': [&#xA;    {&#xA;      'fullUrl': 'ce35bcd5-4bb2-4c6e-b230-5347df1fe9bc',&#xA;      'resource': {&#xA;        'resourceType': 'Parameters',&#xA;        'id': 'ce35bcd5-4bb2-4c6e-b230-5347df1fe9bc',&#xA;        'parameter': [&#xA;          {&#xA;            'name': 'reportJob',&#xA;            'part': [&#xA;              {&#xA;                'name': 'reportClass',&#xA;                'valueString': 'com.systematic.ehealth.reporting.reports.PatientsUsageReport'&#xA;              },&#xA;              {&#xA;                'name': 'userId',&#xA;                'valueString': '0aaca7cd-67c3-48dd-a8c4-0cceecb5d276'&#xA;              },&#xA;              {&#xA;                'name': 'status',&#xA;                'valueString': 'DONE'&#xA;              },&#xA;              {&#xA;                'name': 'binary',&#xA;                'valueReference': {&#xA;                  'reference': 'https://reporting.local.ehealth.sundhed.dk/fhir/Binary/7'&#xA;                }&#xA;              },&#xA;              {&#xA;                'name': 'parameters',&#xA;                'resource': {&#xA;                  'resourceType': 'Parameters',&#xA;                  'parameter': [&#xA;                    {&#xA;                      'name': 'anonymization',&#xA;                      'valueString': 'None'&#xA;                    }&#xA;                  ]&#xA;                }&#xA;              },&#xA;              {&#xA;                'name': 'created',&#xA;                'valueDateTime': '2023-10-12T09:51:50+00:00'&#xA;              },&#xA;              {&#xA;                'name': 'started',&#xA;                'valueDateTime': '2023-10-12T09:51:50+00:00'&#xA;              },&#xA;              {&#xA;                'name': 'ended',&#xA;                'valueDateTime': '2023-10-12T09:51:51+00:00'&#xA;              }&#xA;            ]&#xA;          }&#xA;        ]&#xA;      }&#xA;    }&#xA;  ]&#xA;}"/>
    </operation>
    <operation>
      <name value="schedule-questionnaireresponses"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-questionnaireresponses"/>
      <documentation value="### Report Contents&#xA;This report contains a collection of questionnaire responses and related resources&#xA;- Organizations&#xA;- CareTeams&#xA;- PlanDefinitions&#xA;- ActivityDefinitions&#xA;- Questionnaires&#xA;- QuestionnaireResponses&#xA;- Communication&#xA;- ServiceRequestSummary&#xA;### Grouping &#xA;This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- condition: Filter on CarePlan.addresses.code match&#xA;- period: Filter on QuestionnaireResponse.authored within period&#xA;- plan: Filter on Plan match&#xA;- questionnaire: Filter on ActivityDefinition.composed-of match&#xA;- careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team&#xA;- tag: Filter on tag match&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;### Output&#xA;{&#xA;  'resourceType' : 'Bundle',&#xA;  'id' : 'Questionnaire/44529',&#xA;  'entry' : [ {&#xA;    'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/24206/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'PlanDefinition',&#xA;      'id' : '24206',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/14291'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'status' : 'active',&#xA;      'action' : [ {&#xA;        'definitionCanonical' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919'&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'ActivityDefinition',&#xA;      'id' : '10919',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;            'code' : 'noSharing'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/25403'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'name' : '0ca879ed-678c-4439-aa4a-efc597f92dfb',&#xA;      'status' : 'active',&#xA;      'topic' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://terminology.hl7.org/CodeSystem/definition-topic',&#xA;          'code' : 'treatment'&#xA;        } ]&#xA;      } ],&#xA;      'relatedArtifact' : [ {&#xA;        'type' : 'composed-of',&#xA;        'resource' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529'&#xA;      } ],&#xA;      'code' : {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;          'code' : '273586006'&#xA;        } ]&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Questionnaire',&#xA;      'id' : '44529',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/questionnaire-types',&#xA;            'code' : 'QQ'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/24153'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'name' : '090b990e-046a-4374-b7c6-b08613a41cce',&#xA;      'status' : 'active'&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Organization',&#xA;      'id' : '98618',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/organization-source',&#xA;            'code' : 'manual'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',&#xA;            'code' : 'NotSynchronized'&#xA;          } ]&#xA;        }&#xA;      } ],&#xA;      'identifier' : [ {&#xA;        'use' : 'official',&#xA;        'system' : 'urn:oid:2.16.840.1.113883.2.24.1.1',&#xA;        'value' : '11111111',&#xA;        'period' : {&#xA;          'start' : '2023-10-10T14:49:12+02:00'&#xA;        }&#xA;      } ],&#xA;      'active' : false,&#xA;      'name' : 'defaultTestFactory-be16f47b-1f8a-4440-a02e-23da1219b0ca',&#xA;      'partOf' : {&#xA;        'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/22124'&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'CareTeam',&#xA;      'id' : '87455',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam' ]&#xA;      },&#xA;      'identifier' : [ {&#xA;        'system' : 'urn:ietf:rfc:3986',&#xA;        'value' : 'urn:uuid:9658ef5f-019a-4c90-9c41-f3ad14a31777'&#xA;      } ],&#xA;      'status' : 'active',&#xA;      'name' : '1b900db5-09dd-4563-b612-2b81201fab16',&#xA;      'reasonCode' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'urn:oid:1.2.208.176.2.4',&#xA;          'code' : 'DJ44'&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'QuestionnaireResponse',&#xA;      'id' : '92491',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',&#xA;        'valueReference' : {&#xA;          'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/22208'&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing',&#xA;        'extension' : [ {&#xA;          'url' : 'serviceRequestVersionId',&#xA;          'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'&#xA;        }, {&#xA;          'url' : 'start',&#xA;          'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;        }, {&#xA;          'url' : 'end',&#xA;          'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;        }, {&#xA;          'url' : 'type',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',&#xA;              'code' : 'Resolved'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'basedOn' : [ {&#xA;        'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;      } ],&#xA;      'questionnaire' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529',&#xA;      'status' : 'completed',&#xA;      'subject' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/64465'&#xA;      },&#xA;      'authored' : '2023-10-10T14:49:12+02:00',&#xA;      'source' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/75218'&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Communication',&#xA;      'id' : '97180',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',&#xA;        'valueReference' : {&#xA;          'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/14233'&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/restriction-category',&#xA;            'code' : 'None'&#xA;          } ]&#xA;        }&#xA;      } ],&#xA;      'basedOn' : [ {&#xA;        'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;      } ],&#xA;      'status' : 'in-progress',&#xA;      'category' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/communication-category',&#xA;          'code' : 'annotation'&#xA;        } ]&#xA;      }, {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/message-category',&#xA;          'code' : 'advice'&#xA;        } ]&#xA;      } ],&#xA;      'subject' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/35194'&#xA;      },&#xA;      'topic' : {&#xA;        'coding' : [ {&#xA;          'system' : 'http://terminology.hl7.org/CodeSystem/communication-topic',&#xA;          'code' : 'report-labs'&#xA;        } ]&#xA;      },&#xA;      'sent' : '2023-10-10T14:49:12+02:00',&#xA;      'reasonCode' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/message-reasonCode',&#xA;          'code' : 'ReminderSubmitMeasurement'&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'urn:uuid:57cfd6a7-dd43-4caa-8220-d50c77aebd8b',&#xA;    'resource' : {&#xA;      'resourceType' : 'Parameters',&#xA;      'parameter' : [ {&#xA;        'name' : 'serviceRequestResponseSummary',&#xA;        'part' : [ {&#xA;          'name' : 'serviceRequest',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;          },&#xA;          'part' : [ {&#xA;            'name' : 'condition',&#xA;            'valueCoding' : {&#xA;              'system' : 'urn:oid:1.2.208.176.2.4',&#xA;              'code' : 'DJ44',&#xA;              'display' : 'Kronisk obstruktiv lungesygdom'&#xA;            }&#xA;          }, {&#xA;            'name' : 'episodeOfCareManagingOrganization',&#xA;            'valueReference' : {&#xA;              'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618'&#xA;            }&#xA;          }, {&#xA;            'name' : 'episodeOfCarePeriod',&#xA;            'valuePeriod' : {&#xA;              'start' : '1970-01-01T01:00:01+01:00',&#xA;              'end' : '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;          }, {&#xA;            'name' : 'patientIdentifier',&#xA;            'valueIdentifier' : {&#xA;              'system' : 'urn:oid:1.2.208.176.1.2',&#xA;              'value' : '0101010001'&#xA;            }&#xA;          }, {&#xA;            'name' : 'statusHistory',&#xA;            'part' : [ {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'draft'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-02T12:49:12+00:00',&#xA;                  'end' : '2023-10-03T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'active'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-03T12:49:12+00:00',&#xA;                  'end' : '2023-10-04T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'on-hold'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-04T12:49:12+00:00',&#xA;                  'end' : '2023-10-05T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'active'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-05T12:49:12+00:00',&#xA;                  'end' : '2023-10-08T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'on-hold'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-08T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'involvedCareTeams',&#xA;            'part' : [ {&#xA;              'name' : 'careTeam',&#xA;              'valueReference' : {&#xA;                'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455'&#xA;              }&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'responses',&#xA;            'part' : [ {&#xA;              'name' : 'response',&#xA;              'part' : [ {&#xA;                'name' : 'occurrence',&#xA;                'part' : [ {&#xA;                  'name' : 'serviceRequestVersionId',&#xA;                  'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'&#xA;                }, {&#xA;                  'name' : 'start',&#xA;                  'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;                }, {&#xA;                  'name' : 'end',&#xA;                  'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;                }, {&#xA;                  'name' : 'type',&#xA;                  'valueCodeableConcept' : {&#xA;                    'coding' : [ {&#xA;                      'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',&#xA;                      'code' : 'Resolved'&#xA;                    } ]&#xA;                  }&#xA;                } ]&#xA;              }, {&#xA;                'name' : 'questionnaireResponse',&#xA;                'valueReference' : {&#xA;                  'reference' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491'&#xA;                }&#xA;              }, {&#xA;                'name' : 'submitted',&#xA;                'valueDateTime' : '2023-10-10T12:49:12+00:00'&#xA;              } ]&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'communications',&#xA;            'part' : [ {&#xA;              'name' : 'communication',&#xA;              'valueReference' : {&#xA;                'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180'&#xA;              }&#xA;            } ]&#xA;          } ]&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  } ]&#xA;}"/>
    </operation>
    <operation>
      <name value="fetch-questionnaireresponses"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-questionnaireresponses"/>
      <documentation value="### Report Contents&#xA;This report contains a collection of questionnaire responses and related resources&#xA;- Organizations&#xA;- CareTeams&#xA;- PlanDefinitions&#xA;- ActivityDefinitions&#xA;- Questionnaires&#xA;- QuestionnaireResponses&#xA;- Communication&#xA;- ServiceRequestSummary&#xA;### Grouping &#xA;This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- condition: Filter on CarePlan.addresses.code match&#xA;- period: Filter on QuestionnaireResponse.authored within period&#xA;- plan: Filter on Plan match&#xA;- questionnaire: Filter on ActivityDefinition.composed-of match&#xA;- careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team&#xA;- tag: Filter on tag match&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;### Output&#xA;{&#xA;  'resourceType' : 'Bundle',&#xA;  'id' : 'Questionnaire/44529',&#xA;  'entry' : [ {&#xA;    'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/24206/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'PlanDefinition',&#xA;      'id' : '24206',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/14291'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'status' : 'active',&#xA;      'action' : [ {&#xA;        'definitionCanonical' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919'&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'ActivityDefinition',&#xA;      'id' : '10919',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;            'code' : 'noSharing'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/25403'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'name' : '0ca879ed-678c-4439-aa4a-efc597f92dfb',&#xA;      'status' : 'active',&#xA;      'topic' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://terminology.hl7.org/CodeSystem/definition-topic',&#xA;          'code' : 'treatment'&#xA;        } ]&#xA;      } ],&#xA;      'relatedArtifact' : [ {&#xA;        'type' : 'composed-of',&#xA;        'resource' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529'&#xA;      } ],&#xA;      'code' : {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;          'code' : '273586006'&#xA;        } ]&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Questionnaire',&#xA;      'id' : '44529',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/questionnaire-types',&#xA;            'code' : 'QQ'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/24153'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'name' : '090b990e-046a-4374-b7c6-b08613a41cce',&#xA;      'status' : 'active'&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Organization',&#xA;      'id' : '98618',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/organization-source',&#xA;            'code' : 'manual'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',&#xA;            'code' : 'NotSynchronized'&#xA;          } ]&#xA;        }&#xA;      } ],&#xA;      'identifier' : [ {&#xA;        'use' : 'official',&#xA;        'system' : 'urn:oid:2.16.840.1.113883.2.24.1.1',&#xA;        'value' : '11111111',&#xA;        'period' : {&#xA;          'start' : '2023-10-10T14:49:12+02:00'&#xA;        }&#xA;      } ],&#xA;      'active' : false,&#xA;      'name' : 'defaultTestFactory-be16f47b-1f8a-4440-a02e-23da1219b0ca',&#xA;      'partOf' : {&#xA;        'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/22124'&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'CareTeam',&#xA;      'id' : '87455',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam' ]&#xA;      },&#xA;      'identifier' : [ {&#xA;        'system' : 'urn:ietf:rfc:3986',&#xA;        'value' : 'urn:uuid:9658ef5f-019a-4c90-9c41-f3ad14a31777'&#xA;      } ],&#xA;      'status' : 'active',&#xA;      'name' : '1b900db5-09dd-4563-b612-2b81201fab16',&#xA;      'reasonCode' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'urn:oid:1.2.208.176.2.4',&#xA;          'code' : 'DJ44'&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'QuestionnaireResponse',&#xA;      'id' : '92491',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',&#xA;        'valueReference' : {&#xA;          'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/22208'&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing',&#xA;        'extension' : [ {&#xA;          'url' : 'serviceRequestVersionId',&#xA;          'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'&#xA;        }, {&#xA;          'url' : 'start',&#xA;          'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;        }, {&#xA;          'url' : 'end',&#xA;          'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;        }, {&#xA;          'url' : 'type',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',&#xA;              'code' : 'Resolved'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'basedOn' : [ {&#xA;        'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;      } ],&#xA;      'questionnaire' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529',&#xA;      'status' : 'completed',&#xA;      'subject' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/64465'&#xA;      },&#xA;      'authored' : '2023-10-10T14:49:12+02:00',&#xA;      'source' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/75218'&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Communication',&#xA;      'id' : '97180',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',&#xA;        'valueReference' : {&#xA;          'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/14233'&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/restriction-category',&#xA;            'code' : 'None'&#xA;          } ]&#xA;        }&#xA;      } ],&#xA;      'basedOn' : [ {&#xA;        'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;      } ],&#xA;      'status' : 'in-progress',&#xA;      'category' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/communication-category',&#xA;          'code' : 'annotation'&#xA;        } ]&#xA;      }, {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/message-category',&#xA;          'code' : 'advice'&#xA;        } ]&#xA;      } ],&#xA;      'subject' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/35194'&#xA;      },&#xA;      'topic' : {&#xA;        'coding' : [ {&#xA;          'system' : 'http://terminology.hl7.org/CodeSystem/communication-topic',&#xA;          'code' : 'report-labs'&#xA;        } ]&#xA;      },&#xA;      'sent' : '2023-10-10T14:49:12+02:00',&#xA;      'reasonCode' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/message-reasonCode',&#xA;          'code' : 'ReminderSubmitMeasurement'&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'urn:uuid:57cfd6a7-dd43-4caa-8220-d50c77aebd8b',&#xA;    'resource' : {&#xA;      'resourceType' : 'Parameters',&#xA;      'parameter' : [ {&#xA;        'name' : 'serviceRequestResponseSummary',&#xA;        'part' : [ {&#xA;          'name' : 'serviceRequest',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;          },&#xA;          'part' : [ {&#xA;            'name' : 'condition',&#xA;            'valueCoding' : {&#xA;              'system' : 'urn:oid:1.2.208.176.2.4',&#xA;              'code' : 'DJ44',&#xA;              'display' : 'Kronisk obstruktiv lungesygdom'&#xA;            }&#xA;          }, {&#xA;            'name' : 'episodeOfCareManagingOrganization',&#xA;            'valueReference' : {&#xA;              'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618'&#xA;            }&#xA;          }, {&#xA;            'name' : 'episodeOfCarePeriod',&#xA;            'valuePeriod' : {&#xA;              'start' : '1970-01-01T01:00:01+01:00',&#xA;              'end' : '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;          }, {&#xA;            'name' : 'patientIdentifier',&#xA;            'valueIdentifier' : {&#xA;              'system' : 'urn:oid:1.2.208.176.1.2',&#xA;              'value' : '0101010001'&#xA;            }&#xA;          }, {&#xA;            'name' : 'statusHistory',&#xA;            'part' : [ {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'draft'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-02T12:49:12+00:00',&#xA;                  'end' : '2023-10-03T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'active'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-03T12:49:12+00:00',&#xA;                  'end' : '2023-10-04T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'on-hold'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-04T12:49:12+00:00',&#xA;                  'end' : '2023-10-05T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'active'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-05T12:49:12+00:00',&#xA;                  'end' : '2023-10-08T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'on-hold'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-08T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'involvedCareTeams',&#xA;            'part' : [ {&#xA;              'name' : 'careTeam',&#xA;              'valueReference' : {&#xA;                'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455'&#xA;              }&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'responses',&#xA;            'part' : [ {&#xA;              'name' : 'response',&#xA;              'part' : [ {&#xA;                'name' : 'occurrence',&#xA;                'part' : [ {&#xA;                  'name' : 'serviceRequestVersionId',&#xA;                  'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'&#xA;                }, {&#xA;                  'name' : 'start',&#xA;                  'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;                }, {&#xA;                  'name' : 'end',&#xA;                  'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;                }, {&#xA;                  'name' : 'type',&#xA;                  'valueCodeableConcept' : {&#xA;                    'coding' : [ {&#xA;                      'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',&#xA;                      'code' : 'Resolved'&#xA;                    } ]&#xA;                  }&#xA;                } ]&#xA;              }, {&#xA;                'name' : 'questionnaireResponse',&#xA;                'valueReference' : {&#xA;                  'reference' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491'&#xA;                }&#xA;              }, {&#xA;                'name' : 'submitted',&#xA;                'valueDateTime' : '2023-10-10T12:49:12+00:00'&#xA;              } ]&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'communications',&#xA;            'part' : [ {&#xA;              'name' : 'communication',&#xA;              'valueReference' : {&#xA;                'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180'&#xA;              }&#xA;            } ]&#xA;          } ]&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  } ]&#xA;}"/>
    </operation>
    <operation>
      <name value="execute-questionnaireresponses"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-questionnaireresponses"/>
      <documentation value="### Report Contents&#xA;This report contains a collection of questionnaire responses and related resources&#xA;- Organizations&#xA;- CareTeams&#xA;- PlanDefinitions&#xA;- ActivityDefinitions&#xA;- Questionnaires&#xA;- QuestionnaireResponses&#xA;- Communication&#xA;- ServiceRequestSummary&#xA;### Grouping &#xA;This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- condition: Filter on CarePlan.addresses.code match&#xA;- period: Filter on QuestionnaireResponse.authored within period&#xA;- plan: Filter on Plan match&#xA;- questionnaire: Filter on ActivityDefinition.composed-of match&#xA;- careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team&#xA;- tag: Filter on tag match&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;### Output&#xA;{&#xA;  'resourceType' : 'Bundle',&#xA;  'id' : 'Questionnaire/44529',&#xA;  'entry' : [ {&#xA;    'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/24206/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'PlanDefinition',&#xA;      'id' : '24206',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/14291'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'status' : 'active',&#xA;      'action' : [ {&#xA;        'definitionCanonical' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919'&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'ActivityDefinition',&#xA;      'id' : '10919',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;            'code' : 'noSharing'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/25403'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'name' : '0ca879ed-678c-4439-aa4a-efc597f92dfb',&#xA;      'status' : 'active',&#xA;      'topic' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://terminology.hl7.org/CodeSystem/definition-topic',&#xA;          'code' : 'treatment'&#xA;        } ]&#xA;      } ],&#xA;      'relatedArtifact' : [ {&#xA;        'type' : 'composed-of',&#xA;        'resource' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529'&#xA;      } ],&#xA;      'code' : {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;          'code' : '273586006'&#xA;        } ]&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Questionnaire',&#xA;      'id' : '44529',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/questionnaire-types',&#xA;            'code' : 'QQ'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;        'extension' : [ {&#xA;          'url' : 'reference',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/24153'&#xA;          }&#xA;        }, {&#xA;          'url' : 'role',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;              'code' : 'owner'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'version' : '1.0',&#xA;      'name' : '090b990e-046a-4374-b7c6-b08613a41cce',&#xA;      'status' : 'active'&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Organization',&#xA;      'id' : '98618',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/organization-source',&#xA;            'code' : 'manual'&#xA;          } ]&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',&#xA;            'code' : 'NotSynchronized'&#xA;          } ]&#xA;        }&#xA;      } ],&#xA;      'identifier' : [ {&#xA;        'use' : 'official',&#xA;        'system' : 'urn:oid:2.16.840.1.113883.2.24.1.1',&#xA;        'value' : '11111111',&#xA;        'period' : {&#xA;          'start' : '2023-10-10T14:49:12+02:00'&#xA;        }&#xA;      } ],&#xA;      'active' : false,&#xA;      'name' : 'defaultTestFactory-be16f47b-1f8a-4440-a02e-23da1219b0ca',&#xA;      'partOf' : {&#xA;        'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/22124'&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'CareTeam',&#xA;      'id' : '87455',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam' ]&#xA;      },&#xA;      'identifier' : [ {&#xA;        'system' : 'urn:ietf:rfc:3986',&#xA;        'value' : 'urn:uuid:9658ef5f-019a-4c90-9c41-f3ad14a31777'&#xA;      } ],&#xA;      'status' : 'active',&#xA;      'name' : '1b900db5-09dd-4563-b612-2b81201fab16',&#xA;      'reasonCode' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'urn:oid:1.2.208.176.2.4',&#xA;          'code' : 'DJ44'&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'QuestionnaireResponse',&#xA;      'id' : '92491',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',&#xA;        'valueReference' : {&#xA;          'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/22208'&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing',&#xA;        'extension' : [ {&#xA;          'url' : 'serviceRequestVersionId',&#xA;          'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'&#xA;        }, {&#xA;          'url' : 'start',&#xA;          'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;        }, {&#xA;          'url' : 'end',&#xA;          'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;        }, {&#xA;          'url' : 'type',&#xA;          'valueCodeableConcept' : {&#xA;            'coding' : [ {&#xA;              'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',&#xA;              'code' : 'Resolved'&#xA;            } ]&#xA;          }&#xA;        } ]&#xA;      } ],&#xA;      'basedOn' : [ {&#xA;        'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;      } ],&#xA;      'questionnaire' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529',&#xA;      'status' : 'completed',&#xA;      'subject' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/64465'&#xA;      },&#xA;      'authored' : '2023-10-10T14:49:12+02:00',&#xA;      'source' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/75218'&#xA;      }&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180/_history/1',&#xA;    'resource' : {&#xA;      'resourceType' : 'Communication',&#xA;      'id' : '97180',&#xA;      'meta' : {&#xA;        'versionId' : '1',&#xA;        'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication' ]&#xA;      },&#xA;      'extension' : [ {&#xA;        'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',&#xA;        'valueReference' : {&#xA;          'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/14233'&#xA;        }&#xA;      }, {&#xA;        'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',&#xA;        'valueCodeableConcept' : {&#xA;          'coding' : [ {&#xA;            'system' : 'http://ehealth.sundhed.dk/cs/restriction-category',&#xA;            'code' : 'None'&#xA;          } ]&#xA;        }&#xA;      } ],&#xA;      'basedOn' : [ {&#xA;        'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;      } ],&#xA;      'status' : 'in-progress',&#xA;      'category' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/communication-category',&#xA;          'code' : 'annotation'&#xA;        } ]&#xA;      }, {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/message-category',&#xA;          'code' : 'advice'&#xA;        } ]&#xA;      } ],&#xA;      'subject' : {&#xA;        'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/35194'&#xA;      },&#xA;      'topic' : {&#xA;        'coding' : [ {&#xA;          'system' : 'http://terminology.hl7.org/CodeSystem/communication-topic',&#xA;          'code' : 'report-labs'&#xA;        } ]&#xA;      },&#xA;      'sent' : '2023-10-10T14:49:12+02:00',&#xA;      'reasonCode' : [ {&#xA;        'coding' : [ {&#xA;          'system' : 'http://ehealth.sundhed.dk/cs/message-reasonCode',&#xA;          'code' : 'ReminderSubmitMeasurement'&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  }, {&#xA;    'fullUrl' : 'urn:uuid:57cfd6a7-dd43-4caa-8220-d50c77aebd8b',&#xA;    'resource' : {&#xA;      'resourceType' : 'Parameters',&#xA;      'parameter' : [ {&#xA;        'name' : 'serviceRequestResponseSummary',&#xA;        'part' : [ {&#xA;          'name' : 'serviceRequest',&#xA;          'valueReference' : {&#xA;            'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'&#xA;          },&#xA;          'part' : [ {&#xA;            'name' : 'condition',&#xA;            'valueCoding' : {&#xA;              'system' : 'urn:oid:1.2.208.176.2.4',&#xA;              'code' : 'DJ44',&#xA;              'display' : 'Kronisk obstruktiv lungesygdom'&#xA;            }&#xA;          }, {&#xA;            'name' : 'episodeOfCareManagingOrganization',&#xA;            'valueReference' : {&#xA;              'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618'&#xA;            }&#xA;          }, {&#xA;            'name' : 'episodeOfCarePeriod',&#xA;            'valuePeriod' : {&#xA;              'start' : '1970-01-01T01:00:01+01:00',&#xA;              'end' : '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;          }, {&#xA;            'name' : 'patientIdentifier',&#xA;            'valueIdentifier' : {&#xA;              'system' : 'urn:oid:1.2.208.176.1.2',&#xA;              'value' : '0101010001'&#xA;            }&#xA;          }, {&#xA;            'name' : 'statusHistory',&#xA;            'part' : [ {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'draft'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-02T12:49:12+00:00',&#xA;                  'end' : '2023-10-03T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'active'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-03T12:49:12+00:00',&#xA;                  'end' : '2023-10-04T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'on-hold'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-04T12:49:12+00:00',&#xA;                  'end' : '2023-10-05T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'active'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-05T12:49:12+00:00',&#xA;                  'end' : '2023-10-08T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            }, {&#xA;              'name' : 'statusPeriod',&#xA;              'part' : [ {&#xA;                'name' : 'status',&#xA;                'valueCoding' : {&#xA;                  'system' : 'http://hl7.org/fhir/request-status',&#xA;                  'code' : 'on-hold'&#xA;                }&#xA;              }, {&#xA;                'name' : 'period',&#xA;                'valuePeriod' : {&#xA;                  'start' : '2023-10-08T12:49:12+00:00'&#xA;                }&#xA;              } ]&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'involvedCareTeams',&#xA;            'part' : [ {&#xA;              'name' : 'careTeam',&#xA;              'valueReference' : {&#xA;                'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455'&#xA;              }&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'responses',&#xA;            'part' : [ {&#xA;              'name' : 'response',&#xA;              'part' : [ {&#xA;                'name' : 'occurrence',&#xA;                'part' : [ {&#xA;                  'name' : 'serviceRequestVersionId',&#xA;                  'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'&#xA;                }, {&#xA;                  'name' : 'start',&#xA;                  'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;                }, {&#xA;                  'name' : 'end',&#xA;                  'valueDateTime' : '2023-10-10T14:49:12+02:00'&#xA;                }, {&#xA;                  'name' : 'type',&#xA;                  'valueCodeableConcept' : {&#xA;                    'coding' : [ {&#xA;                      'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',&#xA;                      'code' : 'Resolved'&#xA;                    } ]&#xA;                  }&#xA;                } ]&#xA;              }, {&#xA;                'name' : 'questionnaireResponse',&#xA;                'valueReference' : {&#xA;                  'reference' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491'&#xA;                }&#xA;              }, {&#xA;                'name' : 'submitted',&#xA;                'valueDateTime' : '2023-10-10T12:49:12+00:00'&#xA;              } ]&#xA;            } ]&#xA;          }, {&#xA;            'name' : 'communications',&#xA;            'part' : [ {&#xA;              'name' : 'communication',&#xA;              'valueReference' : {&#xA;                'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180'&#xA;              }&#xA;            } ]&#xA;          } ]&#xA;        } ]&#xA;      } ]&#xA;    }&#xA;  } ]&#xA;}"/>
    </operation>
    <operation>
      <name value="schedule-patient-usage-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-patient-usage-stats"/>
      <documentation value="### Report Contents&#xA;This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.&#xA;### Grouping &#xA;This report is grouped by months and years. All groups are contained in the same JSON file.&#xA;### Parameters&#xA;- None&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;First example is the monthly data:&#xA;&#xA;{&#xA;&#x9;'PatientsUsageSummary': {&#xA;&#x9;&#x9;'monthData': [&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '1',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '2',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '3',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '4',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '5',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '6',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '7',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '8',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '9',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '10',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '11',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '12',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;}&#xA;      ]&#xA;   }&#xA;}&#xA;&#xA;Second example is the yearly data:&#xA;&#xA;{&#xA;&#x9;'PatientsUsageSummary': {&#xA;&#x9;&#x9;'yearData': [&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 12,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'average': 1.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'usageBaseline': 10000,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageRounded': 1000.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageBeyondBaseline': 0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 12,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'average': 1.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'usageBaseline': 10000,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageRounded': 1000.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageBeyondBaseline': 0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;}&#xA;      ]&#xA;   }&#xA;}"/>
    </operation>
    <operation>
      <name value="fetch-patient-usage-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-patient-usage-stats"/>
      <documentation value="### Report Contents&#xA;This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.&#xA;### Grouping &#xA;This report is grouped by months and years. All groups are contained in the same JSON file.&#xA;### Parameters&#xA;- None&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;First example is the monthly data:&#xA;&#xA;{&#xA;&#x9;'PatientsUsageSummary': {&#xA;&#x9;&#x9;'monthData': [&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '1',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '2',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '3',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '4',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '5',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '6',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '7',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '8',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '9',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '10',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '11',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '12',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;}&#xA;      ]&#xA;   }&#xA;}&#xA;&#xA;Second example is the yearly data:&#xA;&#xA;{&#xA;&#x9;'PatientsUsageSummary': {&#xA;&#x9;&#x9;'yearData': [&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 12,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'average': 1.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'usageBaseline': 10000,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageRounded': 1000.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageBeyondBaseline': 0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 12,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'average': 1.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'usageBaseline': 10000,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageRounded': 1000.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageBeyondBaseline': 0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;}&#xA;      ]&#xA;   }&#xA;}"/>
    </operation>
    <operation>
      <name value="execute-patient-usage-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-patient-usage-stats"/>
      <documentation value="### Report Contents&#xA;This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.&#xA;### Grouping &#xA;This report is grouped by months and years. All groups are contained in the same JSON file.&#xA;### Parameters&#xA;- None&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;First example is the monthly data:&#xA;&#xA;{&#xA;&#x9;'PatientsUsageSummary': {&#xA;&#x9;&#x9;'monthData': [&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '1',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '2',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '3',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '4',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '5',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '6',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '7',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '8',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '9',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '10',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '11',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'month': '12',&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 1,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'percentChangeFromLastMonth': 0.0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;}&#xA;      ]&#xA;   }&#xA;}&#xA;&#xA;Second example is the yearly data:&#xA;&#xA;{&#xA;&#x9;'PatientsUsageSummary': {&#xA;&#x9;&#x9;'yearData': [&#xA;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;'year': '1970',&#xA;&#x9;&#x9;&#x9;&#x9;'entries': [&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 12,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'average': 1.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'usageBaseline': 10000,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageRounded': 1000.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageBeyondBaseline': 0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;},&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;{&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'name': 'uniquePatientsWithEpisodeOfCare',&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'count': 12,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'average': 1.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'usageBaseline': 10000,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageRounded': 1000.0,&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;'averageBeyondBaseline': 0&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;}&#xA;&#x9;&#x9;&#x9;&#x9;]&#xA;&#x9;&#x9;&#x9;}&#xA;      ]&#xA;   }&#xA;}"/>
    </operation>
    <operation>
      <name value="schedule-practitioner-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-practitioner-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of practitioners associated with Organizations and CareTeams&#xA;- List of Organization and associated practitonerCount&#xA;- List of CareTeam and associated practitionerCount&#xA;### Grouping &#xA;None. The report is returned in a single JSon file.&#xA;### Parameters&#xA;- organization: &#xA;    - CareTeam: Filter on CareTeam.ManagingOrganization match&#xA;    - PractitionerRole: Filter on PractitionerRole.Organization match&#xA;- period&#xA;    - CareTeam: Filter on CareTeam.participant.period overlap&#xA;    - PractitionerRole: Filter on PractitionerRole.perid overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;Organization and CareTeam are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'PractitionerSummary': {&#xA;            'organizationPractitionerStatistics': [{&#xA;                    'organization': {&#xA;                        'resourceType': 'Organization',&#xA;                        'id': '69075',&#xA;                        'meta': {&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']&#xA;                        },&#xA;                        'extension': [{&#xA;                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/organization-source',&#xA;                                            'code': 'manual'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',&#xA;                                            'code': 'NotSynchronized'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ],&#xA;                        'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'&#xA;                    },&#xA;                    'practitionerCount': 1&#xA;                }&#xA;            ],&#xA;            'careTeamPractitionerStatistics': [{&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '44267',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '40831',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '78765',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '7378e850-aff6-430d-9e86-cca801bf2375',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '46096',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '32543',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }&#xA;            ]&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-practitioner-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-practitioner-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of practitioners associated with Organizations and CareTeams&#xA;- List of Organization and associated practitonerCount&#xA;- List of CareTeam and associated practitionerCount&#xA;### Grouping &#xA;None. The report is returned in a single JSon file.&#xA;### Parameters&#xA;- organization: &#xA;    - CareTeam: Filter on CareTeam.ManagingOrganization match&#xA;    - PractitionerRole: Filter on PractitionerRole.Organization match&#xA;- period&#xA;    - CareTeam: Filter on CareTeam.participant.period overlap&#xA;    - PractitionerRole: Filter on PractitionerRole.perid overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;Organization and CareTeam are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'PractitionerSummary': {&#xA;            'organizationPractitionerStatistics': [{&#xA;                    'organization': {&#xA;                        'resourceType': 'Organization',&#xA;                        'id': '69075',&#xA;                        'meta': {&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']&#xA;                        },&#xA;                        'extension': [{&#xA;                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/organization-source',&#xA;                                            'code': 'manual'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',&#xA;                                            'code': 'NotSynchronized'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ],&#xA;                        'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'&#xA;                    },&#xA;                    'practitionerCount': 1&#xA;                }&#xA;            ],&#xA;            'careTeamPractitionerStatistics': [{&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '44267',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '40831',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '78765',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '7378e850-aff6-430d-9e86-cca801bf2375',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '46096',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '32543',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }&#xA;            ]&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-practitioner-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-practitioner-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of practitioners associated with Organizations and CareTeams&#xA;- List of Organization and associated practitonerCount&#xA;- List of CareTeam and associated practitionerCount&#xA;### Grouping &#xA;None. The report is returned in a single JSon file.&#xA;### Parameters&#xA;- organization: &#xA;    - CareTeam: Filter on CareTeam.ManagingOrganization match&#xA;    - PractitionerRole: Filter on PractitionerRole.Organization match&#xA;- period&#xA;    - CareTeam: Filter on CareTeam.participant.period overlap&#xA;    - PractitionerRole: Filter on PractitionerRole.perid overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;Organization and CareTeam are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'PractitionerSummary': {&#xA;            'organizationPractitionerStatistics': [{&#xA;                    'organization': {&#xA;                        'resourceType': 'Organization',&#xA;                        'id': '69075',&#xA;                        'meta': {&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']&#xA;                        },&#xA;                        'extension': [{&#xA;                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/organization-source',&#xA;                                            'code': 'manual'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',&#xA;                                            'code': 'NotSynchronized'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ],&#xA;                        'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'&#xA;                    },&#xA;                    'practitionerCount': 1&#xA;                }&#xA;            ],&#xA;            'careTeamPractitionerStatistics': [{&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '44267',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '40831',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '78765',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '7378e850-aff6-430d-9e86-cca801bf2375',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '46096',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }, {&#xA;                    'careTeam': {&#xA;                        'resourceType': 'CareTeam',&#xA;                        'id': '32543',&#xA;                        'meta': {&#xA;                            'versionId': '1',&#xA;                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                        },&#xA;                        'identifier': [{&#xA;                                'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',&#xA;                                'system': 'urn:ietf:rfc:3986'&#xA;                            }&#xA;                        ],&#xA;                        'status': 'active',&#xA;                        'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',&#xA;                        'reasonCode': [{&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                        'code': 'TBD'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        ],&#xA;                        'managingOrganization': [{&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'&#xA;                            }&#xA;                        ]&#xA;                    },&#xA;                    'practitionerCount': 0&#xA;                }&#xA;            ]&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-practitioner-gdpr"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-practitioner-gdpr"/>
      <documentation value="### Report Contents&#xA;This report contains all information related to the specified Practitioner&#xA;- Practitioner&#xA;- CareTeam&#xA;- PractitionerRole&#xA;### Grouping &#xA;None. The report is returned in a single JSon file.&#xA;### Parameters&#xA;- organization: &#xA;    - Practitioner: Not filtered&#xA;    - CareTeam: Filter on CareTeam.ManagingOrganization match&#xA;    - PractitionerRole: Filter on PractitionerRole.Organization match&#xA;- period: not used&#xA;- practitionerID: The practitioner to fetch information for&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPractitioner': {&#xA;            'resourceType': 'Practitioner',&#xA;            'id': '20599',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']&#xA;            },&#xA;            'name': [{&#xA;                    'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'&#xA;                }&#xA;            ]&#xA;        },&#xA;        'EHealthPractitionerRole': [],&#xA;        'EHealthCareTeam': [{&#xA;                'resourceType': 'CareTeam',&#xA;                'id': '99438',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                },&#xA;                'identifier': [{&#xA;                        'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',&#xA;                        'system': 'urn:ietf:rfc:3986'&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',&#xA;                'participant': [{&#xA;                        'member': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'reasonCode': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'managingOrganization': [{&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-practitioner-gdpr"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-practitioner-gdpr"/>
      <documentation value="### Report Contents&#xA;This report contains all information related to the specified Practitioner&#xA;- Practitioner&#xA;- CareTeam&#xA;- PractitionerRole&#xA;### Grouping &#xA;None. The report is returned in a single JSon file.&#xA;### Parameters&#xA;- organization: &#xA;    - Practitioner: Not filtered&#xA;    - CareTeam: Filter on CareTeam.ManagingOrganization match&#xA;    - PractitionerRole: Filter on PractitionerRole.Organization match&#xA;- period: not used&#xA;- practitionerID: The practitioner to fetch information for&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPractitioner': {&#xA;            'resourceType': 'Practitioner',&#xA;            'id': '20599',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']&#xA;            },&#xA;            'name': [{&#xA;                    'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'&#xA;                }&#xA;            ]&#xA;        },&#xA;        'EHealthPractitionerRole': [],&#xA;        'EHealthCareTeam': [{&#xA;                'resourceType': 'CareTeam',&#xA;                'id': '99438',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                },&#xA;                'identifier': [{&#xA;                        'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',&#xA;                        'system': 'urn:ietf:rfc:3986'&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',&#xA;                'participant': [{&#xA;                        'member': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'reasonCode': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'managingOrganization': [{&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-practitioner-gdpr"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-practitioner-gdpr"/>
      <documentation value="### Report Contents&#xA;This report contains all information related to the specified Practitioner&#xA;- Practitioner&#xA;- CareTeam&#xA;- PractitionerRole&#xA;### Grouping &#xA;None. The report is returned in a single JSon file.&#xA;### Parameters&#xA;- organization: &#xA;    - Practitioner: Not filtered&#xA;    - CareTeam: Filter on CareTeam.ManagingOrganization match&#xA;    - PractitionerRole: Filter on PractitionerRole.Organization match&#xA;- period: not used&#xA;- practitionerID: The practitioner to fetch information for&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPractitioner': {&#xA;            'resourceType': 'Practitioner',&#xA;            'id': '20599',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']&#xA;            },&#xA;            'name': [{&#xA;                    'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'&#xA;                }&#xA;            ]&#xA;        },&#xA;        'EHealthPractitionerRole': [],&#xA;        'EHealthCareTeam': [{&#xA;                'resourceType': 'CareTeam',&#xA;                'id': '99438',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;                },&#xA;                'identifier': [{&#xA;                        'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',&#xA;                        'system': 'urn:ietf:rfc:3986'&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',&#xA;                'participant': [{&#xA;                        'member': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'reasonCode': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'managingOrganization': [{&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-patient-total"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-patient-total"/>
      <documentation value="### Report Contents&#xA;This report contains clinical information for each Patient&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on EpisodeOfCare.period overlap&#xA;- conditionCode: Filter on Condition.code related to EpisodeOfCare&#xA;- status: Filter on EpisodeOfCare.status&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'Patient': {&#xA;            'resourceType': 'Patient',&#xA;            'id': '70791',&#xA;            'meta': {&#xA;                'versionId': '1'&#xA;            }&#xA;        },&#xA;        'EHealthEpisodeOfCare': [{&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '10928',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '48392',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '4021',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '5732',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '81729',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }, {&#xA;                'resourceType': 'Device',&#xA;                'id': '91432',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '35094',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }, {&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '22449',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ],&#xA;        'EHealthConsent': [{&#xA;                'resourceType': 'Consent',&#xA;                'id': '51690',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']&#xA;                },&#xA;                'status': 'active',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'consentingParty': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'&#xA;                    }&#xA;                ],&#xA;                'actor': [{&#xA;                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',&#xA;                        'role': {&#xA;                            'coding': [{&#xA;                                    'code': 'authserver'&#xA;                                }&#xA;                            ]&#xA;                        },&#xA;                        'reference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'policyRule': 'Rule',&#xA;                'data': [{&#xA;                        'meaning': 'related',&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '87235',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '23385',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '18904',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '7654414a-7f86-4170-9920-fde60368b58b'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCondition': [{&#xA;                'resourceType': 'Condition',&#xA;                'id': '22743',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']&#xA;                },&#xA;                'clinicalStatus': 'active',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthObservation': [{&#xA;                'resourceType': 'Observation',&#xA;                'id': '55832',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'&#xA;                    }&#xA;                ],&#xA;                'status': 'amended',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'urn:oid:1.2.208.176.2.1',&#xA;                            'code': 'NPU03011'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'effectivePeriod': {&#xA;                    'start': '2020-03-26T13:37:40+01:00',&#xA;                    'end': '2020-03-26T13:37:40+01:00'&#xA;                },&#xA;                'performer': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'&#xA;                    }&#xA;                ],&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthQuestionnaireResponse': [{&#xA;                'resourceType': 'QuestionnaireResponse',&#xA;                'id': '21957',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'&#xA;                    }&#xA;                ],&#xA;                'questionnaire': {&#xA;                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'&#xA;                },&#xA;                'status': 'completed',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'authored': '2020-03-26T13:37:40+01:00',&#xA;                'source': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthMedia': [{&#xA;                'resourceType': 'Media',&#xA;                'id': '18256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',&#xA;                        'extension': [{&#xA;                                'url': 'qualityType',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'qualityCode',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'&#xA;                    }&#xA;                ],&#xA;                'type': 'audio',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',&#xA;                'content': {&#xA;                    'language': 'en'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthClinicalImpression': [{&#xA;                'resourceType': 'ClinicalImpression',&#xA;                'id': '39697',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']&#xA;                },&#xA;                'status': 'draft',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-patient-total"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-patient-total"/>
      <documentation value="### Report Contents&#xA;This report contains clinical information for each Patient&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on EpisodeOfCare.period overlap&#xA;- conditionCode: Filter on Condition.code related to EpisodeOfCare&#xA;- status: Filter on EpisodeOfCare.status&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'Patient': {&#xA;            'resourceType': 'Patient',&#xA;            'id': '70791',&#xA;            'meta': {&#xA;                'versionId': '1'&#xA;            }&#xA;        },&#xA;        'EHealthEpisodeOfCare': [{&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '10928',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '48392',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '4021',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '5732',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '81729',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }, {&#xA;                'resourceType': 'Device',&#xA;                'id': '91432',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '35094',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }, {&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '22449',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ],&#xA;        'EHealthConsent': [{&#xA;                'resourceType': 'Consent',&#xA;                'id': '51690',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']&#xA;                },&#xA;                'status': 'active',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'consentingParty': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'&#xA;                    }&#xA;                ],&#xA;                'actor': [{&#xA;                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',&#xA;                        'role': {&#xA;                            'coding': [{&#xA;                                    'code': 'authserver'&#xA;                                }&#xA;                            ]&#xA;                        },&#xA;                        'reference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'policyRule': 'Rule',&#xA;                'data': [{&#xA;                        'meaning': 'related',&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '87235',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '23385',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '18904',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '7654414a-7f86-4170-9920-fde60368b58b'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCondition': [{&#xA;                'resourceType': 'Condition',&#xA;                'id': '22743',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']&#xA;                },&#xA;                'clinicalStatus': 'active',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthObservation': [{&#xA;                'resourceType': 'Observation',&#xA;                'id': '55832',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'&#xA;                    }&#xA;                ],&#xA;                'status': 'amended',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'urn:oid:1.2.208.176.2.1',&#xA;                            'code': 'NPU03011'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'effectivePeriod': {&#xA;                    'start': '2020-03-26T13:37:40+01:00',&#xA;                    'end': '2020-03-26T13:37:40+01:00'&#xA;                },&#xA;                'performer': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'&#xA;                    }&#xA;                ],&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthQuestionnaireResponse': [{&#xA;                'resourceType': 'QuestionnaireResponse',&#xA;                'id': '21957',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'&#xA;                    }&#xA;                ],&#xA;                'questionnaire': {&#xA;                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'&#xA;                },&#xA;                'status': 'completed',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'authored': '2020-03-26T13:37:40+01:00',&#xA;                'source': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthMedia': [{&#xA;                'resourceType': 'Media',&#xA;                'id': '18256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',&#xA;                        'extension': [{&#xA;                                'url': 'qualityType',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'qualityCode',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'&#xA;                    }&#xA;                ],&#xA;                'type': 'audio',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',&#xA;                'content': {&#xA;                    'language': 'en'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthClinicalImpression': [{&#xA;                'resourceType': 'ClinicalImpression',&#xA;                'id': '39697',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']&#xA;                },&#xA;                'status': 'draft',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-patient-total"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-patient-total"/>
      <documentation value="### Report Contents&#xA;This report contains clinical information for each Patient&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on EpisodeOfCare.period overlap&#xA;- conditionCode: Filter on Condition.code related to EpisodeOfCare&#xA;- status: Filter on EpisodeOfCare.status&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'Patient': {&#xA;            'resourceType': 'Patient',&#xA;            'id': '70791',&#xA;            'meta': {&#xA;                'versionId': '1'&#xA;            }&#xA;        },&#xA;        'EHealthEpisodeOfCare': [{&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '10928',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '48392',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '4021',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '5732',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '81729',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }, {&#xA;                'resourceType': 'Device',&#xA;                'id': '91432',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '35094',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }, {&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '22449',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ],&#xA;        'EHealthConsent': [{&#xA;                'resourceType': 'Consent',&#xA;                'id': '51690',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']&#xA;                },&#xA;                'status': 'active',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'consentingParty': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'&#xA;                    }&#xA;                ],&#xA;                'actor': [{&#xA;                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',&#xA;                        'role': {&#xA;                            'coding': [{&#xA;                                    'code': 'authserver'&#xA;                                }&#xA;                            ]&#xA;                        },&#xA;                        'reference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'policyRule': 'Rule',&#xA;                'data': [{&#xA;                        'meaning': 'related',&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '87235',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '23385',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '18904',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '7654414a-7f86-4170-9920-fde60368b58b'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCondition': [{&#xA;                'resourceType': 'Condition',&#xA;                'id': '22743',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']&#xA;                },&#xA;                'clinicalStatus': 'active',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthObservation': [{&#xA;                'resourceType': 'Observation',&#xA;                'id': '55832',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'&#xA;                    }&#xA;                ],&#xA;                'status': 'amended',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'urn:oid:1.2.208.176.2.1',&#xA;                            'code': 'NPU03011'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'effectivePeriod': {&#xA;                    'start': '2020-03-26T13:37:40+01:00',&#xA;                    'end': '2020-03-26T13:37:40+01:00'&#xA;                },&#xA;                'performer': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'&#xA;                    }&#xA;                ],&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthQuestionnaireResponse': [{&#xA;                'resourceType': 'QuestionnaireResponse',&#xA;                'id': '21957',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'&#xA;                    }&#xA;                ],&#xA;                'questionnaire': {&#xA;                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'&#xA;                },&#xA;                'status': 'completed',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'authored': '2020-03-26T13:37:40+01:00',&#xA;                'source': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthMedia': [{&#xA;                'resourceType': 'Media',&#xA;                'id': '18256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',&#xA;                        'extension': [{&#xA;                                'url': 'qualityType',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'qualityCode',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'&#xA;                    }&#xA;                ],&#xA;                'type': 'audio',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',&#xA;                'content': {&#xA;                    'language': 'en'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthClinicalImpression': [{&#xA;                'resourceType': 'ClinicalImpression',&#xA;                'id': '39697',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']&#xA;                },&#xA;                'status': 'draft',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-patient-gdpr"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-patient-gdpr"/>
      <documentation value="### Report Contents&#xA;This report contains all information related to the specified Patient:&#xA;### Grouping &#xA;None. This report returns a single JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: not used.&#xA;- patient: The patient to fetch information for.&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'Patient': {&#xA;            'resourceType': 'Patient',&#xA;            'id': '70791',&#xA;            'meta': {&#xA;                'versionId': '1'&#xA;            }&#xA;        },&#xA;        'Communication': [{&#xA;                'resourceType': 'Communication',&#xA;                'id': '29256',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'RelatedPerson': [{&#xA;                'resourceType': 'RelatedPerson',&#xA;                'id': '44196',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']&#xA;                },&#xA;                'identifier': [{&#xA;                        'use': 'official',&#xA;                        'system': 'urn:oid:1.2.208.176.1.2',&#xA;                        'value': '2412001234'&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'name': [{&#xA;                        'text': 'Tester'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'Appointment': [{&#xA;                'resourceType': 'Appointment',&#xA;                'id': '74036',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'participant': [{&#xA;                        'id': '5fda865d-5e46-4fc4-8dcc-9b5f9a6b501a',&#xA;                        'actor': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'AppointmentResponse': [{&#xA;                'resourceType': 'AppointmentResponse',&#xA;                'id': '63226',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'actor': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthEpisodeOfCare': [{&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '10928',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '48392',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '4021',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '5732',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '81729',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }, {&#xA;                'resourceType': 'Device',&#xA;                'id': '91432',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '35094',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }, {&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '22449',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ],&#xA;        'EHealthConsent': [{&#xA;                'resourceType': 'Consent',&#xA;                'id': '51690',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']&#xA;                },&#xA;                'status': 'active',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'consentingParty': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'&#xA;                    }&#xA;                ],&#xA;                'actor': [{&#xA;                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',&#xA;                        'role': {&#xA;                            'coding': [{&#xA;                                    'code': 'authserver'&#xA;                                }&#xA;                            ]&#xA;                        },&#xA;                        'reference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'policyRule': 'Rule',&#xA;                'data': [{&#xA;                        'meaning': 'related',&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '87235',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '23385',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '18904',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '7654414a-7f86-4170-9920-fde60368b58b'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCondition': [{&#xA;                'resourceType': 'Condition',&#xA;                'id': '22743',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']&#xA;                },&#xA;                'clinicalStatus': 'active',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthObservation': [{&#xA;                'resourceType': 'Observation',&#xA;                'id': '55832',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'&#xA;                    }&#xA;                ],&#xA;                'status': 'amended',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'urn:oid:1.2.208.176.2.1',&#xA;                            'code': 'NPU03011'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'effectivePeriod': {&#xA;                    'start': '2020-03-26T13:37:40+01:00',&#xA;                    'end': '2020-03-26T13:37:40+01:00'&#xA;                },&#xA;                'performer': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'&#xA;                    }&#xA;                ],&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthQuestionnaireResponse': [{&#xA;                'resourceType': 'QuestionnaireResponse',&#xA;                'id': '21957',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'&#xA;                    }&#xA;                ],&#xA;                'questionnaire': {&#xA;                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'&#xA;                },&#xA;                'status': 'completed',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'authored': '2020-03-26T13:37:40+01:00',&#xA;                'source': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthMedia': [{&#xA;                'resourceType': 'Media',&#xA;                'id': '18256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',&#xA;                        'extension': [{&#xA;                                'url': 'qualityType',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'qualityCode',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'&#xA;                    }&#xA;                ],&#xA;                'type': 'audio',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',&#xA;                'content': {&#xA;                    'language': 'en'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthClinicalImpression': [{&#xA;                'resourceType': 'ClinicalImpression',&#xA;                'id': '39697',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']&#xA;                },&#xA;                'status': 'draft',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthTask': [{&#xA;                'resourceType': 'Task',&#xA;                'id': '96988',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/task-category',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/restriction-category',&#xA;                                    'code': 'None'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/74334'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'proposal',&#xA;                'priority': 'routine',&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCommunication': [{&#xA;                'resourceType': 'Communication',&#xA;                'id': '29256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication']&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthProvenance': [{&#xA;                'resourceType': 'Provenance',&#xA;                'id': '68399',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']&#xA;                },&#xA;                'target': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                    }&#xA;                ],&#xA;                'recorded': '2020-03-26T13:37:39.772+01:00',&#xA;                'policy': ['policy'],&#xA;                'agent': [{&#xA;                        'whoReference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/6901'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'Provenance',&#xA;                'id': '96195',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']&#xA;                },&#xA;                'target': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                    }&#xA;                ],&#xA;                'recorded': '2020-03-26T13:37:39.801+01:00',&#xA;                'policy': ['policy'],&#xA;                'agent': [{&#xA;                        'whoReference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/45854'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-patient-gdpr"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-patient-gdpr"/>
      <documentation value="### Report Contents&#xA;This report contains all information related to the specified Patient&#xA;### Grouping &#xA;None. This report returns a single JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: not used.&#xA;- patient: The patient to fetch information for.&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'Patient': {&#xA;            'resourceType': 'Patient',&#xA;            'id': '70791',&#xA;            'meta': {&#xA;                'versionId': '1'&#xA;            }&#xA;        },&#xA;        'Communication': [{&#xA;                'resourceType': 'Communication',&#xA;                'id': '29256',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'RelatedPerson': [{&#xA;                'resourceType': 'RelatedPerson',&#xA;                'id': '44196',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']&#xA;                },&#xA;                'identifier': [{&#xA;                        'use': 'official',&#xA;                        'system': 'urn:oid:1.2.208.176.1.2',&#xA;                        'value': '2412001234'&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'name': [{&#xA;                        'text': 'Tester'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'Appointment': [{&#xA;                'resourceType': 'Appointment',&#xA;                'id': '74036',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'participant': [{&#xA;                        'id': '5fda865d-5e46-4fc4-8dcc-9b5f9a6b501a',&#xA;                        'actor': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'AppointmentResponse': [{&#xA;                'resourceType': 'AppointmentResponse',&#xA;                'id': '63226',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'actor': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthEpisodeOfCare': [{&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '10928',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '48392',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '4021',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '5732',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '81729',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }, {&#xA;                'resourceType': 'Device',&#xA;                'id': '91432',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '35094',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }, {&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '22449',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ],&#xA;        'EHealthConsent': [{&#xA;                'resourceType': 'Consent',&#xA;                'id': '51690',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']&#xA;                },&#xA;                'status': 'active',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'consentingParty': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'&#xA;                    }&#xA;                ],&#xA;                'actor': [{&#xA;                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',&#xA;                        'role': {&#xA;                            'coding': [{&#xA;                                    'code': 'authserver'&#xA;                                }&#xA;                            ]&#xA;                        },&#xA;                        'reference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'policyRule': 'Rule',&#xA;                'data': [{&#xA;                        'meaning': 'related',&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '87235',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '23385',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '18904',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '7654414a-7f86-4170-9920-fde60368b58b'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCondition': [{&#xA;                'resourceType': 'Condition',&#xA;                'id': '22743',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']&#xA;                },&#xA;                'clinicalStatus': 'active',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthObservation': [{&#xA;                'resourceType': 'Observation',&#xA;                'id': '55832',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'&#xA;                    }&#xA;                ],&#xA;                'status': 'amended',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'urn:oid:1.2.208.176.2.1',&#xA;                            'code': 'NPU03011'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'effectivePeriod': {&#xA;                    'start': '2020-03-26T13:37:40+01:00',&#xA;                    'end': '2020-03-26T13:37:40+01:00'&#xA;                },&#xA;                'performer': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'&#xA;                    }&#xA;                ],&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthQuestionnaireResponse': [{&#xA;                'resourceType': 'QuestionnaireResponse',&#xA;                'id': '21957',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'&#xA;                    }&#xA;                ],&#xA;                'questionnaire': {&#xA;                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'&#xA;                },&#xA;                'status': 'completed',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'authored': '2020-03-26T13:37:40+01:00',&#xA;                'source': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthMedia': [{&#xA;                'resourceType': 'Media',&#xA;                'id': '18256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',&#xA;                        'extension': [{&#xA;                                'url': 'qualityType',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'qualityCode',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'&#xA;                    }&#xA;                ],&#xA;                'type': 'audio',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',&#xA;                'content': {&#xA;                    'language': 'en'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthClinicalImpression': [{&#xA;                'resourceType': 'ClinicalImpression',&#xA;                'id': '39697',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']&#xA;                },&#xA;                'status': 'draft',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthTask': [{&#xA;                'resourceType': 'Task',&#xA;                'id': '96988',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/task-category',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/restriction-category',&#xA;                                    'code': 'None'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/74334'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'proposal',&#xA;                'priority': 'routine',&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCommunication': [{&#xA;                'resourceType': 'Communication',&#xA;                'id': '29256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication']&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthProvenance': [{&#xA;                'resourceType': 'Provenance',&#xA;                'id': '68399',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']&#xA;                },&#xA;                'target': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                    }&#xA;                ],&#xA;                'recorded': '2020-03-26T13:37:39.772+01:00',&#xA;                'policy': ['policy'],&#xA;                'agent': [{&#xA;                        'whoReference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/6901'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'Provenance',&#xA;                'id': '96195',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']&#xA;                },&#xA;                'target': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                    }&#xA;                ],&#xA;                'recorded': '2020-03-26T13:37:39.801+01:00',&#xA;                'policy': ['policy'],&#xA;                'agent': [{&#xA;                        'whoReference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/45854'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-patient-gdpr"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-patient-gdpr"/>
      <documentation value="### Report Contents&#xA;This report contains all information related to the specified Patient&#xA;### Grouping &#xA;None. This report returns a single JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: not used.&#xA;- patient: The patient to fetch information for.&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'Patient': {&#xA;            'resourceType': 'Patient',&#xA;            'id': '70791',&#xA;            'meta': {&#xA;                'versionId': '1'&#xA;            }&#xA;        },&#xA;        'Communication': [{&#xA;                'resourceType': 'Communication',&#xA;                'id': '29256',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'RelatedPerson': [{&#xA;                'resourceType': 'RelatedPerson',&#xA;                'id': '44196',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']&#xA;                },&#xA;                'identifier': [{&#xA;                        'use': 'official',&#xA;                        'system': 'urn:oid:1.2.208.176.1.2',&#xA;                        'value': '2412001234'&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'name': [{&#xA;                        'text': 'Tester'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'Appointment': [{&#xA;                'resourceType': 'Appointment',&#xA;                'id': '74036',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'participant': [{&#xA;                        'id': '5fda865d-5e46-4fc4-8dcc-9b5f9a6b501a',&#xA;                        'actor': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'AppointmentResponse': [{&#xA;                'resourceType': 'AppointmentResponse',&#xA;                'id': '63226',&#xA;                'meta': {&#xA;                    'versionId': '1'&#xA;                },&#xA;                'actor': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthEpisodeOfCare': [{&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '10928',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'EpisodeOfCare',&#xA;                'id': '48392',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'diagnosis': [{&#xA;                        'condition': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'&#xA;                        },&#xA;                        'rank': 1&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'&#xA;                },&#xA;                'managingOrganization': {&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '4021',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                }&#xA;            }, {&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '5732',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '81729',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }, {&#xA;                'resourceType': 'Device',&#xA;                'id': '91432',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '35094',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }, {&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '22449',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ],&#xA;        'EHealthConsent': [{&#xA;                'resourceType': 'Consent',&#xA;                'id': '51690',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']&#xA;                },&#xA;                'status': 'active',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'patient': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'consentingParty': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'&#xA;                    }&#xA;                ],&#xA;                'actor': [{&#xA;                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',&#xA;                        'role': {&#xA;                            'coding': [{&#xA;                                    'code': 'authserver'&#xA;                                }&#xA;                            ]&#xA;                        },&#xA;                        'reference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'policyRule': 'Rule',&#xA;                'data': [{&#xA;                        'meaning': 'related',&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '87235',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '23385',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '18904',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '7654414a-7f86-4170-9920-fde60368b58b'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCondition': [{&#xA;                'resourceType': 'Condition',&#xA;                'id': '22743',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']&#xA;                },&#xA;                'clinicalStatus': 'active',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthObservation': [{&#xA;                'resourceType': 'Observation',&#xA;                'id': '55832',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'&#xA;                    }&#xA;                ],&#xA;                'status': 'amended',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'urn:oid:1.2.208.176.2.1',&#xA;                            'code': 'NPU03011'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'effectivePeriod': {&#xA;                    'start': '2020-03-26T13:37:40+01:00',&#xA;                    'end': '2020-03-26T13:37:40+01:00'&#xA;                },&#xA;                'performer': [{&#xA;                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'&#xA;                    }&#xA;                ],&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthQuestionnaireResponse': [{&#xA;                'resourceType': 'QuestionnaireResponse',&#xA;                'id': '21957',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']&#xA;                },&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'&#xA;                    }&#xA;                ],&#xA;                'questionnaire': {&#xA;                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'&#xA;                },&#xA;                'status': 'completed',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'authored': '2020-03-26T13:37:40+01:00',&#xA;                'source': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthMedia': [{&#xA;                'resourceType': 'Media',&#xA;                'id': '18256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',&#xA;                        'extension': [{&#xA;                                'url': 'qualityType',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'qualityCode',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',&#xA;                                            'code': 'TBD'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'basedOn': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'&#xA;                    }&#xA;                ],&#xA;                'type': 'audio',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                },&#xA;                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',&#xA;                'content': {&#xA;                    'language': 'en'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthClinicalImpression': [{&#xA;                'resourceType': 'ClinicalImpression',&#xA;                'id': '39697',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']&#xA;                },&#xA;                'status': 'draft',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthTask': [{&#xA;                'resourceType': 'Task',&#xA;                'id': '96988',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/task-category',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/restriction-category',&#xA;                                    'code': 'None'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/74334'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'proposal',&#xA;                'priority': 'routine',&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthCommunication': [{&#xA;                'resourceType': 'Communication',&#xA;                'id': '29256',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication']&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthProvenance': [{&#xA;                'resourceType': 'Provenance',&#xA;                'id': '68399',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']&#xA;                },&#xA;                'target': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'&#xA;                    }&#xA;                ],&#xA;                'recorded': '2020-03-26T13:37:39.772+01:00',&#xA;                'policy': ['policy'],&#xA;                'agent': [{&#xA;                        'whoReference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/6901'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }, {&#xA;                'resourceType': 'Provenance',&#xA;                'id': '96195',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']&#xA;                },&#xA;                'target': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'&#xA;                    }&#xA;                ],&#xA;                'recorded': '2020-03-26T13:37:39.801+01:00',&#xA;                'policy': ['policy'],&#xA;                'agent': [{&#xA;                        'whoReference': {&#xA;                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/45854'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-patient-devices"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-patient-devices"/>
      <documentation value="### Report Contents&#xA;This report contains Device information for each EpisodeOfCare:&#xA;- Device&#xA;- DeviceUseStatement&#xA;- DeviceMetrics&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on DeviceUseStatement.whenUsed overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': 'F417C17F9FDE24C9090BD629C8EE1697',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '9541E8EAEAD24376F208D5CD8A4D25F5',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '08D51B81A7FE5B480278150A94D4048A',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '7EA21ACD27EE012439F1440574A6BB21',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-patient-devices"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-patient-devices"/>
      <documentation value="### Report Contents&#xA;This report contains Device information for each EpisodeOfCare:&#xA;- Device&#xA;- DeviceUseStatement&#xA;- DeviceMetrics&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on DeviceUseStatement.whenUsed overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': 'F417C17F9FDE24C9090BD629C8EE1697',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '9541E8EAEAD24376F208D5CD8A4D25F5',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '08D51B81A7FE5B480278150A94D4048A',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '7EA21ACD27EE012439F1440574A6BB21',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-patient-devices"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-patient-devices"/>
      <documentation value="### Report Contents&#xA;This report contains Device information for each EpisodeOfCare:&#xA;- Device&#xA;- DeviceUseStatement&#xA;- DeviceMetrics&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on DeviceUseStatement.whenUsed overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': 'F417C17F9FDE24C9090BD629C8EE1697',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EHealthDeviceUseStatement': [{&#xA;                'resourceType': 'DeviceUseStatement',&#xA;                'id': '9541E8EAEAD24376F208D5CD8A4D25F5',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',&#xA;                        'valueReference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'status': 'active',&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'&#xA;                },&#xA;                'device': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'&#xA;                }&#xA;            }&#xA;        ],&#xA;        'EHealthDevice': [{&#xA;                'resourceType': 'Device',&#xA;                'id': '08D51B81A7FE5B480278150A94D4048A',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',&#xA;                        'valueBoolean': true&#xA;                    }&#xA;                ],&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthDeviceMetric': [{&#xA;                'resourceType': 'DeviceMetric',&#xA;                'id': '7EA21ACD27EE012439F1440574A6BB21',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 5&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 10&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 12&#xA;                            }&#xA;                        ]&#xA;                    }, {&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',&#xA;                        'extension': [{&#xA;                                'url': 'category',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',&#xA;                                            'code': 'initial'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'value',&#xA;                                'valueInteger': 14&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'identifier': {&#xA;                    'value': 'Foo'&#xA;                },&#xA;                'type': {&#xA;                    'text': 'code'&#xA;                },&#xA;                'source': {&#xA;                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'&#xA;                },&#xA;                'category': 'calculation'&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-measurement-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-measurement-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of Measurements for each EpisodeOfCare:&#xA;- Observation&#xA;- QuestionnaireResponse&#xA;- Media&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on:&#xA;    - Observation.effective inside period for Observations&#xA;    - Questionnaire.authored inside period for QuestionnaireResponses&#xA;    - Media.occurence inside period for Media&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': '21357',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EpisodeOfCareMeasurementSummary': {&#xA;            'observationCount': 5,&#xA;            'mediaCount': 0,&#xA;            'questionnaireResponseCount': 0&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-measurement-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-measurement-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of Measurements for each EpisodeOfCare:&#xA;- Observation&#xA;- QuestionnaireResponse&#xA;- Media&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on:&#xA;    - Observation.effective inside period for Observations&#xA;    - Questionnaire.authored inside period for QuestionnaireResponses&#xA;    - Media.occurence inside period for Media&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': '21357',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EpisodeOfCareMeasurementSummary': {&#xA;            'observationCount': 5,&#xA;            'mediaCount': 0,&#xA;            'questionnaireResponseCount': 0&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-measurement-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-measurement-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of Measurements for each EpisodeOfCare:&#xA;- Observation&#xA;- QuestionnaireResponse&#xA;- Media&#xA;### Grouping &#xA;This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on:&#xA;    - Observation.effective inside period for Observations&#xA;    - Questionnaire.authored inside period for QuestionnaireResponses&#xA;    - Media.occurence inside period for Media&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': '21357',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EpisodeOfCareMeasurementSummary': {&#xA;            'observationCount': 5,&#xA;            'mediaCount': 0,&#xA;            'questionnaireResponseCount': 0&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-careteam-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-careteam-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of resources associated with CareTeams:&#xA;- EpisodeOfCare&#xA;- CarePlan&#xA;- Task: Count for each task category&#xA;### Grouping &#xA;This report is grouped by CareTeam. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on CareTeam.managingOrganization match&#xA;- period: Filter on:&#xA;    - CarePlan.period overlap for CarePlans&#xA;    - EpisodeOfCare.period overlap for EpisodeOfCare&#xA;    - Task.authoredOn inside period for Tasks&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthCareTeam is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthCareTeam': {&#xA;            'resourceType': 'CareTeam',&#xA;            'id': '12958',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;            },&#xA;            'identifier': [{&#xA;                    'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',&#xA;                    'system': 'urn:ietf:rfc:3986'&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',&#xA;            'reasonCode': [{&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'managingOrganization': [{&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'&#xA;                }&#xA;            ]&#xA;        },&#xA;        'CareTeamSummary': {&#xA;            'episodeOfCareCount': 2,&#xA;            'carePlanCount': 6,&#xA;            'taskCountByCategory': {&#xA;                'MissingMeasurementResolving': 2&#xA;            }&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-careteam-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-careteam-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of resources associated with CareTeams:&#xA;- EpisodeOfCare&#xA;- CarePlan&#xA;- Task: Count for each task category&#xA;### Grouping &#xA;This report is grouped by CareTeam. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on CareTeam.managingOrganization match&#xA;- period: Filter on:&#xA;    - CarePlan.period overlap for CarePlans&#xA;    - EpisodeOfCare.period overlap for EpisodeOfCare&#xA;    - Task.authoredOn inside period for Tasks&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthCareTeam is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthCareTeam': {&#xA;            'resourceType': 'CareTeam',&#xA;            'id': '12958',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;            },&#xA;            'identifier': [{&#xA;                    'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',&#xA;                    'system': 'urn:ietf:rfc:3986'&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',&#xA;            'reasonCode': [{&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'managingOrganization': [{&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'&#xA;                }&#xA;            ]&#xA;        },&#xA;        'CareTeamSummary': {&#xA;            'episodeOfCareCount': 2,&#xA;            'carePlanCount': 6,&#xA;            'taskCountByCategory': {&#xA;                'MissingMeasurementResolving': 2&#xA;            }&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-careteam-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-careteam-stats"/>
      <documentation value="### Report Contents&#xA;This report contains counts of resources associated with CareTeams:&#xA;- EpisodeOfCare&#xA;- CarePlan&#xA;- Task: Count for each task category&#xA;### Grouping &#xA;This report is grouped by CareTeam. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on CareTeam.managingOrganization match&#xA;- period: Filter on:&#xA;    - CarePlan.period overlap for CarePlans&#xA;    - EpisodeOfCare.period overlap for EpisodeOfCare&#xA;    - Task.authoredOn inside period for Tasks&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthCareTeam is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthCareTeam': {&#xA;            'resourceType': 'CareTeam',&#xA;            'id': '12958',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']&#xA;            },&#xA;            'identifier': [{&#xA;                    'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',&#xA;                    'system': 'urn:ietf:rfc:3986'&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',&#xA;            'reasonCode': [{&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/conditions',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'managingOrganization': [{&#xA;                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'&#xA;                }&#xA;            ]&#xA;        },&#xA;        'CareTeamSummary': {&#xA;            'episodeOfCareCount': 2,&#xA;            'carePlanCount': 6,&#xA;            'taskCountByCategory': {&#xA;                'MissingMeasurementResolving': 2&#xA;            }&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-careplans-by-patient"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-careplans-by-patient"/>
      <documentation value="### Report Contents&#xA;This report contains the following resources:&#xA;- EpisodeOfCare&#xA;- PlanDefinition&#xA;- CarePlan&#xA;- ServiceRequest&#xA;### Grouping &#xA;This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': '30254',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '1597',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'&#xA;                    }&#xA;                ],&#xA;                'activity': [{&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthPlanDefinition': [{&#xA;                'resourceType': 'PlanDefinition',&#xA;                'id': '59578',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                        'extension': [{&#xA;                                'url': 'reference',&#xA;                                'valueReference': {&#xA;                                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'role',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                            'code': 'owner'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '76916',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'&#xA;                }&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-careplans-by-patient"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-careplans-by-patient"/>
      <documentation value="### Report Contents&#xA;This report contains the following resources:&#xA;- EpisodeOfCare&#xA;- PlanDefinition&#xA;- CarePlan&#xA;- ServiceRequest&#xA;### Grouping &#xA;This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': '30254',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '1597',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'&#xA;                    }&#xA;                ],&#xA;                'activity': [{&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthPlanDefinition': [{&#xA;                'resourceType': 'PlanDefinition',&#xA;                'id': '59578',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                        'extension': [{&#xA;                                'url': 'reference',&#xA;                                'valueReference': {&#xA;                                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'role',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                            'code': 'owner'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '76916',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'&#xA;                }&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-careplans-by-patient"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-careplans-by-patient"/>
      <documentation value="### Report Contents&#xA;This report contains the following resources:&#xA;- EpisodeOfCare&#xA;- PlanDefinition&#xA;- CarePlan&#xA;- ServiceRequest&#xA;### Grouping &#xA;This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;All returned objects are Fhir resources. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthEpisodeOfCare': {&#xA;            'resourceType': 'EpisodeOfCare',&#xA;            'id': '30254',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',&#xA;                    'valueReference': {&#xA;                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'&#xA;                    }&#xA;                }&#xA;            ],&#xA;            'status': 'active',&#xA;            'diagnosis': [{&#xA;                    'condition': {&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'&#xA;                    },&#xA;                    'rank': 1&#xA;                }&#xA;            ],&#xA;            'patient': {&#xA;                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'&#xA;            },&#xA;            'managingOrganization': {&#xA;                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'&#xA;            },&#xA;            'period': {&#xA;                'start': '1970-01-01T01:00:01+01:00',&#xA;                'end': '1970-01-01T01:01:40+01:00'&#xA;            }&#xA;        },&#xA;        'EHealthCarePlan': [{&#xA;                'resourceType': 'CarePlan',&#xA;                'id': '1597',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']&#xA;                },&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'&#xA;                    }&#xA;                ],&#xA;                'status': 'draft',&#xA;                'intent': 'option',&#xA;                'category': [{&#xA;                        'coding': [{&#xA;                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',&#xA;                                'code': 'TBD'&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'&#xA;                },&#xA;                'period': {&#xA;                    'start': '1970-01-01T01:00:01+01:00',&#xA;                    'end': '1970-01-01T01:01:40+01:00'&#xA;                },&#xA;                'addresses': [{&#xA;                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'&#xA;                    }&#xA;                ],&#xA;                'activity': [{&#xA;                        'reference': {&#xA;                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'&#xA;                        }&#xA;                    }&#xA;                ]&#xA;            }&#xA;        ],&#xA;        'EHealthPlanDefinition': [{&#xA;                'resourceType': 'PlanDefinition',&#xA;                'id': '59578',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                        'extension': [{&#xA;                                'url': 'reference',&#xA;                                'valueReference': {&#xA;                                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'&#xA;                                }&#xA;                            }, {&#xA;                                'url': 'role',&#xA;                                'valueCodeableConcept': {&#xA;                                    'coding': [{&#xA;                                            'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                            'code': 'owner'&#xA;                                        }&#xA;                                    ]&#xA;                                }&#xA;                            }&#xA;                        ]&#xA;                    }&#xA;                ],&#xA;                'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',&#xA;                'status': 'active'&#xA;            }&#xA;        ],&#xA;        'EHealthServiceRequest': [{&#xA;                'resourceType': 'ServiceRequest',&#xA;                'id': '76916',&#xA;                'meta': {&#xA;                    'versionId': '1',&#xA;                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']&#xA;                },&#xA;                'extension': [{&#xA;                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',&#xA;                                    'code': 'TBD'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    }&#xA;                ],&#xA;                'definition': [{&#xA;                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'&#xA;                    }&#xA;                ],&#xA;                'status': 'completed',&#xA;                'intent': 'filler-order',&#xA;                'code': {&#xA;                    'coding': [{&#xA;                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',&#xA;                            'code': 'TBD'&#xA;                        }&#xA;                    ],&#xA;                    'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'&#xA;                },&#xA;                'subject': {&#xA;                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'&#xA;                },&#xA;                'context': {&#xA;                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'&#xA;                }&#xA;            }&#xA;        ]&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-careplan-duration-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-careplan-duration-stats"/>
      <documentation value="### Report Contents&#xA;This report contains statistics on status changes for CarePlans:&#xA;- count: Number of CarePlans in each state&#xA;- min: Shortest time spent in each state&#xA;- max: Longest time spent in each state&#xA;- sum: Sum of time spent in each state&#xA;- average: Average time spent in each state.&#xA; &#xA;The durations are specified in [ISO 8601](https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) format.&#xA;### Grouping &#xA;This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;- condition: Filter on EpisodeOfCare condition match&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthPlanDefinition is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPlanDefinition': {&#xA;            'resourceType': 'PlanDefinition',&#xA;            'id': '257',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                    'extension': [{&#xA;                            'url': 'reference',&#xA;                            'valueReference': {&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'&#xA;                            }&#xA;                        }, {&#xA;                            'url': 'role',&#xA;                            'valueCodeableConcept': {&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                        'code': 'owner'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',&#xA;            'status': 'active'&#xA;        },&#xA;        'CarePlanStatusDurationSummary': {&#xA;            'statusDurationStatistics': {&#xA;                'draft': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'draft'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P10DT10H0M0S',&#xA;                        'max': 'P15DT0H0M0S',&#xA;                        'sum': 'P25DT10H0M0S',&#xA;                        'average': 'P12DT17H0M0S'&#xA;                    }&#xA;                },&#xA;                'active': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'active'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P200DT0H0M0S',&#xA;                        'max': 'P200DT0H0M0S',&#xA;                        'sum': 'P400DT0H0M0S',&#xA;                        'average': 'P200DT0H0M0S'&#xA;                    }&#xA;                },&#xA;                'completed': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'completed'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P284DT14H0M0S',&#xA;                        'max': 'P380DT0H0M0S',&#xA;                        'sum': 'P664DT14H0M0S',&#xA;                        'average': 'P332DT7H0M0S'&#xA;                    }&#xA;                },&#xA;                'suspended': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'suspended'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P5DT0H0M0S',&#xA;                        'max': 'P5DT0H0M0S',&#xA;                        'sum': 'P10DT0H0M0S',&#xA;                        'average': 'P5DT0H0M0S'&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-careplan-duration-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-careplan-duration-stats"/>
      <documentation value="### Report Contents&#xA;This report contains statistics on status changes for CarePlans:&#xA;- count: Number of CarePlans in each state&#xA;- min: Shortest time spent in each state&#xA;- max: Longest time spent in each state&#xA;- sum: Sum of time spent in each state&#xA;- average: Average time spent in each state.&#xA; &#xA;The durations are specified in [ISO 8601](https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) format.&#xA;### Grouping &#xA;This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;- condition: Filter on EpisodeOfCare condition match&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthPlanDefinition is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPlanDefinition': {&#xA;            'resourceType': 'PlanDefinition',&#xA;            'id': '257',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                    'extension': [{&#xA;                            'url': 'reference',&#xA;                            'valueReference': {&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'&#xA;                            }&#xA;                        }, {&#xA;                            'url': 'role',&#xA;                            'valueCodeableConcept': {&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                        'code': 'owner'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',&#xA;            'status': 'active'&#xA;        },&#xA;        'CarePlanStatusDurationSummary': {&#xA;            'statusDurationStatistics': {&#xA;                'draft': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'draft'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P10DT10H0M0S',&#xA;                        'max': 'P15DT0H0M0S',&#xA;                        'sum': 'P25DT10H0M0S',&#xA;                        'average': 'P12DT17H0M0S'&#xA;                    }&#xA;                },&#xA;                'active': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'active'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P200DT0H0M0S',&#xA;                        'max': 'P200DT0H0M0S',&#xA;                        'sum': 'P400DT0H0M0S',&#xA;                        'average': 'P200DT0H0M0S'&#xA;                    }&#xA;                },&#xA;                'completed': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'completed'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P284DT14H0M0S',&#xA;                        'max': 'P380DT0H0M0S',&#xA;                        'sum': 'P664DT14H0M0S',&#xA;                        'average': 'P332DT7H0M0S'&#xA;                    }&#xA;                },&#xA;                'suspended': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'suspended'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P5DT0H0M0S',&#xA;                        'max': 'P5DT0H0M0S',&#xA;                        'sum': 'P10DT0H0M0S',&#xA;                        'average': 'P5DT0H0M0S'&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-careplan-duration-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-careplan-duration-stats"/>
      <documentation value="### Report Contents&#xA;This report contains statistics on status changes for CarePlans:&#xA;- count: Number of CarePlans in each state&#xA;- min: Shortest time spent in each state&#xA;- max: Longest time spent in each state&#xA;- sum: Sum of time spent in each state&#xA;- average: Average time spent in each state.&#xA; &#xA;The durations are specified in [ISO 8601](https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) format.&#xA;### Grouping &#xA;This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;- condition: Filter on EpisodeOfCare condition match&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthPlanDefinition is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPlanDefinition': {&#xA;            'resourceType': 'PlanDefinition',&#xA;            'id': '257',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                    'extension': [{&#xA;                            'url': 'reference',&#xA;                            'valueReference': {&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'&#xA;                            }&#xA;                        }, {&#xA;                            'url': 'role',&#xA;                            'valueCodeableConcept': {&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                        'code': 'owner'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',&#xA;            'status': 'active'&#xA;        },&#xA;        'CarePlanStatusDurationSummary': {&#xA;            'statusDurationStatistics': {&#xA;                'draft': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'draft'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P10DT10H0M0S',&#xA;                        'max': 'P15DT0H0M0S',&#xA;                        'sum': 'P25DT10H0M0S',&#xA;                        'average': 'P12DT17H0M0S'&#xA;                    }&#xA;                },&#xA;                'active': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'active'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P200DT0H0M0S',&#xA;                        'max': 'P200DT0H0M0S',&#xA;                        'sum': 'P400DT0H0M0S',&#xA;                        'average': 'P200DT0H0M0S'&#xA;                    }&#xA;                },&#xA;                'completed': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'completed'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P284DT14H0M0S',&#xA;                        'max': 'P380DT0H0M0S',&#xA;                        'sum': 'P664DT14H0M0S',&#xA;                        'average': 'P332DT7H0M0S'&#xA;                    }&#xA;                },&#xA;                'suspended': {&#xA;                    'status': {&#xA;                        'valueCodeableConcept': {&#xA;                            'coding': [{&#xA;                                    'system': 'http://hl7.org/fhir/care-plan-status',&#xA;                                    'code': 'suspended'&#xA;                                }&#xA;                            ]&#xA;                        }&#xA;                    },&#xA;                    'durationStatistics': {&#xA;                        'count': 2,&#xA;                        'min': 'P5DT0H0M0S',&#xA;                        'max': 'P5DT0H0M0S',&#xA;                        'sum': 'P10DT0H0M0S',&#xA;                        'average': 'P5DT0H0M0S'&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-careplan-customization-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-careplan-customization-stats"/>
      <documentation value="### Report Contents&#xA;This report contains a count of patient specific modifications of:&#xA;- Measurement schedule timing&#xA;- Reference ranges&#xA;### Grouping &#xA;This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthPlanDefinition is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPlanDefinition': {&#xA;            'resourceType': 'PlanDefinition',&#xA;            'id': '53450',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                    'extension': [{&#xA;                            'url': 'reference',&#xA;                            'valueReference': {&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'&#xA;                            }&#xA;                        }, {&#xA;                            'url': 'role',&#xA;                            'valueCodeableConcept': {&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                        'code': 'owner'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'version': '97219ba1-2202-42a1-b99d-45de3a506b40',&#xA;            'status': 'active'&#xA;        },&#xA;        'CarePlanCustomizationSummary': {&#xA;            'timingCustomizationCount': 1,&#xA;            'referenceRangeCustomizationCount': 1&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-careplan-customization-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-careplan-customization-stats"/>
      <documentation value="### Report Contents&#xA;This report contains a count of patient specific modifications of:&#xA;- Measurement schedule timing&#xA;- Reference ranges&#xA;### Grouping &#xA;This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthPlanDefinition is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPlanDefinition': {&#xA;            'resourceType': 'PlanDefinition',&#xA;            'id': '53450',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                    'extension': [{&#xA;                            'url': 'reference',&#xA;                            'valueReference': {&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'&#xA;                            }&#xA;                        }, {&#xA;                            'url': 'role',&#xA;                            'valueCodeableConcept': {&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                        'code': 'owner'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'version': '97219ba1-2202-42a1-b99d-45de3a506b40',&#xA;            'status': 'active'&#xA;        },&#xA;        'CarePlanCustomizationSummary': {&#xA;            'timingCustomizationCount': 1,&#xA;            'referenceRangeCustomizationCount': 1&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-careplan-customization-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-careplan-customization-stats"/>
      <documentation value="### Report Contents&#xA;This report contains a count of patient specific modifications of:&#xA;- Measurement schedule timing&#xA;- Reference ranges&#xA;### Grouping &#xA;This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;EHealthPlanDefinition is a Fhir resource. See the implementation guide for details&#xA;&#xA;    {&#xA;        'EHealthPlanDefinition': {&#xA;            'resourceType': 'PlanDefinition',&#xA;            'id': '53450',&#xA;            'meta': {&#xA;                'versionId': '1',&#xA;                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']&#xA;            },&#xA;            'extension': [{&#xA;                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',&#xA;                    'extension': [{&#xA;                            'url': 'reference',&#xA;                            'valueReference': {&#xA;                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'&#xA;                            }&#xA;                        }, {&#xA;                            'url': 'role',&#xA;                            'valueCodeableConcept': {&#xA;                                'coding': [{&#xA;                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',&#xA;                                        'code': 'owner'&#xA;                                    }&#xA;                                ]&#xA;                            }&#xA;                        }&#xA;                    ]&#xA;                }&#xA;            ],&#xA;            'version': '97219ba1-2202-42a1-b99d-45de3a506b40',&#xA;            'status': 'active'&#xA;        },&#xA;        'CarePlanCustomizationSummary': {&#xA;            'timingCustomizationCount': 1,&#xA;            'referenceRangeCustomizationCount': 1&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="schedule-careplan-and-episode-of-care-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-careplan-and-episode-of-care-stats"/>
      <documentation value="### Report Contents&#xA;This report contains a count of active EpisodeOfCare and CarePlans.&#xA;### Grouping &#xA;This report is grouped by ConditionCode. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details&#xA;&#xA;    {&#xA;        'ConditionCode': {&#xA;            'valueCodeableConcept': {&#xA;                'coding': [{&#xA;                        'system': 'urn:oid:1.2.208.176.2.4',&#xA;                        'code': 'DJ44'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        },&#xA;        'ConditionSummary': {&#xA;            'activeEpisodeOfCareCount': 1,&#xA;            'activeCarePlanCount': 1&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="fetch-careplan-and-episode-of-care-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-careplan-and-episode-of-care-stats"/>
      <documentation value="### Report Contents&#xA;This report contains a count of active EpisodeOfCare and CarePlans.&#xA;### Grouping &#xA;This report is grouped by ConditionCode. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details&#xA;&#xA;    {&#xA;        'ConditionCode': {&#xA;            'valueCodeableConcept': {&#xA;                'coding': [{&#xA;                        'system': 'urn:oid:1.2.208.176.2.4',&#xA;                        'code': 'DJ44'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        },&#xA;        'ConditionSummary': {&#xA;            'activeEpisodeOfCareCount': 1,&#xA;            'activeCarePlanCount': 1&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="execute-careplan-and-episode-of-care-stats"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-careplan-and-episode-of-care-stats"/>
      <documentation value="### Report Contents&#xA;This report contains a count of active EpisodeOfCare and CarePlans.&#xA;### Grouping &#xA;This report is grouped by ConditionCode. Each group is returned in a separate JSon file.&#xA;### Parameters&#xA;- organization: Filter on EpisodeOfCare.managingOrganization match&#xA;- period: Filter on CarePlan.period overlap&#xA;&#xA;### Output&#xA;Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.&#xA;### Example output&#xA;The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details&#xA;&#xA;    {&#xA;        'ConditionCode': {&#xA;            'valueCodeableConcept': {&#xA;                'coding': [{&#xA;                        'system': 'urn:oid:1.2.208.176.2.4',&#xA;                        'code': 'DJ44'&#xA;                    }&#xA;                ]&#xA;            }&#xA;        },&#xA;        'ConditionSummary': {&#xA;            'activeEpisodeOfCareCount': 1,&#xA;            'activeCarePlanCount': 1&#xA;        }&#xA;    }"/>
    </operation>
    <operation>
      <name value="meta"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta"/>
    </operation>
    <operation>
      <name value="get-resource-counts"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts"/>
      <documentation value="Provides the number of resources currently stored on the server, broken down by resource type"/>
    </operation>
    <operation>
      <name value="expunge"/>
      <definition value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-expunge"/>
    </operation>
  </rest>
</CapabilityStatement>