OPERATION: fetch-measurement-stats
The official URL for this operation definition is:
http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-measurement-stats
This report contains counts of Measurements for each EpisodeOfCare: - Observation - QuestionnaireResponse - Media
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
organization: Filter on EpisodeOfCare.managingOrganization match
period: Filter on:
{ '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
Use | Name | Cardinality | Type | Binding | Documentation |
IN | anonymization | 1..1 | string | ||
IN | organization | 0..1 | Reference | ||
IN | period | 0..1 | Period | ||
OUT | return | 0..1 | Binary |