STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Questionnaire-example-gcs.ttl

Raw Turtle, JSON-LD

Glasgow Coma Score example form

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xs: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir//Questionnaire/gcs> a fhir:Questionnaire;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "gcs"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.contained [
     fhir:index 0;
     fhir:ValueSet [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "motor" ];
       fhir:ValueSet.identifier [
         fhir:Identifier.system [ fhir:value "http://loinc.org" ];
         fhir:Identifier.value [ fhir:value "http://loinc.org/ValueSet/LL357-5" ]       ];
       fhir:ValueSet.name [ fhir:value "GCS Motor Value Set" ];
       fhir:ValueSet.status [ fhir:value "active" ];
       fhir:ValueSet.description [ fhir:value "LOINC ANSWER LIST    (LL357-5)" ];
       fhir:ValueSet.compose [
         fhir:ValueSet.compose.include [
           fhir:index 0;
           fhir:ValueSet.compose.include.system [ fhir:value "http://loinc.org" ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 0;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6562-8" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "No motor response" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 1;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6563-6" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Extension to pain" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 2;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6564-4" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Flexion to pain" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 3;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6565-1" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Withdrawl from pain" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 4;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6566-9" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Localizing pain" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 5;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6567-7" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Obeys commands" ]           ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 1;
     fhir:ValueSet [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "verbal" ];
       fhir:ValueSet.identifier [
         fhir:Identifier.system [ fhir:value "http://loinc.org" ];
         fhir:Identifier.value [ fhir:value "http://loinc.org/ValueSet/LL356-7" ]       ];
       fhir:ValueSet.name [ fhir:value "GCS Verbal Value Set" ];
       fhir:ValueSet.status [ fhir:value "active" ];
       fhir:ValueSet.description [ fhir:value "LOINC ANSWER LIST    (LL356-7)" ];
       fhir:ValueSet.compose [
         fhir:ValueSet.compose.include [
           fhir:index 0;
           fhir:ValueSet.compose.include.system [ fhir:value "http://loinc.org" ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 0;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6557-8" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "No verbal response (>2yrs); no vocal response (<=2yrs)" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 1;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6558-6" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Incomprehensible sounds" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 2;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6559-4" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Inappropriate words" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 3;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6560-2" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Confused" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 4;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6561-0" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Oriented" ]           ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 2;
     fhir:ValueSet [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "eye" ];
       fhir:ValueSet.identifier [
         fhir:Identifier.system [ fhir:value "http://loinc.org" ];
         fhir:Identifier.value [ fhir:value "http://loinc.org/ValueSet/LL355-9" ]       ];
       fhir:ValueSet.name [ fhir:value "GCS Eye Value Set" ];
       fhir:ValueSet.status [ fhir:value "active" ];
       fhir:ValueSet.description [ fhir:value "LOINC ANSWER LIST    (LL355-9)" ];
       fhir:ValueSet.compose [
         fhir:ValueSet.compose.include [
           fhir:index 0;
           fhir:ValueSet.compose.include.system [ fhir:value "http://loinc.org" ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 0;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6553-7" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "No eye opening" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 1;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6554-5" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Eye opening to pain" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 2;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6555-2" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Eye opening to verbal command" ]           ];
           fhir:ValueSet.compose.include.concept [
             fhir:index 3;
             fhir:ValueSet.compose.include.concept.code [ fhir:value "LA6556-0" ];
             fhir:ValueSet.compose.include.concept.display [ fhir:value "Eyes open spontaneously" ]           ]         ]       ]     ]
  ];
  fhir:Questionnaire.status [ fhir:value "draft"];
  fhir:Questionnaire.date [ fhir:value "2015-08-03"^^xs:date];
  fhir:Questionnaire.publisher [ fhir:value "FHIR Project team"];
  fhir:Questionnaire.title [ fhir:value "Glasgow Coma Score"];
  fhir:Questionnaire.concept [
     fhir:index 0;
     a loinc:9269-2;
     fhir:Coding.system [ fhir:value "http://loinc.org" ];
     fhir:Coding.code [ fhir:value "9269-2" ]
  ];
  fhir:Questionnaire.subjectType [
     fhir:value "Patient";
     fhir:index 0
  ];
  fhir:Questionnaire.item [
     fhir:index 0;
     fhir:Questionnaire.item.linkId [ fhir:value "1.1" ];
     fhir:Questionnaire.item.concept [
       fhir:index 0;
       a loinc:9270-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "9270-0" ]     ];
     fhir:Questionnaire.item.type [ fhir:value "choice" ];
     fhir:Questionnaire.item.options [
       fhir:Reference.reference [ fhir:value "#verbal" ]     ]
  ];
  fhir:Questionnaire.item [
     fhir:index 1;
     fhir:Questionnaire.item.linkId [ fhir:value "1.2" ];
     fhir:Questionnaire.item.concept [
       fhir:index 0;
       a loinc:9268-4;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "9268-4" ]     ];
     fhir:Questionnaire.item.type [ fhir:value "choice" ];
     fhir:Questionnaire.item.options [
       fhir:Reference.reference [ fhir:value "#motor" ]     ]
  ];
  fhir:Questionnaire.item [
     fhir:index 2;
     fhir:Questionnaire.item.linkId [ fhir:value "1.3" ];
     fhir:Questionnaire.item.concept [
       fhir:index 0;
       a loinc:9267-6;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "9267-6" ]     ];
     fhir:Questionnaire.item.type [ fhir:value "choice" ];
     fhir:Questionnaire.item.options [
       fhir:Reference.reference [ fhir:value "#eye" ]     ]
  ].

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


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.