{"resourceType":"OperationDefinition","id":"QuestionnaireResponse-extract","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition QuestionnaireResponse-extract</b></p><a name=\"QuestionnaireResponse-extract\"> </a><a name=\"hcQuestionnaireResponse-extract\"> </a><p>URL: [base]/QuestionnaireResponse/$extract</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>QuestionnaireResponse</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/questionnaireresponse.html\">QuestionnaireResponse</a></td><td/><td><div><p>Questionnaire Response content to be extracted</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>Bundle of Extract Results</p>\n</div></td></tr></table><div><p>The extracted resources might include Observations, MedicationStatements and other standard FHIR resources which can then be shared and manipulated. When invoking the $extract operation, care should be taken that the submitted QuestionnaireResponse is itself valid. If not, the extract operation could fail (with appropriate OperationOutcomes) or, more problematic, might succeed but provide incorrect output.</p>\n</div></div>"},"url":"https://fhir-ig.digital.health.nz/shared-care/OperationDefinition/QuestionnaireResponse-extract","version":"0.4.5","name":"CareInTheCommunityQuestionnaireResponseExtract","title":"Care In The Community QuestionnaireResponse Extract Operation","status":"draft","kind":"operation","date":"2022-09-20","publisher":"Te Whatu Ora","contact":[{"name":"Te Whatu Ora","telecom":[{"system":"url","value":"https://www.tewhatuora.govt.nz/"}]},{"name":"Te Whatu Ora Integration Team","telecom":[{"system":"email","value":"integration@tewhatuora.govt.nz","use":"work"}]}],"description":"The Extract operation takes a completed QuestionnaireResponse and converts it to a FHIR resource or Bundle of resources by using metadata embedded in the Questionnaire the QuestionnaireResponse is based on","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"NZ","display":"New Zealand"}]}],"code":"extract","comment":"The extracted resources might include Observations, MedicationStatements and other standard FHIR resources which can then be shared and manipulated. When invoking the $extract operation, care should be taken that the submitted QuestionnaireResponse is itself valid. If not, the extract operation could fail (with appropriate OperationOutcomes) or, more problematic, might succeed but provide incorrect output.","base":"https://build.fhir.org/ig/HL7/sdc/OperationDefinition-QuestionnaireResponse-extract","resource":["QuestionnaireResponse"],"system":false,"type":true,"instance":false,"parameter":[{"name":"QuestionnaireResponse","use":"in","min":1,"max":"1","documentation":"Questionnaire Response content to be extracted","type":"QuestionnaireResponse"},{"name":"return","use":"out","min":1,"max":"1","documentation":"Bundle of Extract Results","type":"Bundle"}]}