VistA-WorldVistAEHR/r/AUTOMATED_LAB_INSTRUMENTS-LA/LA7NTEG.m

71 lines
1.8 KiB
Mathematica

LA7NTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;2960329.095717
;;0.0;;**17**;
;;7.3;2960329.095717
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 ;;
LA7ADL ;;9648015
LA7ADL1 ;;4708581
LA7HL7 ;;3332497
LA7HLP ;;2912066
LA7IN001 ;;3530962
LA7IN002 ;;7303386
LA7IN003 ;;10744019
LA7IN004 ;;11022396
LA7IN005 ;;11401152
LA7IN006 ;;10426053
LA7IN007 ;;11167337
LA7IN008 ;;9376707
LA7IN009 ;;12147691
LA7IN00A ;;9618207
LA7IN00B ;;8567401
LA7IN00C ;;11124993
LA7IN00D ;;8133744
LA7IN00E ;;1083658
LA7IN00F ;;8893878
LA7IN00G ;;8401771
LA7IN00H ;;3123933
LA7IN00I ;;11792210
LA7IN00J ;;6604618
LA7IN00K ;;2334409
LA7IN00L ;;7005940
LA7IN00M ;;15417706
LA7IN00N ;;13135104
LA7IN00O ;;12633799
LA7IN00P ;;8985628
LA7IN00Q ;;8787157
LA7IN00R ;;8808314
LA7IN00S ;;9228380
LA7IN00T ;;7338000
LA7IN00U ;;9883961
LA7IN00V ;;7764437
LA7IN00W ;;8610850
LA7IN00X ;;8322417
LA7IN00Y ;;8004924
LA7IN00Z ;;6168059
LA7IN010 ;;1076453
LA7INIS ;;2162916
LA7INIT ;;10230591
LA7INIT1 ;;4867861
LA7INIT2 ;;5232566
LA7INIT3 ;;16805798
LA7INIT4 ;;3357738
LA7INIT5 ;;954898
LA7LOG ;;7543272
LA7POST ;;2105182
LA7UID ;;2037413
LA7UID1 ;;5866288
LA7UID2 ;;8130300
LA7UIIN ;;3932211
LA7UIIN1 ;;5975112
LA7UIIN2 ;;9803192
LA7UTIL ;;4911757
LADOWN ;;9641097
LADOWN1 ;;1617991
LAGEN ;;8206403