IBDEI0M0 ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,9899,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9899,1,3,0)
;;=3^Fall from Bed,Init Encntr
;;^UTILITY(U,$J,358.3,9899,1,4,0)
;;=4^W06.XXXA
;;^UTILITY(U,$J,358.3,9899,2)
;;=^5059559
;;^UTILITY(U,$J,358.3,9900,0)
;;=W06.XXXD^^39^420^35
;;^UTILITY(U,$J,358.3,9900,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9900,1,3,0)
;;=3^Fall from Bed,Subs Encntr
;;^UTILITY(U,$J,358.3,9900,1,4,0)
;;=4^W06.XXXD
;;^UTILITY(U,$J,358.3,9900,2)
;;=^5059560
;;^UTILITY(U,$J,358.3,9901,0)
;;=W07.XXXA^^39^420^42
;;^UTILITY(U,$J,358.3,9901,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9901,1,3,0)
;;=3^Fall from Chair,Init Encntr
;;^UTILITY(U,$J,358.3,9901,1,4,0)
;;=4^W07.XXXA
;;^UTILITY(U,$J,358.3,9901,2)
;;=^5059562
;;^UTILITY(U,$J,358.3,9902,0)
;;=W07.XXXD^^39^420^43
;;^UTILITY(U,$J,358.3,9902,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9902,1,3,0)
;;=3^Fall from Chair,Subs Encntr
;;^UTILITY(U,$J,358.3,9902,1,4,0)
;;=4^W07.XXXD
;;^UTILITY(U,$J,358.3,9902,2)
;;=^5059563
;;^UTILITY(U,$J,358.3,9903,0)
;;=W10.1XXA^^39^420^86
;;^UTILITY(U,$J,358.3,9903,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9903,1,3,0)
;;=3^Fall on Sidewalk Curb,Init Encntr
;;^UTILITY(U,$J,358.3,9903,1,4,0)
;;=4^W10.1XXA
;;^UTILITY(U,$J,358.3,9903,2)
;;=^5059583
;;^UTILITY(U,$J,358.3,9904,0)
;;=W10.1XXD^^39^420^87
;;^UTILITY(U,$J,358.3,9904,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9904,1,3,0)
;;=3^Fall on Sidewalk Curb,Subs Encntr
;;^UTILITY(U,$J,358.3,9904,1,4,0)
;;=4^W10.1XXD
;;^UTILITY(U,$J,358.3,9904,2)
;;=^5059584
;;^UTILITY(U,$J,358.3,9905,0)
;;=W11.XXXA^^39^420^46
;;^UTILITY(U,$J,358.3,9905,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9905,1,3,0)
;;=3^Fall from Ladder,Init Encntr
;;^UTILITY(U,$J,358.3,9905,1,4,0)
;;=4^W11.XXXA
;;^UTILITY(U,$J,358.3,9905,2)
;;=^5059595
;;^UTILITY(U,$J,358.3,9906,0)
;;=W11.XXXD^^39^420^47
;;^UTILITY(U,$J,358.3,9906,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9906,1,3,0)
;;=3^Fall from Ladder,Subs Encntr
;;^UTILITY(U,$J,358.3,9906,1,4,0)
;;=4^W11.XXXD
;;^UTILITY(U,$J,358.3,9906,2)
;;=^5059596
;;^UTILITY(U,$J,358.3,9907,0)
;;=W13.0XXA^^39^420^72
;;^UTILITY(U,$J,358.3,9907,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9907,1,3,0)
;;=3^Fall from/through Balcony,Init Encntr
;;^UTILITY(U,$J,358.3,9907,1,4,0)
;;=4^W13.0XXA
;;^UTILITY(U,$J,358.3,9907,2)
;;=^5059601
;;^UTILITY(U,$J,358.3,9908,0)
;;=W13.0XXD^^39^420^73
;;^UTILITY(U,$J,358.3,9908,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9908,1,3,0)
;;=3^Fall from/through Balcony,Subs Encntr
;;^UTILITY(U,$J,358.3,9908,1,4,0)
;;=4^W13.0XXD
;;^UTILITY(U,$J,358.3,9908,2)
;;=^5059602
;;^UTILITY(U,$J,358.3,9909,0)
;;=W13.1XXA^^39^420^36
;;^UTILITY(U,$J,358.3,9909,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9909,1,3,0)
;;=3^Fall from Bridge,Init Encntr
;;^UTILITY(U,$J,358.3,9909,1,4,0)
;;=4^W13.1XXA
;;^UTILITY(U,$J,358.3,9909,2)
;;=^5059604
;;^UTILITY(U,$J,358.3,9910,0)
;;=W13.1XXD^^39^420^37
;;^UTILITY(U,$J,358.3,9910,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9910,1,3,0)
;;=3^Fall from Bridge,Subs Encntr
;;^UTILITY(U,$J,358.3,9910,1,4,0)
;;=4^W13.1XXD
;;^UTILITY(U,$J,358.3,9910,2)
;;=^5059605
;;^UTILITY(U,$J,358.3,9911,0)
;;=W13.2XXA^^39^420^74
;;^UTILITY(U,$J,358.3,9911,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9911,1,3,0)
;;=3^Fall from/through Roof,Init Encntr
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0M0 3767 printed Dec 13, 2024@01:51:17 Page 2
IBDEI0M0 ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,9899,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,9899,1,3,0)
+4 ;;=3^Fall from Bed,Init Encntr
+5 ;;^UTILITY(U,$J,358.3,9899,1,4,0)
+6 ;;=4^W06.XXXA
+7 ;;^UTILITY(U,$J,358.3,9899,2)
+8 ;;=^5059559
+9 ;;^UTILITY(U,$J,358.3,9900,0)
+10 ;;=W06.XXXD^^39^420^35
+11 ;;^UTILITY(U,$J,358.3,9900,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,9900,1,3,0)
+14 ;;=3^Fall from Bed,Subs Encntr
+15 ;;^UTILITY(U,$J,358.3,9900,1,4,0)
+16 ;;=4^W06.XXXD
+17 ;;^UTILITY(U,$J,358.3,9900,2)
+18 ;;=^5059560
+19 ;;^UTILITY(U,$J,358.3,9901,0)
+20 ;;=W07.XXXA^^39^420^42
+21 ;;^UTILITY(U,$J,358.3,9901,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,9901,1,3,0)
+24 ;;=3^Fall from Chair,Init Encntr
+25 ;;^UTILITY(U,$J,358.3,9901,1,4,0)
+26 ;;=4^W07.XXXA
+27 ;;^UTILITY(U,$J,358.3,9901,2)
+28 ;;=^5059562
+29 ;;^UTILITY(U,$J,358.3,9902,0)
+30 ;;=W07.XXXD^^39^420^43
+31 ;;^UTILITY(U,$J,358.3,9902,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,9902,1,3,0)
+34 ;;=3^Fall from Chair,Subs Encntr
+35 ;;^UTILITY(U,$J,358.3,9902,1,4,0)
+36 ;;=4^W07.XXXD
+37 ;;^UTILITY(U,$J,358.3,9902,2)
+38 ;;=^5059563
+39 ;;^UTILITY(U,$J,358.3,9903,0)
+40 ;;=W10.1XXA^^39^420^86
+41 ;;^UTILITY(U,$J,358.3,9903,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,9903,1,3,0)
+44 ;;=3^Fall on Sidewalk Curb,Init Encntr
+45 ;;^UTILITY(U,$J,358.3,9903,1,4,0)
+46 ;;=4^W10.1XXA
+47 ;;^UTILITY(U,$J,358.3,9903,2)
+48 ;;=^5059583
+49 ;;^UTILITY(U,$J,358.3,9904,0)
+50 ;;=W10.1XXD^^39^420^87
+51 ;;^UTILITY(U,$J,358.3,9904,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,9904,1,3,0)
+54 ;;=3^Fall on Sidewalk Curb,Subs Encntr
+55 ;;^UTILITY(U,$J,358.3,9904,1,4,0)
+56 ;;=4^W10.1XXD
+57 ;;^UTILITY(U,$J,358.3,9904,2)
+58 ;;=^5059584
+59 ;;^UTILITY(U,$J,358.3,9905,0)
+60 ;;=W11.XXXA^^39^420^46
+61 ;;^UTILITY(U,$J,358.3,9905,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,9905,1,3,0)
+64 ;;=3^Fall from Ladder,Init Encntr
+65 ;;^UTILITY(U,$J,358.3,9905,1,4,0)
+66 ;;=4^W11.XXXA
+67 ;;^UTILITY(U,$J,358.3,9905,2)
+68 ;;=^5059595
+69 ;;^UTILITY(U,$J,358.3,9906,0)
+70 ;;=W11.XXXD^^39^420^47
+71 ;;^UTILITY(U,$J,358.3,9906,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,9906,1,3,0)
+74 ;;=3^Fall from Ladder,Subs Encntr
+75 ;;^UTILITY(U,$J,358.3,9906,1,4,0)
+76 ;;=4^W11.XXXD
+77 ;;^UTILITY(U,$J,358.3,9906,2)
+78 ;;=^5059596
+79 ;;^UTILITY(U,$J,358.3,9907,0)
+80 ;;=W13.0XXA^^39^420^72
+81 ;;^UTILITY(U,$J,358.3,9907,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,9907,1,3,0)
+84 ;;=3^Fall from/through Balcony,Init Encntr
+85 ;;^UTILITY(U,$J,358.3,9907,1,4,0)
+86 ;;=4^W13.0XXA
+87 ;;^UTILITY(U,$J,358.3,9907,2)
+88 ;;=^5059601
+89 ;;^UTILITY(U,$J,358.3,9908,0)
+90 ;;=W13.0XXD^^39^420^73
+91 ;;^UTILITY(U,$J,358.3,9908,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,9908,1,3,0)
+94 ;;=3^Fall from/through Balcony,Subs Encntr
+95 ;;^UTILITY(U,$J,358.3,9908,1,4,0)
+96 ;;=4^W13.0XXD
+97 ;;^UTILITY(U,$J,358.3,9908,2)
+98 ;;=^5059602
+99 ;;^UTILITY(U,$J,358.3,9909,0)
+100 ;;=W13.1XXA^^39^420^36
+101 ;;^UTILITY(U,$J,358.3,9909,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,9909,1,3,0)
+104 ;;=3^Fall from Bridge,Init Encntr
+105 ;;^UTILITY(U,$J,358.3,9909,1,4,0)
+106 ;;=4^W13.1XXA
+107 ;;^UTILITY(U,$J,358.3,9909,2)
+108 ;;=^5059604
+109 ;;^UTILITY(U,$J,358.3,9910,0)
+110 ;;=W13.1XXD^^39^420^37
+111 ;;^UTILITY(U,$J,358.3,9910,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,9910,1,3,0)
+114 ;;=3^Fall from Bridge,Subs Encntr
+115 ;;^UTILITY(U,$J,358.3,9910,1,4,0)
+116 ;;=4^W13.1XXD
+117 ;;^UTILITY(U,$J,358.3,9910,2)
+118 ;;=^5059605
+119 ;;^UTILITY(U,$J,358.3,9911,0)
+120 ;;=W13.2XXA^^39^420^74
+121 ;;^UTILITY(U,$J,358.3,9911,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,9911,1,3,0)
+124 ;;=3^Fall from/through Roof,Init Encntr