This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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
Real-world NSW My Personal Health Record 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 xs: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir//QuestionnaireResponse/bb> a fhir:QuestionnaireResponse; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "bb"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:QuestionnaireResponse.status [ fhir:value "completed"]; fhir:QuestionnaireResponse.subject [ fhir:reference <http://hl7.org/fhir/Patient/1>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Patient/1" ] ]; fhir:QuestionnaireResponse.authorReference [ fhir:reference <http://hl7.org/fhir/Practitioner/example>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Practitioner/example" ] ]; fhir:QuestionnaireResponse.authored [ fhir:value "2013-02-19T14:15:00+10:00"^^xs:dateTime]; fhir:QuestionnaireResponse.item [ fhir:index 0; fhir:QuestionnaireResponse.item.linkId [ fhir:value "birthDetails" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Birth details - To be completed by health professional" ]; fhir:QuestionnaireResponse.item.item [ fhir:index 0; fhir:QuestionnaireResponse.item.item [ fhir:index 0; fhir:QuestionnaireResponse.item.linkId [ fhir:value "nameOfChild" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Name of child" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "Cathy Jones" ] ] ]; fhir:QuestionnaireResponse.item.item [ fhir:index 1; fhir:QuestionnaireResponse.item.linkId [ fhir:value "sex" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Sex" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueCoding [ fhir:Coding.code [ fhir:value "f" ] ] ] ] ]; fhir:QuestionnaireResponse.item.item [ fhir:index 1; fhir:QuestionnaireResponse.item.linkId [ fhir:value "neonatalInformation" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Neonatal Information" ]; fhir:QuestionnaireResponse.item.item [ fhir:index 0; fhir:QuestionnaireResponse.item.linkId [ fhir:value "birthWeight" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Birth weight (kg)" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueDecimal [ fhir:value "3.25"^^xs:decimal ] ] ]; fhir:QuestionnaireResponse.item.item [ fhir:index 1; fhir:QuestionnaireResponse.item.linkId [ fhir:value "birthLength" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Birth length (cm)" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueDecimal [ fhir:value "44.3"^^xs:decimal ] ] ]; fhir:QuestionnaireResponse.item.item [ fhir:index 2; fhir:QuestionnaireResponse.item.linkId [ fhir:value "vitaminKgiven" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Vitamin K given" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueCoding [ fhir:Coding.code [ fhir:value "INJECTION" ] ]; fhir:QuestionnaireResponse.item.answer.item [ fhir:index 0; fhir:QuestionnaireResponse.item.linkId [ fhir:value "vitaminKgivenDoses" ]; fhir:QuestionnaireResponse.item.item [ fhir:index 0; fhir:QuestionnaireResponse.item.linkId [ fhir:value "vitaminKDose1" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "1st dose" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueDate [ fhir:value "1972-11-30"^^xs:date ] ] ]; fhir:QuestionnaireResponse.item.item [ fhir:index 1; fhir:QuestionnaireResponse.item.linkId [ fhir:value "vitaminKDose2" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "2nd dose" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueDate [ fhir:value "1972-12-11"^^xs:date ] ] ] ] ] ]; fhir:QuestionnaireResponse.item.item [ fhir:index 3; fhir:QuestionnaireResponse.item.linkId [ fhir:value "hepBgiven" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Hep B given y / n" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueBoolean [ fhir:value "true"^^xs:boolean ]; fhir:QuestionnaireResponse.item.answer.item [ fhir:index 0; fhir:QuestionnaireResponse.item.linkId [ fhir:value "hepBgivenDate" ]; fhir:QuestionnaireResponse.item.item [ fhir:index 0; fhir:QuestionnaireResponse.item.text [ fhir:value "Date given" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueDate [ fhir:value "1972-12-04"^^xs:date ] ] ] ] ] ]; fhir:QuestionnaireResponse.item.item [ fhir:index 4; fhir:QuestionnaireResponse.item.linkId [ fhir:value "abnormalitiesAtBirth" ]; fhir:QuestionnaireResponse.item.text [ fhir:value "Abnormalities noted at birth" ]; fhir:QuestionnaireResponse.item.answer [ fhir:index 0; fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "Already able to speak Chinese" ] ] ] ] ]. # -------------------------------------------------------------------------------------
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.