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: Fetch careplan customization stats

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

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

URL: [base]/$fetch-careplan-customization-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 CarePlan.period overlap

OUTreturn0..1Binary