{
"description": "### Report Contents\\nThis report contains counts of resources associated with CareTeams:\\n- EpisodeOfCare\\n- CarePlan\\n- Task: Count for each task category\\n### Grouping \\nThis report is grouped by CareTeam. Each group is returned in a separate JSon file.\\n### Parameters\\n- organization: Filter on CareTeam.managingOrganization match\\n- period: Filter on:\\n - CarePlan.period overlap for CarePlans\\n - EpisodeOfCare.period overlap for EpisodeOfCare\\n - Task.authoredOn inside period for Tasks\\n### Output\\nOutput can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.\\n### Example output\\nEHealthCareTeam is a Fhir resource. See the implementation guide for details\\n\\n {\\n 'EHealthCareTeam': {\\n 'resourceType': 'CareTeam',\\n 'id': '12958',\\n 'meta': {\\n 'versionId': '1',\\n 'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\\n },\\n 'identifier': [{\\n 'id': '59f70e4e-1c31-4647-8c91-404939b6b14e',\\n 'system': 'urn:ietf:rfc:3986'\\n }\\n ],\\n 'status': 'active',\\n 'name': '0cea5c11-af39-4e5c-8733-9f532ea9961a',\\n 'reasonCode': [{\\n 'coding': [{\\n 'system': 'http://ehealth.sundhed.dk/cs/conditions',\\n 'code': 'TBD'\\n }\\n ]\\n }\\n ],\\n 'managingOrganization': [{\\n 'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642'\\n }\\n ]\\n },\\n 'CareTeamSummary': {\\n 'episodeOfCareCount': 2,\\n 'carePlanCount': 6,\\n 'taskCountByCategory': {\\n 'MissingMeasurementResolving': 2\\n }\\n }\\n }",
"_filename": "OperationDefinition--s-fetch-careteam-stats.json",
"package_name": "dk.ehealth.sundhed.fhir.ig.core",
"date": "2025-08-11T07:09:27+00:00",
"system": true,
"publisher": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"instance": false,
"jurisdiction": [ {
"coding": [ {
"code": "DK",
"system": "urn:iso:std:iso:3166",
"display": "Denmark"
} ]
} ],
"name": "fetch-careteam-stats",
"type": "false",
"experimental": null,
"resourceType": "OperationDefinition",
"title": "Fetch careteam stats",
"package_version": "4.0.1",
"status": "active",
"id": "63958ba2-e3d3-4fd8-9cd7-a0c5fbb98109",
"affectsState": true,
"kind": "operation",
"url": "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-careteam-stats",
"code": "fetch-careteam-stats",
"version": "4.0.1",
"contact": [ {
"name": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"telecom": [ {
"value": "http://ehealth.sundhed.dk",
"system": "url"
} ]
} ],
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "anonymization",
"type": "string"
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "organization",
"type": "Reference"
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "period",
"type": "Period"
}, {
"max": "1",
"min": 0,
"use": "out",
"name": "return",
"type": "Binary"
} ]
}