IBDEI1LV ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQ(358.4) 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.4,0,"GL")
;;=^IBE(358.4,
;;^DIC("B","IMP/EXP SELECTION GROUP",358.4)
;;=
;;^DIC(358.4,"%D",0)
;;=^^4^4^2940217^
;;^DIC(358.4,"%D",1,0)
;;=
;;^DIC(358.4,"%D",2,0)
;;=This file is nearly identical to file #357.4. It is used by the
;;^DIC(358.4,"%D",3,0)
;;=Import/Export Utility as a temporary staging area for data from that file
;;^DIC(358.4,"%D",4,0)
;;=that is being imported or exported.
;;^DD(358.4,0)
;;=FIELD^^.04^4
;;^DD(358.4,0,"DDA")
;;=N
;;^DD(358.4,0,"DT")
;;=2950717
;;^DD(358.4,0,"ID",.02)
;;=W " ",$P(^(0),U,2)
;;^DD(358.4,0,"ID",.03)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(358.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(358.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(358.4,0,"IX","APO",358.4,.02)
;;=
;;^DD(358.4,0,"IX","APO1",358.4,.03)
;;=
;;^DD(358.4,0,"IX","B",358.4,.01)
;;=
;;^DD(358.4,0,"IX","D",358.4,.03)
;;=
;;^DD(358.4,0,"NM","IMP/EXP SELECTION GROUP")
;;=
;;^DD(358.4,0,"PT",358.3,.04)
;;=
;;^DD(358.4,0,"VRPK")
;;=IBD
;;^DD(358.4,.01,0)
;;=HEADER^RF^^0;1^K:$L(X)>40!($L(X)<1) X
;;^DD(358.4,.01,1,0)
;;=^.1
;;^DD(358.4,.01,1,1,0)
;;=358.4^B
;;^DD(358.4,.01,1,1,1)
;;=S ^IBE(358.4,"B",$E(X,1,30),DA)=""
;;^DD(358.4,.01,1,1,2)
;;=K ^IBE(358.4,"B",$E(X,1,30),DA)
;;^DD(358.4,.01,3)
;;=What text do you want to appear at the top of this group?
;;^DD(358.4,.01,21,0)
;;=^^2^2^2930604^^^^
;;^DD(358.4,.01,21,1,0)
;;=
;;^DD(358.4,.01,21,2,0)
;;=The name given to a group of selections appearing on a selection list.
;;^DD(358.4,.01,"DEL",1,0)
;;=I '$G(IBLISTPR) W "...Selection Groups can only be deleted through the Encounter Form Utilities!"
;;^DD(358.4,.01,"DT")
;;=2930604
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1LV 2027 printed Nov 22, 2024@17:21:26 Page 2
IBDEI1LV ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQ(358.4)
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.4,0,"GL")
+2 ;;=^IBE(358.4,
+3 ;;^DIC("B","IMP/EXP SELECTION GROUP",358.4)
+4 ;;=
+5 ;;^DIC(358.4,"%D",0)
+6 ;;=^^4^4^2940217^
+7 ;;^DIC(358.4,"%D",1,0)
+8 ;;=
+9 ;;^DIC(358.4,"%D",2,0)
+10 ;;=This file is nearly identical to file #357.4. It is used by the
+11 ;;^DIC(358.4,"%D",3,0)
+12 ;;=Import/Export Utility as a temporary staging area for data from that file
+13 ;;^DIC(358.4,"%D",4,0)
+14 ;;=that is being imported or exported.
+15 ;;^DD(358.4,0)
+16 ;;=FIELD^^.04^4
+17 ;;^DD(358.4,0,"DDA")
+18 ;;=N
+19 ;;^DD(358.4,0,"DT")
+20 ;;=2950717
+21 ;;^DD(358.4,0,"ID",.02)
+22 ;;=W " ",$P(^(0),U,2)
+23 ;;^DD(358.4,0,"ID",.03)
+24 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(358.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(358.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+25 ;;^DD(358.4,0,"IX","APO",358.4,.02)
+26 ;;=
+27 ;;^DD(358.4,0,"IX","APO1",358.4,.03)
+28 ;;=
+29 ;;^DD(358.4,0,"IX","B",358.4,.01)
+30 ;;=
+31 ;;^DD(358.4,0,"IX","D",358.4,.03)
+32 ;;=
+33 ;;^DD(358.4,0,"NM","IMP/EXP SELECTION GROUP")
+34 ;;=
+35 ;;^DD(358.4,0,"PT",358.3,.04)
+36 ;;=
+37 ;;^DD(358.4,0,"VRPK")
+38 ;;=IBD
+39 ;;^DD(358.4,.01,0)
+40 ;;=HEADER^RF^^0;1^K:$L(X)>40!($L(X)<1) X
+41 ;;^DD(358.4,.01,1,0)
+42 ;;=^.1
+43 ;;^DD(358.4,.01,1,1,0)
+44 ;;=358.4^B
+45 ;;^DD(358.4,.01,1,1,1)
+46 ;;=S ^IBE(358.4,"B",$E(X,1,30),DA)=""
+47 ;;^DD(358.4,.01,1,1,2)
+48 ;;=K ^IBE(358.4,"B",$E(X,1,30),DA)
+49 ;;^DD(358.4,.01,3)
+50 ;;=What text do you want to appear at the top of this group?
+51 ;;^DD(358.4,.01,21,0)
+52 ;;=^^2^2^2930604^^^^
+53 ;;^DD(358.4,.01,21,1,0)
+54 ;;=
+55 ;;^DD(358.4,.01,21,2,0)
+56 ;;=The name given to a group of selections appearing on a selection list.
+57 ;;^DD(358.4,.01,"DEL",1,0)
+58 ;;=I '$G(IBLISTPR) W "...Selection Groups can only be deleted through the Encounter Form Utilities!"
+59 ;;^DD(358.4,.01,"DT")
+60 ;;=2930604