Skip to content

Commit c3d27ee

Browse files
committed
3 new modules
1 parent 02c5cda commit c3d27ee

4 files changed

Lines changed: 1450 additions & 0 deletions

File tree

Lines changed: 264 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,264 @@
1+
{
2+
"name": "Wearables_Sleep",
3+
"remarks": [ "" ],
4+
"states": {
5+
"Initial": {
6+
"type": "Initial",
7+
"conditional_transition": [
8+
{
9+
"transition": "Female",
10+
"condition": {
11+
"condition_type": "Gender",
12+
"gender": "F"
13+
}
14+
},
15+
{
16+
"transition": "Terminal"
17+
}
18+
]
19+
},
20+
"Terminal": {
21+
"type": "Terminal"
22+
},
23+
"Female": {
24+
"type": "Simple",
25+
"remarks": [
26+
"About one-in-five Americans use a smart watch or fitness tracker. \n https://www.pewresearch.org/short-reads/2020/01/09/about-one-in-five-americans-use-a-smart-watch-or-fitness-tracker/"
27+
],
28+
"distributed_transition": [
29+
{
30+
"transition": "Age_13-19",
31+
"distribution": 0.21
32+
},
33+
{
34+
"transition": "Age_20-29",
35+
"distribution": 0.21
36+
},
37+
{
38+
"transition": "Age_30-39",
39+
"distribution": 0.21
40+
},
41+
{
42+
"transition": "Age_40-49",
43+
"distribution": 0.21
44+
}
45+
]
46+
},
47+
"Age_13-19": {
48+
"type": "Delay",
49+
"direct_transition": "Endometriosis",
50+
"range": {
51+
"low": 13,
52+
"high": 19,
53+
"unit": "years"
54+
}
55+
},
56+
"Age_20-29": {
57+
"type": "Delay",
58+
"direct_transition": "Endometriosis",
59+
"range": {
60+
"low": 20,
61+
"high": 29,
62+
"unit": "years"
63+
}
64+
},
65+
"Age_30-39": {
66+
"type": "Delay",
67+
"direct_transition": "Endometriosis",
68+
"range": {
69+
"low": 30,
70+
"high": 39,
71+
"unit": "years"
72+
}
73+
},
74+
"Age_40-49": {
75+
"type": "Delay",
76+
"direct_transition": "Endometriosis",
77+
"range": {
78+
"low": 40,
79+
"high": 49,
80+
"unit": "years"
81+
}
82+
},
83+
84+
85+
"Endometriosis": {
86+
"type": "ConditionOnset",
87+
"target_encounter": "Obgyn_Encounter",
88+
"codes": [
89+
{
90+
"system": "SNOMED-CT",
91+
"code": 129103003,
92+
"display": "Endometriosis (disorder)"
93+
}
94+
],
95+
"remarks": [ "" ],
96+
"distributed_transition": [
97+
{
98+
"transition": "Obgyn_Encounter",
99+
"distribution": 0.2
100+
},
101+
{
102+
"transition": "Symptom_Onset_Delay",
103+
"distribution": 0.79
104+
},
105+
{
106+
"transition": "Terminal",
107+
"distribution": 0.01
108+
}
109+
]
110+
},
111+
"Symptom_Onset_Delay": {
112+
"type": "Delay",
113+
"direct_transition": "Menstrual_Cramps_Symptom",
114+
"range": {
115+
"low": 1,
116+
"high": 5,
117+
"unit": "years"
118+
}
119+
},
120+
"Menstrual_Cramps_Symptom": {
121+
"type": "Symptom",
122+
"symptom": "Cramps",
123+
"cause": "Endometriosis",
124+
"direct_transition": "Menstrual_Cramps_Symptom_Ends",
125+
"codes": [
126+
{
127+
"system": "SNOMED-CT",
128+
"code": 431416001,
129+
"display": "Menstrual cramp (finding)"
130+
}
131+
]
132+
},
133+
"Menstrual_Cramps_Symptom_Ends": {
134+
"type": "Symptom",
135+
"symptom": "Cramps",
136+
"cause": "Endometriosis",
137+
"direct_transition": "Endometriosis_End"
138+
},
139+
140+
"Endometriosis_End": {
141+
"type": "ConditionEnd",
142+
"condition_onset": "Endometriosis",
143+
"direct_transition": "Terminal"
144+
},
145+
146+
"Obgyn_Encounter": {
147+
"type": "Encounter",
148+
"encounter_class": "emergency",
149+
"reason": "Gynecology_Exam",
150+
"codes": [
151+
{
152+
"system": "SNOMED-CT",
153+
"code": 185221008,
154+
"display": "Seen in gynecology clinic (finding)"
155+
}
156+
],
157+
"direct_transition": "Gynecology_Exam"
158+
},
159+
160+
161+
"Obgyn_Encounter_End": {
162+
"type": "EncounterEnd",
163+
"direct_transition": "Terminal",
164+
"discharge_disposition": {
165+
"system": "NUBC",
166+
"code": "01",
167+
"display": "Discharged to home care or self care (routine discharge)"
168+
}
169+
},
170+
171+
172+
"Gynecology_Exam": {
173+
"type": "Procedure",
174+
"codes": [
175+
{
176+
"system": "SNOMED-CT",
177+
"code": 60554003,
178+
"display": "Polysomnography (procedure)"
179+
}
180+
],
181+
"duration": {
182+
"low": 5,
183+
"high": 10,
184+
"unit": "minutes"
185+
},
186+
"direct_transition": "Endocrinology_Sim"
187+
},
188+
"Endocrinology_Sim": {
189+
"type": "Physiology",
190+
"model": "Roblitz2013_Menstrual_Cycle.xml",
191+
"solver": "dormand_prince_54",
192+
"step_size": 1,
193+
"sim_duration": 28,
194+
"lead_time": 0,
195+
"inputs": [
196+
{
197+
"from_exp": "#{BMI}",
198+
"to": "mass"
199+
}
200+
],
201+
"outputs": [
202+
{
203+
"from_list": "E2",
204+
"to": "endocrinology_data",
205+
"type": "Attribute"
206+
}
207+
],
208+
"direct_transition": "HormonePanel",
209+
"alt_direct_transition": "Sleep_Imaging"
210+
},
211+
"HormonePanel": {
212+
"type": "Observation",
213+
"category": "procedure",
214+
"unit": "",
215+
"codes": [
216+
{
217+
"system": "SNOMED-CT",
218+
"code": "2243-4",
219+
"display": "Estradiol (E2) [Mass/volume] in Serum or Plasma"
220+
}
221+
],
222+
"sampled_data": {
223+
"attributes": [
224+
"endocrinology_data"
225+
]
226+
},
227+
"direct_transition": "HormonePanel_Chart"
228+
},
229+
"HormonePanel_Chart": {
230+
"type": "Observation",
231+
"category": "procedure",
232+
"unit": "",
233+
"codes": [
234+
{
235+
"system": "SNOMED-CT",
236+
"code": "2243-4",
237+
"display": "Estradiol (E2) [Mass/volume] in Serum or Plasma"
238+
}
239+
],
240+
"attachment": {
241+
"chart": {
242+
"type": "line",
243+
"title": "Estradiol (E2) [Mass/volume] in Serum or Plasma",
244+
"axis_attribute_x": "time",
245+
"axis_attribute_y": "IU/L",
246+
"width": 400,
247+
"height": 200,
248+
"series": [
249+
{
250+
"attribute": "endocrinology_data"
251+
}
252+
]
253+
}
254+
},
255+
"direct_transition": "Clear_endocrinology_data"
256+
},
257+
"Clear_endocrinology_data": {
258+
"type": "SetAttribute",
259+
"attribute": "endocrinology_data",
260+
"direct_transition": "Obgyn_Encounter_End"
261+
}
262+
},
263+
"gmf_version": 1
264+
}

0 commit comments

Comments
 (0)