This page is part of the Structured Data Capture FHIR IG (v2.5.0: STU 3 Ballot 1) based on FHIR v3.5.0. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions
@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:Resource.id [ fhir:value "Questionnaire-extract"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>QuestionnaireExtract</h2><p>OPERATION: QuestionnaireExtract</p><p>The official URL for this operation definition is: </p><pre>http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-extract</pre><div><p>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.</p>\n</div><p>URL: [base]/Questionnaire/$extract</p><p>URL: [base]/Questionnaire/[id]/$extract</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</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>questionnaire-response</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/2018Sep/resource.html\">Resource</a></td><td/><td><div><p>The QuestionnaireResponse to extract data from. The QuestionnaireResponse must either reference a Questionnaire that complies with a the <a href=\"sdc-questionnaire-extract.html\">Questionnaire Extract Profile</a> 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.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/2018Sep/resource.html\">Resource</a></td><td/><td><div><p>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.</p>\n</div></td></tr></table><div><p>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 <code>QuestionnaireResponse.questionnaire</code> element or must have a <code>Questionnaire.derivedFrom</code> element with that canonical URL.</p>\n</div></div>" ]; fhir:OperationDefinition.url [ fhir:value "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-extract"]; fhir:OperationDefinition.version [ fhir:value "2.5.0"]; fhir:OperationDefinition.name [ fhir:value "QuestionnaireExtract"]; fhir:OperationDefinition.title [ fhir:value "Questionnaire response extract to resource(s)"]; fhir:OperationDefinition.status [ fhir:value "draft"]; fhir:OperationDefinition.kind [ fhir:value "operation"]; fhir:OperationDefinition.date [ fhir:value "2018-08-30"^^xsd:date]; fhir:OperationDefinition.publisher [ fhir:value "HL7 International - FHIR Infrastructure"]; fhir:OperationDefinition.description [ fhir:value "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."]; fhir:OperationDefinition.code [ fhir:value "extract"]; fhir:OperationDefinition.comment [ fhir:value "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."]; fhir:OperationDefinition.resource [ fhir:value "Questionnaire"; fhir:index 0 ]; fhir:OperationDefinition.system [ fhir:value "false"^^xsd:boolean]; fhir:OperationDefinition.type [ fhir:value "true"^^xsd:boolean]; fhir:OperationDefinition.instance [ fhir:value "true"^^xsd:boolean]; fhir:OperationDefinition.parameter [ fhir:index 0; fhir:OperationDefinition.parameter.name [ fhir:value "questionnaire-response" ]; fhir:OperationDefinition.parameter.use [ fhir:value "in" ]; fhir:OperationDefinition.parameter.min [ fhir:value "1"^^xsd:integer ]; fhir:OperationDefinition.parameter.max [ fhir:value "1" ]; fhir:OperationDefinition.parameter.documentation [ fhir:value "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." ]; fhir:OperationDefinition.parameter.type [ fhir:value "Resource" ]; fhir:OperationDefinition.parameter.targetProfile [ fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse"; fhir:index 0; fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse> ] ], [ fhir:index 1; fhir:OperationDefinition.parameter.name [ fhir:value "return" ]; fhir:OperationDefinition.parameter.use [ fhir:value "out" ]; fhir:OperationDefinition.parameter.min [ fhir:value "1"^^xsd:integer ]; fhir:OperationDefinition.parameter.max [ fhir:value "1" ]; fhir:OperationDefinition.parameter.documentation [ fhir:value "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." ]; fhir:OperationDefinition.parameter.type [ fhir:value "Resource" ] ]. # - ontology header ------------------------------------------------------------ a owl:Ontology; owl:imports fhir:fhir.ttl.