Personal Health Records
1.0.0-ballot2 - STU 1 ballot International flag

Personal Health Records, published by HL7 International / Patient Empowerment. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/personal-health-record-format-ig/ and changes regularly. See the Directory of published versions

: pghd-sleep-episode-1

Page standards status: Informative

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@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 -------------------------------------------------------------------

 a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pghd-sleep-episode-1"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/phr/StructureDefinition/pghd-sleep-episode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/StructureDefinition/pghd-sleep-episode>     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: Observation pghd-sleep-episode-1</b></p><a name=\"pghd-sleep-episode-1\"> </a><a name=\"hcpghd-sleep-episode-1\"> </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\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-pghd-sleep-episode.html\">PGHD Sleep Episode Profile</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social History</span></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/observation-pghd-codes sleepEpisode}\">Sleep episode</span></p><p><b>subject</b>: <a href=\"Patient-1.html\">John Doe Male, DoB: 1990-01-01</a></p><p><b>effective</b>: 2016-02-05 21:35:00+0900 --&gt; 2016-02-06 06:15:00+0900</p><p><b>performer</b>: <a href=\"Patient-1.html\">John Doe Male, DoB: 1990-01-01</a></p><p><b>device</b>: <a href=\"#hcpghd-sleep-episode-1/device\">Device: manufacturer = Apple</a></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes latencyToSleepOnset}\">Latency to sleep onset</span></p><p><b>value</b>: 17.5 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemin = 'min')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes latencyToArising}\">Latency to arising</span></p><p><b>value</b>: 5.2 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemin = 'min')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes totalSleepTime}\">Total sleep time</span></p><p><b>value</b>: 487 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemin = 'min')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes coreSleepDuration}\">Core sleep Duration</span></p><p><b>value</b>: 312 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemin = 'min')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes deepSleepDuration}\">Deep sleep duration</span></p><p><b>value</b>: 37 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemin = 'min')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes remSleepDuration}\">Rem sleep duration</span></p><p><b>value</b>: 138 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemin = 'min')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes wakeAfterSleepOnset}\">Wake after sleep onset</span></p><p><b>value</b>: 10.3 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemin = 'min')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes numberOfAwakenings}\">Number of awakenings</span></p><p><b>value</b>: 1</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes sleepEfficiencyPercentage}\">Sleep efficiency percentage</span></p><p><b>value</b>: 93.7 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Device #device</b></p><a name=\"pghd-sleep-episode-1/device\"> </a><a name=\"hcpghd-sleep-episode-1/device\"> </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-pghd-device.html\">PGHD Device Profile</a></p></div><p><b>manufacturer</b>: Apple</p><blockquote><p><b>deviceName</b></p><p><b>name</b>: iPhone</p><p><b>type</b>: User Friendly name</p></blockquote><blockquote><p><b>deviceName</b></p><p><b>name</b>: iPhone</p><p><b>type</b>: Model name</p></blockquote><blockquote><p><b>version</b></p><p><b>type</b>: <span title=\"Codes:\">heardware</span></p><p><b>value</b>: iPhone13,1</p></blockquote><blockquote><p><b>version</b></p><p><b>type</b>: <span title=\"Codes:\">software</span></p><p><b>value</b>: 16.1.1</p></blockquote></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
a fhir:Device ;
fhir:id [ fhir:v "device" ] ;
fhir:meta [
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/phr/StructureDefinition/pghd-device"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/StructureDefinition/pghd-device>       ] )     ] ;
fhir:manufacturer [ fhir:v "Apple" ] ;
    ( fhir:deviceName [
fhir:name [ fhir:v "iPhone" ] ;
fhir:type [ fhir:v "user-friendly-name" ]     ] [
fhir:name [ fhir:v "iPhone" ] ;
fhir:type [ fhir:v "model-name" ]     ] ) ;
    ( fhir:version [
fhir:type [
fhir:text [ fhir:v "heardware" ]       ] ;
fhir:value [ fhir:v "iPhone13,1" ]     ] [
fhir:type [
fhir:text [ fhir:v "software" ]       ] ;
fhir:value [ fhir:v "16.1.1" ]     ] )
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>       ] ;
fhir:code [ fhir:v "social-history" ] ;
fhir:display [ fhir:v "Social History" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/observation-pghd-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/observation-pghd-codes>       ] ;
fhir:code [ fhir:v "sleepEpisode" ]     ] )
  ] ; # 
  fhir:subject [
fhir:l fhir:Patient/1 ;
fhir:reference [ fhir:v "Patient/1" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2016-02-05T21:35:00+09:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2016-02-06T06:15:00+09:00"^^xsd:dateTime ]
  ] ; # 
  fhir:performer ( [
fhir:l fhir:Patient/1 ;
fhir:reference [ fhir:v "Patient/1" ]
  ] ) ; # 
  fhir:device [
fhir:l <#device> ;
fhir:reference [ fhir:v "#device" ]
  ] ; # 
  fhir:component ( [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "latencyToSleepOnset" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v 17.5 ] ;
fhir:unit [ fhir:v "min" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "min" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "latencyToArising" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v 5.2 ] ;
fhir:unit [ fhir:v "min" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "min" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "totalSleepTime" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "487"^^xsd:decimal ] ;
fhir:unit [ fhir:v "min" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "min" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "coreSleepDuration" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "312"^^xsd:decimal ] ;
fhir:unit [ fhir:v "min" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "min" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "deepSleepDuration" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "37"^^xsd:decimal ] ;
fhir:unit [ fhir:v "min" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "min" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "remSleepDuration" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "138"^^xsd:decimal ] ;
fhir:unit [ fhir:v "min" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "min" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "wakeAfterSleepOnset" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v 10.3 ] ;
fhir:unit [ fhir:v "min" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "min" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "numberOfAwakenings" ]       ] )     ] ;
fhir:value [
a fhir:Integer ;
fhir:v 1     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/phr/CodeSystem/sleep-episode-codes>         ] ;
fhir:code [ fhir:v "sleepEfficiencyPercentage" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v 93.7 ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "%" ]     ]
  ] ) . #