source: FOIAVistA/tag/r/KERNEL-XU-A4A7-USC-XG-XLF-XNOA-XPD-XQ-XVIR-ZI-ZOSF-ZOSV-ZT-ZU-%Z-XIP--XQAB--XUC--XUR--ZIN--ZTED/XPDIN008.m@ 628

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

initial load of FOIAVistA 6/30/08 version

File size: 4.8 KB
Line 
1XPDIN008 ; ; 03-JUL-1995
2 ;;8.0;KERNEL;;JUL 10, 1995
3 Q:'DIFQ(9.6) 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) X NO E S @X=Y
4Q Q
5 ;;^DD(9.66,0,"IX","B",9.66,.01)
6 ;;=
7 ;;^DD(9.66,0,"NM","PACKAGE NAMESPACE OR PREFIX")
8 ;;=
9 ;;^DD(9.66,0,"UP")
10 ;;=9.6
11 ;;^DD(9.66,.01,0)
12 ;;=PACKAGE NAMESPACE OR PREFIX^MF^^0;1^K:$L(X)>4!($L(X)<2) X
13 ;;^DD(9.66,.01,1,0)
14 ;;=^.1
15 ;;^DD(9.66,.01,1,1,0)
16 ;;=9.66^B
17 ;;^DD(9.66,.01,1,1,1)
18 ;;=S ^XPD(9.6,DA(1),"ABNS","B",$E(X,1,30),DA)=""
19 ;;^DD(9.66,.01,1,1,2)
20 ;;=K ^XPD(9.6,DA(1),"ABNS","B",$E(X,1,30),DA)
21 ;;^DD(9.66,.01,3)
22 ;;=This is (one of) the 2 to 4 character namespaces or prefixes associated with the test package
23 ;;^DD(9.66,.01,21,0)
24 ;;=^^1^1^2940307^
25 ;;^DD(9.66,.01,21,1,0)
26 ;;=This field identifies on of the alpha/beta package namespaces.
27 ;;^DD(9.66,.01,"DT")
28 ;;=2940307
29 ;;^DD(9.66,1,0)
30 ;;=EXCLUDE NAMESPACE OR PREFIX^9.661A^^1;0
31 ;;^DD(9.66,1,21,0)
32 ;;=^^5^5^2940502^^^
33 ;;^DD(9.66,1,21,1,0)
34 ;;=This multiple field is used to indicate any specific namespaces
35 ;;^DD(9.66,1,21,2,0)
36 ;;=or prefixes which begin with the current namespace or prefix
37 ;;^DD(9.66,1,21,3,0)
38 ;;=which should be excluded from analyses for the alpha/beta
39 ;;^DD(9.66,1,21,4,0)
40 ;;=package. Generally those namespaces which are immediately
41 ;;^DD(9.66,1,21,5,0)
42 ;;=followed by the letter 'Z' are excluded.
43 ;;^DD(9.661,0)
44 ;;=EXCLUDE NAMESPACE OR PREFIX SUB-FIELD^^.01^1
45 ;;^DD(9.661,0,"DT")
46 ;;=2940307
47 ;;^DD(9.661,0,"IX","B",9.661,.01)
48 ;;=
49 ;;^DD(9.661,0,"NM","EXCLUDE NAMESPACE OR PREFIX")
50 ;;=
51 ;;^DD(9.661,0,"UP")
52 ;;=9.66
53 ;;^DD(9.661,.01,0)
54 ;;=EXCLUDE NAMESPACE OR PREFIX^MF^^0;1^K:$L(X)>4!($L(X)<2) X
55 ;;^DD(9.661,.01,1,0)
56 ;;=^.1
57 ;;^DD(9.661,.01,1,1,0)
58 ;;=9.661^B
59 ;;^DD(9.661,.01,1,1,1)
60 ;;=S ^XPD(9.6,DA(2),"ABNS",DA(1),1,"B",$E(X,1,30),DA)=""
61 ;;^DD(9.661,.01,1,1,2)
62 ;;=K ^XPD(9.6,DA(2),"ABNS",DA(1),1,"B",$E(X,1,30),DA)
63 ;;^DD(9.661,.01,3)
64 ;;=Answer must be 2-4 characters in length.
65 ;;^DD(9.661,.01,21,0)
66 ;;=^^4^4^2940307^
67 ;;^DD(9.661,.01,21,1,0)
68 ;;=This is a specific namespace or prefix which would normally be
69 ;;^DD(9.661,.01,21,2,0)
70 ;;=included as a part of the alpha/beta package based on the
71 ;;^DD(9.661,.01,21,3,0)
72 ;;=prefix specified for the package, but is be excluded from
73 ;;^DD(9.661,.01,21,4,0)
74 ;;=consideration as part of the alpha/beta package.
75 ;;^DD(9.661,.01,"DT")
76 ;;=2940307
77 ;;^DD(9.67,0)
78 ;;=BUILD COMPONENTS SUB-FIELD^^10^2
79 ;;^DD(9.67,0,"DT")
80 ;;=2950330
81 ;;^DD(9.67,0,"IX","B",9.67,.01)
82 ;;=
83 ;;^DD(9.67,0,"NM","BUILD COMPONENTS")
84 ;;=
85 ;;^DD(9.67,0,"UP")
86 ;;=9.6
87 ;;^DD(9.67,.01,0)
88 ;;=BUILD COMPONENT^MP1'XI^DIC(^0;1^S DINUM=+X K:'$G(XPDNEWF) X,DINUM
89 ;;^DD(9.67,.01,1,0)
90 ;;=^.1
91 ;;^DD(9.67,.01,1,1,0)
92 ;;=9.67^B
93 ;;^DD(9.67,.01,1,1,1)
94 ;;=S ^XPD(9.6,DA(1),"KRN","B",$E(X,1,30),DA)=""
95 ;;^DD(9.67,.01,1,1,2)
96 ;;=K ^XPD(9.6,DA(1),"KRN","B",$E(X,1,30),DA)
97 ;;^DD(9.67,.01,21,0)
98 ;;=^^2^2^2940414^
99 ;;^DD(9.67,.01,21,1,0)
100 ;;=The name of a VA Fileman file that will be used as a component
101 ;;^DD(9.67,.01,21,2,0)
102 ;;=of a package.
103 ;;^DD(9.67,.01,"DT")
104 ;;=2940815
105 ;;^DD(9.67,10,0)
106 ;;=ENTRIES^9.68A^^NM;0
107 ;;^DD(9.67,10,21,0)
108 ;;=^^1^1^2940503^
109 ;;^DD(9.67,10,21,1,0)
110 ;;=This multiple is a list of each record that is being sent for a component.
111 ;;^DD(9.68,0)
112 ;;=ENTRIES SUB-FIELD^^.04^4
113 ;;^DD(9.68,0,"DT")
114 ;;=2950330
115 ;;^DD(9.68,0,"IX","B",9.68,.01)
116 ;;=
117 ;;^DD(9.68,0,"NM","ENTRIES")
118 ;;=
119 ;;^DD(9.68,0,"UP")
120 ;;=9.67
121 ;;^DD(9.68,.01,0)
122 ;;=ENTRIES^MFX^^0;1^K:$L(X)>45!($L(X)<2) X I $D(X) D INPUTE^XPDET(.X)
123 ;;^DD(9.68,.01,1,0)
124 ;;=^.1
125 ;;^DD(9.68,.01,1,1,0)
126 ;;=9.68^B
127 ;;^DD(9.68,.01,1,1,1)
128 ;;=S ^XPD(9.6,DA(2),"KRN",DA(1),"NM","B",X,DA)=""
129 ;;^DD(9.68,.01,1,1,2)
130 ;;=K ^XPD(9.6,DA(2),"KRN",DA(1),"NM","B",X,DA)
131 ;;^DD(9.68,.01,1,2,0)
132 ;;=^^TRIGGER^9.68^.02
133 ;;^DD(9.68,.01,1,2,1)
134 ;;=X ^DD(9.68,.01,1,2,1.3) I X S X=DIV S Y(1)=$S($D(^XPD(9.6,D0,"KRN",D1,"NM",D2,0)):^(0),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y X ^DD(9.68,.01,1,2,1.1) X ^DD(9.68,.01,1,2,1.4)
135 ;;^DD(9.68,.01,1,2,1.1)
136 ;;=S X=DIV S X=DIV,Y(1)=X S X=" FILE #",Y(2)=X S X=2,X=$P(Y(1),Y(2),X)
137 ;;^DD(9.68,.01,1,2,1.3)
138 ;;=K DIV S DIV=X,D0=DA(2),DIV(0)=D0,D1=DA(1),DIV(1)=D1,D2=DA,DIV(2)=D2 S Y(0)=X S Y(1)=$S($D(^XPD(9.6,D0,"KRN",D1,0)):^(0),1:"") S X=$P(Y(1),U,1),X=X S X=X<.44
139 ;;^DD(9.68,.01,1,2,1.4)
140 ;;=S DIH=$S($D(^XPD(9.6,DIV(0),"KRN",DIV(1),"NM",DIV(2),0)):^(0),1:""),DIV=X S $P(^(0),U,2)=DIV,DIH=9.68,DIG=.02 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
141 ;;^DD(9.68,.01,1,2,2)
142 ;;=Q
143 ;;^DD(9.68,.01,1,2,"%D",0)
144 ;;=^^2^2^2950117^
145 ;;^DD(9.68,.01,1,2,"%D",1,0)
146 ;;=This trigger updates the FILE field, #.02, with the appropriate file number
147 ;;^DD(9.68,.01,1,2,"%D",2,0)
148 ;;=for this template. It is only triggered for Fileman template components.
149 ;;^DD(9.68,.01,1,2,"CREATE CONDITION")
150 ;;=INTERNAL(KERNEL FILES)<.44
Note: See TracBrowser for help on using the repository browser.