-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.py
56 lines (52 loc) · 1.44 KB
/
data.py
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
import datetime as dt
#datetoday=dt.date.today()
#pregDate=dt.date(2022,9,20)
#datediff=(datetoday-pregDate).days #automatically becomes an integer
def Mothers():
mothers=[
{
'id':'3004-SJ',
'name':'Agnes Atieno',
'pregDate':'04-14-2021',
'days':78,
'BMI':18.5,
'weight':78.5,
'bpr':'150/90',
'address':'Oloitok tok, near Baraka Center',
'phone':'713566034'
},
{
'id':'3002-SJ',
'name':'Jane Wanjiku',
'pregDate':'02-28-2022',
'days':78,
'BMI':18.5,
'weight':101.5,
'bpr':'150/90',
'address':'Oloitok tok, near Baraka Center',
'phone':'713566034'
},
{
'id':'3001-SJ',
'name':'Nelly Nyambura',
'pregDate':'04-25-2021',
'days':276,
'BMI':18.5,
'weight':96.2,
'bpr':'150/90',
'address':'Oloitok tok, near Baraka Center',
'phone':'713566034'
},
{
'id':'3006-SJ',
'name':'Khadija Fatuma Hassan',
'pregDate':'04-25-2022',
'days':78,
'BMI':18.5,
'weight':88.0,
'bpr':'150/90',
'address':'Oloitok tok, near Baraka Center',
'phone':'713566034'
}
]
return mothers