Newer
Older
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
package edu.ncsu.csc.itrust.beans;
import edu.ncsu.csc.itrust.enums.FlagValue;
/**
* FlagsBean represents a flag.
*/
public class FlagsBean {
private long fid;
private long mid;
private long pregId;
private FlagValue flagValue;
private boolean flagged;
/** the max */
public static final int FHR_MAX_TRIGGER = 170;
/** the min */
public static final int FHR_MIN_TRIGGER = 105;
/** the max */
public static final int SYS_BP_MAX_TRIGGER = 140;
/** the min */
public static final int DIA_BP_MAX_TRIGGER = 90;
/** the weight bounds*/
public static final double WEIGHTGAINBMIBOUNDS[] = {18.5, 24.9, 29.9, 999};
/** minimum */
public static final double WEIGHTGAINBMIMIN[] = {28, 25, 15, 11};
/** maximum */
public static final double WeightGainBMIMax[] = {40, 35, 25, 20};
/** twins minimum */
public static final double WeightGainTwinsBMIMin[] = {37, 37, 31, 25};
/** twins maximum */
public static final double WeightGainTwinsBMIMax[] = {54, 54, 50, 42};
/**
* Returns the FID
* @return the fid
*/
public long getFid() {
return fid;
}
/**
* Sets the FID
* @param fid
*/
public void setFid(long fid) {
this.fid = fid;
}
/**
* Returns the MID
* @return
*/
public long getMid() {
return mid;
}
/**
* Sets the MID
* @param mid
*/
public void setMid(long mid) {
this.mid = mid;
}
/**
* Returns the flag enum value
* @return
*/
public FlagValue getFlagValue() {
return flagValue;
}
/**
* Sets the flag enum value
* @param flagValue
*/
public void setFlagValue(FlagValue flagValue) {
this.flagValue = flagValue;
}
/**
* Returns true if the flag is set
* @return
*/
public boolean isFlagged() {
return flagged;
}
/**
* Sets the flag boolean value
* @param flagged
*/
public void setFlagged(boolean flagged) {
this.flagged = flagged;
}
/**
* Returns the pregnancy ID
* @return
*/
public long getPregId() {
return pregId;
}
/**
* Sets the pregnancy ID
* @param pregId
*/
public void setPregId(long pregId) {
this.pregId = pregId;
}
}