{ "description": "A Task as used within the MedMij Questionnaires (Dutch: Vragenlijsten) information standard. The vl-QuestionnaireProvisioningTask is used to prescribe a Questionnaire to the user of a PHR system and to track the status of fulfillment.", "_filename": "Questionnaires-Task.json", "package_name": "nictiz.fhir.nl.stu3.questionnaires", "date": null, "derivation": "constraint", "publisher": "Nictiz", "fhirVersion": "3.0.2", "name": "vl-QuestionnaireProvisioningTask", "abstract": false, "copyright": "CC0", "type": "Task", "experimental": null, "resourceType": "StructureDefinition", "title": "vl-QuestionnaireProvisioningTask", "package_version": "0.0.1-beta1", "status": "draft", "id": "864639f2-1714-4874-aa8b-2572475d1650", "kind": "resource", "url": "http://nictiz.nl/fhir/StructureDefinition/vl-QuestionnaireProvisioningTask", "version": "0.0.2", "differential": { "element": [ { "id": "Task", "path": "Task", "constraint": [ { "key": "que-1", "human": "Status must not be completed unless a QuestionnaireResponse is referenced in output", "severity": "error", "expression": "status != 'completed' or output.valueReference.exists()" } ] }, { "id": "Task.groupIdentifier", "max": "0", "path": "Task.groupIdentifier" }, { "id": "Task.partOf", "max": "0", "path": "Task.partOf" }, { "id": "Task.status", "path": "Task.status", "definition": "The current status of the task:\r\n* initially: requested\r\n* when the PHR system has retrieved the Questionnaire resource and is able to present it to the user: accepted\r\n* when the PHR system has retrieved the Questionnaire resource and is unable to present it to the user: rejected\r\n* when the PHR system completes the task by attaching a QuestionnaireResponse resource to Task.output:QuestionnaireResponse: completed\r\n* when the PHR system is unable to complete the assigned task: failed" }, { "id": "Task.businessStatus", "max": "0", "path": "Task.businessStatus" }, { "id": "Task.intent", "path": "Task.intent", "fixedCode": "order" }, { "id": "Task.code", "min": 1, "path": "Task.code", "definition": "A name or code (or both) briefly describing what should be manipulated or fulfilled." }, { "id": "Task.code.coding", "path": "Task.code.coding", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] } }, { "id": "Task.code.coding:Questionnaire", "max": "1", "min": 1, "path": "Task.code.coding", "sliceName": "Questionnaire", "patternCoding": { "code": "74468-0", "system": "http://loinc.org" } }, { "id": "Task.code.coding:Questionnaire.system", "min": 1, "path": "Task.code.coding.system", "fixedUri": "http://loinc.org" }, { "id": "Task.code.coding:Questionnaire.code", "min": 1, "path": "Task.code.coding.code", "fixedCode": "74468-0" }, { "id": "Task.code.coding:Questionnaire.display", "path": "Task.code.coding.display", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "defaultValueString": "Questionnaire form definition Document" }, { "id": "Task.requester.agent", "path": "Task.requester.agent", "type": [ { "code": "Reference", "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization" }, { "code": "Reference", "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner" } ] }, { "id": "Task.requester.agent.extension", "path": "Task.requester.agent.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Task.requester.agent.extension:practitionerRole", "max": "1", "path": "Task.requester.agent.extension", "type": [ { "code": "Extension", "profile": "http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference" } ], "sliceName": "practitionerRole" }, { "id": "Task.owner", "min": 1, "path": "Task.owner", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization" }, { "code": "Reference", "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient" }, { "code": "Reference", "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner" }, { "code": "Reference", "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson" } ], "mapping": [ { "map": "NL-CM:0.0.7", "comment": "Author", "identity": "hcim-basicelements-v1.0-2017EN" } ], "definition": "Individual organization or Device currently responsible for task execution. This will most likely be the patient in MedMij context." }, { "id": "Task.input", "max": "1", "min": 1, "path": "Task.input", "slicing": { "rules": "closed", "discriminator": [ { "path": "type.text", "type": "value" } ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Parameter" } ] }, { "id": "Task.input:Questionnaire", "max": "1", "min": 1, "path": "Task.input", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Parameter" } ], "sliceName": "Questionnaire" }, { "id": "Task.input:Questionnaire.type.text", "min": 1, "path": "Task.input.type.text", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "fixedString": "Questionnaire" }, { "id": "Task.input:Questionnaire.value[x]:valueReference", "path": "Task.input.valueReference", "type": [ { "code": "Reference", "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/vl-Questionnaire" } ], "sliceName": "valueReference" }, { "id": "Task.input:Questionnaire.value[x]:valueReference.reference", "min": 1, "path": "Task.input.valueReference.reference", "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference MUST be version specific." }, { "id": "Task.output", "max": "1", "path": "Task.output", "slicing": { "rules": "open", "discriminator": [ { "path": "type.text", "type": "value" } ] } }, { "id": "Task.output:QuestionnaireResponse", "max": "1", "path": "Task.output", "sliceName": "QuestionnaireResponse" }, { "id": "Task.output:QuestionnaireResponse.type.text", "min": 1, "path": "Task.output.type.text", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "fixedString": "QuestionnaireResponse" }, { "id": "Task.output:QuestionnaireResponse.value[x]:valueReference", "path": "Task.output.valueReference", "type": [ { "code": "Reference", "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/vl-QuestionnaireResponse" } ], "sliceName": "valueReference" }, { "id": "Task.output:QuestionnaireResponse.value[x]:valueReference.reference", "min": 1, "path": "Task.output.valueReference.reference" } ] }, "contact": [ { "name": "Nictiz", "telecom": [ { "use": "work", "value": "info@nictiz.nl", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task" }