eHealth Infrastructure (v2020.8)

fetch-careplan-and-episode-of-care-stats

OPERATION: fetch-careplan-and-episode-of-care-stats

The official URL for this operation definition is:

http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-careplan-and-episode-of-care-stats

Report Contents

This report contains a count of active EpisodeOfCare and CarePlans.

Grouping

This report is grouped by ConditionCode. 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

The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details

{
    'ConditionCode': {
        'valueCodeableConcept': {
            'coding': [{
                    'system': 'urn:oid:1.2.208.176.2.4',
                    'code': 'DJ44'
                }
            ]
        }
    },
    'ConditionSummary': {
        'activeEpisodeOfCareCount': 1,
        'activeCarePlanCount': 1
    }
}

URL: [base]/$fetch-careplan-and-episode-of-care-stats

Parameters

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