Smart Bear Implementation Guide
0.3.2 - ci-build

Smart Bear Implementation Guide - Local Development build (v0.3.2). See the Directory of published versions

: SleepItemQuestionnaire - TTL Representation

Draft as of 2023-08-01

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@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:Resource.id [ fhir:value "SleepItemQuestionnaire"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><b>Structure</b><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 2px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The linkId for the item\">LinkId</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Text for the item\">Text</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Minimum and Maximum # of times the the itemcan appear in the instance\">Cardinality</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The type of the item\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the item\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_q_root.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"QuestionnaireRoot\" class=\"hierarchy\"/> SleepItemQuestionnaire</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Questionnaire</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">https://smart-bear.eu/fhir/Questionnaire/SleepItemQuestionnaire#0.3.2</td></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" id=\"item.score\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-integer.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Integer\" class=\"hierarchy\"/> score</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Please think about the quality of your sleep overall, such as many hours of sleep you got, how easily you fell asleep, how often you wake up during the night(except to go to the bathroom), how often you wake up earlier than you had to in the morning,and how refreshing your sleep was</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-integer\">integer</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Options: <a href=\"#opt-item.score\">11 options</a></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table><hr/><p><b>Option Sets</b></p><a name=\"opt-item.score\"> </a><p><b>Answer options for score</b></p><ul><li style=\"font-size: 11px\">0</li><li style=\"font-size: 11px\">1</li><li style=\"font-size: 11px\">2</li><li style=\"font-size: 11px\">3</li><li style=\"font-size: 11px\">4</li><li style=\"font-size: 11px\">5</li><li style=\"font-size: 11px\">6</li><li style=\"font-size: 11px\">7</li><li style=\"font-size: 11px\">8</li><li style=\"font-size: 11px\">9</li><li style=\"font-size: 11px\">10</li></ul></div>"
  ]; # 
  fhir:Questionnaire.url [ fhir:value "https://smart-bear.eu/fhir/Questionnaire/SleepItemQuestionnaire"]; # 
  fhir:Questionnaire.version [ fhir:value "0.3.2"]; # 
  fhir:Questionnaire.name [ fhir:value "SleepItemQuestionnaire"]; # 
  fhir:Questionnaire.title [ fhir:value "Single-Item Sleep Quality Scale"]; # 
  fhir:Questionnaire.status [ fhir:value "draft"]; # 
  fhir:Questionnaire.date [ fhir:value "2023-08-01T11:22:15+02:00"^^xsd:dateTime]; # 
  fhir:Questionnaire.item [
     fhir:index 0;
     fhir:Questionnaire.item.linkId [ fhir:value "score" ];
     fhir:Questionnaire.item.text [ fhir:value "Please think about the quality of your sleep overall, such as many hours of sleep you got, how easily you fell asleep, how often you wake up during the night(except to go to the bathroom), how often you wake up earlier than you had to in the morning,and how refreshing your sleep was" ];
     fhir:Questionnaire.item.type [ fhir:value "integer" ];
     fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
     fhir:Questionnaire.item.answerOption [
       fhir:index 0;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "0"^^xsd:integer ]     ], [
       fhir:index 1;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "1"^^xsd:integer ]     ], [
       fhir:index 2;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "2"^^xsd:integer ]     ], [
       fhir:index 3;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "3"^^xsd:integer ]     ], [
       fhir:index 4;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "4"^^xsd:integer ]     ], [
       fhir:index 5;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "5"^^xsd:integer ]     ], [
       fhir:index 6;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "6"^^xsd:integer ]     ], [
       fhir:index 7;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "7"^^xsd:integer ]     ], [
       fhir:index 8;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "8"^^xsd:integer ]     ], [
       fhir:index 9;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "9"^^xsd:integer ]     ], [
       fhir:index 10;
       fhir:Questionnaire.item.answerOption.valueInteger [ fhir:value "10"^^xsd:integer ]     ]
  ]. # 

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.