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

DINIT250.m

Go to the documentation of this file.
  1. DINIT250 ;SFISC/DPC-LOAD PRINT TEMPLATE FILE DD (CONT) ;10/14/94 14:56
  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 ^DINIT255:X="" S Y=$E($T(Q+I+1),5,999),X=$E(X,4,999),@X=Y
  1. Q Q
  1. ;;^DD(.42,0)
  1. ;;=EXPORT FIELD SUB-FIELD^^3^4
  1. ;;^DD(.42,0,"DT")
  1. ;;=2921013
  1. ;;^DD(.42,0,"IX","B",.42,.01)
  1. ;;=
  1. ;;^DD(.42,0,"NM","EXPORT FIELD")
  1. ;;=
  1. ;;^DD(.42,0,"UP")
  1. ;;=.4
  1. ;;^DD(.42,.01,0)
  1. ;;=FIELD ORDER^RNJ2,0^^0;1^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(.42,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(.42,.01,1,1,0)
  1. ;;=.42^B
  1. ;;^DD(.42,.01,1,1,1)
  1. ;;=S ^DIPT(DA(1),100,"B",$E(X,1,30),DA)=""
  1. ;;^DD(.42,.01,1,1,2)
  1. ;;=K ^DIPT(DA(1),100,"B",$E(X,1,30),DA)
  1. ;;^DD(.42,.01,3)
  1. ;;=Type a Number between 1 and 99, 0 Decimal Digits
  1. ;;^DD(.42,.01,21,0)
  1. ;;=^^3^3^2941014^^
  1. ;;^DD(.42,.01,21,1,0)
  1. ;;=The integer in this field represents the order in which fields are
  1. ;;^DD(.42,.01,21,2,0)
  1. ;;=exported. The field order numbers are not always consecutive,
  1. ;;^DD(.42,.01,21,3,0)
  1. ;;=but they do represent the sequence in which fields are sent.
  1. ;;^DD(.42,.01,"DT")
  1. ;;=2920903
  1. ;;^DD(.42,1,0)
  1. ;;=DATA TYPE^*P.81'^DI(.81,^0;2^S DIC("S")="N %IR S %IR=$P($G(^(0)),U,2) I (%IR=""D"")!(%IR=""N"")!(%IR=""F"")" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(.42,1,3)
  1. ;;=
  1. ;;^DD(.42,1,12)
  1. ;;=Only data types of free text, date, and numeric are recognized for exported fields.
  1. ;;^DD(.42,1,12.1)
  1. ;;=S DIC("S")="N %IR S %IR=$P($G(^(0)),U,2) I (%IR=""D"")!(%IR=""N"")!(%IR=""F"")"
  1. ;;^DD(.42,1,21,0)
  1. ;;=^^3^3^2921119^
  1. ;;^DD(.42,1,21,1,0)
  1. ;;=The data type of the field as derived by the export tool or as input by the
  1. ;;^DD(.42,1,21,2,0)
  1. ;;=user is held in this field. This data type may not correspond to the data
  1. ;;^DD(.42,1,21,3,0)
  1. ;;=type found in the data dictionary.
  1. ;;^DD(.42,1,"DT")
  1. ;;=2921013
  1. ;;^DD(.42,2,0)
  1. ;;=LENGTH FOR OUTPUT^NJ5,0^^0;3^K:+X'=X!(X>10000)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(.42,2,3)
  1. ;;=Type a Number between 1 and 10000, 0 Decimal Digits
  1. ;;^DD(.42,2,21,0)
  1. ;;=^^2^2^2921119^
  1. ;;^DD(.42,2,21,1,0)
  1. ;;=The number of characters allotted to the field for fixed length export is
  1. ;;^DD(.42,2,21,2,0)
  1. ;;=stored here.
  1. ;;^DD(.42,2,"DT")
  1. ;;=2920903
  1. ;;^DD(.42,3,0)
  1. ;;=NAME OF FOREIGN FIELD^F^^0;4^K:$L(X)>30!($L(X)<1) X
  1. ;;^DD(.42,3,3)
  1. ;;=Answer must be 1-30 characters in length.
  1. ;;^DD(.42,3,21,0)
  1. ;;=^^2^2^2921119^
  1. ;;^DD(.42,3,21,1,0)
  1. ;;=The name of the field as it is known in the importing application is
  1. ;;^DD(.42,3,21,2,0)
  1. ;;=stored here. The user supplies this information.
  1. ;;^DD(.42,3,"DT")
  1. ;;=2921123