source: FOIAVistA/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DINIT14.m@ 1328

Last change on this file since 1328 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 2.7 KB
Line 
1DINIT14 ;SFISC/YJK-INITIALIZE VA FILEMAN ;9/9/94 13:05
2 ;;22.0;VA FileMan;;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 F I=1:2 S X=$T(Q+I) G:X="" ^DINIT2 S Y=$E($T(Q+I+1),5,999),X=$E(X,4,999),@X=Y
5Q Q
6 ;;^DIC(.6,0)
7 ;;=DD AUDIT^.6
8 ;;^DIC(.6,0,"GL")
9 ;;=^DDA(
10 ;;^DIC("B","DD AUDIT",.6)
11 ;;=
12 ;;^DIC(.6,"%D",0)
13 ;;=^^1^1^2940908^
14 ;;^DIC(.6,"%D",1,0)
15 ;;=This file stores an audit trail of changes made to data dictionaries.
16 ;;^DD(.6,0)
17 ;;=FIELD^^.07^12
18 ;;^DD(.6,0,"ID",.03)
19 ;;=W " ",$E($P(^(0),U,3),4,5)_"-"_$E($P(^(0),U,3),6,7)_"-"_$E($P(^(0),U,3),2,3)
20 ;;^DD(.6,0,"ID",.04)
21 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^VA(200,+$P(^(0),U,4),0))#2:$P(^(0),U,1),1:""),C=$P($G(^DD(200,.01,0)),U,2) D:C]"" Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
22 ;;^DD(.6,0,"NM","DD AUDIT")
23 ;;=
24 ;;^DD(.6,.001,0)
25 ;;=NUMBER^NJ7,0^^ ^K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X
26 ;;^DD(.6,.001,3)
27 ;;=A whole number greater than 1.
28 ;;^DD(.6,.01,0)
29 ;;=FIELD NUMBER^RF^^0;1^K:$L(X)>10!($L(X)<1)!'(X'?1P.E) X
30 ;;^DD(.6,.01,1,0)
31 ;;=^.1
32 ;;^DD(.6,.01,1,1,0)
33 ;;=.6^B
34 ;;^DD(.6,.01,1,1,1)
35 ;;=S ^DDA(DDA,"B",$E(X,1,30),DA)=""
36 ;;^DD(.6,.01,1,1,2)
37 ;;=K ^DDA(DDA,"B",$E(X,1,30),DA)
38 ;;^DD(.6,.01,3)
39 ;;=Answer must be 1-10 characters in length.
40 ;;^DD(.6,.02,0)
41 ;;=TYPE^RS^E:EDIT;N:NEW;D:DELETE;^0;2^Q
42 ;;^DD(.6,.03,0)
43 ;;=DATE UPDATED^RD^^0;3^S %DT="ETR" D ^%DT S X=Y K:Y<1 X
44 ;;^DD(.6,.03,1,0)
45 ;;=^.1
46 ;;^DD(.6,.03,1,1,0)
47 ;;=.6^D
48 ;;^DD(.6,.03,1,1,1)
49 ;;=S ^DDA(DDA,"D",$E(X,1,30),DA)=""
50 ;;^DD(.6,.03,1,1,2)
51 ;;=K ^DDA(DDA,"D",$E(X,1,30),DA)
52 ;;^DD(.6,.04,0)
53 ;;=USER^RP200'^VA(200,^0;4^Q
54 ;;^DD(.6,.04,1,0)
55 ;;=^.1
56 ;;^DD(.6,.04,1,1,0)
57 ;;=.6^E
58 ;;^DD(.6,.04,1,1,1)
59 ;;=S ^DDA(DDA,"E",$E(X,1,30),DA)=""
60 ;;^DD(.6,.04,1,1,2)
61 ;;=K ^DDA(DDA,"E",$E(X,1,30),DA)
62 ;;^DD(.6,.05,0)
63 ;;=ATTRIBUTE NAME^F^^0;5^K:$L(X)>75!($L(X)<1) X
64 ;;^DD(.6,.05,3)
65 ;;=Answer must be 1-75 characters in length.
66 ;;^DD(.6,.06,0)
67 ;;=ATTRIBUTE NUMBER^F^^0;6^K:$L(X)>30!($L(X)<1) X
68 ;;^DD(.6,.06,3)
69 ;;=Answer must be 1-30 characters in length.
70 ;;^DD(.6,.07,0)
71 ;;=FILE NUMBER^F^^0;7^K:$L(X)>15!($L(X)<1) X
72 ;;^DD(.6,.07,3)
73 ;;=Answer must be 1-15 characters in length.
74 ;;^DD(.6,1,0)
75 ;;=OLD VALUE^F^^1;E1,245^K:$L(X)>245!($L(X)<1) X
76 ;;^DD(.6,1.1,0)
77 ;;=OLD VALUE(S)^.601^^1.1;0
78 ;;^DD(.6,2,0)
79 ;;=NEW VALUE^F^^2;E1,245^K:$L(X)>245!($L(X)<1) X
80 ;;^DD(.6,2.1,0)
81 ;;=NEW VALUE(S)^.602^^2.1;0
82 ;;^DD(.601,0)
83 ;;=OLD VALUE(S) SUB-FIELD^^.01^1
84 ;;^DD(.601,0,"NM","OLD VALUE(S)")
85 ;;=
86 ;;^DD(.601,0,"UP")
87 ;;=.6
88 ;;^DD(.601,.01,0)
89 ;;=OLD VALUE(S)^WL^^0;1^Q
90 ;;^DD(.602,0)
91 ;;=NEW VALUE(S) SUB-FIELD^^.01^1
92 ;;^DD(.602,0,"NM","NEW VALUE(S)")
93 ;;=
94 ;;^DD(.602,0,"UP")
95 ;;=.6
96 ;;^DD(.602,.01,0)
97 ;;=NEW VALUE(S)^WL^^0;1^Q
Note: See TracBrowser for help on using the repository browser.