eHealth Infrastructure
2022.2 - release

eHealth Infrastructure - Local Development build (v2022.2). See the Directory of published versions

OperationDefinition: Fetch measurement stats

Official URL: https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-measurement-stats Version: 2022.2
Active as of 2022-06-20 Computable Name: fetch-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 } }

fetch-measurement-stats

OPERATION: fetch-measurement-stats

The official URL for this operation definition is:

https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-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]/$fetch-measurement-stats

Parameters

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