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

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

: Care In The Community QuestionnaireResponse Extract Operation - TTL Representation

Draft as of 2022-09-20

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "QuestionnaireResponse-extract"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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><a name=\"QuestionnaireResponse-extract-en-NZ\"> </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>"
  ] ; # 
  fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/OperationDefinition/QuestionnaireResponse-extract"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.4.0"] ; # 
  fhir:name [ fhir:v "CareInTheCommunityQuestionnaireResponseExtract"] ; # 
  fhir:title [ fhir:v "Care In The Community QuestionnaireResponse Extract Operation"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2022-09-20"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Te Whatu Ora"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Te Whatu Ora" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.tewhatuora.govt.nz/" ]     ] )
  ] [
fhir:name [ fhir:v "David Grainger" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "david.grainger@middleware.co.nz" ] ;
fhir:use [ fhir:v "work" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "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"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NZ" ] ;
fhir:display [ fhir:v "New Zealand" ]     ] )
  ] ) ; # 
  fhir:code [ fhir:v "extract"] ; # 
  fhir:comment [ fhir:v "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."] ; # 
  fhir:base [
fhir:v "https://build.fhir.org/ig/HL7/sdc/OperationDefinition-QuestionnaireResponse-extract"^^xsd:anyURI ;
fhir:link <https://build.fhir.org/ig/HL7/sdc/OperationDefinition-QuestionnaireResponse-extract>
  ] ; # 
  fhir:resource ( [ fhir:v "QuestionnaireResponse"] ) ; # 
  fhir:system [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:instance [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "QuestionnaireResponse" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Questionnaire Response content to be extracted" ] ;
fhir:type [ fhir:v "QuestionnaireResponse" ]
  ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Bundle of Extract Results" ] ;
fhir:type [ fhir:v "Bundle" ]
  ] ) . #