IBDEI2KH ; ; 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,40974,1,3,0)
;;=3^Scratched by Cat,Init Encntr
;;^UTILITY(U,$J,358.3,40974,1,4,0)
;;=4^W55.03XA
;;^UTILITY(U,$J,358.3,40974,2)
;;=^5060268
;;^UTILITY(U,$J,358.3,40975,0)
;;=W55.03XD^^152^2019^111
;;^UTILITY(U,$J,358.3,40975,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40975,1,3,0)
;;=3^Scratched by Cat,Subs Encntr
;;^UTILITY(U,$J,358.3,40975,1,4,0)
;;=4^W55.03XD
;;^UTILITY(U,$J,358.3,40975,2)
;;=^5060269
;;^UTILITY(U,$J,358.3,40976,0)
;;=X00.8XXA^^152^2019^22
;;^UTILITY(U,$J,358.3,40976,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40976,1,3,0)
;;=3^Exp to Uncontrolled Bldg Fire,Init Encntr
;;^UTILITY(U,$J,358.3,40976,1,4,0)
;;=4^X00.8XXA
;;^UTILITY(U,$J,358.3,40976,2)
;;=^5060679
;;^UTILITY(U,$J,358.3,40977,0)
;;=X00.8XXD^^152^2019^23
;;^UTILITY(U,$J,358.3,40977,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40977,1,3,0)
;;=3^Exp to Uncontrolled Bldg Fire,Subs Encntr
;;^UTILITY(U,$J,358.3,40977,1,4,0)
;;=4^X00.8XXD
;;^UTILITY(U,$J,358.3,40977,2)
;;=^5060680
;;^UTILITY(U,$J,358.3,40978,0)
;;=X32.XXXA^^152^2019^20
;;^UTILITY(U,$J,358.3,40978,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40978,1,3,0)
;;=3^Exp to Sunlight,Init Encntr
;;^UTILITY(U,$J,358.3,40978,1,4,0)
;;=4^X32.XXXA
;;^UTILITY(U,$J,358.3,40978,2)
;;=^5060847
;;^UTILITY(U,$J,358.3,40979,0)
;;=X32.XXXD^^152^2019^21
;;^UTILITY(U,$J,358.3,40979,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40979,1,3,0)
;;=3^Exp to Sunlight,Subs Encntr
;;^UTILITY(U,$J,358.3,40979,1,4,0)
;;=4^X32.XXXD
;;^UTILITY(U,$J,358.3,40979,2)
;;=^5060848
;;^UTILITY(U,$J,358.3,40980,0)
;;=Y04.0XXA^^152^2019^7
;;^UTILITY(U,$J,358.3,40980,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40980,1,3,0)
;;=3^Assault by Unarmed Fight,Init Encntr
;;^UTILITY(U,$J,358.3,40980,1,4,0)
;;=4^Y04.0XXA
;;^UTILITY(U,$J,358.3,40980,2)
;;=^5061165
;;^UTILITY(U,$J,358.3,40981,0)
;;=Y04.0XXD^^152^2019^8
;;^UTILITY(U,$J,358.3,40981,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40981,1,3,0)
;;=3^Assault by Unarmed Fight,Subs Encntr
;;^UTILITY(U,$J,358.3,40981,1,4,0)
;;=4^Y04.0XXD
;;^UTILITY(U,$J,358.3,40981,2)
;;=^5061166
;;^UTILITY(U,$J,358.3,40982,0)
;;=Y04.1XXA^^152^2019^1
;;^UTILITY(U,$J,358.3,40982,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40982,1,3,0)
;;=3^Assault by Human Bite,Init Encntr
;;^UTILITY(U,$J,358.3,40982,1,4,0)
;;=4^Y04.1XXA
;;^UTILITY(U,$J,358.3,40982,2)
;;=^5061168
;;^UTILITY(U,$J,358.3,40983,0)
;;=Y04.1XXD^^152^2019^2
;;^UTILITY(U,$J,358.3,40983,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40983,1,3,0)
;;=3^Assault by Human Bite,Subs Encntr
;;^UTILITY(U,$J,358.3,40983,1,4,0)
;;=4^Y04.1XXD
;;^UTILITY(U,$J,358.3,40983,2)
;;=^5061169
;;^UTILITY(U,$J,358.3,40984,0)
;;=Y04.2XXA^^152^2019^5
;;^UTILITY(U,$J,358.3,40984,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40984,1,3,0)
;;=3^Assault by Strike/Bumped by Another Person,Init Encntr
;;^UTILITY(U,$J,358.3,40984,1,4,0)
;;=4^Y04.2XXA
;;^UTILITY(U,$J,358.3,40984,2)
;;=^5061171
;;^UTILITY(U,$J,358.3,40985,0)
;;=Y04.8XXA^^152^2019^3
;;^UTILITY(U,$J,358.3,40985,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40985,1,3,0)
;;=3^Assault by Oth Bodily Force,Init Encntr
;;^UTILITY(U,$J,358.3,40985,1,4,0)
;;=4^Y04.8XXA
;;^UTILITY(U,$J,358.3,40985,2)
;;=^5061174
;;^UTILITY(U,$J,358.3,40986,0)
;;=Y04.2XXD^^152^2019^6
;;^UTILITY(U,$J,358.3,40986,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2KH 3781 printed Dec 13, 2024@02:30:30 Page 2
IBDEI2KH ; ; 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,40974,1,3,0)
+2 ;;=3^Scratched by Cat,Init Encntr
+3 ;;^UTILITY(U,$J,358.3,40974,1,4,0)
+4 ;;=4^W55.03XA
+5 ;;^UTILITY(U,$J,358.3,40974,2)
+6 ;;=^5060268
+7 ;;^UTILITY(U,$J,358.3,40975,0)
+8 ;;=W55.03XD^^152^2019^111
+9 ;;^UTILITY(U,$J,358.3,40975,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,40975,1,3,0)
+12 ;;=3^Scratched by Cat,Subs Encntr
+13 ;;^UTILITY(U,$J,358.3,40975,1,4,0)
+14 ;;=4^W55.03XD
+15 ;;^UTILITY(U,$J,358.3,40975,2)
+16 ;;=^5060269
+17 ;;^UTILITY(U,$J,358.3,40976,0)
+18 ;;=X00.8XXA^^152^2019^22
+19 ;;^UTILITY(U,$J,358.3,40976,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,40976,1,3,0)
+22 ;;=3^Exp to Uncontrolled Bldg Fire,Init Encntr
+23 ;;^UTILITY(U,$J,358.3,40976,1,4,0)
+24 ;;=4^X00.8XXA
+25 ;;^UTILITY(U,$J,358.3,40976,2)
+26 ;;=^5060679
+27 ;;^UTILITY(U,$J,358.3,40977,0)
+28 ;;=X00.8XXD^^152^2019^23
+29 ;;^UTILITY(U,$J,358.3,40977,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,40977,1,3,0)
+32 ;;=3^Exp to Uncontrolled Bldg Fire,Subs Encntr
+33 ;;^UTILITY(U,$J,358.3,40977,1,4,0)
+34 ;;=4^X00.8XXD
+35 ;;^UTILITY(U,$J,358.3,40977,2)
+36 ;;=^5060680
+37 ;;^UTILITY(U,$J,358.3,40978,0)
+38 ;;=X32.XXXA^^152^2019^20
+39 ;;^UTILITY(U,$J,358.3,40978,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,40978,1,3,0)
+42 ;;=3^Exp to Sunlight,Init Encntr
+43 ;;^UTILITY(U,$J,358.3,40978,1,4,0)
+44 ;;=4^X32.XXXA
+45 ;;^UTILITY(U,$J,358.3,40978,2)
+46 ;;=^5060847
+47 ;;^UTILITY(U,$J,358.3,40979,0)
+48 ;;=X32.XXXD^^152^2019^21
+49 ;;^UTILITY(U,$J,358.3,40979,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,40979,1,3,0)
+52 ;;=3^Exp to Sunlight,Subs Encntr
+53 ;;^UTILITY(U,$J,358.3,40979,1,4,0)
+54 ;;=4^X32.XXXD
+55 ;;^UTILITY(U,$J,358.3,40979,2)
+56 ;;=^5060848
+57 ;;^UTILITY(U,$J,358.3,40980,0)
+58 ;;=Y04.0XXA^^152^2019^7
+59 ;;^UTILITY(U,$J,358.3,40980,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,40980,1,3,0)
+62 ;;=3^Assault by Unarmed Fight,Init Encntr
+63 ;;^UTILITY(U,$J,358.3,40980,1,4,0)
+64 ;;=4^Y04.0XXA
+65 ;;^UTILITY(U,$J,358.3,40980,2)
+66 ;;=^5061165
+67 ;;^UTILITY(U,$J,358.3,40981,0)
+68 ;;=Y04.0XXD^^152^2019^8
+69 ;;^UTILITY(U,$J,358.3,40981,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,40981,1,3,0)
+72 ;;=3^Assault by Unarmed Fight,Subs Encntr
+73 ;;^UTILITY(U,$J,358.3,40981,1,4,0)
+74 ;;=4^Y04.0XXD
+75 ;;^UTILITY(U,$J,358.3,40981,2)
+76 ;;=^5061166
+77 ;;^UTILITY(U,$J,358.3,40982,0)
+78 ;;=Y04.1XXA^^152^2019^1
+79 ;;^UTILITY(U,$J,358.3,40982,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,40982,1,3,0)
+82 ;;=3^Assault by Human Bite,Init Encntr
+83 ;;^UTILITY(U,$J,358.3,40982,1,4,0)
+84 ;;=4^Y04.1XXA
+85 ;;^UTILITY(U,$J,358.3,40982,2)
+86 ;;=^5061168
+87 ;;^UTILITY(U,$J,358.3,40983,0)
+88 ;;=Y04.1XXD^^152^2019^2
+89 ;;^UTILITY(U,$J,358.3,40983,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,40983,1,3,0)
+92 ;;=3^Assault by Human Bite,Subs Encntr
+93 ;;^UTILITY(U,$J,358.3,40983,1,4,0)
+94 ;;=4^Y04.1XXD
+95 ;;^UTILITY(U,$J,358.3,40983,2)
+96 ;;=^5061169
+97 ;;^UTILITY(U,$J,358.3,40984,0)
+98 ;;=Y04.2XXA^^152^2019^5
+99 ;;^UTILITY(U,$J,358.3,40984,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,40984,1,3,0)
+102 ;;=3^Assault by Strike/Bumped by Another Person,Init Encntr
+103 ;;^UTILITY(U,$J,358.3,40984,1,4,0)
+104 ;;=4^Y04.2XXA
+105 ;;^UTILITY(U,$J,358.3,40984,2)
+106 ;;=^5061171
+107 ;;^UTILITY(U,$J,358.3,40985,0)
+108 ;;=Y04.8XXA^^152^2019^3
+109 ;;^UTILITY(U,$J,358.3,40985,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,40985,1,3,0)
+112 ;;=3^Assault by Oth Bodily Force,Init Encntr
+113 ;;^UTILITY(U,$J,358.3,40985,1,4,0)
+114 ;;=4^Y04.8XXA
+115 ;;^UTILITY(U,$J,358.3,40985,2)
+116 ;;=^5061174
+117 ;;^UTILITY(U,$J,358.3,40986,0)
+118 ;;=Y04.2XXD^^152^2019^6
+119 ;;^UTILITY(U,$J,358.3,40986,1,0)
+120 ;;=^358.31IA^4^2