IBDEI3DE ; ; 05-NOV-2019
;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^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,"%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[HIBDEI3DE 1494 printed Nov 22, 2024@17:56:44 Page 2
IBDEI3DE ; ; 05-NOV-2019
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
+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,999)
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,0)
+2 ;;=358.6^E^MUMPS
+3 ;;^DD(358.6,.01,1,2,1)
+4 ;;=S ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)=""
+5 ;;^DD(358.6,.01,1,2,2)
+6 ;;=K ^IBE(358.6,"E",$E(X,$F(X," "),40),DA)
+7 ;;^DD(358.6,.01,1,2,"%D",0)
+8 ;;=^^4^4^2940224^
+9 ;;^DD(358.6,.01,1,2,"%D",1,0)
+10 ;;=
+11 ;;^DD(358.6,.01,1,2,"%D",2,0)
+12 ;;=For package interfaces that are output routines the name has the custodial
+13 ;;^DD(358.6,.01,1,2,"%D",3,0)
+14 ;;=package's name space as a prefix. This cross-reference removes that
+15 ;;^DD(358.6,.01,1,2,"%D",4,0)
+16 ;;=prefix. It is used to improve the display of output routines for the user.
+17 ;;^DD(358.6,.01,1,2,"DT")
+18 ;;=2930409
+19 ;;^DD(358.6,.01,3)
+20 ;;=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.
+21 ;;^DD(358.6,.01,21,0)
+22 ;;=^^3^3^2950412^^^^
+23 ;;^DD(358.6,.01,21,1,0)
+24 ;;=
+25 ;;^DD(358.6,.01,21,2,0)
+26 ;;=The name of the Package Interface. For interfaces returning data the name
+27 ;;^DD(358.6,.01,21,3,0)
+28 ;;=should be preceded with the namespace of the package.
+29 ;;^DD(358.6,.01,23,0)
+30 ;;=^^1^1^2950412^
+31 ;;^DD(358.6,.01,23,1,0)
+32 ;;=
+33 ;;^DD(358.6,.01,"DT")
+34 ;;=2930409