|
@@ -134,10 +134,12 @@ public class THR0128 extends QCCatalogue {
|
|
|
int indicationsNum = CatalogueUtil.appearNumber(roundRecordEveryWeek.get(j).split(","), Content.attend);
|
|
|
//三级医师查房算一次主治查房
|
|
|
int threeDoctorNum = CatalogueUtil.appearNumber(roundRecordEveryWeek.get(j).split(","), "三级");
|
|
|
+ //北仑内分泌科(主任携主任代主治)
|
|
|
+ int endocrinologyTitleNum = endocrinologyTitleNum(roundRecordEveryWeek.get(j).split(","));
|
|
|
if (j == 0 && firstRecordAttendExist) { //如果首程中医师签名为主治医师,第一周查房记录也要加上
|
|
|
indicationsNum += 1;
|
|
|
}
|
|
|
- if (indicationsNum + threeDoctorNum < 3) {
|
|
|
+ if (indicationsNum + threeDoctorNum + endocrinologyTitleNum < 3) {
|
|
|
//每周无3次主治医师查房记录
|
|
|
status.set("-1");
|
|
|
resultInfos.add(lastWardDateRangeList.get(j));
|
|
@@ -151,6 +153,23 @@ public class THR0128 extends QCCatalogue {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 北仑内分泌科主任主治处理
|
|
|
+ *
|
|
|
+ * @param srcText
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ private int endocrinologyTitleNum(String[] srcText) {
|
|
|
+ int count = 0;
|
|
|
+ for (String title : srcText) {
|
|
|
+ String regex = ".*主任.*主任.*主治.*";
|
|
|
+ if (title.matches(regex)) {
|
|
|
+ count++;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return count;
|
|
|
+ }
|
|
|
+
|
|
|
private Date getLastRecordDate(List<ThreeLevelWardDoc> allDoctorWradDocs) {
|
|
|
ThreeLevelWardDoc threeLevelWardDoc = allDoctorWradDocs.get(allDoctorWradDocs.size() - 1);
|
|
|
Map<String, String> lastWardDocStructureMap = threeLevelWardDoc.getStructureMap();
|