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