Annotation of freem_fileman/USER/DINIT250.m, revision 1.1

1.1     ! snw         1: DINIT250       ;SFISC/DPC-LOAD PRINT TEMPLATE FILE DD (CONT) ;10/14/94  14:56
        !             2:        ;;21.0;VA FileMan;;Dec 28, 1994
        !             3:        ;Per VHA Directive 10-93-142, this routine should not be modified.
        !             4:        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
        !             5: Q      Q
        !             6:        ;;^DD(.42,0)
        !             7:        ;;=EXPORT FIELD SUB-FIELD^^3^4
        !             8:        ;;^DD(.42,0,"DT")
        !             9:        ;;=2921013
        !            10:        ;;^DD(.42,0,"IX","B",.42,.01)
        !            11:        ;;=
        !            12:        ;;^DD(.42,0,"NM","EXPORT FIELD")
        !            13:        ;;=
        !            14:        ;;^DD(.42,0,"UP")
        !            15:        ;;=.4
        !            16:        ;;^DD(.42,.01,0)
        !            17:        ;;=FIELD ORDER^RNJ2,0^^0;1^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
        !            18:        ;;^DD(.42,.01,1,0)
        !            19:        ;;=^.1
        !            20:        ;;^DD(.42,.01,1,1,0)
        !            21:        ;;=.42^B
        !            22:        ;;^DD(.42,.01,1,1,1)
        !            23:        ;;=S ^DIPT(DA(1),100,"B",$E(X,1,30),DA)=""
        !            24:        ;;^DD(.42,.01,1,1,2)
        !            25:        ;;=K ^DIPT(DA(1),100,"B",$E(X,1,30),DA)
        !            26:        ;;^DD(.42,.01,3)
        !            27:        ;;=Type a Number between 1 and 99, 0 Decimal Digits
        !            28:        ;;^DD(.42,.01,21,0)
        !            29:        ;;=^^3^3^2941014^^
        !            30:        ;;^DD(.42,.01,21,1,0)
        !            31:        ;;=The integer in this field represents the order in which fields are
        !            32:        ;;^DD(.42,.01,21,2,0)
        !            33:        ;;=exported.  The field order numbers are not always consecutive,
        !            34:        ;;^DD(.42,.01,21,3,0)
        !            35:        ;;=but they do represent the sequence in which fields are sent.
        !            36:        ;;^DD(.42,.01,"DT")
        !            37:        ;;=2920903
        !            38:        ;;^DD(.42,1,0)
        !            39:        ;;=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
        !            40:        ;;^DD(.42,1,3)
        !            41:        ;;=
        !            42:        ;;^DD(.42,1,12)
        !            43:        ;;=Only data types of free text, date, and numeric are recognized for exported fields.
        !            44:        ;;^DD(.42,1,12.1)
        !            45:        ;;=S DIC("S")="N %IR S %IR=$P($G(^(0)),U,2) I (%IR=""D"")!(%IR=""N"")!(%IR=""F"")"
        !            46:        ;;^DD(.42,1,21,0)
        !            47:        ;;=^^3^3^2921119^
        !            48:        ;;^DD(.42,1,21,1,0)
        !            49:        ;;=The data type of the field as derived by the export tool or as input by the
        !            50:        ;;^DD(.42,1,21,2,0)
        !            51:        ;;=user is held in this field.  This data type may not correspond to the data
        !            52:        ;;^DD(.42,1,21,3,0)
        !            53:        ;;=type found in the data dictionary.
        !            54:        ;;^DD(.42,1,"DT")
        !            55:        ;;=2921013
        !            56:        ;;^DD(.42,2,0)
        !            57:        ;;=LENGTH FOR OUTPUT^NJ5,0^^0;3^K:+X'=X!(X>10000)!(X<1)!(X?.E1"."1N.N) X
        !            58:        ;;^DD(.42,2,3)
        !            59:        ;;=Type a Number between 1 and 10000, 0 Decimal Digits
        !            60:        ;;^DD(.42,2,21,0)
        !            61:        ;;=^^2^2^2921119^
        !            62:        ;;^DD(.42,2,21,1,0)
        !            63:        ;;=The number of characters allotted to the field for fixed length export is
        !            64:        ;;^DD(.42,2,21,2,0)
        !            65:        ;;=stored here.
        !            66:        ;;^DD(.42,2,"DT")
        !            67:        ;;=2920903
        !            68:        ;;^DD(.42,3,0)
        !            69:        ;;=NAME OF FOREIGN FIELD^F^^0;4^K:$L(X)>30!($L(X)<1) X
        !            70:        ;;^DD(.42,3,3)
        !            71:        ;;=Answer must be 1-30 characters in length.
        !            72:        ;;^DD(.42,3,21,0)
        !            73:        ;;=^^2^2^2921119^
        !            74:        ;;^DD(.42,3,21,1,0)
        !            75:        ;;=The name of the field as it is known in the importing application is
        !            76:        ;;^DD(.42,3,21,2,0)
        !            77:        ;;=stored here.  The user supplies this information.
        !            78:        ;;^DD(.42,3,"DT")
        !            79:        ;;=2921123

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>