{ "description": "The Extract operation takes a completed QuestionnaireRespponse and converts it to a FHIR resource or Bundle of resources by using metadata embedded in the Questionnaire the Questionnaire is based on or that the operation is invoked on. The extracted resources might include Observations, MedicationStatements and other standard FHIR resources which can then be shared and manipulated.", "_filename": "OperationDefinition-Questionnaire-extract.json", "package_name": "hl7.fhir.uv.sdc", "date": "2018-08-30", "system": false, "publisher": "HL7 International - FHIR Infrastructure", "instance": true, "name": "QuestionnaireExtract", "type": "true", "experimental": null, "resourceType": "OperationDefinition", "title": "Questionnaire response extract to resource(s)", "package_version": "2.5.0", "status": "draft", "id": "190b2dea-6dc9-49b5-be94-16c485563632", "resource": [ "Questionnaire" ], "kind": "operation", "comment": "If the operation is invoked on a Questionnaire instance rather than the Questionnaire type, the instance SHALL either have the same canonical URL as the `QuestionnaireResponse.questionnaire` element or must have a `Questionnaire.derivedFrom` element with that canonical URL.", "url": "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-extract", "code": "extract", "version": "2.5.0", "parameter": [ { "max": "1", "min": 1, "use": "in", "name": "questionnaire-response", "type": "Resource", "documentation": "The QuestionnaireResponse to extract data from. The QuestionnaireResponse must either reference a Questionnaire that complies with a the [Questionnaire Extract Profile](sdc-questionnaire-extract.html) or the operation must be invoked on a Questionnaire that complies with the profile. This is necessary to ensure appropriate metadata is available to support extraction.", "targetProfile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" ] }, { "max": "1", "min": 1, "use": "out", "name": "return", "type": "Resource", "documentation": "The resulting FHIR resource produced after extracting data. This might be a single clinical administrative resource or could be a Transaction Bundle that contains multiple resources." } ] }