-
Notifications
You must be signed in to change notification settings - Fork 6
/
redux_store.js
70 lines (67 loc) · 1.06 KB
/
redux_store.js
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
{
selectedMeasurementCode: '2980-6',
selectedRiskScore: 'Cardiac',
//the IDs can be snomed or loinc codes
most_recent_measurements: {
id : {
value: 5,
units: "",
reference_range: [],
}
},
//this will be a fetchall of all observations
allObservations : {
isFetching: true,
didInvalidate: false,
items: []
},
allConditions : {
isFetching: true,
didInvalidate: false,
items: []
},
riskScores : {
cardiac: 5.3,
stroke: 2.5,
},
demographics: {
first_name: "",
last_name: "",
DOB: "",
last_visit: "",
sex: "",
last_visit: "",
},
environment: {
aiq: {
isFetching: true,
didInvalidate: false,
items: []
},
pollen: {
isFetching: true,
didInvalidate: false,
items: []
},
flu: {
isFetching: true,
didInvalidate: false,
items: []
}
},
medicationsByID : {
id : {
common_name: "",
dosage: "",
}
},
medications : array<id>,
preventative: array<id>,
preventativeByID : {
id : {
text : "",
main_component : "",
deadline: "",
}
},
}