FHIR IG analytics| Package | dk.ehealth.sundhed.fhir.ig.core |
| Resource Type | OperationDefinition |
| Id | OperationDefinition--s-fetch-measurement-stats.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/fut-infrastructure/implementation-guide/OperationDefinition--s-fetch-measurement-stats.html |
| URL | http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-measurement-stats |
| Version | 8.0.0 |
| Status | active |
| Date | 2026-02-18T09:10:00+00:00 |
| Name | fetch-measurement-stats |
| Title | Fetch measurement stats |
| Realm | dk |
| Description | ### 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 } } |
| Type | false |
| Kind | operation |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: OperationDefinition -s-fetch-measurement-stats
URL: [base]/$fetch-measurement-stats
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | anonymization | 1..1 | string | 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. | ||
| IN | organization | 0..1 | Reference | Filter on EpisodeOfCare.managingOrganization match. | ||
| IN | period | 0..1 | Period | Filter on: Observation.effective inside period for Observations, Questionnaire.authored inside period for QuestionnaireResponses, Media.occurence inside period for Media. | ||
| OUT | return | 0..1 | Binary |
{
"resourceType": "OperationDefinition",
"id": "-s-fetch-measurement-stats",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-measurement-stats",
"version": "8.0.0",
"name": "fetch-measurement-stats",
"title": "Fetch measurement stats",
"status": "active",
"kind": "operation",
"date": "2026-02-18T09:10:00+00:00",
"publisher": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"contact": [
{
"name": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"telecom": [
{
"system": "url",
"value": "http://ehealth.sundhed.dk"
}
]
}
],
"description": "### Report Contents\nThis report contains counts of Measurements for each EpisodeOfCare:\n- Observation\n- QuestionnaireResponse\n- Media\n### Grouping \nThis report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.\n### Parameters\n- organization: Filter on EpisodeOfCare.managingOrganization match\n- period: Filter on:\n - Observation.effective inside period for Observations\n - Questionnaire.authored inside period for QuestionnaireResponses\n - Media.occurence inside period for Media\n### Output\nOutput can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.\n### Example output\nEHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details\n\n {\n 'EHealthEpisodeOfCare': {\n 'resourceType': 'EpisodeOfCare',\n 'id': '21357',\n 'meta': {\n 'versionId': '1',\n 'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']\n },\n 'extension': [{\n 'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',\n 'valueReference': {\n 'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/30170'\n }\n }\n ],\n 'status': 'active',\n 'diagnosis': [{\n 'condition': {\n 'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274'\n },\n 'rank': 1\n }\n ],\n 'patient': {\n 'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565'\n },\n 'managingOrganization': {\n 'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358'\n },\n 'period': {\n 'start': '1970-01-01T01:00:01+01:00',\n 'end': '1970-01-01T01:01:40+01:00'\n }\n },\n 'EpisodeOfCareMeasurementSummary': {\n 'observationCount': 5,\n 'mediaCount': 0,\n 'questionnaireResponseCount': 0\n }\n }",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "DK",
"display": "Denmark"
}
]
}
],
"affectsState": true,
"code": "fetch-measurement-stats",
"system": true,
"type": false,
"instance": false,
"parameter": [
{
"name": "anonymization",
"use": "in",
"min": 1,
"max": "1",
"documentation": "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.",
"type": "string"
},
{
"name": "organization",
"use": "in",
"min": 0,
"max": "1",
"documentation": "Filter on EpisodeOfCare.managingOrganization match.",
"type": "Reference"
},
{
"name": "period",
"use": "in",
"min": 0,
"max": "1",
"documentation": "Filter on: Observation.effective inside period for Observations, Questionnaire.authored inside period for QuestionnaireResponses, Media.occurence inside period for Media.",
"type": "Period"
},
{
"name": "return",
"use": "out",
"min": 0,
"max": "1",
"type": "Binary"
}
]
}