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