IBDEI2V6 ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
Q:'DIFQR(358.3) 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,358.3,45688,2)
;;=^5054250
;;^UTILITY(U,$J,358.3,45689,0)
;;=T78.02XA^^172^2277^34
;;^UTILITY(U,$J,358.3,45689,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45689,1,3,0)
;;=3^Anaphylactic Reaction,Shellfish,1st Encntr
;;^UTILITY(U,$J,358.3,45689,1,4,0)
;;=4^T78.02XA
;;^UTILITY(U,$J,358.3,45689,2)
;;=^5054251
;;^UTILITY(U,$J,358.3,45690,0)
;;=T78.02XD^^172^2277^36
;;^UTILITY(U,$J,358.3,45690,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45690,1,3,0)
;;=3^Anaphylactic Reaction,Shellfish,Subseq Encntr
;;^UTILITY(U,$J,358.3,45690,1,4,0)
;;=4^T78.02XD
;;^UTILITY(U,$J,358.3,45690,2)
;;=^5054252
;;^UTILITY(U,$J,358.3,45691,0)
;;=T78.02XS^^172^2277^35
;;^UTILITY(U,$J,358.3,45691,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45691,1,3,0)
;;=3^Anaphylactic Reaction,Shellfish,Sequela
;;^UTILITY(U,$J,358.3,45691,1,4,0)
;;=4^T78.02XS
;;^UTILITY(U,$J,358.3,45691,2)
;;=^5054253
;;^UTILITY(U,$J,358.3,45692,0)
;;=T78.04XA^^172^2277^19
;;^UTILITY(U,$J,358.3,45692,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45692,1,3,0)
;;=3^Anaphylactic Reaction,Fruits/Vegetables,1st Encntr
;;^UTILITY(U,$J,358.3,45692,1,4,0)
;;=4^T78.04XA
;;^UTILITY(U,$J,358.3,45692,2)
;;=^5054257
;;^UTILITY(U,$J,358.3,45693,0)
;;=T78.04XD^^172^2277^20
;;^UTILITY(U,$J,358.3,45693,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45693,1,3,0)
;;=3^Anaphylactic Reaction,Fruits/Vegetables,Subseq Encntr
;;^UTILITY(U,$J,358.3,45693,1,4,0)
;;=4^T78.04XD
;;^UTILITY(U,$J,358.3,45693,2)
;;=^5054258
;;^UTILITY(U,$J,358.3,45694,0)
;;=T78.04XS^^172^2277^21
;;^UTILITY(U,$J,358.3,45694,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45694,1,3,0)
;;=3^Anaphylactic Reaction,Fruits/Vegetables,Sequela
;;^UTILITY(U,$J,358.3,45694,1,4,0)
;;=4^T78.04XS
;;^UTILITY(U,$J,358.3,45694,2)
;;=^5054259
;;^UTILITY(U,$J,358.3,45695,0)
;;=T78.05XA^^172^2277^25
;;^UTILITY(U,$J,358.3,45695,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45695,1,3,0)
;;=3^Anaphylactic Reaction,Nuts/Seeds,1st Encntr
;;^UTILITY(U,$J,358.3,45695,1,4,0)
;;=4^T78.05XA
;;^UTILITY(U,$J,358.3,45695,2)
;;=^5054260
;;^UTILITY(U,$J,358.3,45696,0)
;;=T78.05XD^^172^2277^27
;;^UTILITY(U,$J,358.3,45696,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45696,1,3,0)
;;=3^Anaphylactic Reaction,Nuts/Seeds,Subseq Encntr
;;^UTILITY(U,$J,358.3,45696,1,4,0)
;;=4^T78.05XD
;;^UTILITY(U,$J,358.3,45696,2)
;;=^5054261
;;^UTILITY(U,$J,358.3,45697,0)
;;=T78.05XS^^172^2277^26
;;^UTILITY(U,$J,358.3,45697,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45697,1,3,0)
;;=3^Anaphylactic Reaction,Nuts/Seeds,Sequela
;;^UTILITY(U,$J,358.3,45697,1,4,0)
;;=4^T78.05XS
;;^UTILITY(U,$J,358.3,45697,2)
;;=^5054262
;;^UTILITY(U,$J,358.3,45698,0)
;;=T78.03XA^^172^2277^13
;;^UTILITY(U,$J,358.3,45698,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45698,1,3,0)
;;=3^Anaphylactic Reaction,Fish,1st Encntr
;;^UTILITY(U,$J,358.3,45698,1,4,0)
;;=4^T78.03XA
;;^UTILITY(U,$J,358.3,45698,2)
;;=^5054254
;;^UTILITY(U,$J,358.3,45699,0)
;;=T78.03XD^^172^2277^15
;;^UTILITY(U,$J,358.3,45699,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45699,1,3,0)
;;=3^Anaphylactic Reaction,Fish,Subseq Encntr
;;^UTILITY(U,$J,358.3,45699,1,4,0)
;;=4^T78.03XD
;;^UTILITY(U,$J,358.3,45699,2)
;;=^5054255
;;^UTILITY(U,$J,358.3,45700,0)
;;=T78.03XS^^172^2277^14
;;^UTILITY(U,$J,358.3,45700,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2V6 3748 printed Nov 22, 2024@17:46:36 Page 2
IBDEI2V6 ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 if 'DIFQR(358.3)
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 ;;^UTILITY(U,$J,358.3,45688,2)
+2 ;;=^5054250
+3 ;;^UTILITY(U,$J,358.3,45689,0)
+4 ;;=T78.02XA^^172^2277^34
+5 ;;^UTILITY(U,$J,358.3,45689,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,45689,1,3,0)
+8 ;;=3^Anaphylactic Reaction,Shellfish,1st Encntr
+9 ;;^UTILITY(U,$J,358.3,45689,1,4,0)
+10 ;;=4^T78.02XA
+11 ;;^UTILITY(U,$J,358.3,45689,2)
+12 ;;=^5054251
+13 ;;^UTILITY(U,$J,358.3,45690,0)
+14 ;;=T78.02XD^^172^2277^36
+15 ;;^UTILITY(U,$J,358.3,45690,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,45690,1,3,0)
+18 ;;=3^Anaphylactic Reaction,Shellfish,Subseq Encntr
+19 ;;^UTILITY(U,$J,358.3,45690,1,4,0)
+20 ;;=4^T78.02XD
+21 ;;^UTILITY(U,$J,358.3,45690,2)
+22 ;;=^5054252
+23 ;;^UTILITY(U,$J,358.3,45691,0)
+24 ;;=T78.02XS^^172^2277^35
+25 ;;^UTILITY(U,$J,358.3,45691,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,45691,1,3,0)
+28 ;;=3^Anaphylactic Reaction,Shellfish,Sequela
+29 ;;^UTILITY(U,$J,358.3,45691,1,4,0)
+30 ;;=4^T78.02XS
+31 ;;^UTILITY(U,$J,358.3,45691,2)
+32 ;;=^5054253
+33 ;;^UTILITY(U,$J,358.3,45692,0)
+34 ;;=T78.04XA^^172^2277^19
+35 ;;^UTILITY(U,$J,358.3,45692,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,45692,1,3,0)
+38 ;;=3^Anaphylactic Reaction,Fruits/Vegetables,1st Encntr
+39 ;;^UTILITY(U,$J,358.3,45692,1,4,0)
+40 ;;=4^T78.04XA
+41 ;;^UTILITY(U,$J,358.3,45692,2)
+42 ;;=^5054257
+43 ;;^UTILITY(U,$J,358.3,45693,0)
+44 ;;=T78.04XD^^172^2277^20
+45 ;;^UTILITY(U,$J,358.3,45693,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,45693,1,3,0)
+48 ;;=3^Anaphylactic Reaction,Fruits/Vegetables,Subseq Encntr
+49 ;;^UTILITY(U,$J,358.3,45693,1,4,0)
+50 ;;=4^T78.04XD
+51 ;;^UTILITY(U,$J,358.3,45693,2)
+52 ;;=^5054258
+53 ;;^UTILITY(U,$J,358.3,45694,0)
+54 ;;=T78.04XS^^172^2277^21
+55 ;;^UTILITY(U,$J,358.3,45694,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,45694,1,3,0)
+58 ;;=3^Anaphylactic Reaction,Fruits/Vegetables,Sequela
+59 ;;^UTILITY(U,$J,358.3,45694,1,4,0)
+60 ;;=4^T78.04XS
+61 ;;^UTILITY(U,$J,358.3,45694,2)
+62 ;;=^5054259
+63 ;;^UTILITY(U,$J,358.3,45695,0)
+64 ;;=T78.05XA^^172^2277^25
+65 ;;^UTILITY(U,$J,358.3,45695,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,45695,1,3,0)
+68 ;;=3^Anaphylactic Reaction,Nuts/Seeds,1st Encntr
+69 ;;^UTILITY(U,$J,358.3,45695,1,4,0)
+70 ;;=4^T78.05XA
+71 ;;^UTILITY(U,$J,358.3,45695,2)
+72 ;;=^5054260
+73 ;;^UTILITY(U,$J,358.3,45696,0)
+74 ;;=T78.05XD^^172^2277^27
+75 ;;^UTILITY(U,$J,358.3,45696,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,45696,1,3,0)
+78 ;;=3^Anaphylactic Reaction,Nuts/Seeds,Subseq Encntr
+79 ;;^UTILITY(U,$J,358.3,45696,1,4,0)
+80 ;;=4^T78.05XD
+81 ;;^UTILITY(U,$J,358.3,45696,2)
+82 ;;=^5054261
+83 ;;^UTILITY(U,$J,358.3,45697,0)
+84 ;;=T78.05XS^^172^2277^26
+85 ;;^UTILITY(U,$J,358.3,45697,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,45697,1,3,0)
+88 ;;=3^Anaphylactic Reaction,Nuts/Seeds,Sequela
+89 ;;^UTILITY(U,$J,358.3,45697,1,4,0)
+90 ;;=4^T78.05XS
+91 ;;^UTILITY(U,$J,358.3,45697,2)
+92 ;;=^5054262
+93 ;;^UTILITY(U,$J,358.3,45698,0)
+94 ;;=T78.03XA^^172^2277^13
+95 ;;^UTILITY(U,$J,358.3,45698,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,45698,1,3,0)
+98 ;;=3^Anaphylactic Reaction,Fish,1st Encntr
+99 ;;^UTILITY(U,$J,358.3,45698,1,4,0)
+100 ;;=4^T78.03XA
+101 ;;^UTILITY(U,$J,358.3,45698,2)
+102 ;;=^5054254
+103 ;;^UTILITY(U,$J,358.3,45699,0)
+104 ;;=T78.03XD^^172^2277^15
+105 ;;^UTILITY(U,$J,358.3,45699,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,45699,1,3,0)
+108 ;;=3^Anaphylactic Reaction,Fish,Subseq Encntr
+109 ;;^UTILITY(U,$J,358.3,45699,1,4,0)
+110 ;;=4^T78.03XD
+111 ;;^UTILITY(U,$J,358.3,45699,2)
+112 ;;=^5054255
+113 ;;^UTILITY(U,$J,358.3,45700,0)
+114 ;;=T78.03XS^^172^2277^14
+115 ;;^UTILITY(U,$J,358.3,45700,1,0)
+116 ;;=^358.31IA^4^2