DINIT255 ;SFISC/MLH-FILEGRAM ERROR LOG ;9/9/94 14:26
;;22.2;VA FileMan;;Jan 05, 2016;Build 42
;;Per VA Directive 6402, this routine should not be modified.
;;Submitted to OSEHRA 5 January 2015 by the VISTA Expertise Network.
;;Based on Medsphere Systems Corporation's MSC FileMan 1051.
;;Licensed under the terms of the Apache License, Version 2.0.
;
F I=1:2 S X=$T(Q+I) G ^DINIT26:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
Q Q
;;^DIC(1.13,"%D",0)
;;=^^2^2^2930712^
;;^DIC(1.13,"%D",1,0)
;;=This file stores information about Filegram errors and the text
;;^DIC(1.13,"%D",2,0)
;;=of the affected Filegrams.
;;^DD(1.13,0,"IX","B",1.13,.01)
;;=
;;^DIC("B","FILEGRAM ERROR LOG",1.13)
;;=
;;^DD(1.13,0)
;;=FIELD^^2100^4
;;^DD(1.13,0,"DDA")
;;=N
;;^DD(1.13,0,"DT")
;;=2900904
;;^DD(1.13,0,"NM","FILEGRAM ERROR LOG")
;;=
;;^DD(1.13,.001,0)
;;=FILEGRAM NUMBER^NJ6,0^^ ^K:+X'=X!(X>999999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(1.13,.001,3)
;;=Type a Number between 1 and 999999, 0 Decimal Digits
;;^DD(1.13,.001,23,0)
;;=^^1^1^2900904^
;;^DD(1.13,.001,23,1,0)
;;=Filegram number
;;^DD(1.13,.001,"DT")
;;=2900904
;;^DD(1.13,.01,0)
;;=LINE OF ERROR^RNJ5,0^^0;1^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(1.13,.01,1,0)
;;=^.1
;;^DD(1.13,.01,1,1,0)
;;=1.13^B
;;^DD(1.13,.01,1,1,1)
;;=S ^DIAR(1.13,"B",$E(X,1,30),DA)=""
;;^DD(1.13,.01,1,1,2)
;;=K ^DIAR(1.13,"B",$E(X,1,30),DA)
;;^DD(1.13,.01,3)
;;=Type a Number between 1 and 99999, 0 Decimal Digits
;;^DD(1.13,.01,23,0)
;;=^^2^2^2900904^
;;^DD(1.13,.01,23,1,0)
;;=Line number returned in second piece of DIFGER indicating filegram line
;;^DD(1.13,.01,23,2,0)
;;=where error occurred
;;^DD(1.13,.01,"DT")
;;=2900904
;;^DD(1.13,.02,0)
;;=ERROR CODE^NJ2,0^^0;2^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
;;^DD(1.13,.02,3)
;;=Type a Number between 1 and 99, 0 Decimal Digits
;;^DD(1.13,.02,23,0)
;;=^^2^2^2900904^
;;^DD(1.13,.02,23,1,0)
;;=Error code returned in first piece of DIFGER indicating type of
;;^DD(1.13,.02,23,2,0)
;;=installation error
;;^DD(1.13,.02,"DT")
;;=2900904
;;^DD(1.13,2100,0)
;;=FILEGRAM^1.1321^^21;0
;;^DD(1.13,2100,23,0)
;;=^^1^1^2900904^
;;^DD(1.13,2100,23,1,0)
;;=Text of the filegram
;;^DD(1.1321,0)
;;=FILEGRAM SUB-FIELD^^.01^1
;;^DD(1.1321,0,"DT")
;;=2900904
;;^DD(1.1321,0,"NM","FILEGRAM")
;;=
;;^DD(1.1321,0,"UP")
;;=1.13
;;^DD(1.1321,.01,0)
;;=FILEGRAM^WL^^0;1^Q
;;^DD(1.1321,.01,"DT")
;;=2900904
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDINIT255 2612 printed Dec 13, 2024@02:50:54 Page 2
DINIT255 ;SFISC/MLH-FILEGRAM ERROR LOG ;9/9/94 14:26
+1 ;;22.2;VA FileMan;;Jan 05, 2016;Build 42
+2 ;;Per VA Directive 6402, this routine should not be modified.
+3 ;;Submitted to OSEHRA 5 January 2015 by the VISTA Expertise Network.
+4 ;;Based on Medsphere Systems Corporation's MSC FileMan 1051.
+5 ;;Licensed under the terms of the Apache License, Version 2.0.
+6 ;
+7 FOR I=1:2
SET X=$TEXT(Q+I)
if X=""
GOTO ^DINIT26
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
if $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
SET @X=Y
Q QUIT
+1 ;;^DIC(1.13,"%D",0)
+2 ;;=^^2^2^2930712^
+3 ;;^DIC(1.13,"%D",1,0)
+4 ;;=This file stores information about Filegram errors and the text
+5 ;;^DIC(1.13,"%D",2,0)
+6 ;;=of the affected Filegrams.
+7 ;;^DD(1.13,0,"IX","B",1.13,.01)
+8 ;;=
+9 ;;^DIC("B","FILEGRAM ERROR LOG",1.13)
+10 ;;=
+11 ;;^DD(1.13,0)
+12 ;;=FIELD^^2100^4
+13 ;;^DD(1.13,0,"DDA")
+14 ;;=N
+15 ;;^DD(1.13,0,"DT")
+16 ;;=2900904
+17 ;;^DD(1.13,0,"NM","FILEGRAM ERROR LOG")
+18 ;;=
+19 ;;^DD(1.13,.001,0)
+20 ;;=FILEGRAM NUMBER^NJ6,0^^ ^K:+X'=X!(X>999999)!(X<1)!(X?.E1"."1N.N) X
+21 ;;^DD(1.13,.001,3)
+22 ;;=Type a Number between 1 and 999999, 0 Decimal Digits
+23 ;;^DD(1.13,.001,23,0)
+24 ;;=^^1^1^2900904^
+25 ;;^DD(1.13,.001,23,1,0)
+26 ;;=Filegram number
+27 ;;^DD(1.13,.001,"DT")
+28 ;;=2900904
+29 ;;^DD(1.13,.01,0)
+30 ;;=LINE OF ERROR^RNJ5,0^^0;1^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
+31 ;;^DD(1.13,.01,1,0)
+32 ;;=^.1
+33 ;;^DD(1.13,.01,1,1,0)
+34 ;;=1.13^B
+35 ;;^DD(1.13,.01,1,1,1)
+36 ;;=S ^DIAR(1.13,"B",$E(X,1,30),DA)=""
+37 ;;^DD(1.13,.01,1,1,2)
+38 ;;=K ^DIAR(1.13,"B",$E(X,1,30),DA)
+39 ;;^DD(1.13,.01,3)
+40 ;;=Type a Number between 1 and 99999, 0 Decimal Digits
+41 ;;^DD(1.13,.01,23,0)
+42 ;;=^^2^2^2900904^
+43 ;;^DD(1.13,.01,23,1,0)
+44 ;;=Line number returned in second piece of DIFGER indicating filegram line
+45 ;;^DD(1.13,.01,23,2,0)
+46 ;;=where error occurred
+47 ;;^DD(1.13,.01,"DT")
+48 ;;=2900904
+49 ;;^DD(1.13,.02,0)
+50 ;;=ERROR CODE^NJ2,0^^0;2^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
+51 ;;^DD(1.13,.02,3)
+52 ;;=Type a Number between 1 and 99, 0 Decimal Digits
+53 ;;^DD(1.13,.02,23,0)
+54 ;;=^^2^2^2900904^
+55 ;;^DD(1.13,.02,23,1,0)
+56 ;;=Error code returned in first piece of DIFGER indicating type of
+57 ;;^DD(1.13,.02,23,2,0)
+58 ;;=installation error
+59 ;;^DD(1.13,.02,"DT")
+60 ;;=2900904
+61 ;;^DD(1.13,2100,0)
+62 ;;=FILEGRAM^1.1321^^21;0
+63 ;;^DD(1.13,2100,23,0)
+64 ;;=^^1^1^2900904^
+65 ;;^DD(1.13,2100,23,1,0)
+66 ;;=Text of the filegram
+67 ;;^DD(1.1321,0)
+68 ;;=FILEGRAM SUB-FIELD^^.01^1
+69 ;;^DD(1.1321,0,"DT")
+70 ;;=2900904
+71 ;;^DD(1.1321,0,"NM","FILEGRAM")
+72 ;;=
+73 ;;^DD(1.1321,0,"UP")
+74 ;;=1.13
+75 ;;^DD(1.1321,.01,0)
+76 ;;=FILEGRAM^WL^^0;1^Q
+77 ;;^DD(1.1321,.01,"DT")
+78 ;;=2900904