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:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Questionnaire</b><a name=\"gcs\"> </a><a name=\"hcgcs\"> </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>StructureDefinition Work Group</b>: fhir</p><p><b>url</b>: <code>http://hl7.org/fhir/Questionnaire/gcs</code></p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/5.5.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt \r\n\r\nThis oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: \r\n\r\nNote that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.\r\n\r\nThis OID may also be used in CD.codeSystem.\">URI</a>/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>: HL7 International / FHIR Infrastructure</p><p><b>contact</b>: </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><hr/><blockquote><p><b>Generated Narrative: ValueSet #motor</b><a name=\"motor\"> </a><a name=\"hcmotor\"> </a></p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/5.5.0/NamingSystem-v3-loinc.html\" title=\"LOINC provides a set of universal names and ID codes for identifying laboratory and clinical test results.1,2 LOINC facilitates the exchange and pooling of results, such as blood hemoglobin, serum potassium, or vital signs, for clinical care, outcomes management, and research. LOINC's universal identifiers (names and codes) can be used in the context of order and observation exchanges between information systems that use syntax standards such as HL73, CEN TC251, ISO TC215, ASTM4, and DICOM. Specifically, the identifier can be used as the coded value for an observation in any other standard that uses the observation/observation value paradigm, whether messages, documents, application programming interface (API), etc. For example, LOINC codes are used widely in the OBX segment Observation Identifier field (OBX-3) of an ORU HL7 (HL7 version 2.x or ASTM 1238-9410) message that may be sent between a Clinical Laboratory Information Management Systems (LIMS) and Electronic Health Record Systems (EHR).5, 6 In this way, LOINC codes provide universal identifiers that allow the exchange of clinical data between heterogeneous computing environments.\">LOINC</a>/http://loinc.org/ValueSet/LL357-5</p><p><b>name</b>: GCS Motor Value Set</p><p><b>status</b>: active</p><p><b>description</b>: LOINC ANSWER LIST    (LL357-5)</p><blockquote><p><b>compose</b></p><blockquote><p><b>include</b></p><p><b>system</b>: <a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a></p><blockquote><p><b>concept</b></p><p><b>code</b>: LA6562-8</p><p><b>display</b>: No motor response</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6563-6</p><p><b>display</b>: Extension to pain</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6564-4</p><p><b>display</b>: Flexion to pain</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6565-1</p><p><b>display</b>: Withdrawl from pain</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6566-9</p><p><b>display</b>: Localizing pain</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6567-7</p><p><b>display</b>: Obeys commands</p></blockquote></blockquote></blockquote></blockquote><hr/><blockquote><p><b>Generated Narrative: ValueSet #verbal</b><a name=\"verbal\"> </a><a name=\"hcverbal\"> </a></p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/5.5.0/NamingSystem-v3-loinc.html\" title=\"LOINC provides a set of universal names and ID codes for identifying laboratory and clinical test results.1,2 LOINC facilitates the exchange and pooling of results, such as blood hemoglobin, serum potassium, or vital signs, for clinical care, outcomes management, and research. LOINC's universal identifiers (names and codes) can be used in the context of order and observation exchanges between information systems that use syntax standards such as HL73, CEN TC251, ISO TC215, ASTM4, and DICOM. Specifically, the identifier can be used as the coded value for an observation in any other standard that uses the observation/observation value paradigm, whether messages, documents, application programming interface (API), etc. For example, LOINC codes are used widely in the OBX segment Observation Identifier field (OBX-3) of an ORU HL7 (HL7 version 2.x or ASTM 1238-9410) message that may be sent between a Clinical Laboratory Information Management Systems (LIMS) and Electronic Health Record Systems (EHR).5, 6 In this way, LOINC codes provide universal identifiers that allow the exchange of clinical data between heterogeneous computing environments.\">LOINC</a>/http://loinc.org/ValueSet/LL356-7</p><p><b>name</b>: GCS Verbal Value Set</p><p><b>status</b>: active</p><p><b>description</b>: LOINC ANSWER LIST    (LL356-7)</p><blockquote><p><b>compose</b></p><blockquote><p><b>include</b></p><p><b>system</b>: <a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a></p><blockquote><p><b>concept</b></p><p><b>code</b>: LA6557-8</p><p><b>display</b>: No verbal response (&gt;2yrs); no vocal response (&lt;=2yrs)</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6558-6</p><p><b>display</b>: Incomprehensible sounds</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6559-4</p><p><b>display</b>: Inappropriate words</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6560-2</p><p><b>display</b>: Confused</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6561-0</p><p><b>display</b>: Oriented</p></blockquote></blockquote></blockquote></blockquote><hr/><blockquote><p><b>Generated Narrative: ValueSet #eye</b><a name=\"eye\"> </a><a name=\"hceye\"> </a></p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/5.5.0/NamingSystem-v3-loinc.html\" title=\"LOINC provides a set of universal names and ID codes for identifying laboratory and clinical test results.1,2 LOINC facilitates the exchange and pooling of results, such as blood hemoglobin, serum potassium, or vital signs, for clinical care, outcomes management, and research. LOINC's universal identifiers (names and codes) can be used in the context of order and observation exchanges between information systems that use syntax standards such as HL73, CEN TC251, ISO TC215, ASTM4, and DICOM. Specifically, the identifier can be used as the coded value for an observation in any other standard that uses the observation/observation value paradigm, whether messages, documents, application programming interface (API), etc. For example, LOINC codes are used widely in the OBX segment Observation Identifier field (OBX-3) of an ORU HL7 (HL7 version 2.x or ASTM 1238-9410) message that may be sent between a Clinical Laboratory Information Management Systems (LIMS) and Electronic Health Record Systems (EHR).5, 6 In this way, LOINC codes provide universal identifiers that allow the exchange of clinical data between heterogeneous computing environments.\">LOINC</a>/http://loinc.org/ValueSet/LL355-9</p><p><b>name</b>: GCS Eye Value Set</p><p><b>status</b>: active</p><p><b>description</b>: LOINC ANSWER LIST    (LL355-9)</p><blockquote><p><b>compose</b></p><blockquote><p><b>include</b></p><p><b>system</b>: <a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a></p><blockquote><p><b>concept</b></p><p><b>code</b>: LA6553-7</p><p><b>display</b>: No eye opening</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6554-5</p><p><b>display</b>: Eye opening to pain</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6555-2</p><p><b>display</b>: Eye opening to verbal command</p></blockquote><blockquote><p><b>concept</b></p><p><b>code</b>: LA6556-0</p><p><b>display</b>: Eyes open spontaneously</p></blockquote></blockquote></blockquote></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: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: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.