Sleep Example 1


This example shows findings from an accelerometer device used to support an endpoint of total sleep time. Related endpoint in the DiMe Digital Endpoint Library include endpoints based on total sleep time:

  • 87 Mean Nighttime Total Sleep Time as determined by actigraphy., Week 1
  • 93 Change from Baseline in Nighttime Total Sleep Time, Weeks 2, 4, 6, and 8 or Final Visit

Relevant endpoints also include those based on closely-related measures of sleep:

  • 58 Change from Baseline in Nighttime Wake After Sleep Onset per Actigraphy, Weeks 2, 4, 6, and 8 or Final Visit
  • 59 Change from Baseline in Nighttime Number Of Awakenings per Actigraphy, Weeks 2, 4, 6, and 8 or Final Visit
  • 62 Change from Baseline in Sleep Efficiency., Weeks 2, 4, 6, and 8 or Final Visit
  • 15 Change from Baseline in Daytime Total Sleep Time, Weeks 2, 4, 6, and 8 or Final Visit

This concept map shows the modelling of the wearable device and the analysis software, which together comprise the Verisense System.

Accelerometer sleep components

 

This concept shows steps in the analysis of the accelerometer data.

Verisense acceleratomer data processing

This concept map shows the accelerometer device and the data from the device as concept maps as biomedical concepts.

Actigraphy data sleep

 

The devices are considered separate biomedical concepts. They are represented in the SDTM datasets Device Identifiers (DI) and Related Devices (RELDEV).

The measurements produced by the device are biomedical concepts represented in an SDTM Findings domain. The name of the biomedical concept maps to the SDTM variables --TESTCD and --TEST. The --TESTCD and --TEST values used in this example are explained in the "Considerations" tab. 

This table shows the mapping from the data element concepts (DECs) that comprise the biomedical concepts to the variables in the SDTM Findings domain.

Data Element ConceptSDTM Variable(s)
DeviceSPDEVID
MethodNVMETHOD
Analytical MethodNVANMETH
ResultNVORRES, NVSTRESC, NVSTRESN
UnitNVORRESU, NVSTRESU
Start datetime summary rangeNVDTC
End datetime summary rangeNVENDTC
Evaluation intervalNVEVINTX

The following should be considered when viewing this resource:

  • Representation of sleep data in the Nervous System Findings (NV) domain follows the precedent of representing polysomnography data in this domain.
  • Existing sleep measurements in the NVTESTCD/NVTEST codelists are defined to apply to polysomnography studies. Sleep measurements by actigraphy have been treated as different tests. None of these test codes or test names are in the CDISC NVTESTCD/NVTEST codelists.
  • The GGIR R package for Accelerometry was used to derive sleep measures in this example. See GGIR R Package • GGIR
  • Terminology used for sleep measurements varies. In this study, a "Sleep Period Time" was identified as the period starts at "Sleep Onset" and ends at "Wakeup". All sleep measurements are summaries over the Sleep Period Time or of the time outside the Sleep Period Time (Wake Period).
Data Element ConceptSDTM Variable(s)
DeviceSPDEVID
MethodNVMETHOD
Analytical MethodNVANMETH
ResultNVORRES, NVSTRESC, NVSTRESN
UnitNVORRESU, NVSTRESU
Start datetime summary rangeNVDTC
End datetime summary rangeNVENDTC
Evaluation intervalNVEVINTX
  •  In this example, "Non-wear Percent of Sleep Period Time" is represented as a separate test (row in the dataset). Note that the non-wear time was identified by actigraphy algorithms, rather than some external record of when the device was worn. 
  • Sleep test concepts in the NCI Thesaurus currently have definitions which assume the concepts are being measured by polysomnography in the setting of a sleep study. In spite of this fact, the following existing concepts are treated as conceptual BCs associated with the SDTM specializations for the following tests used in this example:
Conceptual BCC-codeSDTM Specialization TestcodeSDTM Specialization Test Name
Total Sleep TimeC156552TSTSPTTotal Sleep Time in Sleep Period Time
Wake After Sleep OnsetC156554WASOSPTWake Duration in Sleep Period Time
Sleep EfficiencyC156553PSTSPTPercent Sleep Time in Sleep Period Time
  • Other test concepts are not currently present in the NCI Thesaurus.  Conceptual BCs and SDTM Specializations have been represented as follows. "Cnew" is an indicator that a C-code does not currently exist, but is expected to be added in future.

Conceptual BCC-codeSDTM Specialization TestcodeSDTM Specialization Test Name
Number of Nighttime AwakeningsCnewNWSPTNumber of Wake Periods in Sleep Period Time
Daytime Total Sleep TimeCnewDSIBWPDuration of Sleep Bouts in Waking Period
Non-wear Percent in Sleep PeriodCnewNWPSPTNon-wear Percent of Sleep Period Time

Known Issue

Not wearing the device clearly affects measures of sleep made during the Sleep Period Time.  The test "Non-wear Percent of Sleep Period Time" in the Nervous System Findings (NV) domain is an attempt to help in the interpretation the measures based on the Sleep Period Time,, However, ""Non-wear Percent  in Sleep Period Time" is presumably the ratio of "Non-wear time in Sleep Period Time" and "Duration of Sleep Period Time" and the denominator is not information about the subject's nervous system but about the use of the device. It is an open question how information about device non-wear should be represented. 

In some ways this information is similar to that represented in the Specimen Condition (–SPCCND) variable, which is used to alert the reviewer to the fact that other data about a sample may not be reliable. If "Non-wear Percent in Sleep Period" is very large, all other measurements based on the Sleep Period Time may be unreliable. 
 


The example DI dataset shows how the devices modelled are described (parameters used) and the device identifiers (SPDEVID values) given to the devices.

di.xpt

Rows 1-4: Show identifying parameters for the wearable sensor. WATCHID is a unique identifier resulting from an anonymous mapping of the watch serial number (which might expose personally identifying information) to a unique id. The mapping key is stored securely and separately from the dataset.

Rows 5-8: Show identifying parameters for the analysis software system.

Rows 9-12: Show identifying parameters for the combination of sensor and analysis software system.

di.xpt

RowSTUDYIDDOMAINSPDEVIDDISEQDIPARMCDDIPARMDIVAL
1ABC-123DIVerisense Smart Watch1DEVTYPEDevice TypeKinesiology ambulatory recorder
2ABC-123DIVerisense Smart Watch2MANUFManufacturerVerisense Health
3ABC-123DIVerisense Smart Watch3FWVERSFirmware VersionV2.4.9.6_2024/03/22
4ABC-123DIVerisense Smart Watch4WATCHIDWatch Unique IdentifierWATCHID1234
5ABC-123DIGGIR Analysis Software1DEVTYPEDevice TypeKinesiology processing software
6ABC-123DIGGIR Analysis Software2MANUFManufacturerVincent T van Hees, Jairo H Migueles, Medical Research Council UK, Accelting, French National Research Agency
7ABC-123DIGGIR Analysis Software3GGIRVERSGGIR Version used DHT-22.9.0
8ABC-123DIGGIR Analysis Software4R_VERSR DHT-4 VersionR version 4.3.1 DHT-3
9ABC-123DIVerisense Sleep System1DEVTYPEDevice TypeKinesiology recorder and reader
10ABC-123DIVerisense Sleep System2MANUFManufacturerVerisense Health
11ABC-123DIVerisense Sleep System3CODBSVERCodebase Versionaa0d3d0a4665595efbf3acc8c0cdeb47365eeac1

Relevant <data type> data from the device output file have been mapped to the following <domain abbreviation> domain dataset.

  • SPDEVID (Device Identifier) is defined in the Device Identifier (DI) above. In this study, the implementer chose to use an identifier that identified the kind of device, rather than the individual device.
  • The NVREFID variable is used to represent the source of the data in the record. The identifier of the individual watch has been used as the value of NVREFID.
nv.xpt

Rows 1-6: Show sleep-related measurements for the first day.

Rows 7-18: Show the same 6 measurements for each of the next two days.

nv.xpt

RowSTUDYIDDOMAINUSUBJIDSPDEVIDNVSEQNVREFIDNVTESTCDNVTESTNVORRESNVORRESUNVSTRECNVSTRESNNVSTRESUNVSTATNVREASNDNVNAMNVLOCNVLATNVMETHODNVANMETHNVDTCNVENDTC
1ABC-123NVLS2025EVerisense1WATCHID1234TSTSPTTotal Sleep Time in Sleep Period6.935HOURS6.9356.935HOURS     ACTIGRAPHYGGIR2023-09-05T12:002023-09-06T11:59
2ABC-123NVLS2025EVerisense2WATCHID1234PSTSPTPercent Sleep Time in Sleep Period Time0.923%0.9230.923%     ACTIGRAPHYGGIR2023-09-05T12:002023-09-06T11:59
3ABC-123NVLS2025EVerisense3WATCHID1234WASOSPTWake Duration in Sleep Period Time0.594HOURS0.5940.594HOURS     ACTIGRAPHYGGIR2023-09-05T12:002023-09-06T11:59
4ABC-123NVLS2025EVerisense4WATCHID1234NWSPTNumber of Wake Periods in Sleep Period Time13 1313      ACTIGRAPHYGGIR2023-09-05T12:002023-09-06T11:59
5ABC-123NVLS2025EVerisense5WATCHID1234DSBWPDuration of Sleep Bouts in Waking Period0HOURS00HOURS     ACTIGRAPHYGGIR2023-09-05T12:002023-09-06T11:59
6ABC-123NVLS2025EVerisense5WATCHID1234NWPSPTNon-wear Percent in Sleep Period Time0%00%     ACTIGRAPHYGGIR2023-09-05T12:002023-09-06T11:59
7ABC-123NVLS2025EVerisense6WATCHID1234TSTSPTTotal Sleep Time in Sleep Period5.25HOURS5.255.25HOURS     ACTIGRAPHYGGIR2023-09-06T12:002023-09-06T11:59
8ABC-123NVLS2025EVerisense7WATCHID1234PSTSPTPercent Sleep Time in Sleep Period Time0.892%0.8920.892%     ACTIGRAPHYGGIR2023-09-06T12:002023-09-06T11:59
9ABC-123NVLS2025EVerisense8WATCHID1234WASOSPTWake Duration in Sleep Period Time0.692HOURS0.6920.692HOURS     ACTIGRAPHYGGIR2023-09-06T12:002023-09-06T11:59
10ABC-123NVLS2025EVerisense9WATCHID1234NWSPTNumber of Wake Periods in Sleep Period Time12 1212      ACTIGRAPHYGGIR2023-09-06T12:002023-09-06T11:59
11ABC-123NVLS2025EVerisense10WATCHID1234DSBWPDuration of Sleep Bouts in Waking Period0HOURS00HOURS     ACTIGRAPHYGGIR2023-09-06T12:002023-09-06T11:59
12ABC-123NVLS2025EVerisense5WATCHID1234NWPSPTNon-wear Percent in Sleep Period Time0%00%     ACTIGRAPHYGGIR2023-09-05T12:002023-09-06T11:59
13ABC-123NVLS2025EVerisense11WATCHID1234TSTSPTTotal Sleep Time in Sleep Period5.169HOURS5.1695.169HOURS     ACTIGRAPHYGGIR2023-09-07T12:002023-09-06T11:59
14ABC-123NVLS2025EVerisense12WATCHID1234PSTSPTPercent Sleep Time in Sleep Period Time0.718%0,7180,718%     ACTIGRAPHYGGIR2023-09-07T12:002023-09-06T11:59
15ABC-123NVLS2025EVerisense13WATCHID1234WASOSPTWake Duration in Sleep Period Time2.158HOURS2.1582.158HOURS     ACTIGRAPHYGGIR2023-09-07T12:002023-09-06T11:59
16ABC-123NVLS2025EVerisense14WATCHID1234NWSPTNumber of Wake Periods in Sleep Period Time9 99      ACTIGRAPHYGGIR2023-09-07T12:002023-09-06T11:59
17ABC-123NVLS2025EVerisense15WATCHID1234DSBWPDuration of Sleep Bouts in Waking Period0HOURS00HOURS     ACTIGRAPHYGGIR2023-09-07T12:002023-09-06T11:59
18ABC-123NVLS2025EVerisense5WATCHID1234NWPSPTNon-wear Percent in Sleep Period Time13.667%13.66713.667%     ACTIGRAPHYGGIR2023-09-07T12:002023-09-06T11:59