R6 Ballot (2nd Draft)

Publish-box (todo)

Example QuestionnaireResponse/gcs (Turtle)

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

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

Glasgow Coma Score example answers

@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:QuestionnaireResponse ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "gcs"] ; # 
  fhir:questionnaire [
     fhir:v "http://hl7.org/fhir/Questionnaire/gcs"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/Questionnaire/gcs>
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter James Chalmers" ]
  ] ; # 
  fhir:authored [ fhir:v "2014-12-11T04:44:16Z"^^xsd:dateTime] ; # 
  fhir:source [
     fhir:reference [ fhir:v "Practitioner/f007" ]
  ] ; # 
  fhir:item ( [
     fhir:linkId [ fhir:v "1.1" ] ;
     fhir:answer ( [
       fhir:value [
         a fhir:Coding, loinc:LA6560-2 ;
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/itemWeight"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "4"^^xsd:decimal ] #    from Element: extension   
         ] ) ; #     This example has the extension which maps a numeric score to the code this may already be known and unecessary in the Observation resource   ,    0..1 Value of extension   
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "LA6560-2" ] ; #   technicallly the code is '5' and the LA is the identifier to do hav e both  would require an extention  
         fhir:display [ fhir:v "Confused" ]
       ]
     ] )
  ] [
     fhir:linkId [ fhir:v "1.2" ] ;
     fhir:answer ( [
       fhir:value [
         a fhir:Coding, loinc:LA6566-9 ;
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/itemWeight"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "5"^^xsd:decimal ] #    from Element: extension   
         ] ) ; #     This example has the extension which maps a numeric score to the code this may already be known and unecessary in the Observation resource   ,    0..1 Value of extension   
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "LA6566-9" ] ;
         fhir:display [ fhir:v "Localizing pain" ]
       ]
     ] )
  ] [
     fhir:linkId [ fhir:v "1.3" ] ;
     fhir:answer ( [
       fhir:value [
         a fhir:Coding, loinc:LA6556-0 ;
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/itemWeight"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "4"^^xsd:decimal ] #    from Element: extension   
         ] ) ; #     This example has the extension which maps a numeric score to the code this may already be known and unecessary in the Observation resource   ,    0..1 Value of extension   
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "LA6556-0" ] ; #   technicallly the code is '4' and the LA is the identifier to do hav e both  would require an extention  
         fhir:display [ fhir:v "Eyes open spontaneously" ]
       ]
     ] )
  ] )] . # 

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


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.