|
@@ -12,6 +12,7 @@ import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
|
|
|
import com.lantone.qc.pub.model.doc.operation.OperationDoc;
|
|
|
import com.lantone.qc.pub.util.DateUtil;
|
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
@@ -91,6 +92,7 @@ public class THR0128 extends QCCatalogue {
|
|
|
return;
|
|
|
}
|
|
|
boolean firstRecordAttendExist = findfirstRecordAttend(inputInfo);
|
|
|
+ List<String> resultInfos = new ArrayList<>();
|
|
|
for (int j = 0; j < roundRecordEveryWeek.size(); j++) {
|
|
|
int indicationsNum = CatalogueUtil.appearNumber(roundRecordEveryWeek.get(j).split(","), Content.attend);
|
|
|
if (j == 0 && firstRecordAttendExist) { //如果首程中医师签名为主治医师,第一周查房记录也要加上
|
|
@@ -99,10 +101,13 @@ public class THR0128 extends QCCatalogue {
|
|
|
if (indicationsNum < 3) {
|
|
|
//每周无3次主治医师查房记录
|
|
|
status.set("-1");
|
|
|
- info.set(lastWardDateRangeList.get(j));
|
|
|
- return;
|
|
|
+ resultInfos.add(lastWardDateRangeList.get(j));
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ if (resultInfos.size() > 0) {
|
|
|
+ info.set(StringUtils.join(resultInfos.toArray(), ";"));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|