-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
49 lines (49 loc) · 1.17 KB
/
config.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
export default {
"meds": [
{
"name": "Medikament 1",
"schema": [{
"name": "1 mal täglich",
"dosage": function(weight) { return weight / 100 }
},
{
"name": "2 mal täglich",
"dosage": function(weight) { return weight / 100 / 2 }
},
{
"name": "3 mal täglich",
"dosage": function(weight) { return weight / 100 / 3 }
}]
},
{
"name": "Medikament 2",
"schema": [{
"name": "1 mal täglich",
"dosage": function(weight) { return weight / 10 }
},
{
"name": "2 mal täglich",
"dosage": function(weight) { return weight / 10 / 2 }
},
{
"name": "3 mal täglich",
"dosage": function(weight) { return weight / 10 / 3 }
}]
},
{
"name": "Medikament 3",
"schema": [{
"name": "1 mal täglich",
"dosage": function(weight) { return weight / 1 }
},
{
"name": "2 mal täglich",
"dosage": function(weight) { return weight / 1 / 2 }
},
{
"name": "3 mal täglich",
"dosage": function(weight) { return weight / 1 / 3 }
}]
},
]
}