| 1 | DIPKI002 ; ; 30-MAR-1999
 | 
|---|
| 2 |  ;;22.0;VA FileMan;;Mar 30, 1999
 | 
|---|
| 3 |  ;Per VHA Directive 10-93-142, this routine should not be modified.
 | 
|---|
| 4 |  Q:'DIFQ(9.4)  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
 | 
|---|
| 5 | Q Q
 | 
|---|
| 6 |  ;;^DD(9.4,9.1,"DT")
 | 
|---|
| 7 |  ;;=2940603
 | 
|---|
| 8 |  ;;^DD(9.4,9.5,0)
 | 
|---|
| 9 |  ;;=*MENU^9.495^^M;0
 | 
|---|
| 10 |  ;;^DD(9.4,9.5,21,0)
 | 
|---|
| 11 |  ;;=^^1^1^2920513^^^
 | 
|---|
| 12 |  ;;^DD(9.4,9.5,21,1,0)
 | 
|---|
| 13 |  ;;=This is the name of a menu-type option in another namespace.
 | 
|---|
| 14 |  ;;^DD(9.4,9.5,"DT")
 | 
|---|
| 15 |  ;;=2940603
 | 
|---|
| 16 |  ;;^DD(9.4,10,0)
 | 
|---|
| 17 |  ;;=DEVELOPER (PERSON/SITE)^F^^DEV;1^K:$L(X)>50!($L(X)<2) X
 | 
|---|
| 18 |  ;;^DD(9.4,10,3)
 | 
|---|
| 19 |  ;;=Please enter the name of the principal Developer and Site (2-50 characters).
 | 
|---|
| 20 |  ;;^DD(9.4,10,21,0)
 | 
|---|
| 21 |  ;;=^^1^1^2920513^^
 | 
|---|
| 22 |  ;;^DD(9.4,10,21,1,0)
 | 
|---|
| 23 |  ;;=The name of the principal Developer and Site for this Package.
 | 
|---|
| 24 |  ;;^DD(9.4,10.6,0)
 | 
|---|
| 25 |  ;;=*LOWEST FILE NUMBER^NJ12,2^^11;1^K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."3N.N) X
 | 
|---|
| 26 |  ;;^DD(9.4,10.6,3)
 | 
|---|
| 27 |  ;;=Type a Number between 0 and 999999999, 2 Decimal Digits
 | 
|---|
| 28 |  ;;^DD(9.4,10.6,21,0)
 | 
|---|
| 29 |  ;;=^^1^1^2920513^^^^
 | 
|---|
| 30 |  ;;^DD(9.4,10.6,21,1,0)
 | 
|---|
| 31 |  ;;=Inclusive lower bound of the range of file numbers allocated to this package.
 | 
|---|
| 32 |  ;;^DD(9.4,10.6,"DT")
 | 
|---|
| 33 |  ;;=2940603
 | 
|---|
| 34 |  ;;^DD(9.4,11,0)
 | 
|---|
| 35 |  ;;=*HIGHEST FILE NUMBER^NJ12,2^^11;2^K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."3N.N) X
 | 
|---|
| 36 |  ;;^DD(9.4,11,3)
 | 
|---|
| 37 |  ;;=Type a Number between 0 and 999999999, 2 Decimal Digits
 | 
|---|
| 38 |  ;;^DD(9.4,11,21,0)
 | 
|---|
| 39 |  ;;=^^1^1^2920513^^^
 | 
|---|
| 40 |  ;;^DD(9.4,11,21,1,0)
 | 
|---|
| 41 |  ;;=Inclusive upper bound of the range of file numbers assigned to this package.
 | 
|---|
| 42 |  ;;^DD(9.4,11,"DT")
 | 
|---|
| 43 |  ;;=2940603
 | 
|---|
| 44 |  ;;^DD(9.4,11.01,0)
 | 
|---|
| 45 |  ;;=DEVELOPMENT ISC^F^^5;1^K:$L(X)>20!($L(X)<3) X
 | 
|---|
| 46 |  ;;^DD(9.4,11.01,3)
 | 
|---|
| 47 |  ;;=Please enter the name of the ISC (3-20 characters).
 | 
|---|
| 48 |  ;;^DD(9.4,11.01,21,0)
 | 
|---|
| 49 |  ;;=^^1^1^2920513^^^
 | 
|---|
| 50 |  ;;^DD(9.4,11.01,21,1,0)
 | 
|---|
| 51 |  ;;=The ISC responsible for the development and management of this Package.
 | 
|---|
| 52 |  ;;^DD(9.4,11.01,"DT")
 | 
|---|
| 53 |  ;;=2840815
 | 
|---|
| 54 |  ;;^DD(9.4,11.1,0)
 | 
|---|
| 55 |  ;;=*MAINTENANCE ISC^F^^7;1^K:$L(X)>20!($L(X)<3) X
 | 
|---|
| 56 |  ;;^DD(9.4,11.1,3)
 | 
|---|
| 57 |  ;;=Please enter the name of the ISC (3-20 characters).
 | 
|---|
| 58 |  ;;^DD(9.4,11.1,21,0)
 | 
|---|
| 59 |  ;;=^^1^1^2920513^^^
 | 
|---|
| 60 |  ;;^DD(9.4,11.1,21,1,0)
 | 
|---|
| 61 |  ;;=The ISC responsible for the support and maintenance of this Package.
 | 
|---|
| 62 |  ;;^DD(9.4,11.1,"DT")
 | 
|---|
| 63 |  ;;=2940603
 | 
|---|
| 64 |  ;;^DD(9.4,11.3,0)
 | 
|---|
| 65 |  ;;=CLASS^S^I:National;II:Inactive;III:Local;^7;3^Q
 | 
|---|
| 66 |  ;;^DD(9.4,11.3,21,0)
 | 
|---|
| 67 |  ;;=^^1^1^2920513^^
 | 
|---|
| 68 |  ;;^DD(9.4,11.3,21,1,0)
 | 
|---|
| 69 |  ;;=The ranking Class of this software Package.
 | 
|---|
| 70 |  ;;^DD(9.4,11.3,"DT")
 | 
|---|
| 71 |  ;;=2940325
 | 
|---|
| 72 |  ;;^DD(9.4,11.4,0)
 | 
|---|
| 73 |  ;;=*VERIFICATION^9.404ID^^8;0
 | 
|---|
| 74 |  ;;^DD(9.4,11.4,21,0)
 | 
|---|
| 75 |  ;;=^^1^1^2920513^^^
 | 
|---|
| 76 |  ;;^DD(9.4,11.4,21,1,0)
 | 
|---|
| 77 |  ;;=Information about the verification(s) of this Package.
 | 
|---|
| 78 |  ;;^DD(9.4,11.4,"DT")
 | 
|---|
| 79 |  ;;=2940603
 | 
|---|
| 80 |  ;;^DD(9.4,11.5,0)
 | 
|---|
| 81 |  ;;=*ALPHA^P4'^DIC(4,^9;1^Q
 | 
|---|
| 82 |  ;;^DD(9.4,11.5,3)
 | 
|---|
| 83 |  ;;=Please enter the name of the Alpha Test site.
 | 
|---|
| 84 |  ;;^DD(9.4,11.5,21,0)
 | 
|---|
| 85 |  ;;=^^1^1^2920513^^^
 | 
|---|
| 86 |  ;;^DD(9.4,11.5,21,1,0)
 | 
|---|
| 87 |  ;;=The name of this Package's Alpha Test site.
 | 
|---|
| 88 |  ;;^DD(9.4,11.5,"DT")
 | 
|---|
| 89 |  ;;=2940603
 | 
|---|
| 90 |  ;;^DD(9.4,11.6,0)
 | 
|---|
| 91 |  ;;=*BETA^P4'^DIC(4,^9;2^Q
 | 
|---|
| 92 |  ;;^DD(9.4,11.6,3)
 | 
|---|
| 93 |  ;;=Please enter the name of the Beta Test site.
 | 
|---|
| 94 |  ;;^DD(9.4,11.6,21,0)
 | 
|---|
| 95 |  ;;=^^1^1^2920513^^^
 | 
|---|
| 96 |  ;;^DD(9.4,11.6,21,1,0)
 | 
|---|
| 97 |  ;;=The name of this Package's Beta Test site.
 | 
|---|
| 98 |  ;;^DD(9.4,11.6,"DT")
 | 
|---|
| 99 |  ;;=2940603
 | 
|---|
| 100 |  ;;^DD(9.4,11.7,0)
 | 
|---|
| 101 |  ;;=*DELTA^9.409P^^10;0
 | 
|---|
| 102 |  ;;^DD(9.4,11.7,21,0)
 | 
|---|
| 103 |  ;;=^^1^1^2920706^^
 | 
|---|
| 104 |  ;;^DD(9.4,11.7,21,1,0)
 | 
|---|
| 105 |  ;;=The names of the Delta Test sites for this Package.
 | 
|---|
| 106 |  ;;^DD(9.4,11.7,"DT")
 | 
|---|
| 107 |  ;;=2940603
 | 
|---|
| 108 |  ;;^DD(9.4,12,0)
 | 
|---|
| 109 |  ;;=*PRIMARY HELP FRAME^P9.2'^DIC(9.2,^0;4^Q
 | 
|---|
| 110 |  ;;^DD(9.4,12,3)
 | 
|---|
| 111 |  ;;=
 | 
|---|
| 112 |  ;;^DD(9.4,12,21,0)
 | 
|---|
| 113 |  ;;=^^1^1^2920416^^^
 | 
|---|
| 114 |  ;;^DD(9.4,12,21,1,0)
 | 
|---|
| 115 |  ;;=This is the primary Help Frame for this Package.
 | 
|---|
| 116 |  ;;^DD(9.4,12,"DT")
 | 
|---|
| 117 |  ;;=2940603
 | 
|---|
| 118 |  ;;^DD(9.4,13,0)
 | 
|---|
| 119 |  ;;=CURRENT VERSION^F^^VERSION;1^K:$L(X)>8!($L(X)<1)!'(X?1N.ANP) X
 | 
|---|
| 120 |  ;;^DD(9.4,13,3)
 | 
|---|
| 121 |  ;;=Enter the version of this package currently running, (1-8 characters).
 | 
|---|
| 122 |  ;;^DD(9.4,13,21,0)
 | 
|---|
| 123 |  ;;=^^5^5^2920702^
 | 
|---|
| 124 |  ;;^DD(9.4,13,21,1,0)
 | 
|---|
| 125 |  ;;=This field holds the version number of the package currently running
 | 
|---|
| 126 |  ;;^DD(9.4,13,21,2,0)
 | 
|---|
| 127 |  ;;=at this site.  When a package initialization has been run, this field
 | 
|---|
| 128 |  ;;^DD(9.4,13,21,3,0)
 | 
|---|
| 129 |  ;;=will be updated with the version number most recently installed.
 | 
|---|
| 130 |  ;;^DD(9.4,13,21,4,0)
 | 
|---|
| 131 |  ;;=This can be either using the old format (1.0, 16.04, etc.) or the new
 | 
|---|
| 132 |  ;;^DD(9.4,13,21,5,0)
 | 
|---|
| 133 |  ;;=format (18.0T4, 19.1V2, etc.)
 | 
|---|
| 134 |  ;;^DD(9.4,13,"DT")
 | 
|---|
| 135 |  ;;=2860221
 | 
|---|
| 136 |  ;;^DD(9.4,20,0)
 | 
|---|
| 137 |  ;;=AFFECTS RECORD MERGE^9.402P^^20;0
 | 
|---|
| 138 |  ;;^DD(9.4,20,21,0)
 | 
|---|
| 139 |  ;;=^^2^2^2940627^
 | 
|---|
| 140 |  ;;^DD(9.4,20,21,1,0)
 | 
|---|
| 141 |  ;;=This Multipule lists the files that will impact this package if a Record
 | 
|---|
| 142 |  ;;^DD(9.4,20,21,2,0)
 | 
|---|
| 143 |  ;;=Merge is done on any of the files in the list.
 | 
|---|
| 144 |  ;;^DD(9.4,22,0)
 | 
|---|
| 145 |  ;;=VERSION^9.49I^^22;0
 | 
|---|
| 146 |  ;;^DD(9.4,22,21,0)
 | 
|---|
| 147 |  ;;=^^1^1^2930415^^^^
 | 
|---|
| 148 |  ;;^DD(9.4,22,21,1,0)
 | 
|---|
| 149 |  ;;=The version numbers of this Package.
 | 
|---|
| 150 |  ;;^DD(9.4,200.1,0)
 | 
|---|
| 151 |  ;;=*USER TERMINATE TAG^F^^200;1^K:$L(X)>8!($L(X)<1)!'((X?1U.UN)!(X?1N.N)) X
 | 
|---|
| 152 |  ;;^DD(9.4,200.1,3)
 | 
|---|
| 153 |  ;;=Enter the entry TAG for the routine in field 200.2
 | 
|---|
| 154 |  ;;^DD(9.4,200.1,21,0)
 | 
|---|
| 155 |  ;;=^^3^3^2920306^^^
 | 
|---|
| 156 |  ;;^DD(9.4,200.1,21,1,0)
 | 
|---|
| 157 |  ;;=This field holds the entry point into the routine that will be called at
 | 
|---|
| 158 |  ;;^DD(9.4,200.1,21,2,0)
 | 
|---|
| 159 |  ;;=the time that a USER (File 200 entry with access/verify codes) is
 | 
|---|
| 160 |  ;;^DD(9.4,200.1,21,3,0)
 | 
|---|
| 161 |  ;;=terminated. See field 200.2
 | 
|---|
| 162 |  ;;^DD(9.4,200.1,"DT")
 | 
|---|
| 163 |  ;;=2940603
 | 
|---|
| 164 |  ;;^DD(9.4,200.2,0)
 | 
|---|
| 165 |  ;;=*USER TERMINATE ROUTINE^F^^200;2^K:$L(X)>8!($L(X)<2)!'(X?2U.UN) X
 | 
|---|
| 166 |  ;;^DD(9.4,200.2,3)
 | 
|---|
| 167 |  ;;=Enter a 2-8 character routine name.
 | 
|---|
| 168 |  ;;^DD(9.4,200.2,21,0)
 | 
|---|
| 169 |  ;;=^^7^7^2920306^^^
 | 
|---|
| 170 |  ;;^DD(9.4,200.2,21,1,0)
 | 
|---|
| 171 |  ;;=This field holds the name of a routine that will be called at the time
 | 
|---|
| 172 |  ;;^DD(9.4,200.2,21,2,0)
 | 
|---|
| 173 |  ;;=that a USER (File 200 entry with access/verify codes) is terminated.
 | 
|---|
| 174 |  ;;^DD(9.4,200.2,21,3,0)
 | 
|---|
| 175 |  ;;=ie. has their access/verify codes removed.
 | 
|---|
| 176 |  ;;^DD(9.4,200.2,21,4,0)
 | 
|---|
| 177 |  ;;=This is to allow each package to do their own clean-up.
 | 
|---|
| 178 |  ;;^DD(9.4,200.2,21,5,0)
 | 
|---|
| 179 |  ;;= 
 | 
|---|
| 180 |  ;;^DD(9.4,200.2,21,6,0)
 | 
|---|
| 181 |  ;;=At the time the call is made DA will hold the IFN of the user being
 | 
|---|
| 182 |  ;;^DD(9.4,200.2,21,7,0)
 | 
|---|
| 183 |  ;;=terminated. This normally runs in the background without an IO device.
 | 
|---|
| 184 |  ;;^DD(9.4,200.2,"DT")
 | 
|---|
| 185 |  ;;=2940603
 | 
|---|
| 186 |  ;;^DD(9.4,913,0)
 | 
|---|
| 187 |  ;;=*ENVIRONMENT CHECK ROUTINE^F^^PRE;1^K:$L(X)>8!($L(X)<3) X
 | 
|---|
| 188 |  ;;^DD(9.4,913,.1)
 | 
|---|
| 189 |  ;;=DEVELOPERS ROUTINE RUN BEFORE 'INIT' QUESTIONS ASKED
 | 
|---|
| 190 |  ;;^DD(9.4,913,3)
 | 
|---|
| 191 |  ;;=Enter name of developer's environment check routine (3-8 characters) that runs before any user questions are asked.  This routine should be used for environment check only and should not alter data.
 | 
|---|
| 192 |  ;;^DD(9.4,913,21,0)
 | 
|---|
| 193 |  ;;=^^4^4^2921202^
 | 
|---|
| 194 |  ;;^DD(9.4,913,21,1,0)
 | 
|---|
| 195 |  ;;=The name of the developer's routine which is run at the beginning of
 | 
|---|
| 196 |  ;;^DD(9.4,913,21,2,0)
 | 
|---|
| 197 |  ;;=the NAMESPACE_INIT routine.  This should just check the environment
 | 
|---|
| 198 |  ;;^DD(9.4,913,21,3,0)
 | 
|---|
| 199 |  ;;=and should not alter any data, since the user has no way to exit out of
 | 
|---|
| 200 |  ;;^DD(9.4,913,21,4,0)
 | 
|---|
| 201 |  ;;=the INIT process until this program runs to completion.
 | 
|---|