Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

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:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Questionnaire</b><a name=\"gcs\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Questionnaire &quot;gcs&quot; </p></div><p><b>url</b>: <code>http://hl7.org/fhir/Questionnaire/gcs</code></p><p><b>identifier</b>: id: urn:oid:2.16.840.1.113883.4.642.20.5</p><p><b>name</b>: GlasgowComaScore</p><p><b>title</b>: Glasgow Coma Score</p><p><b>status</b>: draft</p><p><b>subjectType</b>: Patient</p><p><b>date</b>: 2015-08-03</p><p><b>publisher</b>: FHIR Project team</p><p><b>description</b>: Glasgow Coma Score</p><p><b>code</b>: Glasgow coma score total (Details: LOINC code 9269-2 = 'Glasgow coma score total', stated as 'null')</p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1.1</p><p><b>code</b>: Glasgow coma score verbal (Details: LOINC code 9270-0 = 'Glasgow coma score verbal', stated as 'null')</p><p><b>type</b>: coding</p><p><b>answerValueSet</b>: <code>#verbal</code></p></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 1.2</p><p><b>code</b>: Glasgow coma score motor (Details: LOINC code 9268-4 = 'Glasgow coma score motor', stated as 'null')</p><p><b>type</b>: coding</p><p><b>answerValueSet</b>: <code>#motor</code></p></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 1.3</p><p><b>code</b>: Glasgow coma score eye opening (Details: LOINC code 9267-6 = 'Glasgow coma score eye opening', stated as 'null')</p><p><b>type</b>: coding</p><p><b>answerValueSet</b>: <code>#eye</code></p></blockquote></div>"
  ] ; # 
  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: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 "FHIR Project team"] ; # 
  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.