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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class NG1 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={"Z31.100","Z31.200","Z31.200x003","Z31.201","Z31.300x001","Z31.300x002"};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"65.9900x005","65.9900x006","65.9900x008","69.9200x004","69.9200x006","69.9200x007","69.9200x008","69.9201","69.9202","75.9900x004"};
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,"符合NG1入组条件,匹配规则:主诊断匹配、主手术匹配");
20
21 if (MDCN_DRG.NG11_group(record)){
22 return "NG11";
23 }
24
25 if (MDCN_DRG.NG13_group(record)){
26 return "NG13";
27 }
28
29 if (MDCN_DRG.NG15_group(record)){
30 return "NG15";
31 }
32
33 return "NG1";
34 }else{
35 return "";
36 }
37 }
38}
39

Callers 1

groupMethod · 0.95

Calls 5

containsMethod · 0.95
NG11_groupMethod · 0.95
NG13_groupMethod · 0.95
NG15_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected