IBINI099 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358.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(358.6,0,"GL")
;;=^IBE(358.6,
;;^DIC("B","IMP/EXP PACKAGE INTERFACE",358.6)
;;=
;;^DIC(358.6,"%D",0)
;;=^^18^18^2940217^
;;^DIC(358.6,"%D",1,0)
;;=This file is nearly identical to file #357.6. It is used by the
;;^DIC(358.6,"%D",2,0)
;;=Import/Export Utility as a temporary staging area for data from that file
;;^DIC(358.6,"%D",3,0)
;;=that is being imported or exported.
;;^DIC(358.6,"%D",4,0)
;;=
;;^DIC(358.6,"%D",5,0)
;;=This file contains a description of all of the interfaces with other packages.
;;^DIC(358.6,"%D",6,0)
;;=The form will invoke the proper interface routines by doing a lookup on
;;^DIC(358.6,"%D",7,0)
;;=this file and then invoking the routine by indirection. The INPUT VARIABLE
;;^DIC(358.6,"%D",8,0)
;;=fields are for documentation purposes and to verify that the proper
;;^DIC(358.6,"%D",9,0)
;;=variables are defined. Data will be exchanged between the encounter form
;;^DIC(358.6,"%D",10,0)
;;=utilities and other packages by putting the data in a predefined location.
;;^DIC(358.6,"%D",11,0)
;;=The first part of the subscript is always be ^TMP("IB",$J,"INTERFACES".
;;^DIC(358.6,"%D",12,0)
;;=For output routines, but not selection routines, the fourth subscript is
;;^DIC(358.6,"%D",13,0)
;;=be the patient DFN. The next subscript is the name of the Package
;;^DIC(358.6,"%D",14,0)
;;=Interface. For single valued data and record valued data there is no
;;^DIC(358.6,"%D",15,0)
;;=additional subscript. For interfaces returning a list there is one
;;^DIC(358.6,"%D",16,0)
;;=additional subscript level, the number of the item on the list. For
;;^DIC(358.6,"%D",17,0)
;;=word processing type data the data will be in FM word-processing format,
;;^DIC(358.6,"%D",18,0)
;;=i.e., the final subscripts will be ...1,0),...2,0),...3,0), etc.
;;^DD(358.6,0)
;;=FIELD^^8.07^41
;;^DD(358.6,0,"DT")
;;=2931203
;;^DD(358.6,0,"ID","WRITE")
;;=W "Package=",$P($G(^(0)),"^",4)
;;^DD(358.6,0,"IX","B",358.6,.01)
;;=
;;^DD(358.6,0,"IX","C",358.6,.04)
;;=
;;^DD(358.6,0,"IX","D",358.6,3)
;;=
;;^DD(358.6,0,"IX","E",358.6,.01)
;;=
;;^DD(358.6,0,"NM","IMP/EXP PACKAGE INTERFACE")
;;=
;;^DD(358.6,0,"PT",358.2,.11)
;;=
;;^DD(358.6,0,"PT",358.5,.03)
;;=
;;^DD(358.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(358.6,.01,1,0)
;;=^.1
;;^DD(358.6,.01,1,1,0)
;;=358.6^B
;;^DD(358.6,.01,1,1,1)
;;=S ^IBE(358.6,"B",$E(X,1,30),DA)=""
;;^DD(358.6,.01,1,1,2)
;;=K ^IBE(358.6,"B",$E(X,1,30),DA)
;;^DD(358.6,.01,1,2,0)
;;=358.6^E^MUMPS
;;^DD(358.6,.01,1,2,1)
;;=S ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)=""
;;^DD(358.6,.01,1,2,2)
;;=K ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)
;;^DD(358.6,.01,1,2,"DT")
;;=2930409
;;^DD(358.6,.01,3)
;;=Answer must be 3-40 characters in length. All entries with Action Type other than PRINT REPORT must be be prefixed with the name space of the package that is responsible for the data.
;;^DD(358.6,.01,21,0)
;;=^^3^3^2930727^^
;;^DD(358.6,.01,21,1,0)
;;=
;;^DD(358.6,.01,21,2,0)
;;=The name of the Package Interface. For interfaces returning data the name
;;^DD(358.6,.01,21,3,0)
;;=should be preceded with the name space of the package.
;;^DD(358.6,.01,"DT")
;;=2930409
;;^DD(358.6,.02,0)
;;=ENTRY POINT^RF^^0;2^K:$L(X)>8!($L(X)<1) X
;;^DD(358.6,.02,3)
;;=What entry point into the routine does this package interface use?
;;^DD(358.6,.02,21,0)
;;=^^2^2^2930527^
;;^DD(358.6,.02,21,1,0)
;;=
;;^DD(358.6,.02,21,2,0)
;;=The entry point in the routine that should be called.
IBINI099 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358.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(358.6,0,"GL")
+2 ;;=^IBE(358.6,
+3 ;;^DIC("B","IMP/EXP PACKAGE INTERFACE",358.6)
+4 ;;=
+5 ;;^DIC(358.6,"%D",0)
+6 ;;=^^18^18^2940217^
+7 ;;^DIC(358.6,"%D",1,0)
+8 ;;=This file is nearly identical to file #357.6. It is used by the
+9 ;;^DIC(358.6,"%D",2,0)
+10 ;;=Import/Export Utility as a temporary staging area for data from that file
+11 ;;^DIC(358.6,"%D",3,0)
+12 ;;=that is being imported or exported.
+13 ;;^DIC(358.6,"%D",4,0)
+14 ;;=
+15 ;;^DIC(358.6,"%D",5,0)
+16 ;;=This file contains a description of all of the interfaces with other packages.
+17 ;;^DIC(358.6,"%D",6,0)
+18 ;;=The form will invoke the proper interface routines by doing a lookup on
+19 ;;^DIC(358.6,"%D",7,0)
+20 ;;=this file and then invoking the routine by indirection. The INPUT VARIABLE
+21 ;;^DIC(358.6,"%D",8,0)
+22 ;;=fields are for documentation purposes and to verify that the proper
+23 ;;^DIC(358.6,"%D",9,0)
+24 ;;=variables are defined. Data will be exchanged between the encounter form
+25 ;;^DIC(358.6,"%D",10,0)
+26 ;;=utilities and other packages by putting the data in a predefined location.
+27 ;;^DIC(358.6,"%D",11,0)
+28 ;;=The first part of the subscript is always be ^TMP("IB",$J,"INTERFACES".
+29 ;;^DIC(358.6,"%D",12,0)
+30 ;;=For output routines, but not selection routines, the fourth subscript is
+31 ;;^DIC(358.6,"%D",13,0)
+32 ;;=be the patient DFN. The next subscript is the name of the Package
+33 ;;^DIC(358.6,"%D",14,0)
+34 ;;=Interface. For single valued data and record valued data there is no
+35 ;;^DIC(358.6,"%D",15,0)
+36 ;;=additional subscript. For interfaces returning a list there is one
+37 ;;^DIC(358.6,"%D",16,0)
+38 ;;=additional subscript level, the number of the item on the list. For
+39 ;;^DIC(358.6,"%D",17,0)
+40 ;;=word processing type data the data will be in FM word-processing format,
+41 ;;^DIC(358.6,"%D",18,0)
+42 ;;=i.e., the final subscripts will be ...1,0),...2,0),...3,0), etc.
+43 ;;^DD(358.6,0)
+44 ;;=FIELD^^8.07^41
+45 ;;^DD(358.6,0,"DT")
+46 ;;=2931203
+47 ;;^DD(358.6,0,"ID","WRITE")
+48 ;;=W "Package=",$P($G(^(0)),"^",4)
+49 ;;^DD(358.6,0,"IX","B",358.6,.01)
+50 ;;=
+51 ;;^DD(358.6,0,"IX","C",358.6,.04)
+52 ;;=
+53 ;;^DD(358.6,0,"IX","D",358.6,3)
+54 ;;=
+55 ;;^DD(358.6,0,"IX","E",358.6,.01)
+56 ;;=
+57 ;;^DD(358.6,0,"NM","IMP/EXP PACKAGE INTERFACE")
+58 ;;=
+59 ;;^DD(358.6,0,"PT",358.2,.11)
+60 ;;=
+61 ;;^DD(358.6,0,"PT",358.5,.03)
+62 ;;=
+63 ;;^DD(358.6,.01,0)
+64 ;;=NAME^RF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>40!($L(X)<3)!'(X'?1P.E) X
+65 ;;^DD(358.6,.01,1,0)
+66 ;;=^.1
+67 ;;^DD(358.6,.01,1,1,0)
+68 ;;=358.6^B
+69 ;;^DD(358.6,.01,1,1,1)
+70 ;;=S ^IBE(358.6,"B",$E(X,1,30),DA)=""
+71 ;;^DD(358.6,.01,1,1,2)
+72 ;;=K ^IBE(358.6,"B",$E(X,1,30),DA)
+73 ;;^DD(358.6,.01,1,2,0)
+74 ;;=358.6^E^MUMPS
+75 ;;^DD(358.6,.01,1,2,1)
+76 ;;=S ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)=""
+77 ;;^DD(358.6,.01,1,2,2)
+78 ;;=K ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)
+79 ;;^DD(358.6,.01,1,2,"DT")
+80 ;;=2930409
+81 ;;^DD(358.6,.01,3)
+82 ;;=Answer must be 3-40 characters in length. All entries with Action Type other than PRINT REPORT must be be prefixed with the name space of the package that is responsible for the data.
+83 ;;^DD(358.6,.01,21,0)
+84 ;;=^^3^3^2930727^^
+85 ;;^DD(358.6,.01,21,1,0)
+86 ;;=
+87 ;;^DD(358.6,.01,21,2,0)
+88 ;;=The name of the Package Interface. For interfaces returning data the name
+89 ;;^DD(358.6,.01,21,3,0)
+90 ;;=should be preceded with the name space of the package.
+91 ;;^DD(358.6,.01,"DT")
+92 ;;=2930409
+93 ;;^DD(358.6,.02,0)
+94 ;;=ENTRY POINT^RF^^0;2^K:$L(X)>8!($L(X)<1) X
+95 ;;^DD(358.6,.02,3)
+96 ;;=What entry point into the routine does this package interface use?
+97 ;;^DD(358.6,.02,21,0)
+98 ;;=^^2^2^2930527^
+99 ;;^DD(358.6,.02,21,1,0)
+100 ;;=
+101 ;;^DD(358.6,.02,21,2,0)
+102 ;;=The entry point in the routine that should be called.