IBINI082 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
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
Q Q
;;^DIC(357.6,0,"GL")
;;=^IBE(357.6,
;;^DIC("B","PACKAGE INTERFACE",357.6)
;;=
;;^DIC(357.6,"%D",0)
;;=^^22^22^2940121^
;;^DIC(357.6,"%D",1,0)
;;=This file contains a description of all of the interfaces with other packages.
;;^DIC(357.6,"%D",2,0)
;;=The form will invoke the proper interface routines by doing a lookup on
;;^DIC(357.6,"%D",3,0)
;;=this file and then calling the routine by indirection. The
;;^DIC(357.6,"%D",4,0)
;;=Data will be exchanged between the encounter form utilities and other
;;^DIC(357.6,"%D",5,0)
;;=packages by putting the data in a predefined location. The first part of
;;^DIC(357.6,"%D",6,0)
;;=the subscript is always ^TMP("IB",$J,"INTERFACES". For output routines,
;;^DIC(357.6,"%D",7,0)
;;=but not selection routines, the fourth subscript is be the patient DFN.
;;^DIC(357.6,"%D",8,0)
;;=The next subscript is the name of the Package Interface. For single valued
;;^DIC(357.6,"%D",9,0)
;;=data and record valued data there is no additional subscript. For
;;^DIC(357.6,"%D",10,0)
;;=interfaces returning a list there is one additional subscript level, the
;;^DIC(357.6,"%D",11,0)
;;=number of the item on the list. For word processing type data the data
;;^DIC(357.6,"%D",12,0)
;;=will be in FM word-processing format, i.e., the final subscripts will be
;;^DIC(357.6,"%D",13,0)
;;=...1,0),...2,0),...3,0), etc.
;;^DIC(357.6,"%D",14,0)
;;=
;;^DIC(357.6,"%D",15,0)
;;=Note that multiple entries in this file can have the same entry points
;;^DIC(357.6,"%D",16,0)
;;=into routines. This is for efficiency purposes. For example, patient name,
;;^DIC(357.6,"%D",17,0)
;;=DOB and sex are all located on the same node of the Patient file. Each of
;;^DIC(357.6,"%D",18,0)
;;=these items of data can have its own entry in the Package Interface file,
;;^DIC(357.6,"%D",19,0)
;;=but by using the same entry point there is a savings because all of the
;;^DIC(357.6,"%D",20,0)
;;=data on that node can be obtained at once. The routine that invokes the
;;^DIC(357.6,"%D",21,0)
;;=entry points keeps track of those already invoked so that they are not
;;^DIC(357.6,"%D",22,0)
;;=repeated.
;;^DD(357.6,0)
;;=FIELD^^8.07^41
;;^DD(357.6,0,"ACT")
;;=D ASK^IBDFU9
;;^DD(357.6,0,"DDA")
;;=N
;;^DD(357.6,0,"DT")
;;=2931014
;;^DD(357.6,0,"ID","WRITE")
;;=W ?45,"Package=",$P($G(^(0)),"^",4)
;;^DD(357.6,0,"IX","B",357.6,.01)
;;=
;;^DD(357.6,0,"IX","C",357.6,.04)
;;=
;;^DD(357.6,0,"IX","D",357.6,3)
;;=
;;^DD(357.6,0,"IX","E",357.6,.01)
;;=
;;^DD(357.6,0,"NM","PACKAGE INTERFACE")
;;=
;;^DD(357.6,0,"PT",357.2,.11)
;;=
;;^DD(357.6,0,"PT",357.5,.03)
;;=
;;^DD(357.6,0,"PT",409.9501,.01)
;;=
;;^DD(357.6,0,"PT",409.9502,.01)
;;=
;;^DD(357.6,0,"PT",409.961,.01)
;;=
;;^DD(357.6,.01,0)
;;=NAME^RF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>40!($L(X)<3)!'(X'?1P.E) X
;;^DD(357.6,.01,1,0)
;;=^.1
;;^DD(357.6,.01,1,1,0)
;;=357.6^B
;;^DD(357.6,.01,1,1,1)
;;=S ^IBE(357.6,"B",$E(X,1,30),DA)=""
;;^DD(357.6,.01,1,1,2)
;;=K ^IBE(357.6,"B",$E(X,1,30),DA)
;;^DD(357.6,.01,1,2,0)
;;=357.6^E^MUMPS
;;^DD(357.6,.01,1,2,1)
;;=S ^IBE(357.6,"E",$E(X,$F(X," "),40),DA)=""
;;^DD(357.6,.01,1,2,2)
;;=K ^IBE(357.6,"E",$E(X,$F(X," "),40),DA)
;;^DD(357.6,.01,1,2,"%D",0)
;;=^^4^4^2940224^
;;^DD(357.6,.01,1,2,"%D",1,0)
;;=
;;^DD(357.6,.01,1,2,"%D",2,0)
;;=For package interfaces that are output routines the name has the custodial
;;^DD(357.6,.01,1,2,"%D",3,0)
;;=package's name space as a prefix. This cross-reference removes that
;;^DD(357.6,.01,1,2,"%D",4,0)
;;=prefix. It is used to improve the display of output routines for the user.
IBINI082 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(357.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 ;;^DIC(357.6,0,"GL")
+2 ;;=^IBE(357.6,
+3 ;;^DIC("B","PACKAGE INTERFACE",357.6)
+4 ;;=
+5 ;;^DIC(357.6,"%D",0)
+6 ;;=^^22^22^2940121^
+7 ;;^DIC(357.6,"%D",1,0)
+8 ;;=This file contains a description of all of the interfaces with other packages.
+9 ;;^DIC(357.6,"%D",2,0)
+10 ;;=The form will invoke the proper interface routines by doing a lookup on
+11 ;;^DIC(357.6,"%D",3,0)
+12 ;;=this file and then calling the routine by indirection. The
+13 ;;^DIC(357.6,"%D",4,0)
+14 ;;=Data will be exchanged between the encounter form utilities and other
+15 ;;^DIC(357.6,"%D",5,0)
+16 ;;=packages by putting the data in a predefined location. The first part of
+17 ;;^DIC(357.6,"%D",6,0)
+18 ;;=the subscript is always ^TMP("IB",$J,"INTERFACES". For output routines,
+19 ;;^DIC(357.6,"%D",7,0)
+20 ;;=but not selection routines, the fourth subscript is be the patient DFN.
+21 ;;^DIC(357.6,"%D",8,0)
+22 ;;=The next subscript is the name of the Package Interface. For single valued
+23 ;;^DIC(357.6,"%D",9,0)
+24 ;;=data and record valued data there is no additional subscript. For
+25 ;;^DIC(357.6,"%D",10,0)
+26 ;;=interfaces returning a list there is one additional subscript level, the
+27 ;;^DIC(357.6,"%D",11,0)
+28 ;;=number of the item on the list. For word processing type data the data
+29 ;;^DIC(357.6,"%D",12,0)
+30 ;;=will be in FM word-processing format, i.e., the final subscripts will be
+31 ;;^DIC(357.6,"%D",13,0)
+32 ;;=...1,0),...2,0),...3,0), etc.
+33 ;;^DIC(357.6,"%D",14,0)
+34 ;;=
+35 ;;^DIC(357.6,"%D",15,0)
+36 ;;=Note that multiple entries in this file can have the same entry points
+37 ;;^DIC(357.6,"%D",16,0)
+38 ;;=into routines. This is for efficiency purposes. For example, patient name,
+39 ;;^DIC(357.6,"%D",17,0)
+40 ;;=DOB and sex are all located on the same node of the Patient file. Each of
+41 ;;^DIC(357.6,"%D",18,0)
+42 ;;=these items of data can have its own entry in the Package Interface file,
+43 ;;^DIC(357.6,"%D",19,0)
+44 ;;=but by using the same entry point there is a savings because all of the
+45 ;;^DIC(357.6,"%D",20,0)
+46 ;;=data on that node can be obtained at once. The routine that invokes the
+47 ;;^DIC(357.6,"%D",21,0)
+48 ;;=entry points keeps track of those already invoked so that they are not
+49 ;;^DIC(357.6,"%D",22,0)
+50 ;;=repeated.
+51 ;;^DD(357.6,0)
+52 ;;=FIELD^^8.07^41
+53 ;;^DD(357.6,0,"ACT")
+54 ;;=D ASK^IBDFU9
+55 ;;^DD(357.6,0,"DDA")
+56 ;;=N
+57 ;;^DD(357.6,0,"DT")
+58 ;;=2931014
+59 ;;^DD(357.6,0,"ID","WRITE")
+60 ;;=W ?45,"Package=",$P($G(^(0)),"^",4)
+61 ;;^DD(357.6,0,"IX","B",357.6,.01)
+62 ;;=
+63 ;;^DD(357.6,0,"IX","C",357.6,.04)
+64 ;;=
+65 ;;^DD(357.6,0,"IX","D",357.6,3)
+66 ;;=
+67 ;;^DD(357.6,0,"IX","E",357.6,.01)
+68 ;;=
+69 ;;^DD(357.6,0,"NM","PACKAGE INTERFACE")
+70 ;;=
+71 ;;^DD(357.6,0,"PT",357.2,.11)
+72 ;;=
+73 ;;^DD(357.6,0,"PT",357.5,.03)
+74 ;;=
+75 ;;^DD(357.6,0,"PT",409.9501,.01)
+76 ;;=
+77 ;;^DD(357.6,0,"PT",409.9502,.01)
+78 ;;=
+79 ;;^DD(357.6,0,"PT",409.961,.01)
+80 ;;=
+81 ;;^DD(357.6,.01,0)
+82 ;;=NAME^RF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>40!($L(X)<3)!'(X'?1P.E) X
+83 ;;^DD(357.6,.01,1,0)
+84 ;;=^.1
+85 ;;^DD(357.6,.01,1,1,0)
+86 ;;=357.6^B
+87 ;;^DD(357.6,.01,1,1,1)
+88 ;;=S ^IBE(357.6,"B",$E(X,1,30),DA)=""
+89 ;;^DD(357.6,.01,1,1,2)
+90 ;;=K ^IBE(357.6,"B",$E(X,1,30),DA)
+91 ;;^DD(357.6,.01,1,2,0)
+92 ;;=357.6^E^MUMPS
+93 ;;^DD(357.6,.01,1,2,1)
+94 ;;=S ^IBE(357.6,"E",$E(X,$F(X," "),40),DA)=""
+95 ;;^DD(357.6,.01,1,2,2)
+96 ;;=K ^IBE(357.6,"E",$E(X,$F(X," "),40),DA)
+97 ;;^DD(357.6,.01,1,2,"%D",0)
+98 ;;=^^4^4^2940224^
+99 ;;^DD(357.6,.01,1,2,"%D",1,0)
+100 ;;=
+101 ;;^DD(357.6,.01,1,2,"%D",2,0)
+102 ;;=For package interfaces that are output routines the name has the custodial
+103 ;;^DD(357.6,.01,1,2,"%D",3,0)
+104 ;;=package's name space as a prefix. This cross-reference removes that
+105 ;;^DD(357.6,.01,1,2,"%D",4,0)
+106 ;;=prefix. It is used to improve the display of output routines for the user.