This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
General questionnaire example
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix sct: <http://snomed.info/sct/> . # - resource ------------------------------------------------------------------- [] a fhir:Questionnaire; fhir:Resource.id [ fhir:value "3141"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:Questionnaire.url [ fhir:value "http://hl7.org/fhir/Questionnaire/3141"]; fhir:Questionnaire.title [ fhir:value "Cancer Quality Forum Questionnaire 2012"]; fhir:Questionnaire.status [ fhir:value "draft"]; fhir:Questionnaire.experimental [ fhir:value "true"]; fhir:Questionnaire.subjectType [ fhir:value "Patient"; fhir:index 0 ]; fhir:Questionnaire.date [ fhir:value "2012-01"]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.linkId [ fhir:value "1" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "COMORBIDITY" ] ]; fhir:Questionnaire.type [ fhir:value "group" ]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.linkId [ fhir:value "1.1" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "COMORB" ] ]; fhir:Questionnaire.prefix [ fhir:value "1" ]; fhir:Questionnaire.type [ fhir:value "choice" ]; fhir:Questionnaire.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow" ]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.linkId [ fhir:value "1.1.1" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "CARDIAL" ] ]; fhir:Questionnaire.type [ fhir:value "group" ]; fhir:Questionnaire.enableWhen [ fhir:index 0; fhir:Questionnaire.question [ fhir:value "1.1" ]; fhir:Questionnaire.operator [ fhir:value "=" ]; fhir:Questionnaire.answer [ fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0136" ]; fhir:Coding.code [ fhir:value "Y" ] ] ]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.linkId [ fhir:value "1.1.1.1" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "COMORBCAR" ] ]; fhir:Questionnaire.prefix [ fhir:value "1.1" ]; fhir:Questionnaire.type [ fhir:value "choice" ]; fhir:Questionnaire.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow" ]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.linkId [ fhir:value "1.1.1.1.1" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "COMCAR00" ]; fhir:Coding.display [ fhir:value "Angina Pectoris" ] ], [ fhir:index 1; a sct:194828000; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "194828000" ]; fhir:Coding.display [ fhir:value "Angina (disorder)" ] ]; fhir:Questionnaire.prefix [ fhir:value "1.1.1" ]; fhir:Questionnaire.type [ fhir:value "choice" ]; fhir:Questionnaire.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow" ] ], [ fhir:index 1; fhir:Questionnaire.linkId [ fhir:value "1.1.1.1.2" ]; fhir:Questionnaire.code [ fhir:index 0; a sct:22298006; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "22298006" ]; fhir:Coding.display [ fhir:value "Myocardial infarction (disorder)" ] ]; fhir:Questionnaire.prefix [ fhir:value "1.1.2" ]; fhir:Questionnaire.type [ fhir:value "choice" ]; fhir:Questionnaire.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow" ] ] ], [ fhir:index 1; fhir:Questionnaire.linkId [ fhir:value "1.1.1.2" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "COMORBVAS" ] ]; fhir:Questionnaire.prefix [ fhir:value "1.2" ]; fhir:Questionnaire.type [ fhir:value "choice" ]; fhir:Questionnaire.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow" ] ] ] ] ], [ fhir:index 1; fhir:Questionnaire.linkId [ fhir:value "2" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "HISTOPATHOLOGY" ] ]; fhir:Questionnaire.type [ fhir:value "group" ]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.linkId [ fhir:value "2.1" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "ABDOMINAL" ] ]; fhir:Questionnaire.type [ fhir:value "group" ]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.linkId [ fhir:value "2.1.2" ]; fhir:Questionnaire.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "STADPT" ]; fhir:Coding.display [ fhir:value "pT category" ] ]; fhir:Questionnaire.type [ fhir:value "choice" ] ] ] ] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.