IBDEI0FS ; ; 03-MAY-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;MAY 03, 2022
Q:'DIFQ(358.5) 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.5,0,"GL")
;;=^IBE(358.5,
;;^DIC("B","IMP/EXP DATA FIELD",358.5)
;;=
;;^DIC(358.5,"%D",0)
;;=^^1^1^2940829^^^^
;;^DIC(358.5,"%D",1,0)
;;=Used by the import/export utility as a workspace.
;;^DIC(358.5,"%D",2,0)
;;=
;;^DIC(358.5,"%D",3,0)
;;=
;;^DIC(358.5,"%D",4,0)
;;=This file is nearly identical to file #357.5. It is used by the
;;^DIC(358.5,"%D",5,0)
;;=Import/Export Utility as a temporary staging area for data from that file
;;^DIC(358.5,"%D",6,0)
;;=that is being imported or exported.
;;^DD(358.5,0)
;;=FIELD^^2^13
;;^DD(358.5,0,"DDA")
;;=N
;;^DD(358.5,0,"DT")
;;=2930730
;;^DD(358.5,0,"ID",.02)
;;=W ""
;;^DD(358.5,0,"ID",.03)
;;=W ""
;;^DD(358.5,0,"IX","B",358.5,.01)
;;=
;;^DD(358.5,0,"IX","C",358.5,.02)
;;=
;;^DD(358.5,0,"NM","IMP/EXP DATA FIELD")
;;=
;;^DD(358.5,0,"VRPK")
;;=IBD
;;^DD(358.5,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
;;^DD(358.5,.01,1,0)
;;=^.1
;;^DD(358.5,.01,1,1,0)
;;=358.5^B
;;^DD(358.5,.01,1,1,1)
;;=S ^IBE(358.5,"B",$E(X,1,30),DA)=""
;;^DD(358.5,.01,1,1,2)
;;=K ^IBE(358.5,"B",$E(X,1,30),DA)
;;^DD(358.5,.01,3)
;;=Answer must be 3-30 characters in length.
;;^DD(358.5,.01,21,0)
;;=^^3^3^2930419^^^
;;^DD(358.5,.01,21,1,0)
;;=
;;^DD(358.5,.01,21,2,0)
;;=The name is used to identify the field within a block. It can be anything
;;^DD(358.5,.01,21,3,0)
;;=the designer of a form wants it to be.
;;^DD(358.5,.01,"DT")
;;=2930419
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0FS 1762 printed Nov 22, 2024@16:58:02 Page 2
IBDEI0FS ; ; 03-MAY-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;MAY 03, 2022
+2 if 'DIFQ(358.5)
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.5,0,"GL")
+2 ;;=^IBE(358.5,
+3 ;;^DIC("B","IMP/EXP DATA FIELD",358.5)
+4 ;;=
+5 ;;^DIC(358.5,"%D",0)
+6 ;;=^^1^1^2940829^^^^
+7 ;;^DIC(358.5,"%D",1,0)
+8 ;;=Used by the import/export utility as a workspace.
+9 ;;^DIC(358.5,"%D",2,0)
+10 ;;=
+11 ;;^DIC(358.5,"%D",3,0)
+12 ;;=
+13 ;;^DIC(358.5,"%D",4,0)
+14 ;;=This file is nearly identical to file #357.5. It is used by the
+15 ;;^DIC(358.5,"%D",5,0)
+16 ;;=Import/Export Utility as a temporary staging area for data from that file
+17 ;;^DIC(358.5,"%D",6,0)
+18 ;;=that is being imported or exported.
+19 ;;^DD(358.5,0)
+20 ;;=FIELD^^2^13
+21 ;;^DD(358.5,0,"DDA")
+22 ;;=N
+23 ;;^DD(358.5,0,"DT")
+24 ;;=2930730
+25 ;;^DD(358.5,0,"ID",.02)
+26 ;;=W ""
+27 ;;^DD(358.5,0,"ID",.03)
+28 ;;=W ""
+29 ;;^DD(358.5,0,"IX","B",358.5,.01)
+30 ;;=
+31 ;;^DD(358.5,0,"IX","C",358.5,.02)
+32 ;;=
+33 ;;^DD(358.5,0,"NM","IMP/EXP DATA FIELD")
+34 ;;=
+35 ;;^DD(358.5,0,"VRPK")
+36 ;;=IBD
+37 ;;^DD(358.5,.01,0)
+38 ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
+39 ;;^DD(358.5,.01,1,0)
+40 ;;=^.1
+41 ;;^DD(358.5,.01,1,1,0)
+42 ;;=358.5^B
+43 ;;^DD(358.5,.01,1,1,1)
+44 ;;=S ^IBE(358.5,"B",$E(X,1,30),DA)=""
+45 ;;^DD(358.5,.01,1,1,2)
+46 ;;=K ^IBE(358.5,"B",$E(X,1,30),DA)
+47 ;;^DD(358.5,.01,3)
+48 ;;=Answer must be 3-30 characters in length.
+49 ;;^DD(358.5,.01,21,0)
+50 ;;=^^3^3^2930419^^^
+51 ;;^DD(358.5,.01,21,1,0)
+52 ;;=
+53 ;;^DD(358.5,.01,21,2,0)
+54 ;;=The name is used to identify the field within a block. It can be anything
+55 ;;^DD(358.5,.01,21,3,0)
+56 ;;=the designer of a form wants it to be.
+57 ;;^DD(358.5,.01,"DT")
+58 ;;=2930419