STU 3 Candidate

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

Questionnaire-example-bluebook.ttl

Raw Turtle, JSON-LD

Neonate record from New South Wales, Australia "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//Questionnaire/bb> a fhir:Questionnaire;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "bb"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:Questionnaire.status [ fhir:value "draft"];
  fhir:Questionnaire.date [ fhir:value "2013-02-19"^^xs:date];
  fhir:Questionnaire.publisher [ fhir:value "New South Wales Department of Health"];
  fhir:Questionnaire.title [ fhir:value "NSW Government My Personal Health Record"];
  fhir:Questionnaire.subjectType [
     fhir:value "Patient";
     fhir:index 0
  ];
  fhir:Questionnaire.item [
     fhir:index 0;
     fhir:Questionnaire.item.linkId [ fhir:value "birthDetails" ];
     fhir:Questionnaire.item.text [ fhir:value "Birth details - To be completed by health professional" ];
     fhir:Questionnaire.item.type [ fhir:value "group" ];
     fhir:Questionnaire.item.item [
       fhir:index 0;
       fhir:Questionnaire.item.type [ fhir:value "group" ];
       fhir:Questionnaire.item.item [
         fhir:index 0;
         fhir:Questionnaire.item.linkId [ fhir:value "nameOfChild" ];
         fhir:Questionnaire.item.text [ fhir:value "Name of child" ];
         fhir:Questionnaire.item.type [ fhir:value "string" ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 1;
         fhir:Questionnaire.item.linkId [ fhir:value "sex" ];
         fhir:Questionnaire.item.text [ fhir:value "Sex" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.option [
           fhir:index 0;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "F" ]           ]         ];
         fhir:Questionnaire.item.option [
           fhir:index 1;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "M" ]           ]         ]       ]     ];
     fhir:Questionnaire.item.item [
       fhir:index 1;
       fhir:Questionnaire.item.linkId [ fhir:value "neonatalInformation" ];
       fhir:Questionnaire.item.text [ fhir:value "Neonatal Information" ];
       fhir:Questionnaire.item.type [ fhir:value "group" ];
       fhir:Questionnaire.item.item [
         fhir:index 0;
         fhir:Questionnaire.item.linkId [ fhir:value "birthWeight" ];
         fhir:Questionnaire.item.text [ fhir:value "Birth weight (kg)" ];
         fhir:Questionnaire.item.type [ fhir:value "decimal" ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 1;
         fhir:Questionnaire.item.linkId [ fhir:value "birthLength" ];
         fhir:Questionnaire.item.text [ fhir:value "Birth length (cm)" ];
         fhir:Questionnaire.item.type [ fhir:value "decimal" ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 2;
         fhir:Questionnaire.item.linkId [ fhir:value "vitaminKgiven" ];
         fhir:Questionnaire.item.text [ fhir:value "Vitamin K given" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.option [
           fhir:index 0;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "INJECTION" ]           ]         ];
         fhir:Questionnaire.item.option [
           fhir:index 1;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "INTRAVENOUS" ]           ]         ];
         fhir:Questionnaire.item.option [
           fhir:index 2;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "ORAL" ]           ]         ];
         fhir:Questionnaire.item.item [
           fhir:index 0;
           fhir:Questionnaire.item.linkId [ fhir:value "vitaminKgivenDoses" ];
           fhir:Questionnaire.item.type [ fhir:value "group" ];
           fhir:Questionnaire.item.item [
             fhir:index 0;
             fhir:Questionnaire.item.linkId [ fhir:value "vitaminiKDose1" ];
             fhir:Questionnaire.item.text [ fhir:value "1st dose" ];
             fhir:Questionnaire.item.type [ fhir:value "dateTime" ]           ];
           fhir:Questionnaire.item.item [
             fhir:index 1;
             fhir:Questionnaire.item.linkId [ fhir:value "vitaminiKDose2" ];
             fhir:Questionnaire.item.text [ fhir:value "2nd dose" ];
             fhir:Questionnaire.item.type [ fhir:value "dateTime" ]           ]         ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 3;
         fhir:Questionnaire.item.linkId [ fhir:value "hepBgiven" ];
         fhir:Questionnaire.item.text [ fhir:value "Hep B given y / n" ];
         fhir:Questionnaire.item.type [ fhir:value "boolean" ];
         fhir:Questionnaire.item.item [
           fhir:index 0;
           fhir:Questionnaire.item.linkId [ fhir:value "hepBgivenDate" ];
           fhir:Questionnaire.item.text [ fhir:value "Date given" ];
           fhir:Questionnaire.item.type [ fhir:value "date" ]         ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 4;
         fhir:Questionnaire.item.linkId [ fhir:value "abnormalitiesAtBirth" ];
         fhir:Questionnaire.item.text [ fhir:value "Abnormalities noted at birth" ];
         fhir:Questionnaire.item.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.