Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DIPKI004

DIPKI004.m

Go to the documentation of this file.
  1. DIPKI004 ; ; 30-MAR-1999
  1. ;;22.0;VA FileMan;;Mar 30, 1999
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. 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
  1. Q Q
  1. ;;^DD(9.4,1946,21,2,0)
  1. ;;=along with the Package.
  1. ;;^DD(9.4,1946,"DT")
  1. ;;=2940606
  1. ;;^DD(9.4,15007,0)
  1. ;;=SYNONYM^9.415007^^15007;0
  1. ;;^DD(9.402,0)
  1. ;;=AFFECTS RECORD MERGE SUB-FIELD^^4^3
  1. ;;^DD(9.402,0,"DT")
  1. ;;=2900906
  1. ;;^DD(9.402,0,"IX","B",9.402,.01)
  1. ;;=
  1. ;;^DD(9.402,0,"NM","AFFECTS RECORD MERGE")
  1. ;;=
  1. ;;^DD(9.402,0,"UP")
  1. ;;=9.4
  1. ;;^DD(9.402,.01,0)
  1. ;;=FILE AFFECTED^*P1'X^DIC(^0;1^S DIC("S")="I $D(^DD(15,.01,""V"",""B"",Y))" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X S:$D(X) DINUM=X
  1. ;;^DD(9.402,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.402,.01,1,1,0)
  1. ;;=9.402^B
  1. ;;^DD(9.402,.01,1,1,1)
  1. ;;=S ^DIC(9.4,DA(1),20,"B",$E(X,1,30),DA)=""
  1. ;;^DD(9.402,.01,1,1,2)
  1. ;;=K ^DIC(9.4,DA(1),20,"B",$E(X,1,30),DA)
  1. ;;^DD(9.402,.01,1,2,0)
  1. ;;=9.4^AMRG
  1. ;;^DD(9.402,.01,1,2,1)
  1. ;;=S ^DIC(9.4,"AMRG",$E(X,1,30),DA(1),DA)=""
  1. ;;^DD(9.402,.01,1,2,2)
  1. ;;=K ^DIC(9.4,"AMRG",$E(X,1,30),DA(1),DA)
  1. ;;^DD(9.402,.01,1,2,"%D",0)
  1. ;;=^^2^2^2900906^
  1. ;;^DD(9.402,.01,1,2,"%D",1,0)
  1. ;;=This xref is used by the merge process to determine if any package
  1. ;;^DD(9.402,.01,1,2,"%D",2,0)
  1. ;;=file entry affects the file being merged.
  1. ;;^DD(9.402,.01,1,2,"DT")
  1. ;;=2900906
  1. ;;^DD(9.402,.01,3)
  1. ;;=Pointer to a file that has been added to FILE 15's variable pointer.
  1. ;;^DD(9.402,.01,12)
  1. ;;=MUST BE VARIABLE POINTER FILE IN FIELD .01 OF FILE 15
  1. ;;^DD(9.402,.01,12.1)
  1. ;;=S DIC("S")="I $D(^DD(15,.01,""V"",""B"",Y))"
  1. ;;^DD(9.402,.01,21,0)
  1. ;;=^^1^1^2940627^^
  1. ;;^DD(9.402,.01,21,1,0)
  1. ;;=A file that if merged will affect this package.
  1. ;;^DD(9.402,.01,"DT")
  1. ;;=2900910
  1. ;;^DD(9.402,3,0)
  1. ;;=NAME OF MERGE ROUTINE^F^^0;3^K:$L(X)>8!($L(X)<2)!'(X?1U1.7UN) X
  1. ;;^DD(9.402,3,3)
  1. ;;=Answer with a routine name (1U.1.7UN).
  1. ;;^DD(9.402,3,21,0)
  1. ;;=^^4^4^2930330^
  1. ;;^DD(9.402,3,21,1,0)
  1. ;;=This field holds the routine name to call when two records in
  1. ;;^DD(9.402,3,21,2,0)
  1. ;;=an affected file are to be merged. This allows the package to
  1. ;;^DD(9.402,3,21,3,0)
  1. ;;=do any repointing or other clean-up needed before the records
  1. ;;^DD(9.402,3,21,4,0)
  1. ;;=are merged.
  1. ;;^DD(9.402,3,"DT")
  1. ;;=2900816
  1. ;;^DD(9.402,4,0)
  1. ;;=RECORD HAS PACKAGE DATA^K^^1;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(9.402,4,3)
  1. ;;=This is Standard MUMPS code. To tell if this record has data in this package.
  1. ;;^DD(9.402,4,9)
  1. ;;=@
  1. ;;^DD(9.402,4,"DT")
  1. ;;=2900816
  1. ;;^DD(9.404,0)
  1. ;;=*VERIFICATION SUB-FIELD^NL^3^4
  1. ;;^DD(9.404,0,"ID",1)
  1. ;;=W:$D(^(0)) " ",$P(^(0),U,2)
  1. ;;^DD(9.404,0,"NM","*VERIFICATION")
  1. ;;=
  1. ;;^DD(9.404,0,"UP")
  1. ;;=9.4
  1. ;;^DD(9.404,.01,0)
  1. ;;=VERIFICATION^DX^^0;1^S %DT="E" D ^%DT S (DINUM,X)=Y K:Y<1 DINUM,X
  1. ;;^DD(9.404,.01,21,0)
  1. ;;=^^1^1^2920513^^^
  1. ;;^DD(9.404,.01,21,1,0)
  1. ;;=Date of notification that this software has been verified.
  1. ;;^DD(9.404,.01,"DT")
  1. ;;=2840815
  1. ;;^DD(9.404,1,0)
  1. ;;=ISC^F^^0;2^K:$L(X)>20!($L(X)<2) X
  1. ;;^DD(9.404,1,3)
  1. ;;=The name of the ISC responsible for verification (3-20 characters).
  1. ;;^DD(9.404,1,21,0)
  1. ;;=^^1^1^2920513^^
  1. ;;^DD(9.404,1,21,1,0)
  1. ;;=The name of the ISC where this verification was done.
  1. ;;^DD(9.404,1,"DT")
  1. ;;=2840815
  1. ;;^DD(9.404,2,0)
  1. ;;=VERSION^NJ6,2^^0;3^K:+X'=X!(X>999)!(X<0)!(X?.E1"."3N.N) X
  1. ;;^DD(9.404,2,3)
  1. ;;=Please enter the version number of this verified Package (0.00-999.99).
  1. ;;^DD(9.404,2,21,0)
  1. ;;=^^1^1^2920513^^
  1. ;;^DD(9.404,2,21,1,0)
  1. ;;=The version number of this verified Package.
  1. ;;^DD(9.404,2,"DT")
  1. ;;=2840815
  1. ;;^DD(9.404,3,0)
  1. ;;=COMMENTS^9.414^^1;0
  1. ;;^DD(9.404,3,21,0)
  1. ;;=^^1^1^2920513^^
  1. ;;^DD(9.404,3,21,1,0)
  1. ;;=Comments regarding this verified version of the Package.
  1. ;;^DD(9.409,0)
  1. ;;=*DELTA SUB-FIELD^NL^.01^1
  1. ;;^DD(9.409,0,"NM","*DELTA")
  1. ;;=
  1. ;;^DD(9.409,0,"UP")
  1. ;;=9.4
  1. ;;^DD(9.409,.01,0)
  1. ;;=DELTA^MP4'X^DIC(4,^0;1^S:$D(X) DINUM=X
  1. ;;^DD(9.409,.01,3)
  1. ;;=Please enter the name of the Delta Test site.
  1. ;;^DD(9.409,.01,21,0)
  1. ;;=^^1^1^2851007^
  1. ;;^DD(9.409,.01,21,1,0)
  1. ;;=The name of a Delta Test site for this Package.
  1. ;;^DD(9.409,.01,"DT")
  1. ;;=2840815
  1. ;;^DD(9.41,0)
  1. ;;=DESCRIPTION SUB-FIELD^NL^.01^1
  1. ;;^DD(9.41,0,"NM","DESCRIPTION")
  1. ;;=
  1. ;;^DD(9.41,0,"UP")
  1. ;;=9.4
  1. ;;^DD(9.41,.01,0)
  1. ;;=DESCRIPTION^W^^0;1^Q
  1. ;;^DD(9.41,.01,3)
  1. ;;=Please enter a complete and detailed description of the Package.
  1. ;;^DD(9.41,.01,21,0)
  1. ;;=^^2^2^2920513^^^^
  1. ;;^DD(9.41,.01,21,1,0)
  1. ;;=This is a complete and detailed description of the Package's functions
  1. ;;^DD(9.41,.01,21,2,0)
  1. ;;=and capabilities.
  1. ;;^DD(9.41,.01,"DT")
  1. ;;=2851007
  1. ;;^DD(9.414,0)
  1. ;;=COMMENTS SUB-FIELD^NL^.01^1
  1. ;;^DD(9.414,0,"NM","COMMENTS")
  1. ;;=
  1. ;;^DD(9.414,0,"UP")
  1. ;;=9.404
  1. ;;^DD(9.414,.01,0)
  1. ;;=COMMENTS^W^^0;1^Q
  1. ;;^DD(9.414,.01,3)
  1. ;;=Comments relating to verification
  1. ;;^DD(9.414,.01,21,0)
  1. ;;=^^1^1^2920513^^^
  1. ;;^DD(9.414,.01,21,1,0)
  1. ;;=Comments regarding this verified version of the Package.
  1. ;;^DD(9.414,.01,"DT")
  1. ;;=2840815
  1. ;;^DD(9.415007,0)
  1. ;;=SYNONYM SUB-FIELD^^.01^1
  1. ;;^DD(9.415007,0,"DT")
  1. ;;=2941020
  1. ;;^DD(9.415007,0,"IX","B",9.415007,.01)
  1. ;;=
  1. ;;^DD(9.415007,0,"NM","SYNONYM")
  1. ;;=
  1. ;;^DD(9.415007,0,"UP")
  1. ;;=9.4
  1. ;;^DD(9.415007,.01,0)
  1. ;;=SYNONYM^F^^0;1^K:$L(X)>30!($L(X)<2) X
  1. ;;^DD(9.415007,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.415007,.01,1,1,0)
  1. ;;=9.415007^B
  1. ;;^DD(9.415007,.01,1,1,1)
  1. ;;=S ^DIC(9.4,DA(1),15007,"B",$E(X,1,30),DA)=""
  1. ;;^DD(9.415007,.01,1,1,2)
  1. ;;=K ^DIC(9.4,DA(1),15007,"B",$E(X,1,30),DA)
  1. ;;^DD(9.415007,.01,1,2,0)
  1. ;;=9.4^E
  1. ;;^DD(9.415007,.01,1,2,1)
  1. ;;=S ^DIC(9.4,"E",$E(X,1,30),DA(1),DA)=""
  1. ;;^DD(9.415007,.01,1,2,2)
  1. ;;=K ^DIC(9.4,"E",$E(X,1,30),DA(1),DA)
  1. ;;^DD(9.415007,.01,1,2,"%D",0)
  1. ;;=^^2^2^2941020^
  1. ;;^DD(9.415007,.01,1,2,"%D",1,0)
  1. ;;=This allow the lookup of a package other than it's official name.
  1. ;;^DD(9.415007,.01,1,2,"%D",2,0)
  1. ;;=It is'nt used by the Kernel VERSION function.
  1. ;;^DD(9.415007,.01,1,2,"DT")
  1. ;;=2941020
  1. ;;^DD(9.415007,.01,3)
  1. ;;=Answer must be 2-30 characters in length.
  1. ;;^DD(9.415007,.01,"DT")
  1. ;;=2941020
  1. ;;^DD(9.42,0)
  1. ;;=*ROUTINE SUB-FIELD^NL^.01^1
  1. ;;^DD(9.42,0,"IX","B",9.42,.01)
  1. ;;=
  1. ;;^DD(9.42,0,"NM","*ROUTINE")
  1. ;;=
  1. ;;^DD(9.42,0,"UP")
  1. ;;=9.4
  1. ;;^DD(9.42,.01,0)
  1. ;;=ROUTINE^MFX^^0;1^K:$L(X)>8!($L(X)<1)!'(X?.UN!(X?1"%".UN)) X
  1. ;;^DD(9.42,.01,1,0)
  1. ;;=^.1^^-1
  1. ;;^DD(9.42,.01,1,1,0)
  1. ;;=9.4^D
  1. ;;^DD(9.42,.01,1,1,1)
  1. ;;=S ^DIC(9.4,"D",X,DA(1))=""
  1. ;;^DD(9.42,.01,1,1,2)
  1. ;;=K ^DIC(9.4,"D",X,DA(1))
  1. ;;^DD(9.42,.01,1,2,0)
  1. ;;=9.42^B
  1. ;;^DD(9.42,.01,1,2,1)
  1. ;;=S ^DIC(9.4,DA(1),2,"B",X,DA)=""
  1. ;;^DD(9.42,.01,1,2,2)
  1. ;;=K ^DIC(9.4,DA(1),2,"B",X,DA)
  1. ;;^DD(9.42,.01,3)
  1. ;;=Please enter a routine name (1-8 characters).
  1. ;;^DD(9.42,.01,21,0)
  1. ;;=^^3^3^2920513^^^^