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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class GD2 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"47.0100","47.0901","47.0902","47.0903","47.1100","47.1900x001","47.2x00","47.2x01","47.9100","47.9200","47.9901"};
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,"符合GD2入组条件,匹配规则:主手术匹配、某一手术匹配");
20
21 if (MDCG_DRG.GD21_group(record)){
22 return "GD21";
23 }
24
25 if (MDCG_DRG.GD23_group(record)){
26 return "GD23";
27 }
28
29 if (MDCG_DRG.GD25_group(record)){
30 return "GD25";
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
GD21_groupMethod · 0.95
GD23_groupMethod · 0.95
GD25_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected