IBDEI3D0 ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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
;;^UTILITY(U,$J,"OR",207,0)
;;=207^IBDE^^OE/RR-CLEVELAND
;;^UTILITY(U,$J,"PKG",207,0)
;;=IB ENCOUNTER FORM IMP/EXP^IBDE^The import/export utilities for encounter forms.
;;^UTILITY(U,$J,"PKG",207,4,0)
;;=^9.44PA^14^14
;;^UTILITY(U,$J,"PKG",207,4,1,0)
;;=358
;;^UTILITY(U,$J,"PKG",207,4,1,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,1,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,1,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,1,222)
;;=n^n^^n^^^y^o^y
;;^UTILITY(U,$J,"PKG",207,4,2,0)
;;=358.1
;;^UTILITY(U,$J,"PKG",207,4,2,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,2,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,2,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,2,222)
;;=y^y^^n^^^y^o^y
;;^UTILITY(U,$J,"PKG",207,4,3,0)
;;=358.2
;;^UTILITY(U,$J,"PKG",207,4,3,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,3,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,3,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,3,222)
;;=y^n^^y^^^y^o^n
;;^UTILITY(U,$J,"PKG",207,4,4,0)
;;=358.3
;;^UTILITY(U,$J,"PKG",207,4,4,1,0)
;;=^9.45A^2^2
;;^UTILITY(U,$J,"PKG",207,4,4,1,1,0)
;;=SELECTION ID
;;^UTILITY(U,$J,"PKG",207,4,4,1,2,0)
;;=SELECTION ID
;;^UTILITY(U,$J,"PKG",207,4,4,1,"B","SELECTION ID",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,4,1,"B","SELECTION ID",2)
;;=
;;^UTILITY(U,$J,"PKG",207,4,4,222)
;;=y^n^^y^^^y^o^y
;;^UTILITY(U,$J,"PKG",207,4,5,0)
;;=358.4
;;^UTILITY(U,$J,"PKG",207,4,5,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,5,1,1,0)
;;=HEADER
;;^UTILITY(U,$J,"PKG",207,4,5,1,"B","HEADER",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,5,222)
;;=y^n^^y^^^y^o^y
;;^UTILITY(U,$J,"PKG",207,4,6,0)
;;=358.5
;;^UTILITY(U,$J,"PKG",207,4,6,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,6,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,6,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,6,222)
;;=y^y^^y^^^y^o^y
;;^UTILITY(U,$J,"PKG",207,4,7,0)
;;=358.6
;;^UTILITY(U,$J,"PKG",207,4,7,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,7,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,7,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,7,222)
;;=n^n^^y^^^y^o^y
;;^UTILITY(U,$J,"PKG",207,4,8,0)
;;=358.7
;;^UTILITY(U,$J,"PKG",207,4,8,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,8,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,8,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,8,222)
;;=n^n^^n^^^n^o^n
;;^UTILITY(U,$J,"PKG",207,4,9,0)
;;=358.8
;;^UTILITY(U,$J,"PKG",207,4,9,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,9,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,9,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,9,222)
;;=n^n^^n^^^y^o^n
;;^UTILITY(U,$J,"PKG",207,4,10,0)
;;=358.91
;;^UTILITY(U,$J,"PKG",207,4,10,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,10,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,10,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,10,222)
;;=n^n^^n^^^y^o^n
;;^UTILITY(U,$J,"PKG",207,4,11,0)
;;=358.94
;;^UTILITY(U,$J,"PKG",207,4,11,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,11,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,11,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,11,222)
;;=n^y^^n^^^y^o^n
;;^UTILITY(U,$J,"PKG",207,4,12,0)
;;=358.93
;;^UTILITY(U,$J,"PKG",207,4,12,1,0)
;;=^9.45A^1^1
;;^UTILITY(U,$J,"PKG",207,4,12,1,1,0)
;;=NAME
;;^UTILITY(U,$J,"PKG",207,4,12,1,"B","NAME",1)
;;=
;;^UTILITY(U,$J,"PKG",207,4,12,222)
;;=n^n^^n^^^y^o^n
;;^UTILITY(U,$J,"PKG",207,4,13,0)
;;=358.99
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3D0 3779 printed Oct 16, 2024@18:47:08 Page 2
IBDEI3D0 ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 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 ;;^UTILITY(U,$J,"OR",207,0)
+2 ;;=207^IBDE^^OE/RR-CLEVELAND
+3 ;;^UTILITY(U,$J,"PKG",207,0)
+4 ;;=IB ENCOUNTER FORM IMP/EXP^IBDE^The import/export utilities for encounter forms.
+5 ;;^UTILITY(U,$J,"PKG",207,4,0)
+6 ;;=^9.44PA^14^14
+7 ;;^UTILITY(U,$J,"PKG",207,4,1,0)
+8 ;;=358
+9 ;;^UTILITY(U,$J,"PKG",207,4,1,1,0)
+10 ;;=^9.45A^1^1
+11 ;;^UTILITY(U,$J,"PKG",207,4,1,1,1,0)
+12 ;;=NAME
+13 ;;^UTILITY(U,$J,"PKG",207,4,1,1,"B","NAME",1)
+14 ;;=
+15 ;;^UTILITY(U,$J,"PKG",207,4,1,222)
+16 ;;=n^n^^n^^^y^o^y
+17 ;;^UTILITY(U,$J,"PKG",207,4,2,0)
+18 ;;=358.1
+19 ;;^UTILITY(U,$J,"PKG",207,4,2,1,0)
+20 ;;=^9.45A^1^1
+21 ;;^UTILITY(U,$J,"PKG",207,4,2,1,1,0)
+22 ;;=NAME
+23 ;;^UTILITY(U,$J,"PKG",207,4,2,1,"B","NAME",1)
+24 ;;=
+25 ;;^UTILITY(U,$J,"PKG",207,4,2,222)
+26 ;;=y^y^^n^^^y^o^y
+27 ;;^UTILITY(U,$J,"PKG",207,4,3,0)
+28 ;;=358.2
+29 ;;^UTILITY(U,$J,"PKG",207,4,3,1,0)
+30 ;;=^9.45A^1^1
+31 ;;^UTILITY(U,$J,"PKG",207,4,3,1,1,0)
+32 ;;=NAME
+33 ;;^UTILITY(U,$J,"PKG",207,4,3,1,"B","NAME",1)
+34 ;;=
+35 ;;^UTILITY(U,$J,"PKG",207,4,3,222)
+36 ;;=y^n^^y^^^y^o^n
+37 ;;^UTILITY(U,$J,"PKG",207,4,4,0)
+38 ;;=358.3
+39 ;;^UTILITY(U,$J,"PKG",207,4,4,1,0)
+40 ;;=^9.45A^2^2
+41 ;;^UTILITY(U,$J,"PKG",207,4,4,1,1,0)
+42 ;;=SELECTION ID
+43 ;;^UTILITY(U,$J,"PKG",207,4,4,1,2,0)
+44 ;;=SELECTION ID
+45 ;;^UTILITY(U,$J,"PKG",207,4,4,1,"B","SELECTION ID",1)
+46 ;;=
+47 ;;^UTILITY(U,$J,"PKG",207,4,4,1,"B","SELECTION ID",2)
+48 ;;=
+49 ;;^UTILITY(U,$J,"PKG",207,4,4,222)
+50 ;;=y^n^^y^^^y^o^y
+51 ;;^UTILITY(U,$J,"PKG",207,4,5,0)
+52 ;;=358.4
+53 ;;^UTILITY(U,$J,"PKG",207,4,5,1,0)
+54 ;;=^9.45A^1^1
+55 ;;^UTILITY(U,$J,"PKG",207,4,5,1,1,0)
+56 ;;=HEADER
+57 ;;^UTILITY(U,$J,"PKG",207,4,5,1,"B","HEADER",1)
+58 ;;=
+59 ;;^UTILITY(U,$J,"PKG",207,4,5,222)
+60 ;;=y^n^^y^^^y^o^y
+61 ;;^UTILITY(U,$J,"PKG",207,4,6,0)
+62 ;;=358.5
+63 ;;^UTILITY(U,$J,"PKG",207,4,6,1,0)
+64 ;;=^9.45A^1^1
+65 ;;^UTILITY(U,$J,"PKG",207,4,6,1,1,0)
+66 ;;=NAME
+67 ;;^UTILITY(U,$J,"PKG",207,4,6,1,"B","NAME",1)
+68 ;;=
+69 ;;^UTILITY(U,$J,"PKG",207,4,6,222)
+70 ;;=y^y^^y^^^y^o^y
+71 ;;^UTILITY(U,$J,"PKG",207,4,7,0)
+72 ;;=358.6
+73 ;;^UTILITY(U,$J,"PKG",207,4,7,1,0)
+74 ;;=^9.45A^1^1
+75 ;;^UTILITY(U,$J,"PKG",207,4,7,1,1,0)
+76 ;;=NAME
+77 ;;^UTILITY(U,$J,"PKG",207,4,7,1,"B","NAME",1)
+78 ;;=
+79 ;;^UTILITY(U,$J,"PKG",207,4,7,222)
+80 ;;=n^n^^y^^^y^o^y
+81 ;;^UTILITY(U,$J,"PKG",207,4,8,0)
+82 ;;=358.7
+83 ;;^UTILITY(U,$J,"PKG",207,4,8,1,0)
+84 ;;=^9.45A^1^1
+85 ;;^UTILITY(U,$J,"PKG",207,4,8,1,1,0)
+86 ;;=NAME
+87 ;;^UTILITY(U,$J,"PKG",207,4,8,1,"B","NAME",1)
+88 ;;=
+89 ;;^UTILITY(U,$J,"PKG",207,4,8,222)
+90 ;;=n^n^^n^^^n^o^n
+91 ;;^UTILITY(U,$J,"PKG",207,4,9,0)
+92 ;;=358.8
+93 ;;^UTILITY(U,$J,"PKG",207,4,9,1,0)
+94 ;;=^9.45A^1^1
+95 ;;^UTILITY(U,$J,"PKG",207,4,9,1,1,0)
+96 ;;=NAME
+97 ;;^UTILITY(U,$J,"PKG",207,4,9,1,"B","NAME",1)
+98 ;;=
+99 ;;^UTILITY(U,$J,"PKG",207,4,9,222)
+100 ;;=n^n^^n^^^y^o^n
+101 ;;^UTILITY(U,$J,"PKG",207,4,10,0)
+102 ;;=358.91
+103 ;;^UTILITY(U,$J,"PKG",207,4,10,1,0)
+104 ;;=^9.45A^1^1
+105 ;;^UTILITY(U,$J,"PKG",207,4,10,1,1,0)
+106 ;;=NAME
+107 ;;^UTILITY(U,$J,"PKG",207,4,10,1,"B","NAME",1)
+108 ;;=
+109 ;;^UTILITY(U,$J,"PKG",207,4,10,222)
+110 ;;=n^n^^n^^^y^o^n
+111 ;;^UTILITY(U,$J,"PKG",207,4,11,0)
+112 ;;=358.94
+113 ;;^UTILITY(U,$J,"PKG",207,4,11,1,0)
+114 ;;=^9.45A^1^1
+115 ;;^UTILITY(U,$J,"PKG",207,4,11,1,1,0)
+116 ;;=NAME
+117 ;;^UTILITY(U,$J,"PKG",207,4,11,1,"B","NAME",1)
+118 ;;=
+119 ;;^UTILITY(U,$J,"PKG",207,4,11,222)
+120 ;;=n^y^^n^^^y^o^n
+121 ;;^UTILITY(U,$J,"PKG",207,4,12,0)
+122 ;;=358.93
+123 ;;^UTILITY(U,$J,"PKG",207,4,12,1,0)
+124 ;;=^9.45A^1^1
+125 ;;^UTILITY(U,$J,"PKG",207,4,12,1,1,0)
+126 ;;=NAME
+127 ;;^UTILITY(U,$J,"PKG",207,4,12,1,"B","NAME",1)
+128 ;;=
+129 ;;^UTILITY(U,$J,"PKG",207,4,12,222)
+130 ;;=n^n^^n^^^y^o^n
+131 ;;^UTILITY(U,$J,"PKG",207,4,13,0)
+132 ;;=358.99