eHealth Infrastructure (v2020.8)

fetch-careplan-customization-stats

OPERATION: fetch-careplan-customization-stats

The official URL for this operation definition is:

http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-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

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