|
@@ -1123,6 +1123,7 @@ func (c *DialysisAPIController) PostDialysisPrescription() {
|
1123
|
1123
|
epo := c.GetString("epo")
|
1124
|
1124
|
epo_count, _ := c.GetFloat("epo_count", 0)
|
1125
|
1125
|
|
|
1126
|
+ max_ultrafiltration_rate, _ := c.GetFloat("max_ultrafiltration_rate")
|
1126
|
1127
|
appRole, _ := service.FindAdminRoleTypeById(adminUserInfo.Org.Id, adminUserInfo.AdminUser.Id, adminUserInfo.App.Id)
|
1127
|
1128
|
//template, _ := service.GetOrgInfoTemplate(adminUserInfo.Org.Id)
|
1128
|
1129
|
//
|
|
@@ -1226,6 +1227,7 @@ func (c *DialysisAPIController) PostDialysisPrescription() {
|
1226
|
1227
|
PunctureNeedleCount: puncture_needle_count,
|
1227
|
1228
|
Epo: epo,
|
1228
|
1229
|
EpoCount: epo_count,
|
|
1230
|
+ MaxUltrafiltrationRate: max_ultrafiltration_rate,
|
1229
|
1231
|
}
|
1230
|
1232
|
|
1231
|
1233
|
//查询最近透析准备表里是否存在 透析器 灌流器
|
|
@@ -1535,6 +1537,11 @@ func (c *DialysisAPIController) Finish() {
|
1535
|
1537
|
|
1536
|
1538
|
}
|
1537
|
1539
|
|
|
1540
|
+ if endmonitorRecords.ID > 0 && adminUserInfo.Org.Id == 10101 {
|
|
1541
|
+
|
|
1542
|
+ tempassessmentAfterDislysis.ActualUltrafiltration = endmonitorRecords.UltrafiltrationVolume / 1000
|
|
1543
|
+ }
|
|
1544
|
+
|
1538
|
1545
|
if endmonitorRecords.ID > 0 && adminUserInfo.Org.Id == 10060 {
|
1539
|
1546
|
tempassessmentAfterDislysis.ActualUltrafiltration = endmonitorRecords.UltrafiltrationVolume
|
1540
|
1547
|
}
|
|
@@ -2081,7 +2088,7 @@ func (c *DialysisAPIController) PostSolution() {
|
2081
|
2088
|
|
2082
|
2089
|
epo := c.GetString("epo")
|
2083
|
2090
|
epo_count, _ := c.GetFloat("epo_count", 0)
|
2084
|
|
-
|
|
2091
|
+ max_ultrafiltration_rate, _ := c.GetFloat("max_ultrafiltration_rate")
|
2085
|
2092
|
if mode_id > 0 {
|
2086
|
2093
|
service.ModifyScheduleMode(mode_id, patient.ID, recordDate.Unix(), adminUserInfo.Org.Id)
|
2087
|
2094
|
}
|
|
@@ -2186,6 +2193,7 @@ func (c *DialysisAPIController) PostSolution() {
|
2186
|
2193
|
PunctureNeedleCount: puncture_needle_count,
|
2187
|
2194
|
Epo: epo,
|
2188
|
2195
|
EpoCount: epo_count,
|
|
2196
|
+ MaxUltrafiltrationRate: max_ultrafiltration_rate,
|
2189
|
2197
|
}
|
2190
|
2198
|
|
2191
|
2199
|
_, dialysisPrescription := service.FindDialysisPrescriptionByReordDate(id, recordDate.Unix(), adminUserInfo.Org.Id)
|
|
@@ -2281,6 +2289,7 @@ func (c *DialysisAPIController) PostSolution() {
|
2281
|
2289
|
PunctureNeedleCount: puncture_needle_count,
|
2282
|
2290
|
Epo: epo,
|
2283
|
2291
|
EpoCount: epo_count,
|
|
2292
|
+ MaxUltrafiltrationRate: max_ultrafiltration_rate,
|
2284
|
2293
|
}
|
2285
|
2294
|
service.SavePrescriptionAndCreateSolution(&solution, &prescription)
|
2286
|
2295
|
|