eHealth Infrastructure (v2020.6.1)

fetch-careteam-stats

OPERATION: fetch-careteam-stats

The official URL for this operation definition is:

http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-careteam-stats

Report Contents

This report contains counts of resources associated with CareTeams: - EpisodeOfCare - CarePlan - Task: Count for each task category

Grouping

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

Parameters

  • organization: Filter on CareTeam.managingOrganization match

  • period: Filter on:

    • CarePlan.period overlap for CarePlans
    • EpisodeOfCare.period overlap for EpisodeOfCare
    • Task.authoredOn inside period for Tasks

      Output

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

      Example output

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

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

URL: [base]/$fetch-careteam-stats

Parameters

UseNameCardinalityTypeBindingDocumentation
INanonymization1..1string
INorganization0..1Reference
INperiod0..1Period
OUTreturn0..1Binary