eHealth Infrastructure
2.9.0 - release

eHealth Infrastructure - Local Development build (v2.9.0). See the Directory of published versions

: reporting - XML Representation

Active as of 2023-08-18

Raw xml | Download



<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="reporting"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>reporting</h2><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td/></tr><tr><td>Transaction</td><td>y</td></tr><tr><td>System History</td><td>y</td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title="GET a resource (read interaction)">Read</b></th><th><b title="GET past versions of resources (vread interaction)">V-Read</b></th><th><b title="GET all set of resources of the type (search interaction)">Search</b></th><th><b title="PUT a new resource version (update interaction)">Update</b></th><th><b title="POST a new resource (create interaction)">Create</b></th><th><b title="DELETE a resource (delete interaction)">Delete</b></th></tr><tr><td>Binary</td><td><a href="http://hl7.org/fhir/StructureDefinition/Binary">http://hl7.org/fhir/StructureDefinition/Binary</a></td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td></tr><tr><td>OperationDefinition</td><td><a href="http://hl7.org/fhir/StructureDefinition/OperationDefinition">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a></td><td>y</td><td></td><td></td><td></td><td></td><td></td></tr></table></div>
  </text>
  <url value="http://ehealth.sundhed.dk/fhir/CapabilityStatement/reporting"/>
  <version value="2.9.0"/>
  <name value="reporting"/>
  <status value="active"/>
  <date value="2023-08-18T02:52:23.904+00:00"/>
  <publisher value="Systematic | Trifork"/>
  <contact>
    <name value="Systematic | Trifork"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <kind value="instance"/>
  <software>
    <name value="reporting"/>
    <version value="1.9.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>
    <interaction>
      <code value="transaction"/>
    </interaction>
    <interaction>
      <code value="history-system"/>
    </interaction>
    <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
This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.
### Grouping 
This report is grouped by months and years. All groups are contained in the same JSON file.
### Parameters
- None
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details
First example is the monthly data:

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

Second example is the yearly data:

{
	'PatientsUsageSummary': {
		'yearData': [
			{
				'year': '1970',
				'entries': [
					{
						'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',
						'count': 12,
						'average': 1.0,
						'usageBaseline': 10000,
						'averageRounded': 1000.0,
						'averageBeyondBaseline': 0
					},
					{
						'name': 'uniquePatientsWithEpisodeOfCare',
						'count': 12,
						'average': 1.0,
						'usageBaseline': 10000,
						'averageRounded': 1000.0,
						'averageBeyondBaseline': 0
					}
				]
			}
      ]
   }
}"/>
    </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
This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.
### Grouping 
This report is grouped by months and years. All groups are contained in the same JSON file.
### Parameters
- None
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details
First example is the monthly data:

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

Second example is the yearly data:

{
	'PatientsUsageSummary': {
		'yearData': [
			{
				'year': '1970',
				'entries': [
					{
						'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',
						'count': 12,
						'average': 1.0,
						'usageBaseline': 10000,
						'averageRounded': 1000.0,
						'averageBeyondBaseline': 0
					},
					{
						'name': 'uniquePatientsWithEpisodeOfCare',
						'count': 12,
						'average': 1.0,
						'usageBaseline': 10000,
						'averageRounded': 1000.0,
						'averageBeyondBaseline': 0
					}
				]
			}
      ]
   }
}"/>
    </operation>
    <operation>
      <name value="schedule-ssl-orders"/>
      <definition
                  value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-schedule-ssl-orders"/>
      <documentation
                     value="### Report Contents
This report contains SSL Orders
- OrderDetails
- OrderLines
- TraceLines
### Grouping 
Order. Each Order is returned in a single JSon file.
### Parameters
- organization: Filter on Order.buyer
- period: Filter on TraceLine.timestamp
- seller: Filter on Order.seller
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are SSL resources. See the SSL API description for details

    {
        'OrderDetails': {
            'order': {
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'threadId': null,
                'identifiers': null,
                'status': null,
                'priority': null,
                'notes': null,
                'buyer': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/BUYER',
                'seller': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/SELLER',
                'sellerDeliveryContactEmail': null,
                'carePlanRef': null,
                'carePlanTitle': null,
                'earliestDeliveryDate': null,
                'latestDeliveryDate': null,
                'receiver': null
            },
            'orderLines': [{
                    'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order-line/ORDERLINE',
                    'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                    'status': null,
                    'item': null,
                    'agreedDate': null,
                    'device': null
                }
            ],
            'traceLines': [{
                    'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER/1',
                    'timestamp': '2019-12-24T18:00:00Z',
                    'createdByOrganization': null,
                    'createdByUser': null,
                    'text': null,
                    'supplementaryText': null,
                    'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                    'orderLine': null,
                    'statusChange': null
                }
            ]
        }
    }"/>
    </operation>
    <operation>
      <name value="fetch-ssl-orders"/>
      <definition
                  value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-ssl-orders"/>
      <documentation
                     value="### Report Contents
This report contains SSL Orders
- OrderDetails
- OrderLines
- TraceLines
### Grouping 
Order. Each Order is returned in a single JSon file.
### Parameters
- organization: Filter on Order.buyer
- period: Filter on TraceLine.timestamp
- seller: Filter on Order.seller
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are SSL resources. See the SSL API description for details

    {
        'OrderDetails': {
            'order': {
                'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                'threadId': null,
                'identifiers': null,
                'status': null,
                'priority': null,
                'notes': null,
                'buyer': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/BUYER',
                'seller': 'https://ssl-order.local.ehealth.sundhed.dk/v1/party/SELLER',
                'sellerDeliveryContactEmail': null,
                'carePlanRef': null,
                'carePlanTitle': null,
                'earliestDeliveryDate': null,
                'latestDeliveryDate': null,
                'receiver': null
            },
            'orderLines': [{
                    'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order-line/ORDERLINE',
                    'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                    'status': null,
                    'item': null,
                    'agreedDate': null,
                    'device': null
                }
            ],
            'traceLines': [{
                    'id': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER/1',
                    'timestamp': '2019-12-24T18:00:00Z',
                    'createdByOrganization': null,
                    'createdByUser': null,
                    'text': null,
                    'supplementaryText': null,
                    'order': 'https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER',
                    'orderLine': null,
                    'statusChange': null
                }
            ]
        }
    }"/>
    </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
This report contains counts of practitioners associated with Organizations and CareTeams
- List of Organization and associated practitonerCount
- List of CareTeam and associated practitionerCount
### Grouping 
None. The report is returned in a single JSon file.
### Parameters
- organization: 
    - CareTeam: Filter on CareTeam.ManagingOrganization match
    - PractitionerRole: Filter on PractitionerRole.Organization match
- period
    - CareTeam: Filter on CareTeam.participant.period overlap
    - PractitionerRole: Filter on PractitionerRole.perid overlap
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
Organization and CareTeam are Fhir resources. See the implementation guide for details

    {
        'PractitionerSummary': {
            'organizationPractitionerStatistics': [{
                    'organization': {
                        'resourceType': 'Organization',
                        'id': '69075',
                        'meta': {
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
                        },
                        'extension': [{
                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/organization-source',
                                            'code': 'manual'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',
                                            'code': 'NotSynchronized'
                                        }
                                    ]
                                }
                            }
                        ],
                        'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'
                    },
                    'practitionerCount': 1
                }
            ],
            'careTeamPractitionerStatistics': [{
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '44267',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '40831',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '78765',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '7378e850-aff6-430d-9e86-cca801bf2375',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '46096',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '32543',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }
            ]
        }
    }"/>
    </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
This report contains counts of practitioners associated with Organizations and CareTeams
- List of Organization and associated practitonerCount
- List of CareTeam and associated practitionerCount
### Grouping 
None. The report is returned in a single JSon file.
### Parameters
- organization: 
    - CareTeam: Filter on CareTeam.ManagingOrganization match
    - PractitionerRole: Filter on PractitionerRole.Organization match
- period
    - CareTeam: Filter on CareTeam.participant.period overlap
    - PractitionerRole: Filter on PractitionerRole.perid overlap
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
Organization and CareTeam are Fhir resources. See the implementation guide for details

    {
        'PractitionerSummary': {
            'organizationPractitionerStatistics': [{
                    'organization': {
                        'resourceType': 'Organization',
                        'id': '69075',
                        'meta': {
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
                        },
                        'extension': [{
                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/organization-source',
                                            'code': 'manual'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',
                                            'code': 'NotSynchronized'
                                        }
                                    ]
                                }
                            }
                        ],
                        'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'
                    },
                    'practitionerCount': 1
                }
            ],
            'careTeamPractitionerStatistics': [{
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '44267',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '40831',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '78765',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '7378e850-aff6-430d-9e86-cca801bf2375',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '46096',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }, {
                    'careTeam': {
                        'resourceType': 'CareTeam',
                        'id': '32543',
                        'meta': {
                            'versionId': '1',
                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                        },
                        'identifier': [{
                                'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',
                                'system': 'urn:ietf:rfc:3986'
                            }
                        ],
                        'status': 'active',
                        'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',
                        'reasonCode': [{
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                        'code': 'TBD'
                                    }
                                ]
                            }
                        ],
                        'managingOrganization': [{
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'
                            }
                        ]
                    },
                    'practitionerCount': 0
                }
            ]
        }
    }"/>
    </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
This report contains all information related to the specified Practitioner
- Practitioner
- CareTeam
- PractitionerRole
### Grouping 
None. The report is returned in a single JSon file.
### Parameters
- organization: 
    - Practitioner: Not filtered
    - CareTeam: Filter on CareTeam.ManagingOrganization match
    - PractitionerRole: Filter on PractitionerRole.Organization match
- period: not used
- practitionerID: The practitioner to fetch information for
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        'EHealthPractitioner': {
            'resourceType': 'Practitioner',
            'id': '20599',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
            },
            'name': [{
                    'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'
                }
            ]
        },
        'EHealthPractitionerRole': [],
        'EHealthCareTeam': [{
                'resourceType': 'CareTeam',
                'id': '99438',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                },
                'identifier': [{
                        'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',
                        'system': 'urn:ietf:rfc:3986'
                    }
                ],
                'status': 'active',
                'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',
                'participant': [{
                        'member': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'
                        }
                    }
                ],
                'reasonCode': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'managingOrganization': [{
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'
                    }
                ]
            }
        ]
    }"/>
    </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
This report contains all information related to the specified Practitioner
- Practitioner
- CareTeam
- PractitionerRole
### Grouping 
None. The report is returned in a single JSon file.
### Parameters
- organization: 
    - Practitioner: Not filtered
    - CareTeam: Filter on CareTeam.ManagingOrganization match
    - PractitionerRole: Filter on PractitionerRole.Organization match
- period: not used
- practitionerID: The practitioner to fetch information for
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        'EHealthPractitioner': {
            'resourceType': 'Practitioner',
            'id': '20599',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
            },
            'name': [{
                    'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'
                }
            ]
        },
        'EHealthPractitionerRole': [],
        'EHealthCareTeam': [{
                'resourceType': 'CareTeam',
                'id': '99438',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
                },
                'identifier': [{
                        'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',
                        'system': 'urn:ietf:rfc:3986'
                    }
                ],
                'status': 'active',
                'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',
                'participant': [{
                        'member': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'
                        }
                    }
                ],
                'reasonCode': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/conditions',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'managingOrganization': [{
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'
                    }
                ]
            }
        ]
    }"/>
    </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
This report contains clinical information for each Patient
### Grouping 
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on EpisodeOfCare.period overlap
- conditionCode: Filter on Condition.code related to EpisodeOfCare
- status: Filter on EpisodeOfCare.status
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        'Patient': {
            'resourceType': 'Patient',
            'id': '70791',
            'meta': {
                'versionId': '1'
            }
        },
        'EHealthEpisodeOfCare': [{
                'resourceType': 'EpisodeOfCare',
                'id': '10928',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                        }
                    }
                ],
                'status': 'active',
                'diagnosis': [{
                        'condition': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                        },
                        'rank': 1
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                },
                'managingOrganization': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                }
            }, {
                'resourceType': 'EpisodeOfCare',
                'id': '48392',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                        }
                    }
                ],
                'status': 'active',
                'diagnosis': [{
                        'condition': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                        },
                        'rank': 1
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
                },
                'managingOrganization': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                }
            }
        ],
        'EHealthDeviceUseStatement': [{
                'resourceType': 'DeviceUseStatement',
                'id': '4021',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                }
            }, {
                'resourceType': 'DeviceUseStatement',
                'id': '5732',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
                }
            }
        ],
        'EHealthDevice': [{
                'resourceType': 'Device',
                'id': '81729',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }, {
                'resourceType': 'Device',
                'id': '91432',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }
        ],
        'EHealthDeviceMetric': [{
                'resourceType': 'DeviceMetric',
                'id': '35094',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                },
                'category': 'calculation'
            }, {
                'resourceType': 'DeviceMetric',
                'id': '22449',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                },
                'category': 'calculation'
            }
        ],
        'EHealthConsent': [{
                'resourceType': 'Consent',
                'id': '51690',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
                },
                'status': 'active',
                'category': [{
                        'coding': [{
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'consentingParty': [{
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                    }
                ],
                'actor': [{
                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                        'role': {
                            'coding': [{
                                    'code': 'authserver'
                                }
                            ]
                        },
                        'reference': {
                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                        }
                    }
                ],
                'policyRule': 'Rule',
                'data': [{
                        'meaning': 'related',
                        'reference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                        }
                    }
                ]
            }
        ],
        'EHealthCarePlan': [{
                'resourceType': 'CarePlan',
                'id': '87235',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                    }
                ]
            }, {
                'resourceType': 'CarePlan',
                'id': '23385',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                    }
                ]
            }
        ],
        'EHealthServiceRequest': [{
                'resourceType': 'ServiceRequest',
                'id': '18904',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    }
                ],
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                    }
                ],
                'status': 'completed',
                'intent': 'filler-order',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                            'code': 'TBD'
                        }
                    ],
                    'text': '7654414a-7f86-4170-9920-fde60368b58b'
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthCondition': [{
                'resourceType': 'Condition',
                'id': '22743',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
                },
                'clinicalStatus': 'active',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthObservation': [{
                'resourceType': 'Observation',
                'id': '55832',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
                },
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                    }
                ],
                'status': 'amended',
                'code': {
                    'coding': [{
                            'system': 'urn:oid:1.2.208.176.2.1',
                            'code': 'NPU03011'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'effectivePeriod': {
                    'start': '2020-03-26T13:37:40+01:00',
                    'end': '2020-03-26T13:37:40+01:00'
                },
                'performer': [{
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                    }
                ],
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
                }
            }
        ],
        'EHealthQuestionnaireResponse': [{
                'resourceType': 'QuestionnaireResponse',
                'id': '21957',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
                },
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                    }
                ],
                'questionnaire': {
                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
                },
                'status': 'completed',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'authored': '2020-03-26T13:37:40+01:00',
                'source': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
                }
            }
        ],
        'EHealthMedia': [{
                'resourceType': 'Media',
                'id': '18256',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                        'extension': [{
                                'url': 'qualityType',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                            'code': 'TBD'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'qualityCode',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                            'code': 'TBD'
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                ],
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                    }
                ],
                'type': 'audio',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
                'content': {
                    'language': 'en'
                }
            }
        ],
        'EHealthClinicalImpression': [{
                'resourceType': 'ClinicalImpression',
                'id': '39697',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
                },
                'status': 'draft',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                            'code': 'TBD'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ]
    }"/>
    </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
This report contains clinical information for each Patient
### Grouping 
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on EpisodeOfCare.period overlap
- conditionCode: Filter on Condition.code related to EpisodeOfCare
- status: Filter on EpisodeOfCare.status
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        'Patient': {
            'resourceType': 'Patient',
            'id': '70791',
            'meta': {
                'versionId': '1'
            }
        },
        'EHealthEpisodeOfCare': [{
                'resourceType': 'EpisodeOfCare',
                'id': '10928',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                        }
                    }
                ],
                'status': 'active',
                'diagnosis': [{
                        'condition': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                        },
                        'rank': 1
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                },
                'managingOrganization': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                }
            }, {
                'resourceType': 'EpisodeOfCare',
                'id': '48392',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                        }
                    }
                ],
                'status': 'active',
                'diagnosis': [{
                        'condition': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                        },
                        'rank': 1
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
                },
                'managingOrganization': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                }
            }
        ],
        'EHealthDeviceUseStatement': [{
                'resourceType': 'DeviceUseStatement',
                'id': '4021',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                }
            }, {
                'resourceType': 'DeviceUseStatement',
                'id': '5732',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
                }
            }
        ],
        'EHealthDevice': [{
                'resourceType': 'Device',
                'id': '81729',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }, {
                'resourceType': 'Device',
                'id': '91432',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }
        ],
        'EHealthDeviceMetric': [{
                'resourceType': 'DeviceMetric',
                'id': '35094',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                },
                'category': 'calculation'
            }, {
                'resourceType': 'DeviceMetric',
                'id': '22449',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                },
                'category': 'calculation'
            }
        ],
        'EHealthConsent': [{
                'resourceType': 'Consent',
                'id': '51690',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
                },
                'status': 'active',
                'category': [{
                        'coding': [{
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'consentingParty': [{
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                    }
                ],
                'actor': [{
                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                        'role': {
                            'coding': [{
                                    'code': 'authserver'
                                }
                            ]
                        },
                        'reference': {
                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                        }
                    }
                ],
                'policyRule': 'Rule',
                'data': [{
                        'meaning': 'related',
                        'reference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                        }
                    }
                ]
            }
        ],
        'EHealthCarePlan': [{
                'resourceType': 'CarePlan',
                'id': '87235',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                    }
                ]
            }, {
                'resourceType': 'CarePlan',
                'id': '23385',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                    }
                ]
            }
        ],
        'EHealthServiceRequest': [{
                'resourceType': 'ServiceRequest',
                'id': '18904',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    }
                ],
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                    }
                ],
                'status': 'completed',
                'intent': 'filler-order',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                            'code': 'TBD'
                        }
                    ],
                    'text': '7654414a-7f86-4170-9920-fde60368b58b'
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthCondition': [{
                'resourceType': 'Condition',
                'id': '22743',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
                },
                'clinicalStatus': 'active',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthObservation': [{
                'resourceType': 'Observation',
                'id': '55832',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
                },
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                    }
                ],
                'status': 'amended',
                'code': {
                    'coding': [{
                            'system': 'urn:oid:1.2.208.176.2.1',
                            'code': 'NPU03011'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'effectivePeriod': {
                    'start': '2020-03-26T13:37:40+01:00',
                    'end': '2020-03-26T13:37:40+01:00'
                },
                'performer': [{
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                    }
                ],
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
                }
            }
        ],
        'EHealthQuestionnaireResponse': [{
                'resourceType': 'QuestionnaireResponse',
                'id': '21957',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
                },
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                    }
                ],
                'questionnaire': {
                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
                },
                'status': 'completed',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'authored': '2020-03-26T13:37:40+01:00',
                'source': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
                }
            }
        ],
        'EHealthMedia': [{
                'resourceType': 'Media',
                'id': '18256',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                        'extension': [{
                                'url': 'qualityType',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                            'code': 'TBD'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'qualityCode',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                            'code': 'TBD'
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                ],
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                    }
                ],
                'type': 'audio',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
                'content': {
                    'language': 'en'
                }
            }
        ],
        'EHealthClinicalImpression': [{
                'resourceType': 'ClinicalImpression',
                'id': '39697',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
                },
                'status': 'draft',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                            'code': 'TBD'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ]
    }"/>
    </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
This report contains all information related to the specified Patient:
### Grouping 
None. This report returns a single JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: not used.
- patient: The patient to fetch information for.
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

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

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

    {
        'EHealthEpisodeOfCare': {
            'resourceType': 'EpisodeOfCare',
            'id': 'F417C17F9FDE24C9090BD629C8EE1697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        },
        'EHealthDeviceUseStatement': [{
                'resourceType': 'DeviceUseStatement',
                'id': '9541E8EAEAD24376F208D5CD8A4D25F5',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
                }
            }
        ],
        'EHealthDevice': [{
                'resourceType': 'Device',
                'id': '08D51B81A7FE5B480278150A94D4048A',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }
        ],
        'EHealthDeviceMetric': [{
                'resourceType': 'DeviceMetric',
                'id': '7EA21ACD27EE012439F1440574A6BB21',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
                },
                'category': 'calculation'
            }
        ]
    }"/>
    </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
This report contains Device information for each EpisodeOfCare:
- Device
- DeviceUseStatement
- DeviceMetrics
### Grouping 
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on DeviceUseStatement.whenUsed overlap
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        'EHealthEpisodeOfCare': {
            'resourceType': 'EpisodeOfCare',
            'id': 'F417C17F9FDE24C9090BD629C8EE1697',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/313D8B0E0AC8EA8169D1DA45ECEEACB9'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        },
        'EHealthDeviceUseStatement': [{
                'resourceType': 'DeviceUseStatement',
                'id': '9541E8EAEAD24376F208D5CD8A4D25F5',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23D34B29DD02EB232B6575537FE8ADC5'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
                }
            }
        ],
        'EHealthDevice': [{
                'resourceType': 'Device',
                'id': '08D51B81A7FE5B480278150A94D4048A',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }
        ],
        'EHealthDeviceMetric': [{
                'resourceType': 'DeviceMetric',
                'id': '7EA21ACD27EE012439F1440574A6BB21',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A'
                },
                'category': 'calculation'
            }
        ]
    }"/>
    </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
This report contains counts of Measurements for each EpisodeOfCare:
- Observation
- QuestionnaireResponse
- Media
### Grouping 
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on:
    - Observation.effective inside period for Observations
    - Questionnaire.authored inside period for QuestionnaireResponses
    - Media.occurence inside period for Media
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details

    {
        'EHealthEpisodeOfCare': {
            'resourceType': 'EpisodeOfCare',
            'id': '21357',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        },
        'EpisodeOfCareMeasurementSummary': {
            'observationCount': 5,
            'mediaCount': 0,
            'questionnaireResponseCount': 0
        }
    }"/>
    </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
This report contains counts of Measurements for each EpisodeOfCare:
- Observation
- QuestionnaireResponse
- Media
### Grouping 
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on:
    - Observation.effective inside period for Observations
    - Questionnaire.authored inside period for QuestionnaireResponses
    - Media.occurence inside period for Media
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details

    {
        'EHealthEpisodeOfCare': {
            'resourceType': 'EpisodeOfCare',
            'id': '21357',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        },
        'EpisodeOfCareMeasurementSummary': {
            'observationCount': 5,
            'mediaCount': 0,
            'questionnaireResponseCount': 0
        }
    }"/>
    </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
This report contains counts of resources associated with CareTeams:
- EpisodeOfCare
- CarePlan
- Task: Count for each task category
### Grouping 
This report is grouped by CareTeam. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on CareTeam.managingOrganization match
- period: Filter on:
    - CarePlan.period overlap for CarePlans
    - EpisodeOfCare.period overlap for EpisodeOfCare
    - Task.authoredOn inside period for Tasks
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthCareTeam is a Fhir resource. See the implementation guide for details

    {
        'EHealthCareTeam': {
            'resourceType': 'CareTeam',
            'id': '12958',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
            },
            'identifier': [{
                    'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',
                    'system': 'urn:ietf:rfc:3986'
                }
            ],
            'status': 'active',
            'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',
            'reasonCode': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'managingOrganization': [{
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'
                }
            ]
        },
        'CareTeamSummary': {
            'episodeOfCareCount': 2,
            'carePlanCount': 6,
            'taskCountByCategory': {
                'MissingMeasurementResolving': 2
            }
        }
    }"/>
    </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
This report contains counts of resources associated with CareTeams:
- EpisodeOfCare
- CarePlan
- Task: Count for each task category
### Grouping 
This report is grouped by CareTeam. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on CareTeam.managingOrganization match
- period: Filter on:
    - CarePlan.period overlap for CarePlans
    - EpisodeOfCare.period overlap for EpisodeOfCare
    - Task.authoredOn inside period for Tasks
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthCareTeam is a Fhir resource. See the implementation guide for details

    {
        'EHealthCareTeam': {
            'resourceType': 'CareTeam',
            'id': '12958',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
            },
            'identifier': [{
                    'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',
                    'system': 'urn:ietf:rfc:3986'
                }
            ],
            'status': 'active',
            'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',
            'reasonCode': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'managingOrganization': [{
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'
                }
            ]
        },
        'CareTeamSummary': {
            'episodeOfCareCount': 2,
            'carePlanCount': 6,
            'taskCountByCategory': {
                'MissingMeasurementResolving': 2
            }
        }
    }"/>
    </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
This report contains the following resources:
- EpisodeOfCare
- PlanDefinition
- CarePlan
- ServiceRequest
### Grouping 
This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        'EHealthEpisodeOfCare': {
            'resourceType': 'EpisodeOfCare',
            'id': '30254',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        },
        'EHealthCarePlan': [{
                'resourceType': 'CarePlan',
                'id': '1597',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'
                    }
                ],
                'activity': [{
                        'reference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'
                        }
                    }
                ]
            }
        ],
        'EHealthPlanDefinition': [{
                'resourceType': 'PlanDefinition',
                'id': '59578',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                        'extension': [{
                                'url': 'reference',
                                'valueReference': {
                                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'
                                }
                            }, {
                                'url': 'role',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                            'code': 'owner'
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                ],
                'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',
                'status': 'active'
            }
        ],
        'EHealthServiceRequest': [{
                'resourceType': 'ServiceRequest',
                'id': '76916',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    }
                ],
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'
                    }
                ],
                'status': 'completed',
                'intent': 'filler-order',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                            'code': 'TBD'
                        }
                    ],
                    'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'
                }
            }
        ]
    }"/>
    </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
This report contains the following resources:
- EpisodeOfCare
- PlanDefinition
- CarePlan
- ServiceRequest
### Grouping 
This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        'EHealthEpisodeOfCare': {
            'resourceType': 'EpisodeOfCare',
            'id': '30254',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                    'valueReference': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/88873'
                    }
                }
            ],
            'status': 'active',
            'diagnosis': [{
                    'condition': {
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740'
                    },
                    'rank': 1
                }
            ],
            'patient': {
                'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637'
            },
            'managingOrganization': {
                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046'
            },
            'period': {
                'start': '1970-01-01T01:00:01+01:00',
                'end': '1970-01-01T01:01:40+01:00'
            }
        },
        'EHealthCarePlan': [{
                'resourceType': 'CarePlan',
                'id': '1597',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/57779'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/74721'
                    }
                ],
                'activity': [{
                        'reference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916'
                        }
                    }
                ]
            }
        ],
        'EHealthPlanDefinition': [{
                'resourceType': 'PlanDefinition',
                'id': '59578',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                        'extension': [{
                                'url': 'reference',
                                'valueReference': {
                                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757'
                                }
                            }, {
                                'url': 'role',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                            'code': 'owner'
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                ],
                'version': 'c701b8e8-abe6-41bd-9db5-c05b94bc1e2b',
                'status': 'active'
            }
        ],
        'EHealthServiceRequest': [{
                'resourceType': 'ServiceRequest',
                'id': '76916',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    }
                ],
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/13593'
                    }
                ],
                'status': 'completed',
                'intent': 'filler-order',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                            'code': 'TBD'
                        }
                    ],
                    'text': '31d136f2-0b98-4e0a-8f82-f0731b54893d'
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791'
                }
            }
        ]
    }"/>
    </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
This report contains statistics on status changes for CarePlans:
- count: Number of CarePlans in each state
- min: Shortest time spent in each state
- max: Longest time spent in each state
- sum: Sum of time spent in each state
- average: Average time spent in each state.
 
The durations are specified in [ISO 8601](https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) format.
### Grouping 
This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
- condition: Filter on EpisodeOfCare condition match

### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

    {
        'EHealthPlanDefinition': {
            'resourceType': 'PlanDefinition',
            'id': '257',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                    'extension': [{
                            'url': 'reference',
                            'valueReference': {
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'
                            }
                        }, {
                            'url': 'role',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                        'code': 'owner'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',
            'status': 'active'
        },
        'CarePlanStatusDurationSummary': {
            'statusDurationStatistics': {
                'draft': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'draft'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P10DT10H0M0S',
                        'max': 'P15DT0H0M0S',
                        'sum': 'P25DT10H0M0S',
                        'average': 'P12DT17H0M0S'
                    }
                },
                'active': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'active'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P200DT0H0M0S',
                        'max': 'P200DT0H0M0S',
                        'sum': 'P400DT0H0M0S',
                        'average': 'P200DT0H0M0S'
                    }
                },
                'completed': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'completed'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P284DT14H0M0S',
                        'max': 'P380DT0H0M0S',
                        'sum': 'P664DT14H0M0S',
                        'average': 'P332DT7H0M0S'
                    }
                },
                'suspended': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'suspended'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P5DT0H0M0S',
                        'max': 'P5DT0H0M0S',
                        'sum': 'P10DT0H0M0S',
                        'average': 'P5DT0H0M0S'
                    }
                }
            }
        }
    }"/>
    </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
This report contains statistics on status changes for CarePlans:
- count: Number of CarePlans in each state
- min: Shortest time spent in each state
- max: Longest time spent in each state
- sum: Sum of time spent in each state
- average: Average time spent in each state.
 
The durations are specified in [ISO 8601](https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) format.
### Grouping 
This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
- condition: Filter on EpisodeOfCare condition match

### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

    {
        'EHealthPlanDefinition': {
            'resourceType': 'PlanDefinition',
            'id': '257',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                    'extension': [{
                            'url': 'reference',
                            'valueReference': {
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'
                            }
                        }, {
                            'url': 'role',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                        'code': 'owner'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',
            'status': 'active'
        },
        'CarePlanStatusDurationSummary': {
            'statusDurationStatistics': {
                'draft': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'draft'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P10DT10H0M0S',
                        'max': 'P15DT0H0M0S',
                        'sum': 'P25DT10H0M0S',
                        'average': 'P12DT17H0M0S'
                    }
                },
                'active': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'active'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P200DT0H0M0S',
                        'max': 'P200DT0H0M0S',
                        'sum': 'P400DT0H0M0S',
                        'average': 'P200DT0H0M0S'
                    }
                },
                'completed': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'completed'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P284DT14H0M0S',
                        'max': 'P380DT0H0M0S',
                        'sum': 'P664DT14H0M0S',
                        'average': 'P332DT7H0M0S'
                    }
                },
                'suspended': {
                    'status': {
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://hl7.org/fhir/care-plan-status',
                                    'code': 'suspended'
                                }
                            ]
                        }
                    },
                    'durationStatistics': {
                        'count': 2,
                        'min': 'P5DT0H0M0S',
                        'max': 'P5DT0H0M0S',
                        'sum': 'P10DT0H0M0S',
                        'average': 'P5DT0H0M0S'
                    }
                }
            }
        }
    }"/>
    </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
This report contains a count of patient specific modifications of:
- Measurement schedule timing
- Reference ranges
### Grouping 
This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap

### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

    {
        'EHealthPlanDefinition': {
            'resourceType': 'PlanDefinition',
            'id': '53450',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                    'extension': [{
                            'url': 'reference',
                            'valueReference': {
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'
                            }
                        }, {
                            'url': 'role',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                        'code': 'owner'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'version': '97219ba1-2202-42a1-b99d-45de3a506b40',
            'status': 'active'
        },
        'CarePlanCustomizationSummary': {
            'timingCustomizationCount': 1,
            'referenceRangeCustomizationCount': 1
        }
    }"/>
    </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
This report contains a count of patient specific modifications of:
- Measurement schedule timing
- Reference ranges
### Grouping 
This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap

### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details

    {
        'EHealthPlanDefinition': {
            'resourceType': 'PlanDefinition',
            'id': '53450',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
            },
            'extension': [{
                    'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
                    'extension': [{
                            'url': 'reference',
                            'valueReference': {
                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'
                            }
                        }, {
                            'url': 'role',
                            'valueCodeableConcept': {
                                'coding': [{
                                        'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
                                        'code': 'owner'
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            'version': '97219ba1-2202-42a1-b99d-45de3a506b40',
            'status': 'active'
        },
        'CarePlanCustomizationSummary': {
            'timingCustomizationCount': 1,
            'referenceRangeCustomizationCount': 1
        }
    }"/>
    </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
This report contains a count of active EpisodeOfCare and CarePlans.
### Grouping 
This report is grouped by ConditionCode. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap

### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details

    {
        'ConditionCode': {
            'valueCodeableConcept': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.4',
                        'code': 'DJ44'
                    }
                ]
            }
        },
        'ConditionSummary': {
            'activeEpisodeOfCareCount': 1,
            'activeCarePlanCount': 1
        }
    }"/>
    </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
This report contains a count of active EpisodeOfCare and CarePlans.
### Grouping 
This report is grouped by ConditionCode. Each group is returned in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap

### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details

    {
        'ConditionCode': {
            'valueCodeableConcept': {
                'coding': [{
                        'system': 'urn:oid:1.2.208.176.2.4',
                        'code': 'DJ44'
                    }
                ]
            }
        },
        'ConditionSummary': {
            'activeEpisodeOfCareCount': 1,
            'activeCarePlanCount': 1
        }
    }"/>
    </operation>
    <operation>
      <name value="process-message"/>
      <definition
                  value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-process-message"/>
      <documentation value="Accept a FHIR Message Bundle for processing"/>
    </operation>
    <operation>
      <name value="perform-reindexing-pass"/>
      <definition
                  value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-perform-reindexing-pass"/>
      <documentation
                     value="Forces a single pass of the resource reindexing processor"/>
    </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="reindex-terminology"/>
      <definition
                  value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology"/>
    </operation>
  </rest>
</CapabilityStatement>