|
@@ -200,22 +200,22 @@ const _saveExam = async(hospitalId, patient_key, study_key, temp_patient_id, acc
|
|
old.exam_status = exam.exam_status
|
|
old.exam_status = exam.exam_status
|
|
}
|
|
}
|
|
if (old.exam_class != exam.exam_class) {
|
|
if (old.exam_class != exam.exam_class) {
|
|
- old.exam_class = temp.exam_class
|
|
|
|
|
|
+ old.exam_class = exam.exam_class
|
|
}
|
|
}
|
|
if (old.patient_num != exam.patient_num) {
|
|
if (old.patient_num != exam.patient_num) {
|
|
- old.patient_num = temp.patient_num
|
|
|
|
|
|
+ old.patient_num = exam.patient_num
|
|
}
|
|
}
|
|
if (old.exam_datetime != exam.exam_datetime) {
|
|
if (old.exam_datetime != exam.exam_datetime) {
|
|
- old.exam_datetime = temp.exam_datetime
|
|
|
|
|
|
+ old.exam_datetime = exam.exam_datetime
|
|
}
|
|
}
|
|
if (old.accession_num != exam.accession_num) {
|
|
if (old.accession_num != exam.accession_num) {
|
|
- old.accession_num = temp.accession_num
|
|
|
|
|
|
+ old.accession_num = exam.accession_num
|
|
}
|
|
}
|
|
if (old.device != exam.device) {
|
|
if (old.device != exam.device) {
|
|
- old.device = temp.device
|
|
|
|
|
|
+ old.device = exam.device
|
|
}
|
|
}
|
|
if (old.body_part != exam.body_part) {
|
|
if (old.body_part != exam.body_part) {
|
|
- old.body_part = temp.body_part
|
|
|
|
|
|
+ old.body_part = exam.body_part
|
|
}
|
|
}
|
|
if (old.status === '0') {
|
|
if (old.status === '0') {
|
|
old.status = 1;
|
|
old.status = 1;
|