R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). 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

FHIR Infrastructure Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle,

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 xsd: <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:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: f201</p><p><b>status</b>: completed</p><p><b>subject</b>: <a>Roel</a></p><p><b>authored</b>: 18/06/2013 12:00:00 AM</p><p><b>author</b>: <a>Practitioner/f201</a></p><p><b>source</b>: <a>Practitioner/f201</a></p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 2</p><p><b>text</b>: General questions</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 3</p><p><b>text</b>: Intoxications</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote></div>"
  ];
  fhir:QuestionnaireResponse.status [ fhir:value "completed"];
  fhir:QuestionnaireResponse.subject [
     fhir:link <http://hl7.org/fhir/Patient/f201>;
     fhir:Reference.reference [ fhir:value "Patient/f201" ];
     fhir:Reference.display [ fhir:value "Roel" ]
  ];
  fhir:QuestionnaireResponse.authored [ fhir:value "2013-06-18T00:00:00+01:00"^^xsd:dateTime];
  fhir:QuestionnaireResponse.author [
     fhir:link <http://hl7.org/fhir/Practitioner/f201>;
     fhir:Reference.reference [ fhir:value "Practitioner/f201" ]
  ];
  fhir:QuestionnaireResponse.source [
     fhir:link <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: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: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"^^xsd:date ]
       ]
     ], [
       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: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: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: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" ]
       ]
     ]
  ] .

<http://hl7.org/fhir/Patient/f201> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/f201> a fhir:Practitioner .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/QuestionnaireResponse/f201.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/QuestionnaireResponse/f201.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.