IBDEI32F ; ; 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,48949,1,3,0)
;;=3^Allergy to Other Substances
;;^UTILITY(U,$J,358.3,48949,1,4,0)
;;=4^Z91.09
;;^UTILITY(U,$J,358.3,48949,2)
;;=^5063610
;;^UTILITY(U,$J,358.3,48950,0)
;;=Z91.010^^185^2428^14
;;^UTILITY(U,$J,358.3,48950,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48950,1,3,0)
;;=3^Allergy to Peanuts
;;^UTILITY(U,$J,358.3,48950,1,4,0)
;;=4^Z91.010
;;^UTILITY(U,$J,358.3,48950,2)
;;=^5063599
;;^UTILITY(U,$J,358.3,48951,0)
;;=Z88.0^^185^2428^15
;;^UTILITY(U,$J,358.3,48951,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48951,1,3,0)
;;=3^Allergy to Penicillin
;;^UTILITY(U,$J,358.3,48951,1,4,0)
;;=4^Z88.0
;;^UTILITY(U,$J,358.3,48951,2)
;;=^5063521
;;^UTILITY(U,$J,358.3,48952,0)
;;=Z91.041^^185^2428^16
;;^UTILITY(U,$J,358.3,48952,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48952,1,3,0)
;;=3^Allergy to Radiographic Dye
;;^UTILITY(U,$J,358.3,48952,1,4,0)
;;=4^Z91.041
;;^UTILITY(U,$J,358.3,48952,2)
;;=^5063608
;;^UTILITY(U,$J,358.3,48953,0)
;;=Z91.013^^185^2428^17
;;^UTILITY(U,$J,358.3,48953,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48953,1,3,0)
;;=3^Allergy to Seafood
;;^UTILITY(U,$J,358.3,48953,1,4,0)
;;=4^Z91.013
;;^UTILITY(U,$J,358.3,48953,2)
;;=^5063602
;;^UTILITY(U,$J,358.3,48954,0)
;;=Z88.7^^185^2428^18
;;^UTILITY(U,$J,358.3,48954,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48954,1,3,0)
;;=3^Allergy to Serum and Vaccine
;;^UTILITY(U,$J,358.3,48954,1,4,0)
;;=4^Z88.7
;;^UTILITY(U,$J,358.3,48954,2)
;;=^5063528
;;^UTILITY(U,$J,358.3,48955,0)
;;=Z88.2^^185^2428^19
;;^UTILITY(U,$J,358.3,48955,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48955,1,3,0)
;;=3^Allergy to Sulfonamides
;;^UTILITY(U,$J,358.3,48955,1,4,0)
;;=4^Z88.2
;;^UTILITY(U,$J,358.3,48955,2)
;;=^5063523
;;^UTILITY(U,$J,358.3,48956,0)
;;=Z72.811^^185^2428^20
;;^UTILITY(U,$J,358.3,48956,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48956,1,3,0)
;;=3^Antisocial Behavior
;;^UTILITY(U,$J,358.3,48956,1,4,0)
;;=4^Z72.811
;;^UTILITY(U,$J,358.3,48956,2)
;;=^5063263
;;^UTILITY(U,$J,358.3,48957,0)
;;=Z93.9^^185^2428^21
;;^UTILITY(U,$J,358.3,48957,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48957,1,3,0)
;;=3^Artificial Opening Status,Unspec
;;^UTILITY(U,$J,358.3,48957,1,4,0)
;;=4^Z93.9
;;^UTILITY(U,$J,358.3,48957,2)
;;=^5063653
;;^UTILITY(U,$J,358.3,48958,0)
;;=Z74.01^^185^2428^22
;;^UTILITY(U,$J,358.3,48958,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48958,1,3,0)
;;=3^Bed Confinement Status
;;^UTILITY(U,$J,358.3,48958,1,4,0)
;;=4^Z74.01
;;^UTILITY(U,$J,358.3,48958,2)
;;=^5063282
;;^UTILITY(U,$J,358.3,48959,0)
;;=R68.83^^185^2428^23
;;^UTILITY(U,$J,358.3,48959,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48959,1,3,0)
;;=3^Chills w/o Fever
;;^UTILITY(U,$J,358.3,48959,1,4,0)
;;=4^R68.83
;;^UTILITY(U,$J,358.3,48959,2)
;;=^5019555
;;^UTILITY(U,$J,358.3,48960,0)
;;=R68.3^^185^2428^24
;;^UTILITY(U,$J,358.3,48960,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48960,1,3,0)
;;=3^Clubbing of Fingers
;;^UTILITY(U,$J,358.3,48960,1,4,0)
;;=4^R68.3
;;^UTILITY(U,$J,358.3,48960,2)
;;=^5019553
;;^UTILITY(U,$J,358.3,48961,0)
;;=T81.89XA^^185^2428^25
;;^UTILITY(U,$J,358.3,48961,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48961,1,3,0)
;;=3^Complications of Procedures,Init Encntr,NEC
;;^UTILITY(U,$J,358.3,48961,1,4,0)
;;=4^T81.89XA
;;^UTILITY(U,$J,358.3,48961,2)
;;=^5054662
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI32F 3774 printed Dec 13, 2024@02:40:29 Page 2
IBDEI32F ; ; 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,48949,1,3,0)
+2 ;;=3^Allergy to Other Substances
+3 ;;^UTILITY(U,$J,358.3,48949,1,4,0)
+4 ;;=4^Z91.09
+5 ;;^UTILITY(U,$J,358.3,48949,2)
+6 ;;=^5063610
+7 ;;^UTILITY(U,$J,358.3,48950,0)
+8 ;;=Z91.010^^185^2428^14
+9 ;;^UTILITY(U,$J,358.3,48950,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,48950,1,3,0)
+12 ;;=3^Allergy to Peanuts
+13 ;;^UTILITY(U,$J,358.3,48950,1,4,0)
+14 ;;=4^Z91.010
+15 ;;^UTILITY(U,$J,358.3,48950,2)
+16 ;;=^5063599
+17 ;;^UTILITY(U,$J,358.3,48951,0)
+18 ;;=Z88.0^^185^2428^15
+19 ;;^UTILITY(U,$J,358.3,48951,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,48951,1,3,0)
+22 ;;=3^Allergy to Penicillin
+23 ;;^UTILITY(U,$J,358.3,48951,1,4,0)
+24 ;;=4^Z88.0
+25 ;;^UTILITY(U,$J,358.3,48951,2)
+26 ;;=^5063521
+27 ;;^UTILITY(U,$J,358.3,48952,0)
+28 ;;=Z91.041^^185^2428^16
+29 ;;^UTILITY(U,$J,358.3,48952,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,48952,1,3,0)
+32 ;;=3^Allergy to Radiographic Dye
+33 ;;^UTILITY(U,$J,358.3,48952,1,4,0)
+34 ;;=4^Z91.041
+35 ;;^UTILITY(U,$J,358.3,48952,2)
+36 ;;=^5063608
+37 ;;^UTILITY(U,$J,358.3,48953,0)
+38 ;;=Z91.013^^185^2428^17
+39 ;;^UTILITY(U,$J,358.3,48953,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,48953,1,3,0)
+42 ;;=3^Allergy to Seafood
+43 ;;^UTILITY(U,$J,358.3,48953,1,4,0)
+44 ;;=4^Z91.013
+45 ;;^UTILITY(U,$J,358.3,48953,2)
+46 ;;=^5063602
+47 ;;^UTILITY(U,$J,358.3,48954,0)
+48 ;;=Z88.7^^185^2428^18
+49 ;;^UTILITY(U,$J,358.3,48954,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,48954,1,3,0)
+52 ;;=3^Allergy to Serum and Vaccine
+53 ;;^UTILITY(U,$J,358.3,48954,1,4,0)
+54 ;;=4^Z88.7
+55 ;;^UTILITY(U,$J,358.3,48954,2)
+56 ;;=^5063528
+57 ;;^UTILITY(U,$J,358.3,48955,0)
+58 ;;=Z88.2^^185^2428^19
+59 ;;^UTILITY(U,$J,358.3,48955,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,48955,1,3,0)
+62 ;;=3^Allergy to Sulfonamides
+63 ;;^UTILITY(U,$J,358.3,48955,1,4,0)
+64 ;;=4^Z88.2
+65 ;;^UTILITY(U,$J,358.3,48955,2)
+66 ;;=^5063523
+67 ;;^UTILITY(U,$J,358.3,48956,0)
+68 ;;=Z72.811^^185^2428^20
+69 ;;^UTILITY(U,$J,358.3,48956,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,48956,1,3,0)
+72 ;;=3^Antisocial Behavior
+73 ;;^UTILITY(U,$J,358.3,48956,1,4,0)
+74 ;;=4^Z72.811
+75 ;;^UTILITY(U,$J,358.3,48956,2)
+76 ;;=^5063263
+77 ;;^UTILITY(U,$J,358.3,48957,0)
+78 ;;=Z93.9^^185^2428^21
+79 ;;^UTILITY(U,$J,358.3,48957,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,48957,1,3,0)
+82 ;;=3^Artificial Opening Status,Unspec
+83 ;;^UTILITY(U,$J,358.3,48957,1,4,0)
+84 ;;=4^Z93.9
+85 ;;^UTILITY(U,$J,358.3,48957,2)
+86 ;;=^5063653
+87 ;;^UTILITY(U,$J,358.3,48958,0)
+88 ;;=Z74.01^^185^2428^22
+89 ;;^UTILITY(U,$J,358.3,48958,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,48958,1,3,0)
+92 ;;=3^Bed Confinement Status
+93 ;;^UTILITY(U,$J,358.3,48958,1,4,0)
+94 ;;=4^Z74.01
+95 ;;^UTILITY(U,$J,358.3,48958,2)
+96 ;;=^5063282
+97 ;;^UTILITY(U,$J,358.3,48959,0)
+98 ;;=R68.83^^185^2428^23
+99 ;;^UTILITY(U,$J,358.3,48959,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,48959,1,3,0)
+102 ;;=3^Chills w/o Fever
+103 ;;^UTILITY(U,$J,358.3,48959,1,4,0)
+104 ;;=4^R68.83
+105 ;;^UTILITY(U,$J,358.3,48959,2)
+106 ;;=^5019555
+107 ;;^UTILITY(U,$J,358.3,48960,0)
+108 ;;=R68.3^^185^2428^24
+109 ;;^UTILITY(U,$J,358.3,48960,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,48960,1,3,0)
+112 ;;=3^Clubbing of Fingers
+113 ;;^UTILITY(U,$J,358.3,48960,1,4,0)
+114 ;;=4^R68.3
+115 ;;^UTILITY(U,$J,358.3,48960,2)
+116 ;;=^5019553
+117 ;;^UTILITY(U,$J,358.3,48961,0)
+118 ;;=T81.89XA^^185^2428^25
+119 ;;^UTILITY(U,$J,358.3,48961,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,48961,1,3,0)
+122 ;;=3^Complications of Procedures,Init Encntr,NEC
+123 ;;^UTILITY(U,$J,358.3,48961,1,4,0)
+124 ;;=4^T81.89XA
+125 ;;^UTILITY(U,$J,358.3,48961,2)
+126 ;;=^5054662