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 measurement stats

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

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 } }

URL: [base]/$execute-measurement-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 EpisodeOfCare.managingOrganization match.

INperiod0..1Period

Filter on: Observation.effective inside period for Observations, Questionnaire.authored inside period for QuestionnaireResponses, Media.occurence inside period for Media.

OUTreturn0..1Binary