This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
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 xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- [a fhir:QuestionnaireResponse; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "bb"]; # Please not that in this questionnaire, the questions are mostly unnamed, that is, the questions are not identified using the <name> element. It will therefore be hard to extract useful information in an automated way from this questionnaire. This is, however, quite often the case when modeling existing questionnaires fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <pre>\n Cathy Jones, female. Birth weight 3.25 kg at 44.3 cm. \n Injection of Vitamin K given on 1972-11-30 (first dose) and 1972-12-11 (second dose)\n Note: Was able to speak Chinese at birth.\n </pre>\n </div>" ]; # fhir:QuestionnaireResponse.questionnaire [ fhir:value "http://hl7.org/fhir/Questionnaire/bb"; fhir:link <http://hl7.org/fhir/Questionnaire/bb> ]; # fhir:QuestionnaireResponse.status [ fhir:value "completed"]; # fhir:QuestionnaireResponse.subject [ fhir:link <http://hl7.org/fhir/Patient/1>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Patient/1" ]; fhir:Reference.type [ fhir:value "Patient" ] ]; # fhir:QuestionnaireResponse.authored [ fhir:value "2013-02-19T14:15:00+10:00"^^xsd:dateTime]; # fhir:QuestionnaireResponse.author [ fhir:link <http://hl7.org/fhir/Practitioner/example>; fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Practitioner/example" ]; fhir:Reference.type [ fhir:value "Practitioner" ] ]; # 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.linkId [ fhir:value "group" ]; 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: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: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"^^xsd:decimal ] ] ], [ 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"^^xsd:decimal ] ] ], [ 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.valueDateTime [ fhir:value "1972-11-30"^^xsd:date ] ] ], [ 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.valueDateTime [ fhir:value "1972-12-11"^^xsd:date ] ] ] ] ] ], [ 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"^^xsd:boolean ]; fhir:QuestionnaireResponse.item.answer.item [ fhir:index 0; fhir:QuestionnaireResponse.item.linkId [ fhir:value "hepBgivenDate" ]; 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"^^xsd:date ] ] ] ] ], [ 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" ] ] ] ] ]] . # Many groups left out of this example <http://hl7.org/fhir/Patient/1> a fhir:Patient . <http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner . # - 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-snapshot3 generated on Wed, Dec 14, 2022 07:17+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4B |
Compare to R5 Draft |
|
Propose a change