Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: BINTEG

BINTEG.m

Go to the documentation of this file.
BINTEG ;INTEGRITY CHECKER;FEB 08, 2018
 ;;8.5;IMMUNIZATION;**16**;MAR 01,2018
 ;
START ;
 NEW BYTE,COUNT,RTN
 K ^UTILITY($J)
 F I=1:1 S X=$T(LIST+I) Q:X=""  S X=$P(X,";;",2),R=$P(X,"^",1),B=$P(X,"^",2),C=$P(X,"^",3),^UTILITY($J,R)=B_"^"_C
 F I=1:1:6 S X=$P($T(@("LINE"_I)),";;",2,99),@("XBSUMBLD("_I_")=X")
 X XBSUMBLD(1)
 Q
 ;
LINE1 ;;X XBSUMBLD(2),XBSUMBLD(6)
LINE2 ;;S RTN=0 F  S RTN=$O(^UTILITY($J,RTN)) Q:RTN=""  W !,RTN ZL @RTN S (BYTE,COUNT)=0 S X=$T(+1),X=$P(X," [ ",1) X XBSUMBLD(4),XBSUMBLD(3),XBSUMBLD(5)
LINE3 ;;F I=2:1 S X=$T(+I) Q:X=""  X XBSUMBLD(4)
LINE4 ;;F J=1:1 S Y=$E(X,J) Q:Y=""  S BYTE=BYTE+1,COUNT=COUNT+$A(Y)
LINE5 ;;S B=$P(^UTILITY($J,RTN),"^",1),C=$P(^(RTN),"^",2) I B'=BYTE!(C'=COUNT) W "  has been modified"
LINE6 ;;K XBSUMBLD,B,C,I,J,R,X,Y
 ;
LIST ;
 ;;BIENVCHK^4598^301760
 ;;BILOGO^4634^314454
 ;;BIPOST^8403^581261
 ;;BITN^13264^1007351
 ;;BITN2^12500^933089
 ;;BITN3^6184^476671