IBDEI1N1 ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQ(358.94) 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.94,0,"GL")
;;=^IBE(358.94,
;;^DIC("B","IMP/EXP HAND PRINT FIELD",358.94)
;;=
;;^DIC(358.94,"%D",0)
;;=^^1^1^2950927^^
;;^DIC(358.94,"%D",1,0)
;;=Used by the Import/Export utility as a workspace.
;;^DD(358.94,0)
;;=FIELD^^.1^8
;;^DD(358.94,0,"DT")
;;=2950728
;;^DD(358.94,0,"IX","B",358.94,.01)
;;=
;;^DD(358.94,0,"IX","C",358.94,.08)
;;=
;;^DD(358.94,0,"NM","IMP/EXP HAND PRINT FIELD")
;;=
;;^DD(358.94,0,"VRPK")
;;=AUTOMATED INFO COLLECTION SYS
;;^DD(358.94,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
;;^DD(358.94,.01,1,0)
;;=^.1
;;^DD(358.94,.01,1,1,0)
;;=358.94^B
;;^DD(358.94,.01,1,1,1)
;;=S ^IBE(358.94,"B",$E(X,1,30),DA)=""
;;^DD(358.94,.01,1,1,2)
;;=K ^IBE(358.94,"B",$E(X,1,30),DA)
;;^DD(358.94,.01,3)
;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
;;^DD(358.94,.01,21,0)
;;=^^3^3^2950725^
;;^DD(358.94,.01,21,1,0)
;;=
;;^DD(358.94,.01,21,2,0)
;;=
;;^DD(358.94,.01,21,3,0)
;;=The name of the field.
;;^DD(358.94,.01,"DT")
;;=2930518
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1N1 1343 printed Oct 16, 2024@18:12:42 Page 2
IBDEI1N1 ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQ(358.94)
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.94,0,"GL")
+2 ;;=^IBE(358.94,
+3 ;;^DIC("B","IMP/EXP HAND PRINT FIELD",358.94)
+4 ;;=
+5 ;;^DIC(358.94,"%D",0)
+6 ;;=^^1^1^2950927^^
+7 ;;^DIC(358.94,"%D",1,0)
+8 ;;=Used by the Import/Export utility as a workspace.
+9 ;;^DD(358.94,0)
+10 ;;=FIELD^^.1^8
+11 ;;^DD(358.94,0,"DT")
+12 ;;=2950728
+13 ;;^DD(358.94,0,"IX","B",358.94,.01)
+14 ;;=
+15 ;;^DD(358.94,0,"IX","C",358.94,.08)
+16 ;;=
+17 ;;^DD(358.94,0,"NM","IMP/EXP HAND PRINT FIELD")
+18 ;;=
+19 ;;^DD(358.94,0,"VRPK")
+20 ;;=AUTOMATED INFO COLLECTION SYS
+21 ;;^DD(358.94,.01,0)
+22 ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
+23 ;;^DD(358.94,.01,1,0)
+24 ;;=^.1
+25 ;;^DD(358.94,.01,1,1,0)
+26 ;;=358.94^B
+27 ;;^DD(358.94,.01,1,1,1)
+28 ;;=S ^IBE(358.94,"B",$E(X,1,30),DA)=""
+29 ;;^DD(358.94,.01,1,1,2)
+30 ;;=K ^IBE(358.94,"B",$E(X,1,30),DA)
+31 ;;^DD(358.94,.01,3)
+32 ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
+33 ;;^DD(358.94,.01,21,0)
+34 ;;=^^3^3^2950725^
+35 ;;^DD(358.94,.01,21,1,0)
+36 ;;=
+37 ;;^DD(358.94,.01,21,2,0)
+38 ;;=
+39 ;;^DD(358.94,.01,21,3,0)
+40 ;;=The name of the field.
+41 ;;^DD(358.94,.01,"DT")
+42 ;;=2930518