eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 3.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions
Active as of 2024-12-20 |
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="-s-fetch-patient-total"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition -s-fetch-patient-total</b></p><a name="-s-fetch-patient-total"> </a><a name="hc-s-fetch-patient-total"> </a><a name="-s-fetch-patient-total-da-DK"> </a><p>URL: [base]/$fetch-patient-total</p><h3>Parameters</h3><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>anonymization</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td/></tr><tr><td>IN</td><td>organization</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>period</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Period">Period</a></td><td/><td/></tr><tr><td>IN</td><td>conditionCode</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td/><td/></tr><tr><td>IN</td><td>status</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td/></tr><tr><td>OUT</td><td>return</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/binary.html">Binary</a></td><td/><td/></tr></table></div>
</text>
<url
value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-patient-total"/>
<version value="3.3.0"/>
<name value="fetch-patient-total"/>
<title value="Fetch patient total"/>
<status value="active"/>
<kind value="operation"/>
<date value="2024-12-20T13:22:48+00:00"/>
<publisher
value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
<contact>
<name value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
<telecom>
<system value="url"/>
<value value="http://ehealth.sundhed.dk"/>
</telecom>
</contact>
<description
value="### Report Contents
This report contains clinical information for each Patient
### 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 EpisodeOfCare.period overlap
- conditionCode: Filter on Condition.code related to EpisodeOfCare
- status: Filter on EpisodeOfCare.status
### 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
All returned objects are Fhir resources. See the implementation guide for details
{
'Patient': {
'resourceType': 'Patient',
'id': '70791',
'meta': {
'versionId': '1'
}
},
'EHealthEpisodeOfCare': [{
'resourceType': 'EpisodeOfCare',
'id': '10928',
'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/43014'
}
}
],
'status': 'active',
'diagnosis': [{
'condition': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
},
'rank': 1
}
],
'patient': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
},
'managingOrganization': {
'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
},
'period': {
'start': '1970-01-01T01:00:01+01:00',
'end': '1970-01-01T01:01:40+01:00'
}
}, {
'resourceType': 'EpisodeOfCare',
'id': '48392',
'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/41282'
}
}
],
'status': 'active',
'diagnosis': [{
'condition': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
},
'rank': 1
}
],
'patient': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
},
'managingOrganization': {
'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
},
'period': {
'start': '1970-01-01T01:00:01+01:00',
'end': '1970-01-01T01:01:40+01:00'
}
}
],
'EHealthDeviceUseStatement': [{
'resourceType': 'DeviceUseStatement',
'id': '4021',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
'valueReference': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
}
}
],
'status': 'active',
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
},
'device': {
'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
}
}, {
'resourceType': 'DeviceUseStatement',
'id': '5732',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
'valueReference': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
}
}
],
'status': 'active',
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
},
'device': {
'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
}
}
],
'EHealthDevice': [{
'resourceType': 'Device',
'id': '81729',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
'valueBoolean': true
}
],
'status': 'active'
}, {
'resourceType': 'Device',
'id': '91432',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
'valueBoolean': true
}
],
'status': 'active'
}
],
'EHealthDeviceMetric': [{
'resourceType': 'DeviceMetric',
'id': '35094',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 5
}
]
}, {
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 10
}
]
}, {
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 12
}
]
}, {
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 14
}
]
}
],
'identifier': {
'value': 'Foo'
},
'type': {
'text': 'code'
},
'source': {
'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
},
'category': 'calculation'
}, {
'resourceType': 'DeviceMetric',
'id': '22449',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 5
}
]
}, {
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 10
}
]
}, {
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 12
}
]
}, {
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
'extension': [{
'url': 'category',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
'code': 'initial'
}
]
}
}, {
'url': 'value',
'valueInteger': 14
}
]
}
],
'identifier': {
'value': 'Foo'
},
'type': {
'text': 'code'
},
'source': {
'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
},
'category': 'calculation'
}
],
'EHealthConsent': [{
'resourceType': 'Consent',
'id': '51690',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
},
'status': 'active',
'category': [{
'coding': [{
'code': 'TBD'
}
]
}
],
'patient': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
},
'period': {
'start': '1970-01-01T01:00:01+01:00',
'end': '1970-01-01T01:01:40+01:00'
},
'consentingParty': [{
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
}
],
'actor': [{
'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
'role': {
'coding': [{
'code': 'authserver'
}
]
},
'reference': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
}
}
],
'policyRule': 'Rule',
'data': [{
'meaning': 'related',
'reference': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
}
}
]
}
],
'EHealthCarePlan': [{
'resourceType': 'CarePlan',
'id': '87235',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
},
'definition': [{
'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
}
],
'status': 'draft',
'intent': 'option',
'category': [{
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
'code': 'TBD'
}
]
}
],
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
},
'period': {
'start': '1970-01-01T01:00:01+01:00',
'end': '1970-01-01T01:01:40+01:00'
},
'addresses': [{
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
}
]
}, {
'resourceType': 'CarePlan',
'id': '23385',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
},
'definition': [{
'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
}
],
'status': 'draft',
'intent': 'option',
'category': [{
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
'code': 'TBD'
}
]
}
],
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
},
'period': {
'start': '1970-01-01T01:00:01+01:00',
'end': '1970-01-01T01:01:40+01:00'
},
'addresses': [{
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
}
]
}
],
'EHealthServiceRequest': [{
'resourceType': 'ServiceRequest',
'id': '18904',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
'code': 'TBD'
}
]
}
}
],
'definition': [{
'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
}
],
'status': 'completed',
'intent': 'filler-order',
'code': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
'code': 'TBD'
}
],
'text': '7654414a-7f86-4170-9920-fde60368b58b'
},
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
}
}
],
'EHealthCondition': [{
'resourceType': 'Condition',
'id': '22743',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
},
'clinicalStatus': 'active',
'code': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/conditions',
'code': 'TBD'
}
]
},
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
}
}
],
'EHealthObservation': [{
'resourceType': 'Observation',
'id': '55832',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
},
'basedOn': [{
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
}
],
'status': 'amended',
'code': {
'coding': [{
'system': 'urn:oid:1.2.208.176.2.1',
'code': 'NPU03011'
}
]
},
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
},
'effectivePeriod': {
'start': '2020-03-26T13:37:40+01:00',
'end': '2020-03-26T13:37:40+01:00'
},
'performer': [{
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
}
],
'device': {
'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
}
}
],
'EHealthQuestionnaireResponse': [{
'resourceType': 'QuestionnaireResponse',
'id': '21957',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
},
'basedOn': [{
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
}
],
'questionnaire': {
'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
},
'status': 'completed',
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
},
'authored': '2020-03-26T13:37:40+01:00',
'source': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
}
}
],
'EHealthMedia': [{
'resourceType': 'Media',
'id': '18256',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
'extension': [{
'url': 'qualityType',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/quality-types',
'code': 'TBD'
}
]
}
}, {
'url': 'qualityCode',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
'code': 'TBD'
}
]
}
}
]
}
],
'basedOn': [{
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
}
],
'type': 'audio',
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
},
'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
'content': {
'language': 'en'
}
}
],
'EHealthClinicalImpression': [{
'resourceType': 'ClinicalImpression',
'id': '39697',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
},
'status': 'draft',
'code': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
'code': 'TBD'
}
]
},
'subject': {
'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
},
'context': {
'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
}
}
]
}
"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="DK"/>
<display value="Denmark"/>
</coding>
</jurisdiction>
<affectsState value="true"/>
<code value="fetch-patient-total"/>
<system value="true"/>
<type value="false"/>
<instance value="false"/>
<parameter>
<name value="anonymization"/>
<use value="in"/>
<min value="1"/>
<max value="1"/>
<type value="string"/>
</parameter>
<parameter>
<name value="organization"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Reference"/>
</parameter>
<parameter>
<name value="period"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Period"/>
</parameter>
<parameter>
<name value="conditionCode"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="status"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="string"/>
</parameter>
<parameter>
<name value="return"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Binary"/>
</parameter>
</OperationDefinition>