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

DINIT255.m

Go to the documentation of this file.
  1. DINIT255 ;SFISC/MLH-FILEGRAM ERROR LOG ;9/9/94 14:26
  1. ;;22.2;VA FileMan;;Jan 05, 2016;Build 42
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;;Submitted to OSEHRA 5 January 2015 by the VISTA Expertise Network.
  1. ;;Based on Medsphere Systems Corporation's MSC FileMan 1051.
  1. ;;Licensed under the terms of the Apache License, Version 2.0.
  1. ;
  1. 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
  1. Q Q
  1. ;;^DIC(1.13,"%D",0)
  1. ;;=^^2^2^2930712^
  1. ;;^DIC(1.13,"%D",1,0)
  1. ;;=This file stores information about Filegram errors and the text
  1. ;;^DIC(1.13,"%D",2,0)
  1. ;;=of the affected Filegrams.
  1. ;;^DD(1.13,0,"IX","B",1.13,.01)
  1. ;;=
  1. ;;^DIC("B","FILEGRAM ERROR LOG",1.13)
  1. ;;=
  1. ;;^DD(1.13,0)
  1. ;;=FIELD^^2100^4
  1. ;;^DD(1.13,0,"DDA")
  1. ;;=N
  1. ;;^DD(1.13,0,"DT")
  1. ;;=2900904
  1. ;;^DD(1.13,0,"NM","FILEGRAM ERROR LOG")
  1. ;;=
  1. ;;^DD(1.13,.001,0)
  1. ;;=FILEGRAM NUMBER^NJ6,0^^ ^K:+X'=X!(X>999999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(1.13,.001,3)
  1. ;;=Type a Number between 1 and 999999, 0 Decimal Digits
  1. ;;^DD(1.13,.001,23,0)
  1. ;;=^^1^1^2900904^
  1. ;;^DD(1.13,.001,23,1,0)
  1. ;;=Filegram number
  1. ;;^DD(1.13,.001,"DT")
  1. ;;=2900904
  1. ;;^DD(1.13,.01,0)
  1. ;;=LINE OF ERROR^RNJ5,0^^0;1^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(1.13,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(1.13,.01,1,1,0)
  1. ;;=1.13^B
  1. ;;^DD(1.13,.01,1,1,1)
  1. ;;=S ^DIAR(1.13,"B",$E(X,1,30),DA)=""
  1. ;;^DD(1.13,.01,1,1,2)
  1. ;;=K ^DIAR(1.13,"B",$E(X,1,30),DA)
  1. ;;^DD(1.13,.01,3)
  1. ;;=Type a Number between 1 and 99999, 0 Decimal Digits
  1. ;;^DD(1.13,.01,23,0)
  1. ;;=^^2^2^2900904^
  1. ;;^DD(1.13,.01,23,1,0)
  1. ;;=Line number returned in second piece of DIFGER indicating filegram line
  1. ;;^DD(1.13,.01,23,2,0)
  1. ;;=where error occurred
  1. ;;^DD(1.13,.01,"DT")
  1. ;;=2900904
  1. ;;^DD(1.13,.02,0)
  1. ;;=ERROR CODE^NJ2,0^^0;2^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(1.13,.02,3)
  1. ;;=Type a Number between 1 and 99, 0 Decimal Digits
  1. ;;^DD(1.13,.02,23,0)
  1. ;;=^^2^2^2900904^
  1. ;;^DD(1.13,.02,23,1,0)
  1. ;;=Error code returned in first piece of DIFGER indicating type of
  1. ;;^DD(1.13,.02,23,2,0)
  1. ;;=installation error
  1. ;;^DD(1.13,.02,"DT")
  1. ;;=2900904
  1. ;;^DD(1.13,2100,0)
  1. ;;=FILEGRAM^1.1321^^21;0
  1. ;;^DD(1.13,2100,23,0)
  1. ;;=^^1^1^2900904^
  1. ;;^DD(1.13,2100,23,1,0)
  1. ;;=Text of the filegram
  1. ;;^DD(1.1321,0)
  1. ;;=FILEGRAM SUB-FIELD^^.01^1
  1. ;;^DD(1.1321,0,"DT")
  1. ;;=2900904
  1. ;;^DD(1.1321,0,"NM","FILEGRAM")
  1. ;;=
  1. ;;^DD(1.1321,0,"UP")
  1. ;;=1.13
  1. ;;^DD(1.1321,.01,0)
  1. ;;=FILEGRAM^WL^^0;1^Q
  1. ;;^DD(1.1321,.01,"DT")
  1. ;;=2900904