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

Questionnaireresponse-example-f201-lifelines.ttl

Raw Turtle, JSON-LD

Real-world lifelines questionnaire response (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//QuestionnaireResponse/f201> a fhir:QuestionnaireResponse;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "f201"];
  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/f201>;
     fhir:Reference.reference [ fhir:value "Patient/f201" ];
     fhir:Reference.display [ fhir:value "Roel" ]
  ];
  fhir:QuestionnaireResponse.authorReference [
     fhir:reference <http://hl7.org/fhir/Practitioner/f201>;
     fhir:Reference.reference [ fhir:value "Practitioner/f201" ]
  ];
  fhir:QuestionnaireResponse.authored [ fhir:value "2013-06-18T00:00:00+01:00"^^xs:dateTime];
  fhir:QuestionnaireResponse.sourceReference [
     fhir:reference <http://hl7.org/fhir/Practitioner/f201>;
     fhir:Reference.reference [ fhir:value "Practitioner/f201" ]
  ];
  fhir:QuestionnaireResponse.item [
     fhir:index 0;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "1" ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "1.1" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Do you have allergies?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "I am allergic to house dust" ]       ]     ]
  ];
  fhir:QuestionnaireResponse.item [
     fhir:index 1;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "2" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "General questions" ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "2.1" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "What is your gender?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "Male" ]       ]     ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 1;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "2.2" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "What is your date of birth?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueDate [ fhir:value "1960-03-13"^^xs:date ]       ]     ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 2;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "2.3" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "What is your country of birth?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "The Netherlands" ]       ]     ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 3;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "2.4" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "What is your marital status?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "married" ]       ]     ]
  ];
  fhir:QuestionnaireResponse.item [
     fhir:index 2;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "3" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Intoxications" ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "3.1" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Do you smoke?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "No" ]       ]     ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 1;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "3.2" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Do you drink alchohol?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "No, but I used to drink" ]       ]     ]
  ].

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


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.