Danish Hackathon 2026
1.0.1 - release Denmark flag

This page is part of the HL7 FHIR Implementation Guide: DK Hackathons (v1.0.1: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: SleepObservationExample - TTL Representation

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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Observation/SleepObservationExample> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "SleepObservationExample"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.dk/fhir/hackathons/StructureDefinition/SleepObservation" ;
       fhir:index 0 ;
       fhir:link <http://hl7.dk/fhir/hackathons/StructureDefinition/SleepObservation>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation SleepObservationExample</b></p><a name=\"SleepObservationExample\"> </a><a name=\"hcSleepObservationExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-SleepObservation.html\">SleepObservation</a></p></div><p><b>Episode of care</b>: <a href=\"EpisodeOfCare-EpisodeOfCareExample.html\">EpisodeOfCare: status = active; period = 2022-09-01 00:00:00+0200 --&gt; (ongoing)</a></p><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 248263006}\">Duration of sleep</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Nancy Ann Berggren (official) Unknown, DoB Unknown ( urn:oid:1.2.208.176.1.2#DK Central Person Registry (CPR)#2512489996 (use: official, ))</a></p><p><b>effective</b>: 2022-09-05 12:00:00+0200 --&gt; 2022-09-06 12:00:00+0200</p><p><b>performer</b>: <a href=\"Patient-PatientExample.html\">Nancy Ann Berggren (official) Unknown, DoB Unknown ( urn:oid:1.2.208.176.1.2#DK Central Person Registry (CPR)#2512489996 (use: official, ))</a></p><p><b>value</b>: 5</p></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare" ] ;
     fhir:Extension.valueReference [
       fhir:link <http://hl7.org/fhir/EpisodeOfCare/EpisodeOfCareExample> ;
       fhir:Reference.reference [ fhir:value "EpisodeOfCare/EpisodeOfCareExample" ]
     ]
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:248263006 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "248263006" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://hl7.org/fhir/Patient/PatientExample> ;
     fhir:Reference.reference [ fhir:value "Patient/PatientExample" ]
  ] ;
  fhir:Observation.effectivePeriod [
     fhir:Period.start [ fhir:value "2022-09-05T12:00:00+02:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2022-09-06T12:00:00+02:00"^^xsd:dateTime ]
  ] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/Patient/PatientExample> ;
     fhir:Reference.reference [ fhir:value "Patient/PatientExample" ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ]
  ] .

<http://hl7.org/fhir/EpisodeOfCare/EpisodeOfCareExample> a fhir:EpisodeOfCare .

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

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

<http://hl7.org/fhir/Observation/SleepObservationExample.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Observation/SleepObservationExample.ttl> .