Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.4 - release

Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.4) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## OperationDefinition: Care In The Community QuestionnaireResponse Extract Operation

Official URL: https://fhir-ig.digital.health.nz/shared-care/OperationDefinition/QuestionnaireResponse-extract | Version: 0.4.4
Draft as of 2022-09-20 | Computable Name: CareInTheCommunityQuestionnaireResponseExtract

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

URL: [base]/QuestionnaireResponse/$extract

### Parameters

Use | Name | Scope | Cardinality | Type | Binding | Documentation
IN | QuestionnaireResponse |  | 1..1 | QuestionnaireResponse |  | Questionnaire Response content to be extracted
OUT | return |  | 1..1 | Bundle |  | Bundle of Extract Results

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.