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

: SleepDuration005 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://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:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "SleepDuration005"]; # 
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2021-02-20T09:29:23.356+00:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "https://smart-bear.eu/fhir/StructureDefinition/SleepDurationObservation";
       fhir:index 0;
       fhir:link <https://smart-bear.eu/fhir/StructureDefinition/SleepDurationObservation>     ]
  ]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"SleepDuration005\"> </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 Observation &quot;SleepDuration005&quot; Updated &quot;2021-02-20 09:29:23+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-SleepDurationObservation.html\">Sleep Duration Observation</a></p></div><p><b>App submission date</b>: 2021-02-20 09:29:23+0000</p><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span></p><p><b>code</b>: Light sleep duration <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#93830-8)</span></p><p><b>subject</b>: <a href=\"Patient-Patient001.html\">Patient/Patient001</a> &quot; BIANCHI&quot;</p><p><b>effective</b>: 2021-02-20 09:29:23+0000</p><p><b>value</b>: 5 hours<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code h = 'h')</span></p></div>"
  ]; # 
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "https://smart-bear.eu/fhir/StructureDefinition/LoadedIntoApp" ];
     fhir:Extension.valueDateTime [ fhir:value "2021-02-20T09:29:23.356+00:00"^^xsd:dateTime ]
  ]; # 
  fhir:Observation.status [ fhir:value "final"]; # 
  fhir:Observation.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
       fhir:Coding.code [ fhir:value "activity" ];
       fhir:Coding.display [ fhir:value "Activity" ]     ]
  ]; # 
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:93830-8;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "93830-8" ];
       fhir:Coding.display [ fhir:value "Light sleep duration" ]     ]
  ]; # 
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient001" ]
  ]; # 
  fhir:Observation.effectiveDateTime [ fhir:value "2021-02-20T09:29:23.356+00:00"^^xsd:dateTime]; # 
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "hours" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "h" ]
  ]. # 

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

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