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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class GG1 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"54.5100","54.5100x005","54.5100x009","54.5101","54.5102","54.5103","54.5900x007","54.5901","54.5902","54.5903","54.5904","54.5905","54.5906"};
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,"符合GG1入组条件,匹配规则:主手术匹配、某一手术匹配");
20
21 if (MDCG_DRG.GG11_group(record)){
22 return "GG11";
23 }
24
25 if (MDCG_DRG.GG13_group(record)){
26 return "GG13";
27 }
28
29 if (MDCG_DRG.GG15_group(record)){
30 return "GG15";
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
GG11_groupMethod · 0.95
GG13_groupMethod · 0.95
GG15_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected