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

XPDIN008.m

Go to the documentation of this file.
  1. XPDIN008 ; ; 03-JUL-1995
  1. ;;8.0;KERNEL;;JUL 10, 1995
  1. 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
  1. Q Q
  1. ;;^DD(9.66,0,"IX","B",9.66,.01)
  1. ;;=
  1. ;;^DD(9.66,0,"NM","PACKAGE NAMESPACE OR PREFIX")
  1. ;;=
  1. ;;^DD(9.66,0,"UP")
  1. ;;=9.6
  1. ;;^DD(9.66,.01,0)
  1. ;;=PACKAGE NAMESPACE OR PREFIX^MF^^0;1^K:$L(X)>4!($L(X)<2) X
  1. ;;^DD(9.66,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.66,.01,1,1,0)
  1. ;;=9.66^B
  1. ;;^DD(9.66,.01,1,1,1)
  1. ;;=S ^XPD(9.6,DA(1),"ABNS","B",$E(X,1,30),DA)=""
  1. ;;^DD(9.66,.01,1,1,2)
  1. ;;=K ^XPD(9.6,DA(1),"ABNS","B",$E(X,1,30),DA)
  1. ;;^DD(9.66,.01,3)
  1. ;;=This is (one of) the 2 to 4 character namespaces or prefixes associated with the test package
  1. ;;^DD(9.66,.01,21,0)
  1. ;;=^^1^1^2940307^
  1. ;;^DD(9.66,.01,21,1,0)
  1. ;;=This field identifies on of the alpha/beta package namespaces.
  1. ;;^DD(9.66,.01,"DT")
  1. ;;=2940307
  1. ;;^DD(9.66,1,0)
  1. ;;=EXCLUDE NAMESPACE OR PREFIX^9.661A^^1;0
  1. ;;^DD(9.66,1,21,0)
  1. ;;=^^5^5^2940502^^^
  1. ;;^DD(9.66,1,21,1,0)
  1. ;;=This multiple field is used to indicate any specific namespaces
  1. ;;^DD(9.66,1,21,2,0)
  1. ;;=or prefixes which begin with the current namespace or prefix
  1. ;;^DD(9.66,1,21,3,0)
  1. ;;=which should be excluded from analyses for the alpha/beta
  1. ;;^DD(9.66,1,21,4,0)
  1. ;;=package. Generally those namespaces which are immediately
  1. ;;^DD(9.66,1,21,5,0)
  1. ;;=followed by the letter 'Z' are excluded.
  1. ;;^DD(9.661,0)
  1. ;;=EXCLUDE NAMESPACE OR PREFIX SUB-FIELD^^.01^1
  1. ;;^DD(9.661,0,"DT")
  1. ;;=2940307
  1. ;;^DD(9.661,0,"IX","B",9.661,.01)
  1. ;;=
  1. ;;^DD(9.661,0,"NM","EXCLUDE NAMESPACE OR PREFIX")
  1. ;;=
  1. ;;^DD(9.661,0,"UP")
  1. ;;=9.66
  1. ;;^DD(9.661,.01,0)
  1. ;;=EXCLUDE NAMESPACE OR PREFIX^MF^^0;1^K:$L(X)>4!($L(X)<2) X
  1. ;;^DD(9.661,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.661,.01,1,1,0)
  1. ;;=9.661^B
  1. ;;^DD(9.661,.01,1,1,1)
  1. ;;=S ^XPD(9.6,DA(2),"ABNS",DA(1),1,"B",$E(X,1,30),DA)=""
  1. ;;^DD(9.661,.01,1,1,2)
  1. ;;=K ^XPD(9.6,DA(2),"ABNS",DA(1),1,"B",$E(X,1,30),DA)
  1. ;;^DD(9.661,.01,3)
  1. ;;=Answer must be 2-4 characters in length.
  1. ;;^DD(9.661,.01,21,0)
  1. ;;=^^4^4^2940307^
  1. ;;^DD(9.661,.01,21,1,0)
  1. ;;=This is a specific namespace or prefix which would normally be
  1. ;;^DD(9.661,.01,21,2,0)
  1. ;;=included as a part of the alpha/beta package based on the
  1. ;;^DD(9.661,.01,21,3,0)
  1. ;;=prefix specified for the package, but is be excluded from
  1. ;;^DD(9.661,.01,21,4,0)
  1. ;;=consideration as part of the alpha/beta package.
  1. ;;^DD(9.661,.01,"DT")
  1. ;;=2940307
  1. ;;^DD(9.67,0)
  1. ;;=BUILD COMPONENTS SUB-FIELD^^10^2
  1. ;;^DD(9.67,0,"DT")
  1. ;;=2950330
  1. ;;^DD(9.67,0,"IX","B",9.67,.01)
  1. ;;=
  1. ;;^DD(9.67,0,"NM","BUILD COMPONENTS")
  1. ;;=
  1. ;;^DD(9.67,0,"UP")
  1. ;;=9.6
  1. ;;^DD(9.67,.01,0)
  1. ;;=BUILD COMPONENT^MP1'XI^DIC(^0;1^S DINUM=+X K:'$G(XPDNEWF) X,DINUM
  1. ;;^DD(9.67,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.67,.01,1,1,0)
  1. ;;=9.67^B
  1. ;;^DD(9.67,.01,1,1,1)
  1. ;;=S ^XPD(9.6,DA(1),"KRN","B",$E(X,1,30),DA)=""
  1. ;;^DD(9.67,.01,1,1,2)
  1. ;;=K ^XPD(9.6,DA(1),"KRN","B",$E(X,1,30),DA)
  1. ;;^DD(9.67,.01,21,0)
  1. ;;=^^2^2^2940414^
  1. ;;^DD(9.67,.01,21,1,0)
  1. ;;=The name of a VA Fileman file that will be used as a component
  1. ;;^DD(9.67,.01,21,2,0)
  1. ;;=of a package.
  1. ;;^DD(9.67,.01,"DT")
  1. ;;=2940815
  1. ;;^DD(9.67,10,0)
  1. ;;=ENTRIES^9.68A^^NM;0
  1. ;;^DD(9.67,10,21,0)
  1. ;;=^^1^1^2940503^
  1. ;;^DD(9.67,10,21,1,0)
  1. ;;=This multiple is a list of each record that is being sent for a component.
  1. ;;^DD(9.68,0)
  1. ;;=ENTRIES SUB-FIELD^^.04^4
  1. ;;^DD(9.68,0,"DT")
  1. ;;=2950330
  1. ;;^DD(9.68,0,"IX","B",9.68,.01)
  1. ;;=
  1. ;;^DD(9.68,0,"NM","ENTRIES")
  1. ;;=
  1. ;;^DD(9.68,0,"UP")
  1. ;;=9.67
  1. ;;^DD(9.68,.01,0)
  1. ;;=ENTRIES^MFX^^0;1^K:$L(X)>45!($L(X)<2) X I $D(X) D INPUTE^XPDET(.X)
  1. ;;^DD(9.68,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.68,.01,1,1,0)
  1. ;;=9.68^B
  1. ;;^DD(9.68,.01,1,1,1)
  1. ;;=S ^XPD(9.6,DA(2),"KRN",DA(1),"NM","B",X,DA)=""
  1. ;;^DD(9.68,.01,1,1,2)
  1. ;;=K ^XPD(9.6,DA(2),"KRN",DA(1),"NM","B",X,DA)
  1. ;;^DD(9.68,.01,1,2,0)
  1. ;;=^^TRIGGER^9.68^.02
  1. ;;^DD(9.68,.01,1,2,1)
  1. ;;=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)
  1. ;;^DD(9.68,.01,1,2,1.1)
  1. ;;=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)
  1. ;;^DD(9.68,.01,1,2,1.3)
  1. ;;=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
  1. ;;^DD(9.68,.01,1,2,1.4)
  1. ;;=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
  1. ;;^DD(9.68,.01,1,2,2)
  1. ;;=Q
  1. ;;^DD(9.68,.01,1,2,"%D",0)
  1. ;;=^^2^2^2950117^
  1. ;;^DD(9.68,.01,1,2,"%D",1,0)
  1. ;;=This trigger updates the FILE field, #.02, with the appropriate file number
  1. ;;^DD(9.68,.01,1,2,"%D",2,0)
  1. ;;=for this template. It is only triggered for Fileman template components.
  1. ;;^DD(9.68,.01,1,2,"CREATE CONDITION")
  1. ;;=INTERNAL(KERNEL FILES)<.44