IBDEI2V7 ; ; 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,45700,1,3,0)
;;=3^Anaphylactic Reaction,Fish,Sequela
;;^UTILITY(U,$J,358.3,45700,1,4,0)
;;=4^T78.03XS
;;^UTILITY(U,$J,358.3,45700,2)
;;=^5054256
;;^UTILITY(U,$J,358.3,45701,0)
;;=T78.06XA^^172^2277^16
;;^UTILITY(U,$J,358.3,45701,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45701,1,3,0)
;;=3^Anaphylactic Reaction,Food Additives,1st Encntr
;;^UTILITY(U,$J,358.3,45701,1,4,0)
;;=4^T78.06XA
;;^UTILITY(U,$J,358.3,45701,2)
;;=^5054263
;;^UTILITY(U,$J,358.3,45702,0)
;;=T78.06XD^^172^2277^18
;;^UTILITY(U,$J,358.3,45702,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45702,1,3,0)
;;=3^Anaphylactic Reaction,Food Additives,Subseq Encntr
;;^UTILITY(U,$J,358.3,45702,1,4,0)
;;=4^T78.06XD
;;^UTILITY(U,$J,358.3,45702,2)
;;=^5054264
;;^UTILITY(U,$J,358.3,45703,0)
;;=T78.06XS^^172^2277^17
;;^UTILITY(U,$J,358.3,45703,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45703,1,3,0)
;;=3^Anaphylactic Reaction,Food Additives,Sequela
;;^UTILITY(U,$J,358.3,45703,1,4,0)
;;=4^T78.06XS
;;^UTILITY(U,$J,358.3,45703,2)
;;=^5054265
;;^UTILITY(U,$J,358.3,45704,0)
;;=T78.07XA^^172^2277^22
;;^UTILITY(U,$J,358.3,45704,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45704,1,3,0)
;;=3^Anaphylactic Reaction,Milk Products,1st Encntr
;;^UTILITY(U,$J,358.3,45704,1,4,0)
;;=4^T78.07XA
;;^UTILITY(U,$J,358.3,45704,2)
;;=^5054266
;;^UTILITY(U,$J,358.3,45705,0)
;;=T78.07XD^^172^2277^24
;;^UTILITY(U,$J,358.3,45705,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45705,1,3,0)
;;=3^Anaphylactic Reaction,Milk Products,Subseq Encntr
;;^UTILITY(U,$J,358.3,45705,1,4,0)
;;=4^T78.07XD
;;^UTILITY(U,$J,358.3,45705,2)
;;=^5054267
;;^UTILITY(U,$J,358.3,45706,0)
;;=T78.07XS^^172^2277^23
;;^UTILITY(U,$J,358.3,45706,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45706,1,3,0)
;;=3^Anaphylactic Reaction,Milk Products,Sequela
;;^UTILITY(U,$J,358.3,45706,1,4,0)
;;=4^T78.07XS
;;^UTILITY(U,$J,358.3,45706,2)
;;=^5054268
;;^UTILITY(U,$J,358.3,45707,0)
;;=T78.08XA^^172^2277^10
;;^UTILITY(U,$J,358.3,45707,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45707,1,3,0)
;;=3^Anaphylactic Reaction,Eggs,1st Encntr
;;^UTILITY(U,$J,358.3,45707,1,4,0)
;;=4^T78.08XA
;;^UTILITY(U,$J,358.3,45707,2)
;;=^5054269
;;^UTILITY(U,$J,358.3,45708,0)
;;=T78.08XD^^172^2277^12
;;^UTILITY(U,$J,358.3,45708,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45708,1,3,0)
;;=3^Anaphylactic Reaction,Eggs,Subseq Encntr
;;^UTILITY(U,$J,358.3,45708,1,4,0)
;;=4^T78.08XD
;;^UTILITY(U,$J,358.3,45708,2)
;;=^5054270
;;^UTILITY(U,$J,358.3,45709,0)
;;=T78.08XS^^172^2277^11
;;^UTILITY(U,$J,358.3,45709,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45709,1,3,0)
;;=3^Anaphylactic Reaction,Eggs,Sequela
;;^UTILITY(U,$J,358.3,45709,1,4,0)
;;=4^T78.08XS
;;^UTILITY(U,$J,358.3,45709,2)
;;=^5054271
;;^UTILITY(U,$J,358.3,45710,0)
;;=T78.09XA^^172^2277^28
;;^UTILITY(U,$J,358.3,45710,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45710,1,3,0)
;;=3^Anaphylactic Reaction,Oth Food Products,1st Encntr
;;^UTILITY(U,$J,358.3,45710,1,4,0)
;;=4^T78.09XA
;;^UTILITY(U,$J,358.3,45710,2)
;;=^5054272
;;^UTILITY(U,$J,358.3,45711,0)
;;=T78.09XD^^172^2277^29
;;^UTILITY(U,$J,358.3,45711,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45711,1,3,0)
;;=3^Anaphylactic Reaction,Oth Food Products,Subseq Encntr
;;^UTILITY(U,$J,358.3,45711,1,4,0)
;;=4^T78.09XD
;;^UTILITY(U,$J,358.3,45711,2)
;;=^5054273
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2V7 3777 printed Dec 13, 2024@02:36:28 Page 2
IBDEI2V7 ; ; 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,45700,1,3,0)
+2 ;;=3^Anaphylactic Reaction,Fish,Sequela
+3 ;;^UTILITY(U,$J,358.3,45700,1,4,0)
+4 ;;=4^T78.03XS
+5 ;;^UTILITY(U,$J,358.3,45700,2)
+6 ;;=^5054256
+7 ;;^UTILITY(U,$J,358.3,45701,0)
+8 ;;=T78.06XA^^172^2277^16
+9 ;;^UTILITY(U,$J,358.3,45701,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,45701,1,3,0)
+12 ;;=3^Anaphylactic Reaction,Food Additives,1st Encntr
+13 ;;^UTILITY(U,$J,358.3,45701,1,4,0)
+14 ;;=4^T78.06XA
+15 ;;^UTILITY(U,$J,358.3,45701,2)
+16 ;;=^5054263
+17 ;;^UTILITY(U,$J,358.3,45702,0)
+18 ;;=T78.06XD^^172^2277^18
+19 ;;^UTILITY(U,$J,358.3,45702,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,45702,1,3,0)
+22 ;;=3^Anaphylactic Reaction,Food Additives,Subseq Encntr
+23 ;;^UTILITY(U,$J,358.3,45702,1,4,0)
+24 ;;=4^T78.06XD
+25 ;;^UTILITY(U,$J,358.3,45702,2)
+26 ;;=^5054264
+27 ;;^UTILITY(U,$J,358.3,45703,0)
+28 ;;=T78.06XS^^172^2277^17
+29 ;;^UTILITY(U,$J,358.3,45703,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,45703,1,3,0)
+32 ;;=3^Anaphylactic Reaction,Food Additives,Sequela
+33 ;;^UTILITY(U,$J,358.3,45703,1,4,0)
+34 ;;=4^T78.06XS
+35 ;;^UTILITY(U,$J,358.3,45703,2)
+36 ;;=^5054265
+37 ;;^UTILITY(U,$J,358.3,45704,0)
+38 ;;=T78.07XA^^172^2277^22
+39 ;;^UTILITY(U,$J,358.3,45704,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,45704,1,3,0)
+42 ;;=3^Anaphylactic Reaction,Milk Products,1st Encntr
+43 ;;^UTILITY(U,$J,358.3,45704,1,4,0)
+44 ;;=4^T78.07XA
+45 ;;^UTILITY(U,$J,358.3,45704,2)
+46 ;;=^5054266
+47 ;;^UTILITY(U,$J,358.3,45705,0)
+48 ;;=T78.07XD^^172^2277^24
+49 ;;^UTILITY(U,$J,358.3,45705,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,45705,1,3,0)
+52 ;;=3^Anaphylactic Reaction,Milk Products,Subseq Encntr
+53 ;;^UTILITY(U,$J,358.3,45705,1,4,0)
+54 ;;=4^T78.07XD
+55 ;;^UTILITY(U,$J,358.3,45705,2)
+56 ;;=^5054267
+57 ;;^UTILITY(U,$J,358.3,45706,0)
+58 ;;=T78.07XS^^172^2277^23
+59 ;;^UTILITY(U,$J,358.3,45706,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,45706,1,3,0)
+62 ;;=3^Anaphylactic Reaction,Milk Products,Sequela
+63 ;;^UTILITY(U,$J,358.3,45706,1,4,0)
+64 ;;=4^T78.07XS
+65 ;;^UTILITY(U,$J,358.3,45706,2)
+66 ;;=^5054268
+67 ;;^UTILITY(U,$J,358.3,45707,0)
+68 ;;=T78.08XA^^172^2277^10
+69 ;;^UTILITY(U,$J,358.3,45707,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,45707,1,3,0)
+72 ;;=3^Anaphylactic Reaction,Eggs,1st Encntr
+73 ;;^UTILITY(U,$J,358.3,45707,1,4,0)
+74 ;;=4^T78.08XA
+75 ;;^UTILITY(U,$J,358.3,45707,2)
+76 ;;=^5054269
+77 ;;^UTILITY(U,$J,358.3,45708,0)
+78 ;;=T78.08XD^^172^2277^12
+79 ;;^UTILITY(U,$J,358.3,45708,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,45708,1,3,0)
+82 ;;=3^Anaphylactic Reaction,Eggs,Subseq Encntr
+83 ;;^UTILITY(U,$J,358.3,45708,1,4,0)
+84 ;;=4^T78.08XD
+85 ;;^UTILITY(U,$J,358.3,45708,2)
+86 ;;=^5054270
+87 ;;^UTILITY(U,$J,358.3,45709,0)
+88 ;;=T78.08XS^^172^2277^11
+89 ;;^UTILITY(U,$J,358.3,45709,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,45709,1,3,0)
+92 ;;=3^Anaphylactic Reaction,Eggs,Sequela
+93 ;;^UTILITY(U,$J,358.3,45709,1,4,0)
+94 ;;=4^T78.08XS
+95 ;;^UTILITY(U,$J,358.3,45709,2)
+96 ;;=^5054271
+97 ;;^UTILITY(U,$J,358.3,45710,0)
+98 ;;=T78.09XA^^172^2277^28
+99 ;;^UTILITY(U,$J,358.3,45710,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,45710,1,3,0)
+102 ;;=3^Anaphylactic Reaction,Oth Food Products,1st Encntr
+103 ;;^UTILITY(U,$J,358.3,45710,1,4,0)
+104 ;;=4^T78.09XA
+105 ;;^UTILITY(U,$J,358.3,45710,2)
+106 ;;=^5054272
+107 ;;^UTILITY(U,$J,358.3,45711,0)
+108 ;;=T78.09XD^^172^2277^29
+109 ;;^UTILITY(U,$J,358.3,45711,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,45711,1,3,0)
+112 ;;=3^Anaphylactic Reaction,Oth Food Products,Subseq Encntr
+113 ;;^UTILITY(U,$J,358.3,45711,1,4,0)
+114 ;;=4^T78.09XD
+115 ;;^UTILITY(U,$J,358.3,45711,2)
+116 ;;=^5054273