90 {
91 string bloodTypeName;
92 switch ( bloodtype )
93 {
95 bloodTypeName = "0+";
96 type = "0";
97 positive = true;
98 break;
99
101 bloodTypeName = "0-";
102 type = "0";
103 positive = false;
104 break;
105
107 bloodTypeName = "A+";
108 type = "A";
109 positive = true;
110 break;
111
113 bloodTypeName = "A-";
114 type = "A";
115 positive = false;
116 break;
117
119 bloodTypeName = "B+";
120 type = "B";
121 positive = true;
122 break;
123
125 bloodTypeName = "B-";
126 type = "B";
127 positive = false;
128 break;
129
131 bloodTypeName = "AB+";
132 type = "AB";
133 positive = true;
134 break;
135
137 bloodTypeName = "AB-";
138 type = "AB";
139 positive = false;
140 break;
141
142 default:
143 bloodTypeName = "";
144 break;
145 }
146
147 return bloodTypeName;
148 }
const int LIQUID_BLOOD_AB_P
const int LIQUID_BLOOD_0_P
const int LIQUID_BLOOD_B_P
const int LIQUID_BLOOD_A_N
const int LIQUID_BLOOD_0_N
const int LIQUID_BLOOD_B_N
const int LIQUID_BLOOD_A_P
const int LIQUID_BLOOD_AB_N