This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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 R2
Example Index:
| General questionnaire example | XML | JSON |
| Real-world lifelines questionnaire (fictively taken from the patient) | XML | JSON |
| Real-world NSW My Personal Health Record example | XML | JSON |
XML
General questionnaire example (id = "3141")
<Questionnaire xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <pre> Comorbidity? YES Cardial Comorbidity? YES Angina? YES MI? NO Vascular Comorbidity? (no answers) ... Histopathology Abdominal pT category: 1a ... </pre> </div> </text> <contained> <Patient id="patsub"> <identifier> <system value="http://cancer.questionnaire.org/systems/id/patientnr"/> <value value="A34442332"/> </identifier> <identifier> <label value="Dutch BSN"/> <system value="urn:oid:2.16.840.1.113883.2.4.6.3"/> <value value="188912345"/> </identifier> <gender> <coding> <system value="http://hl7.org/fhir/v3/AdministrativeGender"/> <code value="M"/> </coding> </gender> <birthDate value="1972-11-30"/> </Patient> </contained> <contained> <Practitioner id="questauth"> <identifier> <label value="AUMC, Den Helder"/> <system value="http://cancer.questionnaire.org/systems/id/org"/> <value value="AUMC"/> </identifier> </Practitioner> </contained> <contained> <Observation id="obs.pt-category"> <name> <coding> <system value="http://snomed.info/sct"/> <code value="53786006"/> <display value="pT1 category"/> </coding> </name> <valueCodeableConcept> <coding> <system value="http://snomed.info/sct"/> <code value="443357004"/> <display value="pT1a category"/> </coding> </valueCodeableConcept> <status value="final"/> <reliability value="unknown"/> </Observation> </contained> <status value="completed"/> <authored value="2013-02-19T14:15:00"/> <subject> <reference value="#patsub"/> </subject> <author> <reference value="#questauth"/> </author> <name> <text value="Cancer Quality Forum Questionnaire 2012"/> </name> <group> <group> <!-- COMORBIDITY --> <!-- First main section of the form, questions about comorbidity --> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/sections"/> <code value="COMORBIDITY"/> </coding> </name> <!-- section contains one question: whether there is comorbidity --> <question> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/questions"/> <code value="COMORB"/> </coding> </name> <choice> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="1"/> <display value="Yes"/> </choice> <group> <!-- COMORBIDITY/CARDIAL --> <!-- Subsection about specific comorbidity: cardial --> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/sections"/> <code value="CARDIAL"/> </coding> </name> <question> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/questions"/> <code value="COMORBCAR"/> </coding> </name> <choice> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="1"/> </choice> </question> <question> <!-- This answer carries both the questionnaire-specific name and an equivalent SNOMED CT code --> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/questions"/> <code value="COMCAR00"/> <display value="Angina Pectoris"/> </coding> <coding> <system value="http://snomed.info/sct"/> <code value="194828000"/> <display value="Angina (disorder)"/> </coding> </name> <choice> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="1"/> </choice> </question> <question> <name> <coding> <system value="http://snomed.info/sct"/> <code value="22298006"/> <display value="Myocardial infarction (disorder)"/> </coding> </name> <choice> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="0"/> </choice> </question> </group> <group> <!-- COMORBIDITY/VASCULAR --> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/sections"/> <code value="VASCULAR"/> </coding> </name> </group> </question> </group> <group> <!-- HISTOPATHOLOGY --> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/sections"/> <code value="HISTOPATHOLOGY"/> </coding> </name> <group> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/sections"/> <code value="ABDOMINAL"/> </coding> </name> <question> <name> <coding> <system value="http://cancer.questionnaire.org/system/code/questions"/> <code value="STADPT"/> <display value="pT category"/> </coding> </name> <dataResource> <reference value="#obs.pt-category"/> </dataResource> </question> </group> </group> </group> </Questionnaire>
JSON
General questionnaire example
{
"resourceType": "Questionnaire",
"text": {
"status": "generated",
"div": "<div>\n <pre>\n Comorbidity? YES\n Cardial Comorbidity? YES\n Angina? YES\n MI? NO\n Vascular Comorbidity?\n (no answers)\n ...\n Histopathology\n Abdominal\n pT category: 1a\n ...\n </pre>\n </div>"
},
"contained": [
{
"resourceType": "Patient",
"id": "patsub",
"identifier": [
{
"system": "http://cancer.questionnaire.org/systems/id/patientnr",
"value": "A34442332"
},
{
"label": "Dutch BSN",
"system": "urn:oid:2.16.840.1.113883.2.4.6.3",
"value": "188912345"
}
],
"gender": {
"coding": [
{
"system": "http://hl7.org/fhir/v3/AdministrativeGender",
"code": "M"
}
]
},
"birthDate": "1972-11-30"
},
{
"resourceType": "Practitioner",
"id": "questauth",
"identifier": [
{
"label": "AUMC, Den Helder",
"system": "http://cancer.questionnaire.org/systems/id/org",
"value": "AUMC"
}
]
},
{
"resourceType": "Observation",
"id": "obs.pt-category",
"name": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "53786006",
"display": "pT1 category"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "443357004",
"display": "pT1a category"
}
]
},
"status": "final",
"reliability": "unknown"
}
],
"status": "completed",
"authored": "2013-02-19T14:15:00",
"subject": {
"reference": "#patsub"
},
"author": {
"reference": "#questauth"
},
"name": {
"text": "Cancer Quality Forum Questionnaire 2012"
},
"group": {
"group": [
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/sections",
"code": "COMORBIDITY"
}
]
},
"question": [
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/questions",
"code": "COMORB"
}
]
},
"choice": [
{
"system": "http://cancer.questionnaire.org/system/code/yesno",
"code": "1",
"display": "Yes"
}
],
"group": [
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/sections",
"code": "CARDIAL"
}
]
},
"question": [
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/questions",
"code": "COMORBCAR"
}
]
},
"choice": [
{
"system": "http://cancer.questionnaire.org/system/code/yesno",
"code": "1"
}
]
},
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/questions",
"code": "COMCAR00",
"display": "Angina Pectoris"
},
{
"system": "http://snomed.info/sct",
"code": "194828000",
"display": "Angina (disorder)"
}
]
},
"choice": [
{
"system": "http://cancer.questionnaire.org/system/code/yesno",
"code": "1"
}
]
},
{
"name": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "22298006",
"display": "Myocardial infarction (disorder)"
}
]
},
"choice": [
{
"system": "http://cancer.questionnaire.org/system/code/yesno",
"code": "0"
}
]
}
]
},
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/sections",
"code": "VASCULAR"
}
]
}
}
]
}
]
},
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/sections",
"code": "HISTOPATHOLOGY"
}
]
},
"group": [
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/sections",
"code": "ABDOMINAL"
}
]
},
"question": [
{
"name": {
"coding": [
{
"system": "http://cancer.questionnaire.org/system/code/questions",
"code": "STADPT",
"display": "pT category"
}
]
},
"dataResource": {
"reference": "#obs.pt-category"
}
}
]
}
]
}
]
}
}