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-11-20 |
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="-s-schedule-questionnaireresponses"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition -s-schedule-questionnaireresponses</b></p><a name="-s-schedule-questionnaireresponses"> </a><a name="hc-s-schedule-questionnaireresponses"> </a><a name="-s-schedule-questionnaireresponses-da-DK"> </a><p>URL: [base]/$schedule-questionnaireresponses</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>_partition</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#integer">integer</a></td><td/><td/></tr><tr><td>IN</td><td>organization</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>condition</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</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>plan</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>questionnaire</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>careteam</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>tag</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</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-schedule-questionnaireresponses"/>
<version value="3.3.0"/>
<name value="schedule-questionnaireresponses"/>
<title value="Schedule questionnare responses"/>
<status value="active"/>
<kind value="operation"/>
<date value="2024-11-20T07:59:22+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 a collection of questionnaire responses and related resources
- Organizations
- CareTeams
- PlanDefinitions
- ActivityDefinitions
- Questionnaires
- QuestionnaireResponses
- Communication
- ServiceRequestSummary
### Grouping
This report is grouped by Questionnaire. Each group is returned as a FHIR bundle in a separate JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- condition: Filter on CarePlan.addresses.code match
- period: Filter on QuestionnaireResponse.authored within period
- plan: Filter on Plan match
- questionnaire: Filter on ActivityDefinition.composed-of match
- careteam: Filter on careteam in CarePlan.careteam or EpisodeOfCare.team
- tag: Filter on tag match
### 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
### Output
{
'resourceType' : 'Bundle',
'id' : 'Questionnaire/44529',
'entry' : [ {
'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/24206/_history/1',
'resource' : {
'resourceType' : 'PlanDefinition',
'id' : '24206',
'meta' : {
'versionId' : '1',
'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition' ]
},
'extension' : [ {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
'extension' : [ {
'url' : 'reference',
'valueReference' : {
'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/14291'
}
}, {
'url' : 'role',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',
'code' : 'owner'
} ]
}
} ]
} ],
'version' : '1.0',
'status' : 'active',
'action' : [ {
'definitionCanonical' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919'
} ]
}
}, {
'fullUrl' : 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/10919/_history/1',
'resource' : {
'resourceType' : 'ActivityDefinition',
'id' : '10919',
'meta' : {
'versionId' : '1',
'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition' ]
},
'extension' : [ {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
'code' : 'noSharing'
} ]
}
}, {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
'extension' : [ {
'url' : 'reference',
'valueReference' : {
'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/25403'
}
}, {
'url' : 'role',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',
'code' : 'owner'
} ]
}
} ]
} ],
'version' : '1.0',
'name' : '0ca879ed-678c-4439-aa4a-efc597f92dfb',
'status' : 'active',
'topic' : [ {
'coding' : [ {
'system' : 'http://terminology.hl7.org/CodeSystem/definition-topic',
'code' : 'treatment'
} ]
} ],
'relatedArtifact' : [ {
'type' : 'composed-of',
'resource' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529'
} ],
'code' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
'code' : '273586006'
} ]
}
}
}, {
'fullUrl' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529/_history/1',
'resource' : {
'resourceType' : 'Questionnaire',
'id' : '44529',
'meta' : {
'versionId' : '1',
'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire' ]
},
'extension' : [ {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/questionnaire-types',
'code' : 'QQ'
} ]
}
}, {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
'extension' : [ {
'url' : 'reference',
'valueReference' : {
'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/24153'
}
}, {
'url' : 'role',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/modifier-role',
'code' : 'owner'
} ]
}
} ]
} ],
'version' : '1.0',
'name' : '090b990e-046a-4374-b7c6-b08613a41cce',
'status' : 'active'
}
}, {
'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618/_history/1',
'resource' : {
'resourceType' : 'Organization',
'id' : '98618',
'meta' : {
'versionId' : '1',
'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization' ]
},
'extension' : [ {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/organization-source',
'code' : 'manual'
} ]
}
}, {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',
'code' : 'NotSynchronized'
} ]
}
} ],
'identifier' : [ {
'use' : 'official',
'system' : 'urn:oid:2.16.840.1.113883.2.24.1.1',
'value' : '11111111',
'period' : {
'start' : '2023-10-10T14:49:12+02:00'
}
} ],
'active' : false,
'name' : 'defaultTestFactory-be16f47b-1f8a-4440-a02e-23da1219b0ca',
'partOf' : {
'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/22124'
}
}
}, {
'fullUrl' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455/_history/1',
'resource' : {
'resourceType' : 'CareTeam',
'id' : '87455',
'meta' : {
'versionId' : '1',
'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam' ]
},
'identifier' : [ {
'system' : 'urn:ietf:rfc:3986',
'value' : 'urn:uuid:9658ef5f-019a-4c90-9c41-f3ad14a31777'
} ],
'status' : 'active',
'name' : '1b900db5-09dd-4563-b612-2b81201fab16',
'reasonCode' : [ {
'coding' : [ {
'system' : 'urn:oid:1.2.208.176.2.4',
'code' : 'DJ44'
} ]
} ]
}
}, {
'fullUrl' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491/_history/1',
'resource' : {
'resourceType' : 'QuestionnaireResponse',
'id' : '92491',
'meta' : {
'versionId' : '1',
'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse' ]
},
'extension' : [ {
'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',
'valueReference' : {
'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/22208'
}
}, {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing',
'extension' : [ {
'url' : 'serviceRequestVersionId',
'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'
}, {
'url' : 'start',
'valueDateTime' : '2023-10-10T14:49:12+02:00'
}, {
'url' : 'end',
'valueDateTime' : '2023-10-10T14:49:12+02:00'
}, {
'url' : 'type',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',
'code' : 'Resolved'
} ]
}
} ]
} ],
'basedOn' : [ {
'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'
} ],
'questionnaire' : 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/44529',
'status' : 'completed',
'subject' : {
'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/64465'
},
'authored' : '2023-10-10T14:49:12+02:00',
'source' : {
'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/75218'
}
}
}, {
'fullUrl' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180/_history/1',
'resource' : {
'resourceType' : 'Communication',
'id' : '97180',
'meta' : {
'versionId' : '1',
'profile' : [ 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication' ]
},
'extension' : [ {
'url' : 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare',
'valueReference' : {
'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/14233'
}
}, {
'url' : 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/restriction-category',
'code' : 'None'
} ]
}
} ],
'basedOn' : [ {
'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'
} ],
'status' : 'in-progress',
'category' : [ {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/communication-category',
'code' : 'annotation'
} ]
}, {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/message-category',
'code' : 'advice'
} ]
} ],
'subject' : {
'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/35194'
},
'topic' : {
'coding' : [ {
'system' : 'http://terminology.hl7.org/CodeSystem/communication-topic',
'code' : 'report-labs'
} ]
},
'sent' : '2023-10-10T14:49:12+02:00',
'reasonCode' : [ {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/message-reasonCode',
'code' : 'ReminderSubmitMeasurement'
} ]
} ]
}
}, {
'fullUrl' : 'urn:uuid:57cfd6a7-dd43-4caa-8220-d50c77aebd8b',
'resource' : {
'resourceType' : 'Parameters',
'parameter' : [ {
'name' : 'serviceRequestResponseSummary',
'part' : [ {
'name' : 'serviceRequest',
'valueReference' : {
'reference' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439'
},
'part' : [ {
'name' : 'condition',
'valueCoding' : {
'system' : 'urn:oid:1.2.208.176.2.4',
'code' : 'DJ44',
'display' : 'Kronisk obstruktiv lungesygdom'
}
}, {
'name' : 'episodeOfCareManagingOrganization',
'valueReference' : {
'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/98618'
}
}, {
'name' : 'episodeOfCarePeriod',
'valuePeriod' : {
'start' : '1970-01-01T01:00:01+01:00',
'end' : '1970-01-01T01:01:40+01:00'
}
}, {
'name' : 'patientIdentifier',
'valueIdentifier' : {
'system' : 'urn:oid:1.2.208.176.1.2',
'value' : '0101010001'
}
}, {
'name' : 'statusHistory',
'part' : [ {
'name' : 'statusPeriod',
'part' : [ {
'name' : 'status',
'valueCoding' : {
'system' : 'http://hl7.org/fhir/request-status',
'code' : 'draft'
}
}, {
'name' : 'period',
'valuePeriod' : {
'start' : '2023-10-02T12:49:12+00:00',
'end' : '2023-10-03T12:49:12+00:00'
}
} ]
}, {
'name' : 'statusPeriod',
'part' : [ {
'name' : 'status',
'valueCoding' : {
'system' : 'http://hl7.org/fhir/request-status',
'code' : 'active'
}
}, {
'name' : 'period',
'valuePeriod' : {
'start' : '2023-10-03T12:49:12+00:00',
'end' : '2023-10-04T12:49:12+00:00'
}
} ]
}, {
'name' : 'statusPeriod',
'part' : [ {
'name' : 'status',
'valueCoding' : {
'system' : 'http://hl7.org/fhir/request-status',
'code' : 'on-hold'
}
}, {
'name' : 'period',
'valuePeriod' : {
'start' : '2023-10-04T12:49:12+00:00',
'end' : '2023-10-05T12:49:12+00:00'
}
} ]
}, {
'name' : 'statusPeriod',
'part' : [ {
'name' : 'status',
'valueCoding' : {
'system' : 'http://hl7.org/fhir/request-status',
'code' : 'active'
}
}, {
'name' : 'period',
'valuePeriod' : {
'start' : '2023-10-05T12:49:12+00:00',
'end' : '2023-10-08T12:49:12+00:00'
}
} ]
}, {
'name' : 'statusPeriod',
'part' : [ {
'name' : 'status',
'valueCoding' : {
'system' : 'http://hl7.org/fhir/request-status',
'code' : 'on-hold'
}
}, {
'name' : 'period',
'valuePeriod' : {
'start' : '2023-10-08T12:49:12+00:00'
}
} ]
} ]
}, {
'name' : 'involvedCareTeams',
'part' : [ {
'name' : 'careTeam',
'valueReference' : {
'reference' : 'https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/87455'
}
} ]
}, {
'name' : 'responses',
'part' : [ {
'name' : 'response',
'part' : [ {
'name' : 'occurrence',
'part' : [ {
'name' : 'serviceRequestVersionId',
'valueId' : 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/79439/_history/1'
}, {
'name' : 'start',
'valueDateTime' : '2023-10-10T14:49:12+02:00'
}, {
'name' : 'end',
'valueDateTime' : '2023-10-10T14:49:12+02:00'
}, {
'name' : 'type',
'valueCodeableConcept' : {
'coding' : [ {
'system' : 'http://ehealth.sundhed.dk/cs/resolved-timing-type',
'code' : 'Resolved'
} ]
}
} ]
}, {
'name' : 'questionnaireResponse',
'valueReference' : {
'reference' : 'https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/92491'
}
}, {
'name' : 'submitted',
'valueDateTime' : '2023-10-10T12:49:12+00:00'
} ]
} ]
}, {
'name' : 'communications',
'part' : [ {
'name' : 'communication',
'valueReference' : {
'reference' : 'https://patient.local.ehealth.sundhed.dk/fhir/Communication/97180'
}
} ]
} ]
} ]
} ]
}
} ]
}
"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="DK"/>
<display value="Denmark"/>
</coding>
</jurisdiction>
<affectsState value="true"/>
<code value="schedule-questionnaireresponses"/>
<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="_partition"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="integer"/>
</parameter>
<parameter>
<name value="organization"/>
<use value="in"/>
<min value="1"/>
<max value="1"/>
<type value="Reference"/>
</parameter>
<parameter>
<name value="condition"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="period"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Period"/>
</parameter>
<parameter>
<name value="plan"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<type value="Reference"/>
</parameter>
<parameter>
<name value="questionnaire"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<type value="Reference"/>
</parameter>
<parameter>
<name value="careteam"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<type value="Reference"/>
</parameter>
<parameter>
<name value="tag"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="return"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Binary"/>
</parameter>
</OperationDefinition>