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-f201-lifelines.ttl

Raw Turtle, JSON-LD

Real-world lifelines questionnaire (fictively taken from the patient)

@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/f201> a fhir:Questionnaire;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "f201"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:Questionnaire.status [ fhir:value "published"];
  fhir:Questionnaire.date [ fhir:value "2010"^^xs:gYear];
  fhir:Questionnaire.concept [
     fhir:index 0;
     fhir:Coding.system [ fhir:value "http://example.org/system/code/lifelines/nl" ];
     fhir:Coding.code [ fhir:value "VL 1-1, 18-65_1.2.2" ];
     fhir:Coding.display [ fhir:value "Lifelines Questionnaire 1 part 1" ]
  ];
  fhir:Questionnaire.subjectType [
     fhir:value "Patient";
     fhir:index 0
  ];
  fhir:Questionnaire.item [
     fhir:index 0;
     fhir:Questionnaire.item.linkId [ fhir:value "1" ];
     fhir:Questionnaire.item.text [ fhir:value "Do you have allergies?" ];
     fhir:Questionnaire.item.type [ fhir:value "boolean" ]
  ];
  fhir:Questionnaire.item [
     fhir:index 1;
     fhir:Questionnaire.item.linkId [ fhir:value "2" ];
     fhir:Questionnaire.item.text [ fhir:value "General questions" ];
     fhir:Questionnaire.item.type [ fhir:value "group" ];
     fhir:Questionnaire.item.item [
       fhir:index 0;
       fhir:Questionnaire.item.linkId [ fhir:value "2.1" ];
       fhir:Questionnaire.item.text [ fhir:value "What is your gender?" ];
       fhir:Questionnaire.item.type [ fhir:value "string" ]     ];
     fhir:Questionnaire.item.item [
       fhir:index 1;
       fhir:Questionnaire.item.linkId [ fhir:value "2.2" ];
       fhir:Questionnaire.item.text [ fhir:value "What is your date of birth?" ];
       fhir:Questionnaire.item.type [ fhir:value "date" ]     ];
     fhir:Questionnaire.item.item [
       fhir:index 2;
       fhir:Questionnaire.item.linkId [ fhir:value "2.3" ];
       fhir:Questionnaire.item.text [ fhir:value "What is your country of birth?" ];
       fhir:Questionnaire.item.type [ fhir:value "string" ]     ];
     fhir:Questionnaire.item.item [
       fhir:index 3;
       fhir:Questionnaire.item.linkId [ fhir:value "2.4" ];
       fhir:Questionnaire.item.text [ fhir:value "What is your marital status?" ];
       fhir:Questionnaire.item.type [ fhir:value "string" ]     ]
  ];
  fhir:Questionnaire.item [
     fhir:index 2;
     fhir:Questionnaire.item.linkId [ fhir:value "3" ];
     fhir:Questionnaire.item.text [ fhir:value "Intoxications" ];
     fhir:Questionnaire.item.type [ fhir:value "group" ];
     fhir:Questionnaire.item.item [
       fhir:index 0;
       fhir:Questionnaire.item.linkId [ fhir:value "3.1" ];
       fhir:Questionnaire.item.text [ fhir:value "Do you smoke?" ];
       fhir:Questionnaire.item.type [ fhir:value "boolean" ]     ];
     fhir:Questionnaire.item.item [
       fhir:index 1;
       fhir:Questionnaire.item.linkId [ fhir:value "3.2" ];
       fhir:Questionnaire.item.text [ fhir:value "Do you drink alchohol?" ];
       fhir:Questionnaire.item.type [ fhir:value "boolean" ]     ]
  ].

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


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.