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

XPDIN006.m

Go to the documentation of this file.
  1. XPDIN006 ; ; 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.64,222.8,3)
  1. ;;=
  1. ;;^DD(9.64,222.8,21,0)
  1. ;;=7^^9^9^2941108^^^^
  1. ;;^DD(9.64,222.8,21,1,0)
  1. ;;=ADD ONLY IF NEW will install data at the installing site only if this
  1. ;;^DD(9.64,222.8,21,2,0)
  1. ;;=file is new to the site or there is no data in this file at the site.
  1. ;;^DD(9.64,222.8,21,3,0)
  1. ;;=MERGE data will only bring in data which is not already on file at
  1. ;;^DD(9.64,222.8,21,4,0)
  1. ;;=the installing site.
  1. ;;^DD(9.64,222.8,21,5,0)
  1. ;;=OVERWRITE data will be put in place regardless of what is on file
  1. ;;^DD(9.64,222.8,21,6,0)
  1. ;;=at the installing site.
  1. ;;^DD(9.64,222.8,21,7,0)
  1. ;;=REPLACE will delete the installing site's data before installing data for
  1. ;;^DD(9.64,222.8,21,8,0)
  1. ;;=this file. It will preserve locally developed fields, if they were created
  1. ;;^DD(9.64,222.8,21,9,0)
  1. ;;=within the VA Programming Standards and Conventions.
  1. ;;^DD(9.64,222.8,"DT")
  1. ;;=2940831
  1. ;;^DD(9.64,222.9,0)
  1. ;;=MAY USER OVERRIDE DATA UPDATE^S^y:YES;n:NO;^222;9^Q
  1. ;;^DD(9.64,222.9,3)
  1. ;;=
  1. ;;^DD(9.64,222.9,21,0)
  1. ;;=7^^7^7^2940414^^^
  1. ;;^DD(9.64,222.9,21,1,0)
  1. ;;=YES means that the user has the option to determine whether or not
  1. ;;^DD(9.64,222.9,21,2,0)
  1. ;;=to bring in the data that has been sent with this package. However,
  1. ;;^DD(9.64,222.9,21,3,0)
  1. ;;=the user does not get the ability to change how to install the SITE'S DATA,
  1. ;;^DD(9.64,222.9,21,4,0)
  1. ;;=i.e. MERGE to REPLACE.
  1. ;;^DD(9.64,222.9,21,5,0)
  1. ;;=
  1. ;;^DD(9.64,222.9,21,6,0)
  1. ;;=NO means that the developer of this package will control whether the data
  1. ;;^DD(9.64,222.9,21,7,0)
  1. ;;=will be installed at the target site.
  1. ;;^DD(9.64,222.9,"DT")
  1. ;;=2940502
  1. ;;^DD(9.64,223,0)
  1. ;;=SCREEN TO DETERMINE DD UPDATE^KX^^223;E1,245^K:$L(X)>240 X I $D(X) D ^DIM
  1. ;;^DD(9.64,223,3)
  1. ;;=This is Standard MUMPS code from 1 to 240 characters in length.
  1. ;;^DD(9.64,223,9)
  1. ;;=@
  1. ;;^DD(9.64,223,21,0)
  1. ;;=^^5^5^2940915^^^^
  1. ;;^DD(9.64,223,21,1,0)
  1. ;;=This field contains standard MUMPS code which is used to determine
  1. ;;^DD(9.64,223,21,2,0)
  1. ;;=whether or not a data dictionary should be updated. This code must
  1. ;;^DD(9.64,223,21,3,0)
  1. ;;=set $T. If $T=1, the DD will be updated. If $T=0, it will not.
  1. ;;^DD(9.64,223,21,4,0)
  1. ;;=
  1. ;;^DD(9.64,223,21,5,0)
  1. ;;=Namespace your variables.
  1. ;;^DD(9.64,223,"DT")
  1. ;;=2890927
  1. ;;^DD(9.64,224,0)
  1. ;;=SCREEN TO SELECT DATA^K^^224;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(9.64,224,3)
  1. ;;=This is Standard MUMPS code.
  1. ;;^DD(9.64,224,9)
  1. ;;=@
  1. ;;^DD(9.64,224,21,0)
  1. ;;=^^5^5^2950512^^^^
  1. ;;^DD(9.64,224,21,1,0)
  1. ;;=This field contains standard M code which is used to determine
  1. ;;^DD(9.64,224,21,2,0)
  1. ;;=whether a record in a file should be exported in this package.
  1. ;;^DD(9.64,224,21,3,0)
  1. ;;=The variable Y will be equal to the internal entry number of the
  1. ;;^DD(9.64,224,21,4,0)
  1. ;;=current record. This code must set $T, if $T=1 then the record will
  1. ;;^DD(9.64,224,21,5,0)
  1. ;;=be sent. If $T=0 it will not.
  1. ;;^DD(9.64,224,"DT")
  1. ;;=2940119
  1. ;;^DD(9.641,0)
  1. ;;=DD NUMBER SUB-FIELD^^1^3
  1. ;;^DD(9.641,0,"DT")
  1. ;;=2950330
  1. ;;^DD(9.641,0,"IX","APDD",9.641,.01)
  1. ;;=
  1. ;;^DD(9.641,0,"NM","DD NUMBER")
  1. ;;=
  1. ;;^DD(9.641,0,"UP")
  1. ;;=9.64
  1. ;;^DD(9.641,.01,0)
  1. ;;=DD NUMBER^MFX^^0;1^K:X[""""!($A(X)=45) X I $D(X) S X=$$CHKDD^DIFROMSD(D1,+$G(X),"N") K:X'>0 X S:$D(X) DINUM=+X,X=$P(X,"^",2)
  1. ;;^DD(9.641,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.641,.01,1,1,0)
  1. ;;=9.641^APDD^MUMPS
  1. ;;^DD(9.641,.01,1,1,1)
  1. ;;=S ^XPD(9.6,DA(2),4,"APDD",DA(1),DA)=""
  1. ;;^DD(9.641,.01,1,1,2)
  1. ;;=K ^XPD(9.6,DA(2),4,"APDD",DA(1),DA)
  1. ;;^DD(9.641,.01,1,1,"%D",0)
  1. ;;=^^2^2^2950117^
  1. ;;^DD(9.641,.01,1,1,"%D",1,0)
  1. ;;=Used to create an array structure containing Partial DDs. This array
  1. ;;^DD(9.641,.01,1,1,"%D",2,0)
  1. ;;=is passed to FIA^DIFROMSU as a list of DD numbers and fields to transport.
  1. ;;^DD(9.641,.01,1,1,"DT")
  1. ;;=2940829
  1. ;;^DD(9.641,.01,3)
  1. ;;=Enter a valid DD number for this file.
  1. ;;^DD(9.641,.01,4)
  1. ;;=D DDIOLDD^DIFROMSD(D1)
  1. ;;^DD(9.641,.01,21,0)
  1. ;;=^^17^17^2940903^
  1. ;;^DD(9.641,.01,21,1,0)
  1. ;;=
  1. ;;^DD(9.641,.01,21,2,0)
  1. ;;=DD NUMBER pertains to the file's number or any multiple field contained
  1. ;;^DD(9.641,.01,21,3,0)
  1. ;;=within the file.
  1. ;;^DD(9.641,.01,21,4,0)
  1. ;;=
  1. ;;^DD(9.641,.01,21,5,0)
  1. ;;=This list starts with the file's top level number followed by a list of
  1. ;;^DD(9.641,.01,21,6,0)
  1. ;;=multiple fields contained within the file, if any. These DO NOT represent
  1. ;;^DD(9.641,.01,21,7,0)
  1. ;;=Field Number(s).
  1. ;;^DD(9.641,.01,21,8,0)
  1. ;;=
  1. ;;^DD(9.641,.01,21,9,0)
  1. ;;=The nesting levels are not represented. All the DD NUMBERs, file number
  1. ;;^DD(9.641,.01,21,10,0)
  1. ;;=and multiple fields, have been flatten to a single list.