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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class GD1 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={"C18.100","K35.200","K35.201","K35.300","K35.301"};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"47.0100","47.0901","47.0902","47.0903","47.1100","47.2x00","47.2x01","47.9100","47.9200","47.9901"};
16 String[] adrg_ss1={};
17
18 if (true && Base.contains(adrg_zd,record.zdList[0]) && record.ssList!=null && record.ssList.length>0 && Base.contains(adrg_ss,record.ssList[0])){
19 Base.groupMessages.putMessage(record.Index,"符合GD1入组条件,匹配规则:主诊断匹配、主手术匹配");
20
21 if (MDCG_DRG.GD11_group(record)){
22 return "GD11";
23 }
24
25 if (MDCG_DRG.GD13_group(record)){
26 return "GD13";
27 }
28
29 if (MDCG_DRG.GD15_group(record)){
30 return "GD15";
31 }
32
33 return "GD1";
34 }else{
35 return "";
36 }
37 }
38}
39

Callers 1

groupMethod · 0.95

Calls 5

containsMethod · 0.95
GD11_groupMethod · 0.95
GD13_groupMethod · 0.95
GD15_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected