Annotation of freem_fileman/DINIT271.m, revision 1.1.1.1
1.1 snw 1: DINIT271 ;SFISC/DPC-LOAD OF FOREIGN FORMAT DD (END) ;9/9/94 12: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 ^DINIT27A:X="" S Y=$E($T(Q+I+1),5,999),X=$E(X,4,999),@X=Y
5: Q Q
6: ;;^DIC(.44,"%D",0)
7: ;;=^^3^3^2940908^
8: ;;^DIC(.44,"%D",1,0)
9: ;;=This file stores the characteristics of various file export formats,
10: ;;^DIC(.44,"%D",2,0)
11: ;;=which are used by the Export tool in building Export Templates to send
12: ;;^DIC(.44,"%D",3,0)
13: ;;=data to non-M systems.
14: ;;^DD(.44,11,0)
15: ;;=SUBSTITUTE FOR NULL^F^^0;13^K:$L(X)>15!($L(X)<1) X
16: ;;^DD(.44,11,3)
17: ;;=Answer must be 1-15 characters in length.
18: ;;^DD(.44,11,21,0)
19: ;;=^^5^5^2930107^
20: ;;^DD(.44,11,21,1,0)
21: ;;=This field only affects numeric values exported in a delimited format.
22: ;;^DD(.44,11,21,2,0)
23: ;;=If nothing is entered in this field, data values of null will cause
24: ;;^DD(.44,11,21,3,0)
25: ;;=nothing to be exported for that field in the particular record. If you
26: ;;^DD(.44,11,21,4,0)
27: ;;=want something to be exported when the data value is null, enter the
28: ;;^DD(.44,11,21,5,0)
29: ;;=character or characters in this field.
30: ;;^DD(.44,11,"DT")
31: ;;=2930107
32: ;;^DD(.44,40,0)
33: ;;=FORMAT USED?^S^0:NO;1:YES;^0;9^Q
34: ;;^DD(.44,40,21,0)
35: ;;=^^2^2^2920925^
36: ;;^DD(.44,40,21,1,0)
37: ;;=When set to YES, this field means that this Foriegn Format entry has been
38: ;;^DD(.44,40,21,2,0)
39: ;;=used to create an Export Template.
40: ;;^DD(.44,40,"DT")
41: ;;=2920925
42: ;;^DD(.44,50,0)
43: ;;=OTHER NAME FOR FORMAT^.441^^5;0
44: ;;^DD(.441,0)
45: ;;=OTHER NAME FOR FORMAT SUB-FIELD^^1^2
46: ;;^DD(.441,0,"DT")
47: ;;=2920914
48: ;;^DD(.441,0,"IX","B",.441,.01)
49: ;;=
50: ;;^DD(.441,0,"NM","OTHER NAME FOR FORMAT")
51: ;;=
52: ;;^DD(.441,0,"UP")
53: ;;=.44
54: ;;^DD(.441,.01,0)
55: ;;=OTHER NAME FOR FORMAT^MF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<3) X
56: ;;^DD(.441,.01,1,0)
57: ;;=^.1
58: ;;^DD(.441,.01,1,1,0)
59: ;;=.441^B
60: ;;^DD(.441,.01,1,1,1)
61: ;;=S ^DIST(.44,DA(1),5,"B",$E(X,1,30),DA)=""
62: ;;^DD(.441,.01,1,1,2)
63: ;;=K ^DIST(.44,DA(1),5,"B",$E(X,1,30),DA)
64: ;;^DD(.441,.01,1,2,0)
65: ;;=.44^C
66: ;;^DD(.441,.01,1,2,1)
67: ;;=S ^DIST(.44,"C",$E(X,1,30),DA(1),DA)=""
68: ;;^DD(.441,.01,1,2,2)
69: ;;=K ^DIST(.44,"C",$E(X,1,30),DA(1),DA)
70: ;;^DD(.441,.01,1,2,"%D",0)
71: ;;=^^1^1^2920917^
72: ;;^DD(.441,.01,1,2,"%D",1,0)
73: ;;=This cross reference allows look-up of formats based on OTHER NAMES.
74: ;;^DD(.441,.01,1,2,"DT")
75: ;;=2920917
76: ;;^DD(.441,.01,3)
77: ;;=Answer must be 3-30 characters in length.
78: ;;^DD(.441,.01,21,0)
79: ;;=^^2^2^2920917^
80: ;;^DD(.441,.01,21,1,0)
81: ;;=Another name by which the foreign format might be known. This name can be
82: ;;^DD(.441,.01,21,2,0)
83: ;;=used to access the format.
84: ;;^DD(.441,.01,"DT")
85: ;;=2920917
86: ;;^DD(.441,1,0)
87: ;;=DESCRIPTION FOR OTHER NAME^.4411^^1;0
88: ;;^DD(.441,1,21,0)
89: ;;=^^1^1^2920917^
90: ;;^DD(.441,1,21,1,0)
91: ;;=Description and information about the format's other name.
92: ;;^DD(.4411,0)
93: ;;=DESCRIPTION FOR OTHER NAME SUB-FIELD^^.01^1
94: ;;^DD(.4411,0,"DT")
95: ;;=2920914
96: ;;^DD(.4411,0,"NM","DESCRIPTION FOR OTHER NAME")
97: ;;=
98: ;;^DD(.4411,0,"UP")
99: ;;=.441
100: ;;^DD(.4411,.01,0)
101: ;;=DESCRIPTION FOR OTHER NAME^W^^0;1^Q
102: ;;^DD(.4411,.01,"DT")
103: ;;=2920914
104: ;;^DD(.447,0)
105: ;;=DESCRIPTION SUB-FIELD^^.01^1
106: ;;^DD(.447,0,"DT")
107: ;;=2920914
108: ;;^DD(.447,0,"NM","DESCRIPTION")
109: ;;=
110: ;;^DD(.447,0,"UP")
111: ;;=.44
112: ;;^DD(.447,.01,0)
113: ;;=DESCRIPTION^W^^0;1^Q
114: ;;^DD(.447,.01,"DT")
115: ;;=2920914
116: ;;^DD(.448,0)
117: ;;=USAGE NOTES SUB-FIELD^^.01^1
118: ;;^DD(.448,0,"DT")
119: ;;=2920914
120: ;;^DD(.448,0,"NM","USAGE NOTES")
121: ;;=
122: ;;^DD(.448,0,"UP")
123: ;;=.44
124: ;;^DD(.448,.01,0)
125: ;;=USAGE NOTES^W^^0;1^Q
126: ;;^DD(.448,.01,"DT")
127: ;;=2920914
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>