IBDEI3JT ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
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
;;^DD(358.6,.01,1,2,2)
;;=K ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)
;;^DD(358.6,.01,1,2,"%D",0)
;;=^^4^4^2940224^
;;^DD(358.6,.01,1,2,"%D",1,0)
;;=
;;^DD(358.6,.01,1,2,"%D",2,0)
;;=For package interfaces that are output routines the name has the custodial
;;^DD(358.6,.01,1,2,"%D",3,0)
;;=package's name space as a prefix. This cross-reference removes that
;;^DD(358.6,.01,1,2,"%D",4,0)
;;=prefix. It is used to improve the display of output routines for the user.
;;^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 namespace of the package that is responsible for the data.
;;^DD(358.6,.01,21,0)
;;=^^3^3^2950412^^^^
;;^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 namespace of the package.
;;^DD(358.6,.01,23,0)
;;=^^1^1^2950412^
;;^DD(358.6,.01,23,1,0)
;;=
;;^DD(358.6,.01,"DT")
;;=2930409
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JT 1376 printed Oct 16, 2024@18:50:55 Page 2
IBDEI3JT ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+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 ;;^DD(358.6,.01,1,2,2)
+2 ;;=K ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)
+3 ;;^DD(358.6,.01,1,2,"%D",0)
+4 ;;=^^4^4^2940224^
+5 ;;^DD(358.6,.01,1,2,"%D",1,0)
+6 ;;=
+7 ;;^DD(358.6,.01,1,2,"%D",2,0)
+8 ;;=For package interfaces that are output routines the name has the custodial
+9 ;;^DD(358.6,.01,1,2,"%D",3,0)
+10 ;;=package's name space as a prefix. This cross-reference removes that
+11 ;;^DD(358.6,.01,1,2,"%D",4,0)
+12 ;;=prefix. It is used to improve the display of output routines for the user.
+13 ;;^DD(358.6,.01,1,2,"DT")
+14 ;;=2930409
+15 ;;^DD(358.6,.01,3)
+16 ;;=Answer must be 3-40 characters in length. All entries with Action Type other than PRINT REPORT must be be prefixed with the namespace of the package that is responsible for the data.
+17 ;;^DD(358.6,.01,21,0)
+18 ;;=^^3^3^2950412^^^^
+19 ;;^DD(358.6,.01,21,1,0)
+20 ;;=
+21 ;;^DD(358.6,.01,21,2,0)
+22 ;;=The name of the Package Interface. For interfaces returning data the name
+23 ;;^DD(358.6,.01,21,3,0)
+24 ;;=should be preceded with the namespace of the package.
+25 ;;^DD(358.6,.01,23,0)
+26 ;;=^^1^1^2950412^
+27 ;;^DD(358.6,.01,23,1,0)
+28 ;;=
+29 ;;^DD(358.6,.01,"DT")
+30 ;;=2930409