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

IBINI087.m

Go to the documentation of this file.
  1. IBINI087 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(357.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(357.6,2.14,"DT")
  1. ;;=2930726
  1. ;;^DD(357.6,2.17,0)
  1. ;;=IS PIECE 1 DISPLAYABLE?^S^0:NO;1:YES;^2;17^Q
  1. ;;^DD(357.6,2.17,.1)
  1. ;;=CAN THIS FIELD BE DISPLAYED TO THE USER?
  1. ;;^DD(357.6,2.17,3)
  1. ;;=The first piece of the returned record is reserved for the unique id of the selection. Enter no if it should not be displayed, for example, if it is a pointer.
  1. ;;^DD(357.6,2.17,21,0)
  1. ;;=^^3^3^2940217^
  1. ;;^DD(357.6,2.17,21,1,0)
  1. ;;=This is used only for selection type interfaces. If NO, then the value can
  1. ;;^DD(357.6,2.17,21,2,0)
  1. ;;=not be displayed to the encounter form. The first piece must contain the
  1. ;;^DD(357.6,2.17,21,3,0)
  1. ;;=unique id of the selection.
  1. ;;^DD(357.6,2.17,"DT")
  1. ;;=2930810
  1. ;;^DD(357.6,2.18,0)
  1. ;;=ARE SELECTIONS EXPORTABLE?^S^0:NO;1:YES;^2;18^Q
  1. ;;^DD(357.6,2.18,3)
  1. ;;=Enter NO if the ID returned by the PACKAGE INTERFACE is not constant between sites, for example, if it is a pointer. Otherwise answer YES.
  1. ;;^DD(357.6,2.18,21,0)
  1. ;;=^^6^6^2930823^^^
  1. ;;^DD(357.6,2.18,21,1,0)
  1. ;;=Applies only to selection routines. Determines whether selections appearing
  1. ;;^DD(357.6,2.18,21,2,0)
  1. ;;=on selection lists that are populated via the package interface will
  1. ;;^DD(357.6,2.18,21,3,0)
  1. ;;=be exported along with the form that they appear on. The import/export
  1. ;;^DD(357.6,2.18,21,4,0)
  1. ;;=utility will not resolve pointers, so if the id returned by the package
  1. ;;^DD(357.6,2.18,21,5,0)
  1. ;;=interface (piece 1) is a pointer that differs between sites this field
  1. ;;^DD(357.6,2.18,21,6,0)
  1. ;;=should contain NO.
  1. ;;^DD(357.6,2.18,"DT")
  1. ;;=2930811
  1. ;;^DD(357.6,3,0)
  1. ;;=USER LOOKUP^F^^3;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>240!($L(X)<1) X
  1. ;;^DD(357.6,3,.1)
  1. ;;=LIST OF WORDS TO MAKE LOOK-UPS EASIER
  1. ;;^DD(357.6,3,1,0)
  1. ;;=^.1
  1. ;;^DD(357.6,3,1,1,0)
  1. ;;=357.6^D^KWIC
  1. ;;^DD(357.6,3,1,1,1)
  1. ;;=S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I "(,.?! '-/&:;)"[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2,^DD("KWIC")'[I S ^IBE(357.6,"D",I,DA)=""
  1. ;;^DD(357.6,3,1,1,2)
  1. ;;=S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I "(,.?! '-/&:;)"[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2 K ^IBE(357.6,"D",I,DA)
  1. ;;^DD(357.6,3,1,1,"%D",0)
  1. ;;=^^3^3^2930409^^
  1. ;;^DD(357.6,3,1,1,"%D",1,0)
  1. ;;=
  1. ;;^DD(357.6,3,1,1,"%D",2,0)
  1. ;;=This index is meant to assist the user in locating the correct package
  1. ;;^DD(357.6,3,1,1,"%D",3,0)
  1. ;;=interface needed to display a particular item of data to a form.
  1. ;;^DD(357.6,3,1,1,"DT")
  1. ;;=2930309
  1. ;;^DD(357.6,3,3)
  1. ;;=Enter words separated with spaces. They will be indexed to assist in lookup.
  1. ;;^DD(357.6,3,4)
  1. ;;=D LOOKUP^IBDF16
  1. ;;^DD(357.6,3,21,0)
  1. ;;=^^4^4^2940217^
  1. ;;^DD(357.6,3,21,1,0)
  1. ;;=
  1. ;;^DD(357.6,3,21,2,0)
  1. ;;=This field is used to create a KWIC index for this file. The purpose is to
  1. ;;^DD(357.6,3,21,3,0)
  1. ;;=assist the user in locating the package interface he needs to display a
  1. ;;^DD(357.6,3,21,4,0)
  1. ;;=particular item of data to a form.
  1. ;;^DD(357.6,3,"DT")
  1. ;;=2930726
  1. ;;^DD(357.6,4.01,0)
  1. ;;=ENTRY ACTION^K^^4;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(357.6,4.01,3)
  1. ;;=This is Standard MUMPS code.
  1. ;;^DD(357.6,4.01,9)
  1. ;;=@
  1. ;;^DD(357.6,4.01,21,0)
  1. ;;=^^3^3^2930527^
  1. ;;^DD(357.6,4.01,21,1,0)
  1. ;;=
  1. ;;^DD(357.6,4.01,21,2,0)
  1. ;;=This code will be executed after the PROTECTED VARIABLES are newed, but
  1. ;;^DD(357.6,4.01,21,3,0)
  1. ;;=before the interface routine is called.
  1. ;;^DD(357.6,4.01,"DT")
  1. ;;=2930521
  1. ;;^DD(357.6,5.01,0)
  1. ;;=EXIT ACTION^K^^5;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(357.6,5.01,3)
  1. ;;=This is Standard MUMPS code.
  1. ;;^DD(357.6,5.01,9)
  1. ;;=@