IBDEI0QR ; ; 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,12059,1,3,0)
;;=3^Pressure Ulcer Left Elbow,Stage 4
;;^UTILITY(U,$J,358.3,12059,1,4,0)
;;=4^L89.024
;;^UTILITY(U,$J,358.3,12059,2)
;;=^5009346
;;^UTILITY(U,$J,358.3,12060,0)
;;=L89.110^^49^595^102
;;^UTILITY(U,$J,358.3,12060,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12060,1,3,0)
;;=3^Pressure Ulcer Right Upper Back,Unstageable
;;^UTILITY(U,$J,358.3,12060,1,4,0)
;;=4^L89.110
;;^UTILITY(U,$J,358.3,12060,2)
;;=^5009352
;;^UTILITY(U,$J,358.3,12061,0)
;;=L89.111^^49^595^97
;;^UTILITY(U,$J,358.3,12061,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12061,1,3,0)
;;=3^Pressure Ulcer Right Upper Back,Stage 1
;;^UTILITY(U,$J,358.3,12061,1,4,0)
;;=4^L89.111
;;^UTILITY(U,$J,358.3,12061,2)
;;=^5009353
;;^UTILITY(U,$J,358.3,12062,0)
;;=L89.112^^49^595^98
;;^UTILITY(U,$J,358.3,12062,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12062,1,3,0)
;;=3^Pressure Ulcer Right Upper Back,Stage 2
;;^UTILITY(U,$J,358.3,12062,1,4,0)
;;=4^L89.112
;;^UTILITY(U,$J,358.3,12062,2)
;;=^5009354
;;^UTILITY(U,$J,358.3,12063,0)
;;=L89.113^^49^595^99
;;^UTILITY(U,$J,358.3,12063,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12063,1,3,0)
;;=3^Pressure Ulcer Right Upper Back,Stage 3
;;^UTILITY(U,$J,358.3,12063,1,4,0)
;;=4^L89.113
;;^UTILITY(U,$J,358.3,12063,2)
;;=^5009355
;;^UTILITY(U,$J,358.3,12064,0)
;;=L89.114^^49^595^100
;;^UTILITY(U,$J,358.3,12064,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12064,1,3,0)
;;=3^Pressure Ulcer Right Upper Back,Stage 4
;;^UTILITY(U,$J,358.3,12064,1,4,0)
;;=4^L89.114
;;^UTILITY(U,$J,358.3,12064,2)
;;=^5009356
;;^UTILITY(U,$J,358.3,12065,0)
;;=L89.119^^49^595^101
;;^UTILITY(U,$J,358.3,12065,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12065,1,3,0)
;;=3^Pressure Ulcer Right Upper Back,Stage Unspec
;;^UTILITY(U,$J,358.3,12065,1,4,0)
;;=4^L89.119
;;^UTILITY(U,$J,358.3,12065,2)
;;=^5009357
;;^UTILITY(U,$J,358.3,12066,0)
;;=L89.120^^49^595^54
;;^UTILITY(U,$J,358.3,12066,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12066,1,3,0)
;;=3^Pressure Ulcer Left Upper Back,Unstageable
;;^UTILITY(U,$J,358.3,12066,1,4,0)
;;=4^L89.120
;;^UTILITY(U,$J,358.3,12066,2)
;;=^5009358
;;^UTILITY(U,$J,358.3,12067,0)
;;=L89.121^^49^595^49
;;^UTILITY(U,$J,358.3,12067,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12067,1,3,0)
;;=3^Pressure Ulcer Left Upper Back,Stage 1
;;^UTILITY(U,$J,358.3,12067,1,4,0)
;;=4^L89.121
;;^UTILITY(U,$J,358.3,12067,2)
;;=^5009359
;;^UTILITY(U,$J,358.3,12068,0)
;;=L89.122^^49^595^50
;;^UTILITY(U,$J,358.3,12068,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12068,1,3,0)
;;=3^Pressure Ulcer Left Upper Back,Stage 2
;;^UTILITY(U,$J,358.3,12068,1,4,0)
;;=4^L89.122
;;^UTILITY(U,$J,358.3,12068,2)
;;=^5009360
;;^UTILITY(U,$J,358.3,12069,0)
;;=L89.123^^49^595^51
;;^UTILITY(U,$J,358.3,12069,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12069,1,3,0)
;;=3^Pressure Ulcer Left Upper Back,Stage 3
;;^UTILITY(U,$J,358.3,12069,1,4,0)
;;=4^L89.123
;;^UTILITY(U,$J,358.3,12069,2)
;;=^5009361
;;^UTILITY(U,$J,358.3,12070,0)
;;=L89.124^^49^595^52
;;^UTILITY(U,$J,358.3,12070,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12070,1,3,0)
;;=3^Pressure Ulcer Left Upper Back,Stage 4
;;^UTILITY(U,$J,358.3,12070,1,4,0)
;;=4^L89.124
;;^UTILITY(U,$J,358.3,12070,2)
;;=^5009362
;;^UTILITY(U,$J,358.3,12071,0)
;;=L89.129^^49^595^53
;;^UTILITY(U,$J,358.3,12071,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0QR 3789 printed Oct 16, 2024@17:54:46 Page 2
IBDEI0QR ; ; 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,12059,1,3,0)
+2 ;;=3^Pressure Ulcer Left Elbow,Stage 4
+3 ;;^UTILITY(U,$J,358.3,12059,1,4,0)
+4 ;;=4^L89.024
+5 ;;^UTILITY(U,$J,358.3,12059,2)
+6 ;;=^5009346
+7 ;;^UTILITY(U,$J,358.3,12060,0)
+8 ;;=L89.110^^49^595^102
+9 ;;^UTILITY(U,$J,358.3,12060,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,12060,1,3,0)
+12 ;;=3^Pressure Ulcer Right Upper Back,Unstageable
+13 ;;^UTILITY(U,$J,358.3,12060,1,4,0)
+14 ;;=4^L89.110
+15 ;;^UTILITY(U,$J,358.3,12060,2)
+16 ;;=^5009352
+17 ;;^UTILITY(U,$J,358.3,12061,0)
+18 ;;=L89.111^^49^595^97
+19 ;;^UTILITY(U,$J,358.3,12061,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,12061,1,3,0)
+22 ;;=3^Pressure Ulcer Right Upper Back,Stage 1
+23 ;;^UTILITY(U,$J,358.3,12061,1,4,0)
+24 ;;=4^L89.111
+25 ;;^UTILITY(U,$J,358.3,12061,2)
+26 ;;=^5009353
+27 ;;^UTILITY(U,$J,358.3,12062,0)
+28 ;;=L89.112^^49^595^98
+29 ;;^UTILITY(U,$J,358.3,12062,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,12062,1,3,0)
+32 ;;=3^Pressure Ulcer Right Upper Back,Stage 2
+33 ;;^UTILITY(U,$J,358.3,12062,1,4,0)
+34 ;;=4^L89.112
+35 ;;^UTILITY(U,$J,358.3,12062,2)
+36 ;;=^5009354
+37 ;;^UTILITY(U,$J,358.3,12063,0)
+38 ;;=L89.113^^49^595^99
+39 ;;^UTILITY(U,$J,358.3,12063,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,12063,1,3,0)
+42 ;;=3^Pressure Ulcer Right Upper Back,Stage 3
+43 ;;^UTILITY(U,$J,358.3,12063,1,4,0)
+44 ;;=4^L89.113
+45 ;;^UTILITY(U,$J,358.3,12063,2)
+46 ;;=^5009355
+47 ;;^UTILITY(U,$J,358.3,12064,0)
+48 ;;=L89.114^^49^595^100
+49 ;;^UTILITY(U,$J,358.3,12064,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,12064,1,3,0)
+52 ;;=3^Pressure Ulcer Right Upper Back,Stage 4
+53 ;;^UTILITY(U,$J,358.3,12064,1,4,0)
+54 ;;=4^L89.114
+55 ;;^UTILITY(U,$J,358.3,12064,2)
+56 ;;=^5009356
+57 ;;^UTILITY(U,$J,358.3,12065,0)
+58 ;;=L89.119^^49^595^101
+59 ;;^UTILITY(U,$J,358.3,12065,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,12065,1,3,0)
+62 ;;=3^Pressure Ulcer Right Upper Back,Stage Unspec
+63 ;;^UTILITY(U,$J,358.3,12065,1,4,0)
+64 ;;=4^L89.119
+65 ;;^UTILITY(U,$J,358.3,12065,2)
+66 ;;=^5009357
+67 ;;^UTILITY(U,$J,358.3,12066,0)
+68 ;;=L89.120^^49^595^54
+69 ;;^UTILITY(U,$J,358.3,12066,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,12066,1,3,0)
+72 ;;=3^Pressure Ulcer Left Upper Back,Unstageable
+73 ;;^UTILITY(U,$J,358.3,12066,1,4,0)
+74 ;;=4^L89.120
+75 ;;^UTILITY(U,$J,358.3,12066,2)
+76 ;;=^5009358
+77 ;;^UTILITY(U,$J,358.3,12067,0)
+78 ;;=L89.121^^49^595^49
+79 ;;^UTILITY(U,$J,358.3,12067,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,12067,1,3,0)
+82 ;;=3^Pressure Ulcer Left Upper Back,Stage 1
+83 ;;^UTILITY(U,$J,358.3,12067,1,4,0)
+84 ;;=4^L89.121
+85 ;;^UTILITY(U,$J,358.3,12067,2)
+86 ;;=^5009359
+87 ;;^UTILITY(U,$J,358.3,12068,0)
+88 ;;=L89.122^^49^595^50
+89 ;;^UTILITY(U,$J,358.3,12068,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,12068,1,3,0)
+92 ;;=3^Pressure Ulcer Left Upper Back,Stage 2
+93 ;;^UTILITY(U,$J,358.3,12068,1,4,0)
+94 ;;=4^L89.122
+95 ;;^UTILITY(U,$J,358.3,12068,2)
+96 ;;=^5009360
+97 ;;^UTILITY(U,$J,358.3,12069,0)
+98 ;;=L89.123^^49^595^51
+99 ;;^UTILITY(U,$J,358.3,12069,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,12069,1,3,0)
+102 ;;=3^Pressure Ulcer Left Upper Back,Stage 3
+103 ;;^UTILITY(U,$J,358.3,12069,1,4,0)
+104 ;;=4^L89.123
+105 ;;^UTILITY(U,$J,358.3,12069,2)
+106 ;;=^5009361
+107 ;;^UTILITY(U,$J,358.3,12070,0)
+108 ;;=L89.124^^49^595^52
+109 ;;^UTILITY(U,$J,358.3,12070,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,12070,1,3,0)
+112 ;;=3^Pressure Ulcer Left Upper Back,Stage 4
+113 ;;^UTILITY(U,$J,358.3,12070,1,4,0)
+114 ;;=4^L89.124
+115 ;;^UTILITY(U,$J,358.3,12070,2)
+116 ;;=^5009362
+117 ;;^UTILITY(U,$J,358.3,12071,0)
+118 ;;=L89.129^^49^595^53
+119 ;;^UTILITY(U,$J,358.3,12071,1,0)
+120 ;;=^358.31IA^4^2