eHealth Infrastructure
3.1.0 - release

This page is part of the FUT Infrastructure (v3.1.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

OperationDefinition: Execute questionnare responses

Official URL: https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-questionnaireresponses Version: 3.1.0
Active as of 2024-07-01 Computable Name: execute-questionnaireresponses

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’ } } ] } ] } ] } ] } } ] }

Generated Narrative: OperationDefinition -s-execute-questionnaireresponses

URL: [base]/$execute-questionnaireresponses

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INanonymization1..1string
IN_partition0..1integer
INorganization1..1Reference
INcondition0..*Coding
INperiod0..1Period
INplan0..*Reference
INquestionnaire0..*Reference
INcareteam0..*Reference
INtag0..*Coding
OUTreturn0..1Binary