|
@@ -5,6 +5,7 @@ import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
import com.lantone.qc.pub.model.entity.Menses;
|
|
|
import com.lantone.qc.pub.model.label.MenstrualLabel;
|
|
|
+import com.lantone.qc.pub.util.ListUtil;
|
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
@@ -36,6 +37,9 @@ public class BEH0063 extends QCCatalogue {
|
|
|
if (inputInfo.getBeHospitalizedDoc().getMenstrualLabel() != null) {
|
|
|
MenstrualLabel menstrualLabel = inputInfo.getBeHospitalizedDoc().getMenstrualLabel();
|
|
|
List<Menses> mensesList = menstrualLabel.getMensesList();
|
|
|
+ if (ListUtil.isEmpty(mensesList)) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
boolean isFindLastMenstrual = false, isFindMenopauseTime = false, isFindMenopauseAge = false;
|
|
|
for (Menses menses : mensesList) {
|
|
|
if (menses.getLastMenstrual() != null && StringUtil.isNotBlank(menses.getLastMenstrual().getName())) { //末次月经时间
|