IBDEI32E ; ; 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,48936,2)
;;=^5003614
;;^UTILITY(U,$J,358.3,48937,0)
;;=F51.3^^185^2427^30
;;^UTILITY(U,$J,358.3,48937,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48937,1,3,0)
;;=3^Sleepwalking
;;^UTILITY(U,$J,358.3,48937,1,4,0)
;;=4^F51.3
;;^UTILITY(U,$J,358.3,48937,2)
;;=^5003613
;;^UTILITY(U,$J,358.3,48938,0)
;;=Z88.6^^185^2428^2
;;^UTILITY(U,$J,358.3,48938,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48938,1,3,0)
;;=3^Allergy to Analgesic Agent
;;^UTILITY(U,$J,358.3,48938,1,4,0)
;;=4^Z88.6
;;^UTILITY(U,$J,358.3,48938,2)
;;=^5063527
;;^UTILITY(U,$J,358.3,48939,0)
;;=Z88.4^^185^2428^3
;;^UTILITY(U,$J,358.3,48939,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48939,1,3,0)
;;=3^Allergy to Anesthetic Agent
;;^UTILITY(U,$J,358.3,48939,1,4,0)
;;=4^Z88.4
;;^UTILITY(U,$J,358.3,48939,2)
;;=^5063525
;;^UTILITY(U,$J,358.3,48940,0)
;;=Z88.3^^185^2428^4
;;^UTILITY(U,$J,358.3,48940,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48940,1,3,0)
;;=3^Allergy to Anti-Infective Agents
;;^UTILITY(U,$J,358.3,48940,1,4,0)
;;=4^Z88.3
;;^UTILITY(U,$J,358.3,48940,2)
;;=^5063524
;;^UTILITY(U,$J,358.3,48941,0)
;;=Z91.030^^185^2428^5
;;^UTILITY(U,$J,358.3,48941,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48941,1,3,0)
;;=3^Allergy to Bee Sting
;;^UTILITY(U,$J,358.3,48941,1,4,0)
;;=4^Z91.030
;;^UTILITY(U,$J,358.3,48941,2)
;;=^5063605
;;^UTILITY(U,$J,358.3,48942,0)
;;=Z88.9^^185^2428^6
;;^UTILITY(U,$J,358.3,48942,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48942,1,3,0)
;;=3^Allergy to Drug/Meds/Biol Substance,Unspec
;;^UTILITY(U,$J,358.3,48942,1,4,0)
;;=4^Z88.9
;;^UTILITY(U,$J,358.3,48942,2)
;;=^5063530
;;^UTILITY(U,$J,358.3,48943,0)
;;=Z91.012^^185^2428^7
;;^UTILITY(U,$J,358.3,48943,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48943,1,3,0)
;;=3^Allergy to Eggs
;;^UTILITY(U,$J,358.3,48943,1,4,0)
;;=4^Z91.012
;;^UTILITY(U,$J,358.3,48943,2)
;;=^5063601
;;^UTILITY(U,$J,358.3,48944,0)
;;=Z91.02^^185^2428^8
;;^UTILITY(U,$J,358.3,48944,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48944,1,3,0)
;;=3^Allergy to Food Additives
;;^UTILITY(U,$J,358.3,48944,1,4,0)
;;=4^Z91.02
;;^UTILITY(U,$J,358.3,48944,2)
;;=^5063604
;;^UTILITY(U,$J,358.3,48945,0)
;;=Z91.018^^185^2428^9
;;^UTILITY(U,$J,358.3,48945,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48945,1,3,0)
;;=3^Allergy to Food,Other
;;^UTILITY(U,$J,358.3,48945,1,4,0)
;;=4^Z91.018
;;^UTILITY(U,$J,358.3,48945,2)
;;=^5063603
;;^UTILITY(U,$J,358.3,48946,0)
;;=Z91.040^^185^2428^10
;;^UTILITY(U,$J,358.3,48946,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48946,1,3,0)
;;=3^Allergy to Latex
;;^UTILITY(U,$J,358.3,48946,1,4,0)
;;=4^Z91.040
;;^UTILITY(U,$J,358.3,48946,2)
;;=^5063607
;;^UTILITY(U,$J,358.3,48947,0)
;;=Z91.011^^185^2428^11
;;^UTILITY(U,$J,358.3,48947,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48947,1,3,0)
;;=3^Allergy to Milk Products
;;^UTILITY(U,$J,358.3,48947,1,4,0)
;;=4^Z91.011
;;^UTILITY(U,$J,358.3,48947,2)
;;=^5063600
;;^UTILITY(U,$J,358.3,48948,0)
;;=Z88.5^^185^2428^12
;;^UTILITY(U,$J,358.3,48948,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48948,1,3,0)
;;=3^Allergy to Narcotic Agent
;;^UTILITY(U,$J,358.3,48948,1,4,0)
;;=4^Z88.5
;;^UTILITY(U,$J,358.3,48948,2)
;;=^5063526
;;^UTILITY(U,$J,358.3,48949,0)
;;=Z91.09^^185^2428^13
;;^UTILITY(U,$J,358.3,48949,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI32E 3750 printed Nov 22, 2024@17:50:37 Page 2
IBDEI32E ; ; 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,48936,2)
+2 ;;=^5003614
+3 ;;^UTILITY(U,$J,358.3,48937,0)
+4 ;;=F51.3^^185^2427^30
+5 ;;^UTILITY(U,$J,358.3,48937,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,48937,1,3,0)
+8 ;;=3^Sleepwalking
+9 ;;^UTILITY(U,$J,358.3,48937,1,4,0)
+10 ;;=4^F51.3
+11 ;;^UTILITY(U,$J,358.3,48937,2)
+12 ;;=^5003613
+13 ;;^UTILITY(U,$J,358.3,48938,0)
+14 ;;=Z88.6^^185^2428^2
+15 ;;^UTILITY(U,$J,358.3,48938,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,48938,1,3,0)
+18 ;;=3^Allergy to Analgesic Agent
+19 ;;^UTILITY(U,$J,358.3,48938,1,4,0)
+20 ;;=4^Z88.6
+21 ;;^UTILITY(U,$J,358.3,48938,2)
+22 ;;=^5063527
+23 ;;^UTILITY(U,$J,358.3,48939,0)
+24 ;;=Z88.4^^185^2428^3
+25 ;;^UTILITY(U,$J,358.3,48939,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,48939,1,3,0)
+28 ;;=3^Allergy to Anesthetic Agent
+29 ;;^UTILITY(U,$J,358.3,48939,1,4,0)
+30 ;;=4^Z88.4
+31 ;;^UTILITY(U,$J,358.3,48939,2)
+32 ;;=^5063525
+33 ;;^UTILITY(U,$J,358.3,48940,0)
+34 ;;=Z88.3^^185^2428^4
+35 ;;^UTILITY(U,$J,358.3,48940,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,48940,1,3,0)
+38 ;;=3^Allergy to Anti-Infective Agents
+39 ;;^UTILITY(U,$J,358.3,48940,1,4,0)
+40 ;;=4^Z88.3
+41 ;;^UTILITY(U,$J,358.3,48940,2)
+42 ;;=^5063524
+43 ;;^UTILITY(U,$J,358.3,48941,0)
+44 ;;=Z91.030^^185^2428^5
+45 ;;^UTILITY(U,$J,358.3,48941,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,48941,1,3,0)
+48 ;;=3^Allergy to Bee Sting
+49 ;;^UTILITY(U,$J,358.3,48941,1,4,0)
+50 ;;=4^Z91.030
+51 ;;^UTILITY(U,$J,358.3,48941,2)
+52 ;;=^5063605
+53 ;;^UTILITY(U,$J,358.3,48942,0)
+54 ;;=Z88.9^^185^2428^6
+55 ;;^UTILITY(U,$J,358.3,48942,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,48942,1,3,0)
+58 ;;=3^Allergy to Drug/Meds/Biol Substance,Unspec
+59 ;;^UTILITY(U,$J,358.3,48942,1,4,0)
+60 ;;=4^Z88.9
+61 ;;^UTILITY(U,$J,358.3,48942,2)
+62 ;;=^5063530
+63 ;;^UTILITY(U,$J,358.3,48943,0)
+64 ;;=Z91.012^^185^2428^7
+65 ;;^UTILITY(U,$J,358.3,48943,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,48943,1,3,0)
+68 ;;=3^Allergy to Eggs
+69 ;;^UTILITY(U,$J,358.3,48943,1,4,0)
+70 ;;=4^Z91.012
+71 ;;^UTILITY(U,$J,358.3,48943,2)
+72 ;;=^5063601
+73 ;;^UTILITY(U,$J,358.3,48944,0)
+74 ;;=Z91.02^^185^2428^8
+75 ;;^UTILITY(U,$J,358.3,48944,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,48944,1,3,0)
+78 ;;=3^Allergy to Food Additives
+79 ;;^UTILITY(U,$J,358.3,48944,1,4,0)
+80 ;;=4^Z91.02
+81 ;;^UTILITY(U,$J,358.3,48944,2)
+82 ;;=^5063604
+83 ;;^UTILITY(U,$J,358.3,48945,0)
+84 ;;=Z91.018^^185^2428^9
+85 ;;^UTILITY(U,$J,358.3,48945,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,48945,1,3,0)
+88 ;;=3^Allergy to Food,Other
+89 ;;^UTILITY(U,$J,358.3,48945,1,4,0)
+90 ;;=4^Z91.018
+91 ;;^UTILITY(U,$J,358.3,48945,2)
+92 ;;=^5063603
+93 ;;^UTILITY(U,$J,358.3,48946,0)
+94 ;;=Z91.040^^185^2428^10
+95 ;;^UTILITY(U,$J,358.3,48946,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,48946,1,3,0)
+98 ;;=3^Allergy to Latex
+99 ;;^UTILITY(U,$J,358.3,48946,1,4,0)
+100 ;;=4^Z91.040
+101 ;;^UTILITY(U,$J,358.3,48946,2)
+102 ;;=^5063607
+103 ;;^UTILITY(U,$J,358.3,48947,0)
+104 ;;=Z91.011^^185^2428^11
+105 ;;^UTILITY(U,$J,358.3,48947,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,48947,1,3,0)
+108 ;;=3^Allergy to Milk Products
+109 ;;^UTILITY(U,$J,358.3,48947,1,4,0)
+110 ;;=4^Z91.011
+111 ;;^UTILITY(U,$J,358.3,48947,2)
+112 ;;=^5063600
+113 ;;^UTILITY(U,$J,358.3,48948,0)
+114 ;;=Z88.5^^185^2428^12
+115 ;;^UTILITY(U,$J,358.3,48948,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,48948,1,3,0)
+118 ;;=3^Allergy to Narcotic Agent
+119 ;;^UTILITY(U,$J,358.3,48948,1,4,0)
+120 ;;=4^Z88.5
+121 ;;^UTILITY(U,$J,358.3,48948,2)
+122 ;;=^5063526
+123 ;;^UTILITY(U,$J,358.3,48949,0)
+124 ;;=Z91.09^^185^2428^13
+125 ;;^UTILITY(U,$J,358.3,48949,1,0)
+126 ;;=^358.31IA^4^2