DINIT2A6 ;SFISC/MKO-KEY AND INDEX FILES ;10:50 AM 30 Mar 1999
;;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) Q: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
G ^DINIT2AA
Q Q
;;^DD(.312,1,21,0)
;;=^^4^4^2980911^
;;^DD(.312,1,21,1,0)
;;=Answer will determine the order in which this field appears within the
;;^DD(.312,1,21,2,0)
;;=key. This affects the order of prompts, subscripts, and returned values
;;^DD(.312,1,21,3,0)
;;=throughout FileMan. The first field of every key should receive sequence
;;^DD(.312,1,21,4,0)
;;=number 1, the second 2, and so on.
;;^DD(.312,1,"DT")
;;=2980611
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDINIT2A6 982 printed Nov 22, 2024@18:01:26 Page 2
DINIT2A6 ;SFISC/MKO-KEY AND INDEX FILES ;10:50 AM 30 Mar 1999
+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=""
QUIT
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
+8 GOTO ^DINIT2AA
Q QUIT
+1 ;;^DD(.312,1,21,0)
+2 ;;=^^4^4^2980911^
+3 ;;^DD(.312,1,21,1,0)
+4 ;;=Answer will determine the order in which this field appears within the
+5 ;;^DD(.312,1,21,2,0)
+6 ;;=key. This affects the order of prompts, subscripts, and returned values
+7 ;;^DD(.312,1,21,3,0)
+8 ;;=throughout FileMan. The first field of every key should receive sequence
+9 ;;^DD(.312,1,21,4,0)
+10 ;;=number 1, the second 2, and so on.
+11 ;;^DD(.312,1,"DT")
+12 ;;=2980611