MCPcopy Create free account
hub / github.com/OpenDRG/DRG_Java / group

Method group

drg_group/guangxi_2022/ADRG/BM1.java:12–37  ·  view source on GitHub ↗
(MedicalRecord record)

Source from the content-addressed store, hash-verified

10
11public class BM1 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"88.4100x001","88.4101","88.4102","88.4103","88.4104","88.4401","88.6101","88.6102","88.6103"};
16 String[] adrg_ss1={};
17 String[] adrg_ss2={};
18 if (true && record.ssList!=null && record.ssList.length>0 && Base.contains(adrg_ss,record.ssList[0]) && record.ssList!=null && record.ssList.length>0 && Base.intersect(record.ssList,adrg_ss)){
19 Base.groupMessages.putMessage(record.Index,"符合BM1入组条件,匹配规则:主手术匹配、某一手术匹配");
20
21 if (MDCB_DRG.BM11_group(record)){
22 return "BM11";
23 }
24
25 if (MDCB_DRG.BM13_group(record)){
26 return "BM13";
27 }
28
29 if (MDCB_DRG.BM15_group(record)){
30 return "BM15";
31 }
32
33 return "";
34 }else{
35 return "";
36 }
37 }
38}
39

Callers 1

groupMethod · 0.95

Calls 6

containsMethod · 0.95
intersectMethod · 0.95
BM11_groupMethod · 0.95
BM13_groupMethod · 0.95
BM15_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected