1增加就诊卡号字段显示。

2卡号:当病历号/姓名字段通过条件检索到患者信息选择时卡号字段也要进行赋值。
This commit is contained in:
Auora
2025-10-23 14:42:01 +08:00
parent be6d5c1ccc
commit 9084ddaa98
3 changed files with 10 additions and 2 deletions

View File

@@ -119,6 +119,12 @@ public class OutpatientRegistrationAppServiceImpl implements IOutpatientRegistra
// 初复诊
e.setFirstEnum_enumText(patientIdList.contains(e.getId()) ? EncounterType.FOLLOW_UP.getInfo()
: EncounterType.INITIAL.getInfo());
// 患者标识
PatientIdentifier patientIdentifier = patientIdentifierService
.getOne(new LambdaQueryWrapper<PatientIdentifier>().eq(PatientIdentifier::getPatientId, e.getId()));
if (patientIdentifier != null) {
e.setIdentifierNo(patientIdentifier.getIdentifierNo());
}
});
return patientMetadataPage;