This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Example Index:
General questionnaire answers example | XML | JSON |
Real-world lifelines questionnaire answers (fictively taken from the patient) | XML | JSON |
Real-world NSW My Personal Health Record example | XML | JSON |
XML
General questionnaire answers example (id = "3141")
<QuestionnaireAnswers xmlns="http://hl7.org/fhir"> <id value="3141"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div> </text> <contained> <Patient> <id value="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 value="male"/> <birthDate value="1972-11-30"/> </Patient> </contained> <contained> <Practitioner> <id value="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 value="obs.pt-category"/> <code> <coding> <system value="http://snomed.info/sct"/> <code value="53786006"/> <display value="pT1 category"/> </coding> </code> <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"/> <subject> <reference value="#patsub"/> </subject> <author> <reference value="#questauth"/> </author> <authored value="2013-02-19T14:15:00-05:00"/> <group> <title value="Cancer Quality Forum Questionnaire 2012"/> <group><!-- COMORBIDITY --><!-- First main section of the form, questions about comorbidity --><!-- section contains one question: whether there is comorbidity --> <question> <answer> <valueCoding> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="1"/> <display value="Yes"/> </valueCoding> </answer> <group><!-- COMORBIDITY/CARDIAL --><!-- Subsection about specific comorbidity: cardial --> <question> <answer> <valueCoding> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="1"/> </valueCoding> </answer> </question> <question><!-- This answer carries both the questionnaire-specific name and an equivalent SNOMED CT code --> <answer> <valueCoding> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="1"/> </valueCoding> </answer> </question> <question> <answer> <valueCoding> <system value="http://cancer.questionnaire.org/system/code/yesno"/> <code value="0"/> </valueCoding> </answer> </question> </group> </question> </group> </group> </QuestionnaireAnswers>
JSON
General questionnaire answers example
{ "resourceType": "QuestionnaireAnswers", "id": "3141", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></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": "male", "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", "code": { "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", "subject": { "reference": "#patsub" }, "author": { "reference": "#questauth" }, "authored": "2013-02-19T14:15:00-05:00", "group": { "title": "Cancer Quality Forum Questionnaire 2012", "group": [ { "question": [ { "answer": [ { "valueCoding": { "system": "http://cancer.questionnaire.org/system/code/yesno", "code": "1", "display": "Yes" } } ], "group": [ { "question": [ { "answer": [ { "valueCoding": { "system": "http://cancer.questionnaire.org/system/code/yesno", "code": "1" } } ] }, { "answer": [ { "valueCoding": { "system": "http://cancer.questionnaire.org/system/code/yesno", "code": "1" } } ] }, { "answer": [ { "valueCoding": { "system": "http://cancer.questionnaire.org/system/code/yesno", "code": "0" } } ] } ] } ] } ] } ] } }
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.