IBDEI0G0 ; ; 03-MAY-2022
 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;MAY 03, 2022
 Q:'DIFQ(358.91)  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
 ;;^DIC(358.91,0,"GL")
 ;;=^IBE(358.91,
 ;;^DIC("B","IMP/EXP MARKING AREA",358.91)
 ;;=
 ;;^DIC(358.91,"%D",0)
 ;;=^^4^4^2940217^
 ;;^DIC(358.91,"%D",1,0)
 ;;= 
 ;;^DIC(358.91,"%D",2,0)
 ;;=This file is nearly identical to file #357.91. It is used by the
 ;;^DIC(358.91,"%D",3,0)
 ;;=Import/Export Utility as a temporary staging area for data from that file
 ;;^DIC(358.91,"%D",4,0)
 ;;=that is being imported or exported.
 ;;^DD(358.91,0)
 ;;=FIELD^^.04^4
 ;;^DD(358.91,0,"DDA")
 ;;=N
 ;;^DD(358.91,0,"DT")
 ;;=2960123
 ;;^DD(358.91,0,"IX","B",358.91,.01)
 ;;=
 ;;^DD(358.91,0,"NM","IMP/EXP MARKING AREA")
 ;;=
 ;;^DD(358.91,0,"PT",358.22,.06)
 ;;=
 ;;^DD(358.91,0,"VRPK")
 ;;=IBD
 ;;^DD(358.91,.01,0)
 ;;=NAME^RFX^^0;1^K:$L(X)>30 X
 ;;^DD(358.91,.01,1,0)
 ;;=^.1
 ;;^DD(358.91,.01,1,1,0)
 ;;=358.91^B
 ;;^DD(358.91,.01,1,1,1)
 ;;=S ^IBE(358.91,"B",$E(X,1,30),DA)=""
 ;;^DD(358.91,.01,1,1,2)
 ;;=K ^IBE(358.91,"B",$E(X,1,30),DA)
 ;;^DD(358.91,.01,3)
 ;;=NAME MUST BE UNDER 31 CHARACTERS
 ;;^DD(358.91,.01,21,0)
 ;;=^^1^1^2930608^
 ;;^DD(358.91,.01,21,1,0)
 ;;=The name should describe the appearance of the marking area on the form.
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0G0   1434     printed  Sep 23, 2025@19:23:56                                                                                                                                                                                                    Page 2
IBDEI0G0  ; ; 03-MAY-2022
 +1       ;;3.0;IB ENCOUNTER FORM IMP/EXP;;MAY 03, 2022
 +2        if 'DIFQ(358.91)
               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       ;;^DIC(358.91,0,"GL")
 +2       ;;=^IBE(358.91,
 +3       ;;^DIC("B","IMP/EXP MARKING AREA",358.91)
 +4       ;;=
 +5       ;;^DIC(358.91,"%D",0)
 +6       ;;=^^4^4^2940217^
 +7       ;;^DIC(358.91,"%D",1,0)
 +8       ;;= 
 +9       ;;^DIC(358.91,"%D",2,0)
 +10      ;;=This file is nearly identical to file #357.91. It is used by the
 +11      ;;^DIC(358.91,"%D",3,0)
 +12      ;;=Import/Export Utility as a temporary staging area for data from that file
 +13      ;;^DIC(358.91,"%D",4,0)
 +14      ;;=that is being imported or exported.
 +15      ;;^DD(358.91,0)
 +16      ;;=FIELD^^.04^4
 +17      ;;^DD(358.91,0,"DDA")
 +18      ;;=N
 +19      ;;^DD(358.91,0,"DT")
 +20      ;;=2960123
 +21      ;;^DD(358.91,0,"IX","B",358.91,.01)
 +22      ;;=
 +23      ;;^DD(358.91,0,"NM","IMP/EXP MARKING AREA")
 +24      ;;=
 +25      ;;^DD(358.91,0,"PT",358.22,.06)
 +26      ;;=
 +27      ;;^DD(358.91,0,"VRPK")
 +28      ;;=IBD
 +29      ;;^DD(358.91,.01,0)
 +30      ;;=NAME^RFX^^0;1^K:$L(X)>30 X
 +31      ;;^DD(358.91,.01,1,0)
 +32      ;;=^.1
 +33      ;;^DD(358.91,.01,1,1,0)
 +34      ;;=358.91^B
 +35      ;;^DD(358.91,.01,1,1,1)
 +36      ;;=S ^IBE(358.91,"B",$E(X,1,30),DA)=""
 +37      ;;^DD(358.91,.01,1,1,2)
 +38      ;;=K ^IBE(358.91,"B",$E(X,1,30),DA)
 +39      ;;^DD(358.91,.01,3)
 +40      ;;=NAME MUST BE UNDER 31 CHARACTERS
 +41      ;;^DD(358.91,.01,21,0)
 +42      ;;=^^1^1^2930608^
 +43      ;;^DD(358.91,.01,21,1,0)
 +44      ;;=The name should describe the appearance of the marking area on the form.