Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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

Questionnaire-example-bluebook.ttl

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Neonate record from New South Wales, Australia "My Personal Health Record" example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:Questionnaire;
  fhir:Resource.id [ fhir:value "bb"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:Questionnaire.url [ fhir:value "http://hl7.org/fhir/Questionnaire/bb"];
  fhir:Questionnaire.title [ fhir:value "NSW Government My Personal Health Record"];
  fhir:Questionnaire.status [ fhir:value "draft"];
  fhir:Questionnaire.experimental [ fhir:value "true"];
  fhir:Questionnaire.subjectType [
     fhir:value "Patient";
     fhir:index 0
  ];
  fhir:Questionnaire.date [ fhir:value "2013-02-19"];
  fhir:Questionnaire.publisher [ fhir:value "New South Wales Department of Health"];
  fhir:Questionnaire.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "AU" ]
     ]
  ];
  fhir:Questionnaire.item [
     fhir:index 0;
     fhir:Questionnaire.linkId [ fhir:value "birthDetails" ];
     fhir:Questionnaire.text [ fhir:value "Birth details - To be completed by health professional" ];
     fhir:Questionnaire.type [ fhir:value "group" ];
     fhir:Questionnaire.item [
       fhir:index 0;
       fhir:Questionnaire.linkId [ fhir:value "group" ];
       fhir:Questionnaire.type [ fhir:value "group" ];
       fhir:Questionnaire.item [
         fhir:index 0;
         fhir:Questionnaire.linkId [ fhir:value "nameOfChild" ];
         fhir:Questionnaire.text [ fhir:value "Name of child" ];
         fhir:Questionnaire.type [ fhir:value "string" ]
       ], [
         fhir:index 1;
         fhir:Questionnaire.linkId [ fhir:value "sex" ];
         fhir:Questionnaire.text [ fhir:value "Sex" ];
         fhir:Questionnaire.type [ fhir:value "choice" ];
         fhir:Questionnaire.answerOption [
           fhir:index 0;
           fhir:Questionnaire.value [
             fhir:Coding.code [ fhir:value "F" ]
           ]
         ], [
           fhir:index 1;
           fhir:Questionnaire.value [
             fhir:Coding.code [ fhir:value "M" ]
           ]
         ]
       ]
     ], [
       fhir:index 1;
       fhir:Questionnaire.linkId [ fhir:value "neonatalInformation" ];
       fhir:Questionnaire.text [ fhir:value "Neonatal Information" ];
       fhir:Questionnaire.type [ fhir:value "group" ];
       fhir:Questionnaire.item [
         fhir:index 0;
         fhir:Questionnaire.linkId [ fhir:value "birthWeight" ];
         fhir:Questionnaire.text [ fhir:value "Birth weight (kg)" ];
         fhir:Questionnaire.type [ fhir:value "decimal" ]
       ], [
         fhir:index 1;
         fhir:Questionnaire.linkId [ fhir:value "birthLength" ];
         fhir:Questionnaire.text [ fhir:value "Birth length (cm)" ];
         fhir:Questionnaire.type [ fhir:value "decimal" ]
       ], [
         fhir:index 2;
         fhir:Questionnaire.linkId [ fhir:value "vitaminKgiven" ];
         fhir:Questionnaire.text [ fhir:value "Vitamin K given" ];
         fhir:Questionnaire.type [ fhir:value "choice" ];
         fhir:Questionnaire.answerOption [
           fhir:index 0;
           fhir:Questionnaire.value [
             fhir:Coding.code [ fhir:value "INJECTION" ]
           ]
         ], [
           fhir:index 1;
           fhir:Questionnaire.value [
             fhir:Coding.code [ fhir:value "INTRAVENOUS" ]
           ]
         ], [
           fhir:index 2;
           fhir:Questionnaire.value [
             fhir:Coding.code [ fhir:value "ORAL" ]
           ]
         ];
         fhir:Questionnaire.item [
           fhir:index 0;
           fhir:Questionnaire.linkId [ fhir:value "vitaminKgivenDoses" ];
           fhir:Questionnaire.type [ fhir:value "group" ];
           fhir:Questionnaire.enableWhen [
             fhir:index 0;
             fhir:Questionnaire.question [ fhir:value "vitaminKgiven" ];
             fhir:Questionnaire.operator [ fhir:value "exists" ];
             fhir:Questionnaire.answer [ fhir:value "true" ]
           ];
           fhir:Questionnaire.item [
             fhir:index 0;
             fhir:Questionnaire.linkId [ fhir:value "vitaminiKDose1" ];
             fhir:Questionnaire.text [ fhir:value "1st dose" ];
             fhir:Questionnaire.type [ fhir:value "dateTime" ]
           ], [
             fhir:index 1;
             fhir:Questionnaire.linkId [ fhir:value "vitaminiKDose2" ];
             fhir:Questionnaire.text [ fhir:value "2nd dose" ];
             fhir:Questionnaire.type [ fhir:value "dateTime" ]
           ]
         ]
       ], [
         fhir:index 3;
         fhir:Questionnaire.linkId [ fhir:value "hepBgiven" ];
         fhir:Questionnaire.text [ fhir:value "Hep B given y / n" ];
         fhir:Questionnaire.type [ fhir:value "boolean" ];
         fhir:Questionnaire.item [
           fhir:index 0;
           fhir:Questionnaire.linkId [ fhir:value "hepBgivenDate" ];
           fhir:Questionnaire.text [ fhir:value "Date given" ];
           fhir:Questionnaire.type [ fhir:value "date" ]
         ]
       ], [
         fhir:index 4;
         fhir:Questionnaire.linkId [ fhir:value "abnormalitiesAtBirth" ];
         fhir:Questionnaire.text [ fhir:value "Abnormalities noted at birth" ];
         fhir:Questionnaire.type [ fhir:value "string" ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------


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.