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

Method group

drg_group/wuhan_2022/ADRG/NG1.java:12–29  ·  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.NG19_group(record)){
22 return "NG19";
23 }
24
25 return "NG1";
26 }else{
27 return "";
28 }
29 }
30}
31

Callers 1

groupMethod · 0.95

Calls 3

containsMethod · 0.95
NG19_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected