IBDEI2PU ; ; 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,43296,1,3,0)
;;=3^Pressure Ulcer Left Lower Back,Stage 4
;;^UTILITY(U,$J,358.3,43296,1,4,0)
;;=4^L89.144
;;^UTILITY(U,$J,358.3,43296,2)
;;=^5133659
;;^UTILITY(U,$J,358.3,43297,0)
;;=L89.210^^158^2105^72
;;^UTILITY(U,$J,358.3,43297,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43297,1,3,0)
;;=3^Pressure Ulcer Right Hip,Unstageable
;;^UTILITY(U,$J,358.3,43297,1,4,0)
;;=4^L89.210
;;^UTILITY(U,$J,358.3,43297,2)
;;=^5009379
;;^UTILITY(U,$J,358.3,43298,0)
;;=L89.219^^158^2105^71
;;^UTILITY(U,$J,358.3,43298,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43298,1,3,0)
;;=3^Pressure Ulcer Right Hip,Stage Unspec
;;^UTILITY(U,$J,358.3,43298,1,4,0)
;;=4^L89.219
;;^UTILITY(U,$J,358.3,43298,2)
;;=^5133661
;;^UTILITY(U,$J,358.3,43299,0)
;;=L89.211^^158^2105^67
;;^UTILITY(U,$J,358.3,43299,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43299,1,3,0)
;;=3^Pressure Ulcer Right Hip,Stage 1
;;^UTILITY(U,$J,358.3,43299,1,4,0)
;;=4^L89.211
;;^UTILITY(U,$J,358.3,43299,2)
;;=^5009380
;;^UTILITY(U,$J,358.3,43300,0)
;;=L89.212^^158^2105^68
;;^UTILITY(U,$J,358.3,43300,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43300,1,3,0)
;;=3^Pressure Ulcer Right Hip,Stage 2
;;^UTILITY(U,$J,358.3,43300,1,4,0)
;;=4^L89.212
;;^UTILITY(U,$J,358.3,43300,2)
;;=^5009381
;;^UTILITY(U,$J,358.3,43301,0)
;;=L89.213^^158^2105^69
;;^UTILITY(U,$J,358.3,43301,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43301,1,3,0)
;;=3^Pressure Ulcer Right Hip,Stage 3
;;^UTILITY(U,$J,358.3,43301,1,4,0)
;;=4^L89.213
;;^UTILITY(U,$J,358.3,43301,2)
;;=^5009382
;;^UTILITY(U,$J,358.3,43302,0)
;;=L89.214^^158^2105^70
;;^UTILITY(U,$J,358.3,43302,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43302,1,3,0)
;;=3^Pressure Ulcer Right Hip,Stage 4
;;^UTILITY(U,$J,358.3,43302,1,4,0)
;;=4^L89.214
;;^UTILITY(U,$J,358.3,43302,2)
;;=^5009383
;;^UTILITY(U,$J,358.3,43303,0)
;;=L89.220^^158^2105^30
;;^UTILITY(U,$J,358.3,43303,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43303,1,3,0)
;;=3^Pressure Ulcer Left Hip,Unstageable
;;^UTILITY(U,$J,358.3,43303,1,4,0)
;;=4^L89.220
;;^UTILITY(U,$J,358.3,43303,2)
;;=^5009384
;;^UTILITY(U,$J,358.3,43304,0)
;;=L89.229^^158^2105^29
;;^UTILITY(U,$J,358.3,43304,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43304,1,3,0)
;;=3^Pressure Ulcer Left Hip,Stage Unspec
;;^UTILITY(U,$J,358.3,43304,1,4,0)
;;=4^L89.229
;;^UTILITY(U,$J,358.3,43304,2)
;;=^5133662
;;^UTILITY(U,$J,358.3,43305,0)
;;=L89.221^^158^2105^25
;;^UTILITY(U,$J,358.3,43305,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43305,1,3,0)
;;=3^Pressure Ulcer Left Hip,Stage 1
;;^UTILITY(U,$J,358.3,43305,1,4,0)
;;=4^L89.221
;;^UTILITY(U,$J,358.3,43305,2)
;;=^5009385
;;^UTILITY(U,$J,358.3,43306,0)
;;=L89.222^^158^2105^26
;;^UTILITY(U,$J,358.3,43306,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43306,1,3,0)
;;=3^Pressure Ulcer Left Hip,Stage 2
;;^UTILITY(U,$J,358.3,43306,1,4,0)
;;=4^L89.222
;;^UTILITY(U,$J,358.3,43306,2)
;;=^5009386
;;^UTILITY(U,$J,358.3,43307,0)
;;=L89.223^^158^2105^27
;;^UTILITY(U,$J,358.3,43307,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43307,1,3,0)
;;=3^Pressure Ulcer Left Hip,Stage 3
;;^UTILITY(U,$J,358.3,43307,1,4,0)
;;=4^L89.223
;;^UTILITY(U,$J,358.3,43307,2)
;;=^5009387
;;^UTILITY(U,$J,358.3,43308,0)
;;=L89.224^^158^2105^28
;;^UTILITY(U,$J,358.3,43308,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43308,1,3,0)
;;=3^Pressure Ulcer Left Hip,Stage 4
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2PU 3819 printed Dec 13, 2024@02:33:29 Page 2
IBDEI2PU ; ; 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,43296,1,3,0)
+2 ;;=3^Pressure Ulcer Left Lower Back,Stage 4
+3 ;;^UTILITY(U,$J,358.3,43296,1,4,0)
+4 ;;=4^L89.144
+5 ;;^UTILITY(U,$J,358.3,43296,2)
+6 ;;=^5133659
+7 ;;^UTILITY(U,$J,358.3,43297,0)
+8 ;;=L89.210^^158^2105^72
+9 ;;^UTILITY(U,$J,358.3,43297,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,43297,1,3,0)
+12 ;;=3^Pressure Ulcer Right Hip,Unstageable
+13 ;;^UTILITY(U,$J,358.3,43297,1,4,0)
+14 ;;=4^L89.210
+15 ;;^UTILITY(U,$J,358.3,43297,2)
+16 ;;=^5009379
+17 ;;^UTILITY(U,$J,358.3,43298,0)
+18 ;;=L89.219^^158^2105^71
+19 ;;^UTILITY(U,$J,358.3,43298,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,43298,1,3,0)
+22 ;;=3^Pressure Ulcer Right Hip,Stage Unspec
+23 ;;^UTILITY(U,$J,358.3,43298,1,4,0)
+24 ;;=4^L89.219
+25 ;;^UTILITY(U,$J,358.3,43298,2)
+26 ;;=^5133661
+27 ;;^UTILITY(U,$J,358.3,43299,0)
+28 ;;=L89.211^^158^2105^67
+29 ;;^UTILITY(U,$J,358.3,43299,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,43299,1,3,0)
+32 ;;=3^Pressure Ulcer Right Hip,Stage 1
+33 ;;^UTILITY(U,$J,358.3,43299,1,4,0)
+34 ;;=4^L89.211
+35 ;;^UTILITY(U,$J,358.3,43299,2)
+36 ;;=^5009380
+37 ;;^UTILITY(U,$J,358.3,43300,0)
+38 ;;=L89.212^^158^2105^68
+39 ;;^UTILITY(U,$J,358.3,43300,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,43300,1,3,0)
+42 ;;=3^Pressure Ulcer Right Hip,Stage 2
+43 ;;^UTILITY(U,$J,358.3,43300,1,4,0)
+44 ;;=4^L89.212
+45 ;;^UTILITY(U,$J,358.3,43300,2)
+46 ;;=^5009381
+47 ;;^UTILITY(U,$J,358.3,43301,0)
+48 ;;=L89.213^^158^2105^69
+49 ;;^UTILITY(U,$J,358.3,43301,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,43301,1,3,0)
+52 ;;=3^Pressure Ulcer Right Hip,Stage 3
+53 ;;^UTILITY(U,$J,358.3,43301,1,4,0)
+54 ;;=4^L89.213
+55 ;;^UTILITY(U,$J,358.3,43301,2)
+56 ;;=^5009382
+57 ;;^UTILITY(U,$J,358.3,43302,0)
+58 ;;=L89.214^^158^2105^70
+59 ;;^UTILITY(U,$J,358.3,43302,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,43302,1,3,0)
+62 ;;=3^Pressure Ulcer Right Hip,Stage 4
+63 ;;^UTILITY(U,$J,358.3,43302,1,4,0)
+64 ;;=4^L89.214
+65 ;;^UTILITY(U,$J,358.3,43302,2)
+66 ;;=^5009383
+67 ;;^UTILITY(U,$J,358.3,43303,0)
+68 ;;=L89.220^^158^2105^30
+69 ;;^UTILITY(U,$J,358.3,43303,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,43303,1,3,0)
+72 ;;=3^Pressure Ulcer Left Hip,Unstageable
+73 ;;^UTILITY(U,$J,358.3,43303,1,4,0)
+74 ;;=4^L89.220
+75 ;;^UTILITY(U,$J,358.3,43303,2)
+76 ;;=^5009384
+77 ;;^UTILITY(U,$J,358.3,43304,0)
+78 ;;=L89.229^^158^2105^29
+79 ;;^UTILITY(U,$J,358.3,43304,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,43304,1,3,0)
+82 ;;=3^Pressure Ulcer Left Hip,Stage Unspec
+83 ;;^UTILITY(U,$J,358.3,43304,1,4,0)
+84 ;;=4^L89.229
+85 ;;^UTILITY(U,$J,358.3,43304,2)
+86 ;;=^5133662
+87 ;;^UTILITY(U,$J,358.3,43305,0)
+88 ;;=L89.221^^158^2105^25
+89 ;;^UTILITY(U,$J,358.3,43305,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,43305,1,3,0)
+92 ;;=3^Pressure Ulcer Left Hip,Stage 1
+93 ;;^UTILITY(U,$J,358.3,43305,1,4,0)
+94 ;;=4^L89.221
+95 ;;^UTILITY(U,$J,358.3,43305,2)
+96 ;;=^5009385
+97 ;;^UTILITY(U,$J,358.3,43306,0)
+98 ;;=L89.222^^158^2105^26
+99 ;;^UTILITY(U,$J,358.3,43306,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,43306,1,3,0)
+102 ;;=3^Pressure Ulcer Left Hip,Stage 2
+103 ;;^UTILITY(U,$J,358.3,43306,1,4,0)
+104 ;;=4^L89.222
+105 ;;^UTILITY(U,$J,358.3,43306,2)
+106 ;;=^5009386
+107 ;;^UTILITY(U,$J,358.3,43307,0)
+108 ;;=L89.223^^158^2105^27
+109 ;;^UTILITY(U,$J,358.3,43307,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,43307,1,3,0)
+112 ;;=3^Pressure Ulcer Left Hip,Stage 3
+113 ;;^UTILITY(U,$J,358.3,43307,1,4,0)
+114 ;;=4^L89.223
+115 ;;^UTILITY(U,$J,358.3,43307,2)
+116 ;;=^5009387
+117 ;;^UTILITY(U,$J,358.3,43308,0)
+118 ;;=L89.224^^158^2105^28
+119 ;;^UTILITY(U,$J,358.3,43308,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,43308,1,3,0)
+122 ;;=3^Pressure Ulcer Left Hip,Stage 4