eHealth Infrastructure
8.0.0 - release Denmark flag

eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 8.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions

OperationDefinition: Execute careteam stats

Official URL: http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-execute-careteam-stats Version: 8.0.0
Active as of 2026-01-14 Computable Name: execute-careteam-stats

Report Contents

This report contains counts of resources associated with CareTeams:

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

    Grouping

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

    Parameters

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

      Output

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

      Example output

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

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

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

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INanonymization1..1string

This parameter is used to control if the report should be anonymized or not. If the value is set to NONE (no anonymization) and the user lacks the required permission, an exception is thrown.

INorganization0..1Reference

Filter on CareTeam.managingOrganization match

INperiod0..1Period

Filter on: CarePlan.period overlap for CarePlans, EpisodeOfCare.period overlap for EpisodeOfCare, Task.authoredOn inside period for Tasks

OUTreturn0..1Binary