FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Questionnaireresponse-example-gcs.ttl

Example QuestionnaireResponse/gcs (Turtle)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Ballot Standards Status : Informative Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

Raw Turtle , JSON-LD (+ also see Turtle/RDF Format Specification )

Glasgow Coma Score example answers

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .

@prefix loinc: <https://loinc.org/rdf/> .

@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/QuestionnaireResponse/gcs> a fhir:QuestionnaireResponse;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "gcs"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: gcs</p><p><b>questionnaire</b>: <a>Questionnaire/gcs</a></p><p><b>status</b>: completed</p><p><b>subject</b>: <a>Peter James Chalmers</a></p><p><b>authored</b>: 11/12/2014 4:44:16 AM</p><p><b>source</b>: <a>Practitioner/f007</a></p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1.1</p><h3>Answers</h3><table><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Confused (Details: LOINC code LA6560-2 = 'Confused', stated as 'Confused')</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 1.2</p><h3>Answers</h3><table><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Localizing pain (Details: LOINC code LA6566-9 = 'Localizing pain', stated as 'Localizing pain')</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 1.3</p><h3>Answers</h3><table><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Eyes open spontaneously (Details: LOINC code LA6556-0 = 'Eyes open spontaneously', stated as 'Eyes open spontaneously')</td></tr></table></blockquote></div>"
  ];
  fhir:QuestionnaireResponse.questionnaire [
     fhir:link <http://hl7.org/fhir/Questionnaire/gcs>;
     fhir:Reference.reference [ fhir:value "Questionnaire/gcs" ]
  ];
  fhir:QuestionnaireResponse.status [ fhir:value "completed"];
  fhir:QuestionnaireResponse.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
  ];
  fhir:QuestionnaireResponse.authored [ fhir:value "2014-12-11T04:44:16Z"^^xsd:dateTime];
  fhir:QuestionnaireResponse.source [
     fhir:link <http://hl7.org/fhir/Practitioner/f007>;
     fhir:Reference.reference [ fhir:value "Practitioner/f007" ]
  ];
  fhir:QuestionnaireResponse.item [
     fhir:index 0;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "1.1" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueCoding [
         a loinc:LA6560-2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-CO-value" ];
           fhir:Extension.valueDecimal [ fhir:value "4"^^xsd:decimal ]
         ];
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6560-2" ];
         fhir:Coding.display [ fhir:value "Confused" ]

<http://hl7.org/fhir/QuestionnaireResponse/gcs> 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:l <http://hl7.org/fhir/Questionnaire/gcs>
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     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:l <http://hl7.org/fhir/Practitioner/f007> ;
     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:l <http://hl7.org/fhir/StructureDefinition/itemWeight>
           ] ;
           fhir:value [
             a fhir:Decimal ;
             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:l <http://loinc.org>
         ] ;
         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:index 1;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "1.2" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueCoding [
         a loinc:LA6566-9;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-CO-value" ];
           fhir:Extension.valueDecimal [ fhir:value "5"^^xsd:decimal ]
         ];
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6566-9" ];
         fhir:Coding.display [ fhir:value "Localizing pain" ]

     ] )
  ] [
     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:l <http://hl7.org/fhir/StructureDefinition/itemWeight>
           ] ;
           fhir:value [
             a fhir:Decimal ;
             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:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "LA6566-9" ] ;
         fhir:display [ fhir:v "Localizing pain" ]

       ]
     ]
  ], [
     fhir:index 2;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "1.3" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueCoding [
         a loinc:LA6556-0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-CO-value" ];
           fhir:Extension.valueDecimal [ fhir:value "4"^^xsd:decimal ]
         ];
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6556-0" ];
         fhir:Coding.display [ fhir:value "Eyes open spontaneously" ]

     ] )
  ] [
     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:l <http://hl7.org/fhir/StructureDefinition/itemWeight>
           ] ;
           fhir:value [
             a fhir:Decimal ;
             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:l <http://loinc.org>
         ] ;
         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" ]

       ]
     ]
  ] .

<http://hl7.org/fhir/Questionnaire/gcs> a fhir:Questionnaire .

     ] )
  ] ) . # 


<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/f007> a fhir:Practitioner .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/QuestionnaireResponse/gcs.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/QuestionnaireResponse/gcs.ttl> .


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


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.