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

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

initial load of FOIAVistA 6/30/08 version

File size: 4.7 KB
Line 
1XPDIN007 ; ; 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.641,.01,21,11,0)
6 ;;=
7 ;;^DD(9.641,.01,21,12,0)
8 ;;=After selecting a valid DD NUMBER you will then be prompted to select
9 ;;^DD(9.641,.01,21,13,0)
10 ;;=field number(s).
11 ;;^DD(9.641,.01,21,14,0)
12 ;;=
13 ;;^DD(9.641,.01,21,15,0)
14 ;;=If a DD NUMBER is selected and no fields are selected, KIDS will send all
15 ;;^DD(9.641,.01,21,16,0)
16 ;;=the fields contained within, including multiple fields below the selected
17 ;;^DD(9.641,.01,21,17,0)
18 ;;=level.
19 ;;^DD(9.641,.01,"DT")
20 ;;=2940829
21 ;;^DD(9.641,.02,0)
22 ;;=CHECKSUM^F^^0;2^K:$L(X)>30!($L(X)<3) X
23 ;;^DD(9.641,.02,3)
24 ;;=Answer must be 3-30 characters in length.
25 ;;^DD(9.641,.02,21,0)
26 ;;=^^1^1^2950330^
27 ;;^DD(9.641,.02,21,1,0)
28 ;;=This field contains the checksum for this subDD
29 ;;^DD(9.641,.02,"DT")
30 ;;=2950330
31 ;;^DD(9.641,1,0)
32 ;;=FIELD NUMBER^9.6411^^1;0
33 ;;^DD(9.641,1,"DT")
34 ;;=2940525
35 ;;^DD(9.6411,0)
36 ;;=FIELD NUMBER SUB-FIELD^^.02^2
37 ;;^DD(9.6411,0,"DT")
38 ;;=2950330
39 ;;^DD(9.6411,0,"NM","FIELD NUMBER")
40 ;;=
41 ;;^DD(9.6411,0,"UP")
42 ;;=9.641
43 ;;^DD(9.6411,.01,0)
44 ;;=FIELD NUMBER^MFX^^0;1^K:X[""""!($A(X)=45) X I $D(X) S X=$$FLDCHK^DIFROMSD(D2,+$G(X),"MN") K:X'>0 X S:$D(X) DINUM=+X,X=$P(X,"^",2)
45 ;;^DD(9.6411,.01,1,0)
46 ;;=^.1
47 ;;^DD(9.6411,.01,1,1,0)
48 ;;=9.64^APDD^MUMPS
49 ;;^DD(9.6411,.01,1,1,1)
50 ;;=S ^XPD(9.6,DA(3),4,"APDD",DA(2),DA(1),DA)=""
51 ;;^DD(9.6411,.01,1,1,2)
52 ;;=K ^XPD(9.6,DA(3),4,"APDD",DA(2),DA(1),DA)
53 ;;^DD(9.6411,.01,1,1,"%D",0)
54 ;;=^^2^2^2950117^
55 ;;^DD(9.6411,.01,1,1,"%D",1,0)
56 ;;=Used to create an array structure containing Partial DDs. This array
57 ;;^DD(9.6411,.01,1,1,"%D",2,0)
58 ;;=is passed to FIA^DIFROMSU as a list of DD numbers and fields to transport.
59 ;;^DD(9.6411,.01,1,1,"DT")
60 ;;=2940525
61 ;;^DD(9.6411,.01,3)
62 ;;=Enter a valid field NUMBER.
63 ;;^DD(9.6411,.01,4)
64 ;;=D DDIOLFLD^DIFROMSD(D2,"M")
65 ;;^DD(9.6411,.01,21,0)
66 ;;=^^13^13^2940903^
67 ;;^DD(9.6411,.01,21,1,0)
68 ;;=
69 ;;^DD(9.6411,.01,21,2,0)
70 ;;=Select field(s) to be sent for this Partial Data Dictionary.
71 ;;^DD(9.6411,.01,21,3,0)
72 ;;=
73 ;;^DD(9.6411,.01,21,4,0)
74 ;;=Only the attributes for the field(s) selected are sent. Attributes such
75 ;;^DD(9.6411,.01,21,5,0)
76 ;;=as identifers, "ID" nodes for a field, are not sent when sending a
77 ;;^DD(9.6411,.01,21,6,0)
78 ;;=partial. Some attributes are considered file attributes, such as
79 ;;^DD(9.6411,.01,21,7,0)
80 ;;=identifiers, and are only sent with a Full Data Dictionary.
81 ;;^DD(9.6411,.01,21,8,0)
82 ;;=
83 ;;^DD(9.6411,.01,21,9,0)
84 ;;=If the .01 field for a sub-file, multiple, is selected, the field at the
85 ;;^DD(9.6411,.01,21,10,0)
86 ;;=level above, which points to the multiple, is automatically sent.
87 ;;^DD(9.6411,.01,21,11,0)
88 ;;=
89 ;;^DD(9.6411,.01,21,12,0)
90 ;;=If no field is selected, all fields will be sent, as well as the multiple
91 ;;^DD(9.6411,.01,21,13,0)
92 ;;=fields below this level.
93 ;;^DD(9.6411,.01,"DT")
94 ;;=2940906
95 ;;^DD(9.6411,.02,0)
96 ;;=CHECKSUM^F^^0;2^K:$L(X)>30!($L(X)<3) X
97 ;;^DD(9.6411,.02,3)
98 ;;=Answer must be 3-30 characters in length.
99 ;;^DD(9.6411,.02,21,0)
100 ;;=^^1^1^2950330^
101 ;;^DD(9.6411,.02,21,1,0)
102 ;;=This field contains the checksum for this field.
103 ;;^DD(9.6411,.02,"DT")
104 ;;=2950330
105 ;;^DD(9.65,0)
106 ;;=GLOBAL SUB-FIELD^^1^2
107 ;;^DD(9.65,0,"DT")
108 ;;=2950105
109 ;;^DD(9.65,0,"IX","B",9.65,.01)
110 ;;=
111 ;;^DD(9.65,0,"NM","GLOBAL")
112 ;;=
113 ;;^DD(9.65,0,"UP")
114 ;;=9.6
115 ;;^DD(9.65,.01,0)
116 ;;=GLOBAL^MFXO^^0;1^D GLOBALE^XPDET(.X)
117 ;;^DD(9.65,.01,1,0)
118 ;;=^.1
119 ;;^DD(9.65,.01,1,1,0)
120 ;;=9.65^B
121 ;;^DD(9.65,.01,1,1,1)
122 ;;=S ^XPD(9.6,DA(1),"GLO","B",$E(X,1,30),DA)=""
123 ;;^DD(9.65,.01,1,1,2)
124 ;;=K ^XPD(9.6,DA(1),"GLO","B",$E(X,1,30),DA)
125 ;;^DD(9.65,.01,2)
126 ;;=S Y(0)=Y S Y=$TR(Y,"'","""")
127 ;;^DD(9.65,.01,2.1)
128 ;;=S Y=$TR(Y,"'","""")
129 ;;^DD(9.65,.01,3)
130 ;;=Answer must be 2-30 characters in length and not begining with "^".
131 ;;^DD(9.65,.01,7.5)
132 ;;=S X=$TR(X,"""","'")
133 ;;^DD(9.65,.01,21,0)
134 ;;=^^2^2^2950105^^^
135 ;;^DD(9.65,.01,21,1,0)
136 ;;=Enter a global name or a closed global root you want to transport.
137 ;;^DD(9.65,.01,21,2,0)
138 ;;=The global should not begin with a "^". i.e. %ZIS(2).
139 ;;^DD(9.65,.01,"DT")
140 ;;=2950106
141 ;;^DD(9.65,1,0)
142 ;;=KILL GLOBAL BEFORE INSTALL^S^y:YES;n:NO;^0;2^Q
143 ;;^DD(9.65,1,21,0)
144 ;;=^^5^5^2950105^
145 ;;^DD(9.65,1,21,1,0)
146 ;;=YES means that you want this global killed before it is installed
147 ;;^DD(9.65,1,21,2,0)
148 ;;=at the installing site.
149 ;;^DD(9.65,1,21,3,0)
150 ;;=
151 ;;^DD(9.65,1,21,4,0)
152 ;;=NO means you want this global install on top of the existing global
153 ;;^DD(9.65,1,21,5,0)
154 ;;=at the installing site.
155 ;;^DD(9.65,1,"DT")
156 ;;=2950105
157 ;;^DD(9.66,0)
158 ;;=PACKAGE NAMESPACE OR PREFIX SUB-FIELD^^1^2
159 ;;^DD(9.66,0,"DT")
160 ;;=2940307
Note: See TracBrowser for help on using the repository browser.