This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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 owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix sct: <http://snomed.info/id/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- [a fhir:Questionnaire; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "3141"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <pre>\n 1.Comorbidity?\n 1.1 Cardial Comorbidity\n 1.1.1 Angina?\n 1.1.2 MI?\n 1.2 Vascular Comorbidity?\n ...\n Histopathology\n Abdominal\n pT category?\n ...\n </pre>\n </div>" ]; fhir:Questionnaire.url [ fhir:value "http://hl7.org/fhir/Questionnaire/3141"]; fhir:Questionnaire.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.20.2" ] ]; fhir:Questionnaire.title [ fhir:value "Cancer Quality Forum Questionnaire 2012"]; fhir:Questionnaire.status [ fhir:value "draft"]; fhir:Questionnaire.subjectType [ fhir:value "Patient"; fhir:index 0 ]; fhir:Questionnaire.date [ fhir:value "2012-01"^^xsd:gYearMonth]; fhir:Questionnaire.item [ fhir:index 0; fhir:Questionnaire.item.linkId [ fhir:value "1" ]; fhir:Questionnaire.item.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "COMORBIDITY" ] ]; fhir:Questionnaire.item.type [ fhir:value "group" ]; fhir:Questionnaire.item.item [ fhir:index 0; fhir:Questionnaire.item.linkId [ fhir:value "1.1" ]; fhir:Questionnaire.item.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "COMORB" ] ]; fhir:Questionnaire.item.prefix [ fhir:value "1" ]; fhir:Questionnaire.item.type [ fhir:value "coding" ]; fhir:Questionnaire.item.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ]; fhir:Questionnaire.item.item [ fhir:index 0; fhir:Questionnaire.item.linkId [ fhir:value "1.1.1" ]; fhir:Questionnaire.item.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "CARDIAL" ] ]; fhir:Questionnaire.item.type [ fhir:value "group" ]; fhir:Questionnaire.item.enableWhen [ fhir:index 0; fhir:Questionnaire.item.enableWhen.question [ fhir:value "1.1" ]; fhir:Questionnaire.item.enableWhen.operator [ fhir:value "=" ]; fhir:Questionnaire.item.enableWhen.answerCoding [ fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0136" ]; fhir:Coding.code [ fhir:value "Y" ] ] ]; fhir:Questionnaire.item.item [ fhir:index 0; fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.1" ]; fhir:Questionnaire.item.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "COMORBCAR" ] ]; fhir:Questionnaire.item.prefix [ fhir:value "1.1" ]; fhir:Questionnaire.item.type [ fhir:value "coding" ]; fhir:Questionnaire.item.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ]; fhir:Questionnaire.item.item [ fhir:index 0; fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.1.1" ]; fhir:Questionnaire.item.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.item.prefix [ fhir:value "1.1.1" ]; fhir:Questionnaire.item.type [ fhir:value "coding" ]; fhir:Questionnaire.item.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ], [ fhir:index 1; fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.1.2" ]; fhir:Questionnaire.item.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.item.prefix [ fhir:value "1.1.2" ]; fhir:Questionnaire.item.type [ fhir:value "coding" ]; fhir:Questionnaire.item.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ] ], [ fhir:index 1; fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.2" ]; fhir:Questionnaire.item.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/questions" ]; fhir:Coding.code [ fhir:value "COMORBVAS" ] ]; fhir:Questionnaire.item.prefix [ fhir:value "1.2" ]; fhir:Questionnaire.item.type [ fhir:value "coding" ]; fhir:Questionnaire.item.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ] ] ] ], [ fhir:index 1; fhir:Questionnaire.item.linkId [ fhir:value "2" ]; fhir:Questionnaire.item.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "HISTOPATHOLOGY" ] ]; fhir:Questionnaire.item.type [ fhir:value "group" ]; fhir:Questionnaire.item.item [ fhir:index 0; fhir:Questionnaire.item.linkId [ fhir:value "2.1" ]; fhir:Questionnaire.item.code [ fhir:index 0; fhir:Coding.system [ fhir:value "http://example.org/system/code/sections" ]; fhir:Coding.code [ fhir:value "ABDOMINAL" ] ]; fhir:Questionnaire.item.type [ fhir:value "group" ]; fhir:Questionnaire.item.item [ fhir:index 0; fhir:Questionnaire.item.linkId [ fhir:value "2.1.2" ]; fhir:Questionnaire.item.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.item.type [ fhir:value "coding" ] ] ] ]] . # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
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.
FHIR ®© HL7.org 2011+. FHIR R5 Ballot hl7.fhir.core#5.0.0-ballot generated on Sat, Sep 10, 2022 05:06+1000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4B |
Compare to R5 Draft |
|
Propose a change