VistA-FOIAVistA/r/PATIENT_REPRESENTATIVE-QAC/QACNTEG.m

41 lines
1.2 KiB
Mathematica

QACNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;JUL 25, 1995@09:37:42
;;2.0;Patient Representative;;07/25/1995
;;7.2;JUL 25, 1995@09:37:42
S XT4="I 1",X=$T(+3) W !!,"Checksum routine created on ",$P(X,";",4)," by KERNEL V",$P(X,";",3),!
CONT F XT1=1:1 S XT2=$T(ROU+XT1) Q:XT2="" S X=$P(XT2," ",1),XT3=$P(XT2,";",3) X XT4 I $T W !,X X ^%ZOSF("TEST") S:'$T XT3=0 X:XT3 ^%ZOSF("RSUM") W ?10,$S('XT3:"Routine not in UCI",XT3'=Y:"Calculated "_$C(7)_Y_", off by "_(Y-XT3),1:"ok")
;
K %1,%2,%3,X,Y,XT1,XT2,XT3,XT4 Q
ONE S XT4="I $D(^UTILITY($J,X))",X=$T(+3) W !!,"Checksum routine created on ",$P(X,";",4)," by KERNEL V",$P(X,";",3),!
W !,"Check a subset of routines:" K ^UTILITY($J) X ^%ZOSF("RSEL")
W ! G CONT
ROU ;;
QACADHOC ;;9540784
QACALRT0 ;;972044
QACALRT1 ;;6526993
QACALRT2 ;;2895273
QACARCH ;;2341256
QACCODE ;;2326087
QACCONV0 ;;6019399
QACDAILY ;;928156
QACDELT ;;3498255
QACEDIT ;;5540894
QACGEN ;;9026206
QACINST ;;6753368
QACIPOST ;;23472
QACIPRE0 ;;1096623
QACIPST1 ;;3057275
QACKEY ;;7554399
QACNEW ;;9161819
QACNGRSS ;;549147
QACNOPTS ;;755645
QACPAT ;;1239182
QACPRT ;;3707922
QACRPT ;;9048097
QACSPRD ;;2796666
QACSPRD1 ;;9906300
QACSPRD2 ;;6724830
QACSPRD3 ;;5281960
QACSRPT ;;7787758
QACSTAT ;;3838702
QACUTIL ;;2290483