|
@@ -3044,6 +3044,13 @@ func (c *DialysisAPIController) Finish() {
|
3044
|
3044
|
tempassessmentAfterDislysis.DiastolicBloodPressure = endmonitorRecords.DiastolicBloodPressure
|
3045
|
3045
|
}
|
3046
|
3046
|
|
|
3047
|
+ if adminUserInfo.Org.Id == 9829 {
|
|
3048
|
+ tempassessmentAfterDislysis.SystolicBloodPressure = endmonitorRecords.SystolicBloodPressure
|
|
3049
|
+ tempassessmentAfterDislysis.DiastolicBloodPressure = endmonitorRecords.DiastolicBloodPressure
|
|
3050
|
+ tempassessmentAfterDislysis.Temperature = endmonitorRecords.Temperature
|
|
3051
|
+ tempassessmentAfterDislysis.BreathingRate = endmonitorRecords.BreathingRate
|
|
3052
|
+ }
|
|
3053
|
+
|
3047
|
3054
|
if adminUserInfo.Org.Id == 10766 {
|
3048
|
3055
|
tempassessmentAfterDislysis.SystolicBloodPressure = endmonitorRecords.SystolicBloodPressure
|
3049
|
3056
|
tempassessmentAfterDislysis.DiastolicBloodPressure = endmonitorRecords.DiastolicBloodPressure
|
|
@@ -3118,7 +3125,7 @@ func (c *DialysisAPIController) Finish() {
|
3118
|
3125
|
|
3119
|
3126
|
}
|
3120
|
3127
|
|
3121
|
|
- if adminUserInfo.Org.Id == 10101 || adminUserInfo.Org.Id == 9671 || adminUserInfo.Org.Id == 3877 || adminUserInfo.Org.Id == 9675 || adminUserInfo.Org.Id == 10215 || adminUserInfo.Org.Id == 10233 || adminUserInfo.Org.Id == 10223 || adminUserInfo.Org.Id == 10243 || adminUserInfo.Org.Id == 10340 || adminUserInfo.Org.Id == 10414 || adminUserInfo.Org.Id == 10430 || adminUserInfo.Org.Id == 10432 || adminUserInfo.Org.Id == 10445 || adminUserInfo.Org.Id == 10223 || adminUserInfo.Org.Id == 9829 || adminUserInfo.Org.Id == 10432 || adminUserInfo.Org.Id == 10440 || adminUserInfo.Org.Id == 10469 || adminUserInfo.Org.Id == 10693 || adminUserInfo.Org.Id == 10702 || adminUserInfo.Org.Id == 10735 || adminUserInfo.Org.Id == 10742 || adminUserInfo.Org.Id == 10766 {
|
|
3128
|
+ if adminUserInfo.Org.Id == 10101 || adminUserInfo.Org.Id == 9671 || adminUserInfo.Org.Id == 3877 || adminUserInfo.Org.Id == 9675 || adminUserInfo.Org.Id == 10215 || adminUserInfo.Org.Id == 10233 || adminUserInfo.Org.Id == 10223 || adminUserInfo.Org.Id == 10243 || adminUserInfo.Org.Id == 10340 || adminUserInfo.Org.Id == 10414 || adminUserInfo.Org.Id == 10430 || adminUserInfo.Org.Id == 10432 || adminUserInfo.Org.Id == 10445 || adminUserInfo.Org.Id == 10223 || adminUserInfo.Org.Id == 9829 || adminUserInfo.Org.Id == 10432 || adminUserInfo.Org.Id == 10440 || adminUserInfo.Org.Id == 10469 || adminUserInfo.Org.Id == 10693 || adminUserInfo.Org.Id == 10702 || adminUserInfo.Org.Id == 10735 || adminUserInfo.Org.Id == 10742 || adminUserInfo.Org.Id == 10766 || adminUserInfo.Org.Id == 9829 {
|
3122
|
3129
|
evaluation, _ := service.MobileGetPredialysisEvaluationOne(adminUserInfo.Org.Id, id, recordDate.Unix())
|
3123
|
3130
|
|
3124
|
3131
|
if adminUserInfo.Org.Id != 10702 {
|
|
@@ -3130,6 +3137,11 @@ func (c *DialysisAPIController) Finish() {
|
3130
|
3137
|
evaluation.SystolicBloodPressure = SystolicBloodPressureOne
|
3131
|
3138
|
}
|
3132
|
3139
|
|
|
3140
|
+ if adminUserInfo.Org.Id == 9829 {
|
|
3141
|
+ SystolicBloodPressureOne, _ := strconv.ParseFloat(fmonitorRecords.MonitorSystolicBloodPressureOne, 64)
|
|
3142
|
+ evaluation.SystolicBloodPressure = SystolicBloodPressureOne
|
|
3143
|
+ }
|
|
3144
|
+
|
3133
|
3145
|
pre := models.PredialysisEvaluation{
|
3134
|
3146
|
SystolicBloodPressure: evaluation.SystolicBloodPressure,
|
3135
|
3147
|
}
|
|
@@ -3154,6 +3166,11 @@ func (c *DialysisAPIController) Finish() {
|
3154
|
3166
|
DiastolicBloodPressureOne, _ := strconv.ParseFloat(fmonitorRecords.MonitorDiastolicBloodPressureOne, 64)
|
3155
|
3167
|
evaluation.DiastolicBloodPressure = DiastolicBloodPressureOne
|
3156
|
3168
|
}
|
|
3169
|
+
|
|
3170
|
+ if adminUserInfo.Org.Id == 9829 {
|
|
3171
|
+ DiastolicBloodPressureOne, _ := strconv.ParseFloat(fmonitorRecords.MonitorDiastolicBloodPressureOne, 64)
|
|
3172
|
+ evaluation.DiastolicBloodPressure = DiastolicBloodPressureOne
|
|
3173
|
+ }
|
3157
|
3174
|
pres := models.PredialysisEvaluation{
|
3158
|
3175
|
DiastolicBloodPressure: evaluation.DiastolicBloodPressure,
|
3159
|
3176
|
}
|
|
@@ -3179,6 +3196,11 @@ func (c *DialysisAPIController) Finish() {
|
3179
|
3196
|
pulseFrequency, _ := strconv.ParseFloat(endmonitorRecords.MonitorPulseFrequencyOne, 64)
|
3180
|
3197
|
evaluation.PulseFrequency = pulseFrequency
|
3181
|
3198
|
}
|
|
3199
|
+
|
|
3200
|
+ if adminUserInfo.Org.Id == 9829 {
|
|
3201
|
+ pulseFrequency, _ := strconv.ParseFloat(endmonitorRecords.MonitorPulseFrequencyOne, 64)
|
|
3202
|
+ evaluation.PulseFrequency = pulseFrequency
|
|
3203
|
+ }
|
3182
|
3204
|
press := models.PredialysisEvaluation{
|
3183
|
3205
|
PulseFrequency: evaluation.PulseFrequency,
|
3184
|
3206
|
}
|
|
@@ -3996,11 +4018,11 @@ func (this *DialysisAPIController) StartDialysis() {
|
3996
|
4018
|
this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodePrescription)
|
3997
|
4019
|
return
|
3998
|
4020
|
}
|
3999
|
|
- advices, _ := service.GetDialysisPrescriptionDoctorAdviceList(adminUserInfo.Org.Id, patientID, schedulestartTime)
|
4000
|
|
- if len(advices) == 0 {
|
4001
|
|
- this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodePrescription)
|
4002
|
|
- return
|
4003
|
|
- }
|
|
4021
|
+ //advices, _ := service.GetDialysisPrescriptionDoctorAdviceList(adminUserInfo.Org.Id, patientID, schedulestartTime)
|
|
4022
|
+ //if len(advices) == 0 {
|
|
4023
|
+ // this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodePrescription)
|
|
4024
|
+ // return
|
|
4025
|
+ //}
|
4004
|
4026
|
}
|
4005
|
4027
|
|
4006
|
4028
|
//查询该床位是否有人用了
|