FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Questionnaire/gcs (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Glasgow Coma Score example form

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

[a fhir:Questionnaire ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "gcs"] ; # 
  fhir:contained ( [
     a fhir:ValueSet ;
     fhir:id [ fhir:v "motor" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "http://loinc.org/ValueSet/LL357-5" ]
     ] ) ;
     fhir:name [ fhir:v "GCS Motor Value Set" ] ;
     fhir:status [ fhir:v "active" ] ;
     fhir:description [ fhir:v "LOINC ANSWER LIST    (LL357-5)" ] ;
     fhir:compose [
       fhir:include ( [
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:concept ( [
           fhir:code [ fhir:v "LA6562-8" ] ;
           fhir:display [ fhir:v "No motor response" ]
         ] [
           fhir:code [ fhir:v "LA6563-6" ] ;
           fhir:display [ fhir:v "Extension to pain" ]
         ] [
           fhir:code [ fhir:v "LA6564-4" ] ;
           fhir:display [ fhir:v "Flexion to pain" ]
         ] [
           fhir:code [ fhir:v "LA6565-1" ] ;
           fhir:display [ fhir:v "Withdrawl from pain" ]
         ] [
           fhir:code [ fhir:v "LA6566-9" ] ;
           fhir:display [ fhir:v "Localizing pain" ]
         ] [
           fhir:code [ fhir:v "LA6567-7" ] ;
           fhir:display [ fhir:v "Obeys commands" ]
         ] )
       ] )
     ]
  ] [
     a fhir:ValueSet ;
     fhir:id [ fhir:v "verbal" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "http://loinc.org/ValueSet/LL356-7" ]
     ] ) ;
     fhir:name [ fhir:v "GCS Verbal Value Set" ] ;
     fhir:status [ fhir:v "active" ] ;
     fhir:description [ fhir:v "LOINC ANSWER LIST    (LL356-7)" ] ;
     fhir:compose [
       fhir:include ( [
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:concept ( [
           fhir:code [ fhir:v "LA6557-8" ] ;
           fhir:display [ fhir:v "No verbal response (>2yrs); no vocal response (<=2yrs)" ]
         ] [
           fhir:code [ fhir:v "LA6558-6" ] ;
           fhir:display [ fhir:v "Incomprehensible sounds" ]
         ] [
           fhir:code [ fhir:v "LA6559-4" ] ;
           fhir:display [ fhir:v "Inappropriate words" ]
         ] [
           fhir:code [ fhir:v "LA6560-2" ] ;
           fhir:display [ fhir:v "Confused" ]
         ] [
           fhir:code [ fhir:v "LA6561-0" ] ;
           fhir:display [ fhir:v "Oriented" ]
         ] )
       ] )
     ]
  ] [
     a fhir:ValueSet ;
     fhir:id [ fhir:v "eye" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "http://loinc.org/ValueSet/LL355-9" ]
     ] ) ;
     fhir:name [ fhir:v "GCS Eye Value Set" ] ;
     fhir:status [ fhir:v "active" ] ;
     fhir:description [ fhir:v "LOINC ANSWER LIST    (LL355-9)" ] ;
     fhir:compose [
       fhir:include ( [
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:concept ( [
           fhir:code [ fhir:v "LA6553-7" ] ;
           fhir:display [ fhir:v "No eye opening" ]
         ] [
           fhir:code [ fhir:v "LA6554-5" ] ;
           fhir:display [ fhir:v "Eye opening to pain" ]
         ] [
           fhir:code [ fhir:v "LA6555-2" ] ;
           fhir:display [ fhir:v "Eye opening to verbal command" ]
         ] [
           fhir:code [ fhir:v "LA6556-0" ] ;
           fhir:display [ fhir:v "Eyes open spontaneously" ]
         ] )
       ] )
     ]
  ] ) ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fhir" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/Questionnaire/gcs"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.20.5" ]
  ] ) ; # 
  fhir:name [ fhir:v "GlasgowComaScore"] ; # 
  fhir:title [ fhir:v "Glasgow Coma Score"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:subjectType ( [ fhir:v "Patient"] ) ; # 
  fhir:date [ fhir:v "2015-08-03"^^xsd:date] ; # 
  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:description [ fhir:v "Glasgow Coma Score"] ; # 
  fhir:code ( [
     a loinc:9269-2 ;
     fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "9269-2" ]
  ] ) ; # 
  fhir:item ( [
     fhir:linkId [ fhir:v "1.1" ] ;
     fhir:code ( [
       a loinc:9270-0 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "9270-0" ]
     ] ) ;
     fhir:type [ fhir:v "coding" ] ;
     fhir:answerValueSet [ fhir:v "#verbal"^^xsd:anyURI ]
  ] [
     fhir:linkId [ fhir:v "1.2" ] ;
     fhir:code ( [
       a loinc:9268-4 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "9268-4" ]
     ] ) ;
     fhir:type [ fhir:v "coding" ] ;
     fhir:answerValueSet [ fhir:v "#motor"^^xsd:anyURI ]
  ] [
     fhir:linkId [ fhir:v "1.3" ] ;
     fhir:code ( [
       a loinc:9267-6 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "9267-6" ]
     ] ) ;
     fhir:type [ fhir:v "coding" ] ;
     fhir:answerValueSet [ fhir:v "#eye"^^xsd:anyURI ]
  ] )] . # 

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


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.