|
@@ -6,7 +6,7 @@
|
|
|
UPDATE s_gxhpz_follow_up_records
|
|
|
<set>
|
|
|
<!-- 合并用药是否引起不良反应 -->
|
|
|
- <if test="combinedMedicationAdverseReaction != null">
|
|
|
+ <if test="combinedMedicationAdverseReaction != null and combinedMedicationAdverseReaction != ''">
|
|
|
combined_medication_adverse_reaction = #{combinedMedicationAdverseReaction},
|
|
|
</if>
|
|
|
<!-- 合并用药其他不良反应 -->
|
|
@@ -26,11 +26,11 @@
|
|
|
is_review = #{isReview},
|
|
|
</if>
|
|
|
<!-- 影像学检查 医保类型 -->
|
|
|
- <if test="imagingInsuranceType != null and imagingInsuranceType != ''">
|
|
|
- imaging_insurance_type = #{imagingInsuranceType},
|
|
|
+ <if test="imagingInsuranceTypeList != null and imagingInsuranceTypeList != ''">
|
|
|
+ imaging_insurance_type = #{imagingInsuranceTypeList},
|
|
|
</if>
|
|
|
<!-- CT 单选 -->
|
|
|
- <if test="ctCheck != null">
|
|
|
+ <if test="ctCheck != null and ctCheck != ''">
|
|
|
ct_check = #{ctCheck},
|
|
|
</if>
|
|
|
<!-- CT文本 -->
|
|
@@ -62,8 +62,8 @@
|
|
|
imaging_examinations_image = #{imagingExaminationsImage},
|
|
|
</if>
|
|
|
<!-- 肿瘤标记物检查 多选 -->
|
|
|
- <if test="tumorMarkerCheck != null and tumorMarkerCheck != ''">
|
|
|
- tumor_marker_check = #{tumorMarkerCheck},
|
|
|
+ <if test="tumorMarkerCheckList != null and tumorMarkerCheckList != ''">
|
|
|
+ tumor_marker_check = #{tumorMarkerCheckList},
|
|
|
</if>
|
|
|
<!-- CEA -->
|
|
|
<if test="cea != null and cea != ''">
|
|
@@ -118,8 +118,8 @@
|
|
|
lab_test_indicators_image = #{labTestIndicatorsImage},
|
|
|
</if>
|
|
|
<!-- 治疗类型 -->
|
|
|
- <if test="treatmentType != null and treatmentType != ''">
|
|
|
- treatment_type = #{treatmentType},
|
|
|
+ <if test="treatmentTypeList != null and treatmentTypeList != ''">
|
|
|
+ treatment_type = #{treatmentTypeList},
|
|
|
</if>
|
|
|
<!-- 用药前治疗方案 -->
|
|
|
<if test="pre_medication_plan != null and pre_medication_plan != ''">
|
|
@@ -146,11 +146,11 @@
|
|
|
clinical_interaction = #{clinicalInteraction},
|
|
|
</if>
|
|
|
<!-- 请描述临床相互作用 -->
|
|
|
- <if test="clinicalInteractionDescription != null">
|
|
|
+ <if test="clinicalInteractionDescription != null and clinicalInteractionDescription != ''">
|
|
|
clinical_interaction_description = #{clinicalInteractionDescription},
|
|
|
</if>
|
|
|
<!-- 是否有不必要重复用药 -->
|
|
|
- <if test="unnecessaryRepeatedMedication != null">
|
|
|
+ <if test="unnecessaryRepeatedMedication != null and unnecessaryRepeatedMedication != ''">
|
|
|
unnecessary_repeated_medication = #{unnecessaryRepeatedMedication},
|
|
|
</if>
|
|
|
<!-- 重复用药首次使用日期 -->
|
|
@@ -174,12 +174,12 @@
|
|
|
medication_error_description = #{medicationErrorDescription},
|
|
|
</if>
|
|
|
<!-- 用药记录 -->
|
|
|
- <if test="medicationRecord != null">
|
|
|
- medication_record = #{medicationRecord},
|
|
|
+ <if test="medication_record != null and medication_record != ''">
|
|
|
+ medication_record = #{medication_record},
|
|
|
</if>
|
|
|
<!-- 合并用药记录 -->
|
|
|
- <if test="combinedMedicationRecord != null">
|
|
|
- combined_medication_record = #{combinedMedicationRecord},
|
|
|
+ <if test="combined_medication_record != null and combined_medication_record != ''">
|
|
|
+ combined_medication_record = #{combined_medication_record},
|
|
|
</if>
|
|
|
<!-- 疼痛标准评分NRS -->
|
|
|
<if test="painNrsScore != null">
|
|
@@ -202,7 +202,7 @@
|
|
|
specific_question = #{specificQuestion},
|
|
|
</if>
|
|
|
<!-- 药师解答 -->
|
|
|
- <if test="pharmacistResponse != null">
|
|
|
+ <if test="pharmacistResponse != null and pharmacistResponse != ''">
|
|
|
pharmacist_response = #{pharmacistResponse},
|
|
|
</if>
|
|
|
<!-- 患者病情评估 -->
|
|
@@ -210,8 +210,8 @@
|
|
|
patient_condition_assessment = #{patientConditionAssessment},
|
|
|
</if>
|
|
|
<!-- 共建项目描述 -->
|
|
|
- <if test="projectDescription != null">
|
|
|
- project_description = #{projectDFescription},
|
|
|
+ <if test="projectDescription != null and projectDescription != ''">
|
|
|
+ project_description = #{projectDescription},
|
|
|
</if>
|
|
|
<!-- 更新时间 -->
|
|
|
updatedTime = CURRENT_TIMESTAMP,
|
|
@@ -243,7 +243,7 @@
|
|
|
is_review,
|
|
|
</if>
|
|
|
<!-- 影像学检查 医保类型 -->
|
|
|
- <if test="imagingInsuranceType != null and imagingInsuranceType != ''">
|
|
|
+ <if test="imagingInsuranceTypeList != null and imagingInsuranceTypeList != ''">
|
|
|
imaging_insurance_type,
|
|
|
</if>
|
|
|
<!-- CT 单选 -->
|
|
@@ -279,7 +279,7 @@
|
|
|
imaging_examinations_image,
|
|
|
</if>
|
|
|
<!-- 肿瘤标记物检查 多选 -->
|
|
|
- <if test="tumorMarkerCheck != null and tumorMarkerCheck != ''">
|
|
|
+ <if test="tumorMarkerCheckList != null and tumorMarkerCheckList != ''">
|
|
|
tumor_marker_check,
|
|
|
</if>
|
|
|
<!-- CEA -->
|
|
@@ -335,7 +335,7 @@
|
|
|
lab_test_indicators_image,
|
|
|
</if>
|
|
|
<!-- 治疗类型 -->
|
|
|
- <if test="treatmentType != null and treatmentType != ''">
|
|
|
+ <if test="treatmentTypeList != null and treatmentTypeList != ''">
|
|
|
treatment_type,
|
|
|
</if>
|
|
|
<!-- 用药前治疗方案 -->
|
|
@@ -391,11 +391,11 @@
|
|
|
medication_error_description,
|
|
|
</if>
|
|
|
<!-- 用药记录 -->
|
|
|
- <if test="medicationRecord != null and medicationRecord != ''">
|
|
|
+ <if test="medication_record != null and medication_record != ''">
|
|
|
medication_record,
|
|
|
</if>
|
|
|
<!-- 合并用药记录 -->
|
|
|
- <if test="combinedMedicationRecord != null and combinedMedicationRecord != ''">
|
|
|
+ <if test="combined_medication_record != null and combined_medication_record != ''">
|
|
|
combined_medication_record,
|
|
|
</if>
|
|
|
<!-- 疼痛标准评分NRS -->
|