Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative |
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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @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 -------------------------------------------------------------------<http://hl7.org/fhir/Questionnaire/3141> 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.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 "choice" ]; 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" ]<http://hl7.org/fhir/Questionnaire/3141> a fhir:Questionnaire ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "3141"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \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 \n </div>"^^rdf:XMLLiteral ] ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg> ] ; fhir:value [ a fhir:Code ; fhir:v "fhir" ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/Questionnaire/3141"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/Questionnaire/3141> ] ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ; fhir:l <urn:ietf:rfc:3986> ] ; fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.20.2" ] ] ) ; # fhir:name [ fhir:v "CancerQualityForumQuestionnaire2012"] ; # fhir:title [ fhir:v "Cancer Quality Forum Questionnaire 2012"] ; # fhir:status [ fhir:v "draft"] ; # fhir:subjectType ( [ fhir:v "Patient"] ) ; # fhir:date [ fhir:v "2012-01"^^xsd:gYearMonth] ; # fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] ) ; # fhir:description [ fhir:v "Cancer Quality Forum Questionnaire 2012"] ; # fhir:item ( [ fhir:linkId [ fhir:v "1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ; fhir:l <http://example.org/system/code/sections> ] ; fhir:code [ fhir:v "COMORBIDITY" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:item ( [ fhir:linkId [ fhir:v "1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ; fhir:l <http://example.org/system/code/questions> ] ; fhir:code [ fhir:v "COMORB" ] ] ) ; fhir:prefix [ fhir:v "1" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ; fhir:item ( [ fhir:linkId [ fhir:v "1.1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ; fhir:l <http://example.org/system/code/sections> ] ; fhir:code [ fhir:v "CARDIAL" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:enableWhen ( [ fhir:question [ fhir:v "1.1" ] ; fhir:operator [ fhir:v "=" ] ; fhir:answer [ a fhir:Coding ; fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0136"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v2-0136> ] ; fhir:code [ fhir:v "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 "choice" ]; 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 "choice" ]; fhir:Questionnaire.item.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow>] ) ; fhir:item ( [ fhir:linkId [ fhir:v "1.1.1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ; fhir:l <http://example.org/system/code/questions> ] ; fhir:code [ fhir:v "COMORBCAR" ] ] ) ; fhir:prefix [ fhir:v "1.1" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ; fhir:item ( [ fhir:linkId [ fhir:v "1.1.1.1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ; fhir:l <http://example.org/system/code/questions> ] ; fhir:code [ fhir:v "COMCAR00" ] ; fhir:display [ fhir:v "Angina Pectoris" ] ] [ a sct:194828000 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ; fhir:l <http://snomed.info/sct> ] ; fhir:code [ fhir:v "194828000" ] ; fhir:display [ fhir:v "Angina (disorder)" ] ] ) ; fhir:prefix [ fhir:v "1.1.1" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:l <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 "choice" ]; fhir:Questionnaire.item.answerValueSet [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow>] [ fhir:linkId [ fhir:v "1.1.1.1.2" ] ; fhir:code ( [ a sct:22298006 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ; fhir:l <http://snomed.info/sct> ] ; fhir:code [ fhir:v "22298006" ] ; fhir:display [ fhir:v "Myocardial infarction (disorder)" ] ] ) ; fhir:prefix [ fhir:v "1.1.2" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ] ) ] [ fhir:linkId [ fhir:v "1.1.1.2" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ; fhir:l <http://example.org/system/code/questions> ] ; fhir:code [ fhir:v "COMORBVAS" ] ] ) ; fhir:prefix [ fhir:v "1.2" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:l <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 "choice" ]; 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 "choice" ] ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Questionnaire/3141.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Questionnaire/3141.ttl> .] ) ] ) ] ) ] [ fhir:linkId [ fhir:v "2" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ; fhir:l <http://example.org/system/code/sections> ] ; fhir:code [ fhir:v "HISTOPATHOLOGY" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:item ( [ fhir:linkId [ fhir:v "2.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ; fhir:l <http://example.org/system/code/sections> ] ; fhir:code [ fhir:v "ABDOMINAL" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:item ( [ fhir:linkId [ fhir:v "2.1.2" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ; fhir:l <http://example.org/system/code/questions> ] ; fhir:code [ fhir:v "STADPT" ] ; fhir:display [ fhir:v "pT category" ] ] ) ; fhir:type [ fhir:v "coding" ] ] ) ] ) ] ) . # # -------------------------------------------------------------------------------------
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
Release
4
(Technical
Correction
#1)
(v4.0.1)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Fri,
Nov
1,
2019
09:36+1100.
QA
Page
14,
2025
20:59+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change