@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Questionnaire/f201> a fhir:Questionnaire ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "f201"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \n      <pre>Lifelines Questionnaire 1 part 1\n  1. Do you have allergies?\n  2. General Questions:\n    2.a) What is your gender?\n    2.b) What is your date of birth?\n    2.c) What is your country of birth?\n    2.d) What is your marital status?\n    3. Intoxications:\n      3.a) Do you smoke?\n      3.b) Do you drink alcohol?</pre>\n    \n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/Questionnaire/f201"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/Questionnaire/f201>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.20.6" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:subjectType ( [ fhir:v "Patient"] ) ; # 
  fhir:date [ fhir:v "2010"^^xsd:gYear] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:code ( [
     fhir:system [
       fhir:v "http://example.org/system/code/lifelines/nl"^^xsd:anyURI ;
       fhir:l <http://example.org/system/code/lifelines/nl>
     ] ;
     fhir:code [ fhir:v "VL 1-1, 18-65_1.2.2" ] ;
     fhir:display [ fhir:v "Lifelines Questionnaire 1 part 1" ]
  ] ) ; # 
  fhir:item ( [
     fhir:linkId [ fhir:v "1" ] ;
     fhir:text [ fhir:v "Do you have allergies?" ] ;
     fhir:type [ fhir:v "boolean" ]
  ] [
     fhir:linkId [ fhir:v "2" ] ;
     fhir:text [ fhir:v "General questions" ] ;
     fhir:type [ fhir:v "group" ] ;
     fhir:item ( [
       fhir:linkId [ fhir:v "2.1" ] ;
       fhir:text [ fhir:v "What is your gender?" ] ;
       fhir:type [ fhir:v "string" ]
     ] [
       fhir:linkId [ fhir:v "2.2" ] ;
       fhir:text [ fhir:v "What is your date of birth?" ] ;
       fhir:type [ fhir:v "date" ]
     ] [
       fhir:linkId [ fhir:v "2.3" ] ;
       fhir:text [ fhir:v "What is your country of birth?" ] ;
       fhir:type [ fhir:v "string" ]
     ] [
       fhir:linkId [ fhir:v "2.4" ] ;
       fhir:text [ fhir:v "What is your marital status?" ] ;
       fhir:type [ fhir:v "string" ]
     ] )
  ] [
     fhir:linkId [ fhir:v "3" ] ;
     fhir:text [ fhir:v "Intoxications" ] ;
     fhir:type [ fhir:v "group" ] ;
     fhir:item ( [
       fhir:linkId [ fhir:v "3.1" ] ;
       fhir:text [ fhir:v "Do you smoke?" ] ;
       fhir:type [ fhir:v "boolean" ]
     ] [
       fhir:linkId [ fhir:v "3.2" ] ;
       fhir:text [ fhir:v "Do you drink alchohol?" ] ;
       fhir:type [ fhir:v "boolean" ]
     ] )
  ] ) . # 

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

