File size: 7,267 Bytes
6d12932
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
# Sleep Pattern - Open Nursing Core FHIR Implementation Guide (ONC-IG) v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Sleep Pattern**

## Resource Profile: Sleep Pattern 

| | |
| :--- | :--- |
| *Official URL*:https://fhir.clinyq.ai/StructureDefinition/onc-sleep-pattern | *Version*:0.1.0 |
| Draft as of 2026-01-01 | *Computable Name*:ONCSleepPattern |

 
Observation of sleep quality, duration, and disturbances. Sleep pattern disturbance is a key indicator for delirium and general wellbeing. 

**Usages:**

* This Profile is not used by any profiles in this Implementation Guide

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/onc.ig|current/StructureDefinition/onc-sleep-pattern)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-onc-sleep-pattern.csv), [Excel](StructureDefinition-onc-sleep-pattern.xlsx), [Schematron](StructureDefinition-onc-sleep-pattern.sch) 



## Resource Content

```json

{

  "resourceType" : "StructureDefinition",

  "id" : "onc-sleep-pattern",

  "url" : "https://fhir.clinyq.ai/StructureDefinition/onc-sleep-pattern",

  "version" : "0.1.0",

  "name" : "ONCSleepPattern",

  "title" : "Sleep Pattern",

  "status" : "draft",

  "date" : "2026-01-01T13:37:23+00:00",

  "description" : "Observation of sleep quality, duration, and disturbances. Sleep pattern disturbance is a key indicator for delirium and general wellbeing.",

  "fhirVersion" : "4.0.1",

  "mapping" : [

    {

      "identity" : "workflow",

      "uri" : "http://hl7.org/fhir/workflow",

      "name" : "Workflow Pattern"

    },

    {

      "identity" : "sct-concept",

      "uri" : "http://snomed.info/conceptdomain",

      "name" : "SNOMED CT Concept Domain Binding"

    },

    {

      "identity" : "v2",

      "uri" : "http://hl7.org/v2",

      "name" : "HL7 v2 Mapping"

    },

    {

      "identity" : "rim",

      "uri" : "http://hl7.org/v3",

      "name" : "RIM Mapping"

    },

    {

      "identity" : "w5",

      "uri" : "http://hl7.org/fhir/fivews",

      "name" : "FiveWs Pattern Mapping"

    },

    {

      "identity" : "sct-attr",

      "uri" : "http://snomed.org/attributebinding",

      "name" : "SNOMED CT Attribute Binding"

    }

  ],

  "kind" : "resource",

  "abstract" : false,

  "type" : "Observation",

  "baseDefinition" : "https://clinyqai.github.io/open-nursing-core-ig/StructureDefinition/onc-nursing-assessment",

  "derivation" : "constraint",

  "differential" : {

    "element" : [

      {

        "id" : "Observation",

        "path" : "Observation"

      },

      {

        "id" : "Observation.category",

        "path" : "Observation.category",

        "patternCodeableConcept" : {

          "coding" : [

            {

              "system" : "http://terminology.hl7.org/CodeSystem/observation-category",

              "code" : "exam"

            }

          ]

        }

      },

      {

        "id" : "Observation.code",

        "path" : "Observation.code",

        "patternCodeableConcept" : {

          "coding" : [

            {

              "system" : "https://clinyqai.github.io/open-nursing-core-ig/CodeSystem/onc-observation-codes",

              "code" : "sleep-record"

            }

          ]

        }

      },

      {

        "id" : "Observation.value[x]",

        "path" : "Observation.value[x]",

        "short" : "Overall summary of sleep period",

        "type" : [

          {

            "code" : "string"

          }

        ]

      },

      {

        "id" : "Observation.component",

        "path" : "Observation.component",

        "slicing" : {

          "discriminator" : [

            {

              "type" : "pattern",

              "path" : "code"

            }

          ],

          "ordered" : false,

          "rules" : "open"

        },

        "mustSupport" : true

      },

      {

        "id" : "Observation.component:quality",

        "path" : "Observation.component",

        "sliceName" : "quality",

        "min" : 0,

        "max" : "1",

        "mustSupport" : true

      },

      {

        "id" : "Observation.component:quality.code",

        "path" : "Observation.component.code",

        "patternCodeableConcept" : {

          "coding" : [

            {

              "system" : "https://clinyqai.github.io/open-nursing-core-ig/CodeSystem/onc-observation-codes",

              "code" : "sleep-quality"

            }

          ]

        }

      },

      {

        "id" : "Observation.component:quality.value[x]",

        "path" : "Observation.component.value[x]",

        "short" : "e.g., 'Restful', 'Fitful', 'Broken'",

        "type" : [

          {

            "code" : "string"

          }

        ]

      },

      {

        "id" : "Observation.component:hours",

        "path" : "Observation.component",

        "sliceName" : "hours",

        "min" : 0,

        "max" : "1",

        "mustSupport" : true

      },

      {

        "id" : "Observation.component:hours.code",

        "path" : "Observation.component.code",

        "patternCodeableConcept" : {

          "coding" : [

            {

              "system" : "https://clinyqai.github.io/open-nursing-core-ig/CodeSystem/onc-observation-codes",

              "code" : "sleep-hours"

            }

          ]

        }

      },

      {

        "id" : "Observation.component:hours.value[x]",

        "path" : "Observation.component.value[x]",

        "type" : [

          {

            "code" : "Quantity"

          }

        ]

      },

      {

        "id" : "Observation.component:hours.value[x].unit",

        "path" : "Observation.component.value[x].unit",

        "patternString" : "h"

      },

      {

        "id" : "Observation.component:hours.value[x].system",

        "path" : "Observation.component.value[x].system",

        "patternUri" : "http://unitsofmeasure.org"

      },

      {

        "id" : "Observation.component:hours.value[x].code",

        "path" : "Observation.component.value[x].code",

        "patternCode" : "h"

      },

      {

        "id" : "Observation.component:disturbances",

        "path" : "Observation.component",

        "sliceName" : "disturbances",

        "min" : 0,

        "max" : "1",

        "mustSupport" : true

      },

      {

        "id" : "Observation.component:disturbances.code",

        "path" : "Observation.component.code",

        "patternCodeableConcept" : {

          "coding" : [

            {

              "system" : "https://clinyqai.github.io/open-nursing-core-ig/CodeSystem/onc-observation-codes",

              "code" : "sleep-disturbances"

            }

          ]

        }

      },

      {

        "id" : "Observation.component:disturbances.value[x]",

        "path" : "Observation.component.value[x]",

        "type" : [

          {

            "code" : "string"

          }

        ]

      }

    ]

  }

}



```