IBDEI3FP ; ; 19-NOV-2015
 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
 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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E  S @X=Y
Q Q
 ;;^UTILITY(U,$J,358.3,57777,2)
 ;;=^5002654
 ;;^UTILITY(U,$J,358.3,57778,0)
 ;;=E11.628^^270^2896^12
 ;;^UTILITY(U,$J,358.3,57778,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57778,1,3,0)
 ;;=3^Diabetes Type 2 w/ Oth Skin Complications
 ;;^UTILITY(U,$J,358.3,57778,1,4,0)
 ;;=4^E11.628
 ;;^UTILITY(U,$J,358.3,57778,2)
 ;;=^5002658
 ;;^UTILITY(U,$J,358.3,57779,0)
 ;;=E11.622^^270^2896^13
 ;;^UTILITY(U,$J,358.3,57779,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57779,1,3,0)
 ;;=3^Diabetes Type 2 w/ Oth Skin Ulcer
 ;;^UTILITY(U,$J,358.3,57779,1,4,0)
 ;;=4^E11.622
 ;;^UTILITY(U,$J,358.3,57779,2)
 ;;=^5002657
 ;;^UTILITY(U,$J,358.3,57780,0)
 ;;=L89.90^^270^2897^107
 ;;^UTILITY(U,$J,358.3,57780,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57780,1,3,0)
 ;;=3^Pressure Ulcer Unspec Site,Unspec Stage
 ;;^UTILITY(U,$J,358.3,57780,1,4,0)
 ;;=4^L89.90
 ;;^UTILITY(U,$J,358.3,57780,2)
 ;;=^5133666
 ;;^UTILITY(U,$J,358.3,57781,0)
 ;;=L89.91^^270^2897^103
 ;;^UTILITY(U,$J,358.3,57781,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57781,1,3,0)
 ;;=3^Pressure Ulcer Unspec Site,Stage 1
 ;;^UTILITY(U,$J,358.3,57781,1,4,0)
 ;;=4^L89.91
 ;;^UTILITY(U,$J,358.3,57781,2)
 ;;=^5133664
 ;;^UTILITY(U,$J,358.3,57782,0)
 ;;=L89.92^^270^2897^104
 ;;^UTILITY(U,$J,358.3,57782,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57782,1,3,0)
 ;;=3^Pressure Ulcer Unspec Site,Stage 2
 ;;^UTILITY(U,$J,358.3,57782,1,4,0)
 ;;=4^L89.92
 ;;^UTILITY(U,$J,358.3,57782,2)
 ;;=^5133667
 ;;^UTILITY(U,$J,358.3,57783,0)
 ;;=L89.93^^270^2897^105
 ;;^UTILITY(U,$J,358.3,57783,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57783,1,3,0)
 ;;=3^Pressure Ulcer Unspec Site,Stage 3
 ;;^UTILITY(U,$J,358.3,57783,1,4,0)
 ;;=4^L89.93
 ;;^UTILITY(U,$J,358.3,57783,2)
 ;;=^5133668
 ;;^UTILITY(U,$J,358.3,57784,0)
 ;;=L89.94^^270^2897^106
 ;;^UTILITY(U,$J,358.3,57784,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57784,1,3,0)
 ;;=3^Pressure Ulcer Unspec Site,Stage 4
 ;;^UTILITY(U,$J,358.3,57784,1,4,0)
 ;;=4^L89.94
 ;;^UTILITY(U,$J,358.3,57784,2)
 ;;=^5133669
 ;;^UTILITY(U,$J,358.3,57785,0)
 ;;=L89.95^^270^2897^108
 ;;^UTILITY(U,$J,358.3,57785,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57785,1,3,0)
 ;;=3^Pressure Ulcer Unspec Site,Unstageable
 ;;^UTILITY(U,$J,358.3,57785,1,4,0)
 ;;=4^L89.95
 ;;^UTILITY(U,$J,358.3,57785,2)
 ;;=^5133660
 ;;^UTILITY(U,$J,358.3,57786,0)
 ;;=L89.41^^270^2897^1
 ;;^UTILITY(U,$J,358.3,57786,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57786,1,3,0)
 ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 1
 ;;^UTILITY(U,$J,358.3,57786,1,4,0)
 ;;=4^L89.41
 ;;^UTILITY(U,$J,358.3,57786,2)
 ;;=^5009405
 ;;^UTILITY(U,$J,358.3,57787,0)
 ;;=L89.42^^270^2897^2
 ;;^UTILITY(U,$J,358.3,57787,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57787,1,3,0)
 ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 2
 ;;^UTILITY(U,$J,358.3,57787,1,4,0)
 ;;=4^L89.42
 ;;^UTILITY(U,$J,358.3,57787,2)
 ;;=^5009406
 ;;^UTILITY(U,$J,358.3,57788,0)
 ;;=L89.43^^270^2897^3
 ;;^UTILITY(U,$J,358.3,57788,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57788,1,3,0)
 ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 3
 ;;^UTILITY(U,$J,358.3,57788,1,4,0)
 ;;=4^L89.43
 ;;^UTILITY(U,$J,358.3,57788,2)
 ;;=^5009407
 ;;^UTILITY(U,$J,358.3,57789,0)
 ;;=L89.44^^270^2897^4
 ;;^UTILITY(U,$J,358.3,57789,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57789,1,3,0)
 ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 4
 ;;^UTILITY(U,$J,358.3,57789,1,4,0)
 ;;=4^L89.44
 ;;^UTILITY(U,$J,358.3,57789,2)
 ;;=^5009408
 ;;^UTILITY(U,$J,358.3,57790,0)
 ;;=L89.45^^270^2897^5
 ;;^UTILITY(U,$J,358.3,57790,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3FP   3970     printed  Sep 23, 2025@20:23:55                                                                                                                                                                                                    Page 2
IBDEI3FP  ; ; 19-NOV-2015
 +1       ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
 +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,99)
               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,57777,2)
 +2       ;;=^5002654
 +3       ;;^UTILITY(U,$J,358.3,57778,0)
 +4       ;;=E11.628^^270^2896^12
 +5       ;;^UTILITY(U,$J,358.3,57778,1,0)
 +6       ;;=^358.31IA^4^2
 +7       ;;^UTILITY(U,$J,358.3,57778,1,3,0)
 +8       ;;=3^Diabetes Type 2 w/ Oth Skin Complications
 +9       ;;^UTILITY(U,$J,358.3,57778,1,4,0)
 +10      ;;=4^E11.628
 +11      ;;^UTILITY(U,$J,358.3,57778,2)
 +12      ;;=^5002658
 +13      ;;^UTILITY(U,$J,358.3,57779,0)
 +14      ;;=E11.622^^270^2896^13
 +15      ;;^UTILITY(U,$J,358.3,57779,1,0)
 +16      ;;=^358.31IA^4^2
 +17      ;;^UTILITY(U,$J,358.3,57779,1,3,0)
 +18      ;;=3^Diabetes Type 2 w/ Oth Skin Ulcer
 +19      ;;^UTILITY(U,$J,358.3,57779,1,4,0)
 +20      ;;=4^E11.622
 +21      ;;^UTILITY(U,$J,358.3,57779,2)
 +22      ;;=^5002657
 +23      ;;^UTILITY(U,$J,358.3,57780,0)
 +24      ;;=L89.90^^270^2897^107
 +25      ;;^UTILITY(U,$J,358.3,57780,1,0)
 +26      ;;=^358.31IA^4^2
 +27      ;;^UTILITY(U,$J,358.3,57780,1,3,0)
 +28      ;;=3^Pressure Ulcer Unspec Site,Unspec Stage
 +29      ;;^UTILITY(U,$J,358.3,57780,1,4,0)
 +30      ;;=4^L89.90
 +31      ;;^UTILITY(U,$J,358.3,57780,2)
 +32      ;;=^5133666
 +33      ;;^UTILITY(U,$J,358.3,57781,0)
 +34      ;;=L89.91^^270^2897^103
 +35      ;;^UTILITY(U,$J,358.3,57781,1,0)
 +36      ;;=^358.31IA^4^2
 +37      ;;^UTILITY(U,$J,358.3,57781,1,3,0)
 +38      ;;=3^Pressure Ulcer Unspec Site,Stage 1
 +39      ;;^UTILITY(U,$J,358.3,57781,1,4,0)
 +40      ;;=4^L89.91
 +41      ;;^UTILITY(U,$J,358.3,57781,2)
 +42      ;;=^5133664
 +43      ;;^UTILITY(U,$J,358.3,57782,0)
 +44      ;;=L89.92^^270^2897^104
 +45      ;;^UTILITY(U,$J,358.3,57782,1,0)
 +46      ;;=^358.31IA^4^2
 +47      ;;^UTILITY(U,$J,358.3,57782,1,3,0)
 +48      ;;=3^Pressure Ulcer Unspec Site,Stage 2
 +49      ;;^UTILITY(U,$J,358.3,57782,1,4,0)
 +50      ;;=4^L89.92
 +51      ;;^UTILITY(U,$J,358.3,57782,2)
 +52      ;;=^5133667
 +53      ;;^UTILITY(U,$J,358.3,57783,0)
 +54      ;;=L89.93^^270^2897^105
 +55      ;;^UTILITY(U,$J,358.3,57783,1,0)
 +56      ;;=^358.31IA^4^2
 +57      ;;^UTILITY(U,$J,358.3,57783,1,3,0)
 +58      ;;=3^Pressure Ulcer Unspec Site,Stage 3
 +59      ;;^UTILITY(U,$J,358.3,57783,1,4,0)
 +60      ;;=4^L89.93
 +61      ;;^UTILITY(U,$J,358.3,57783,2)
 +62      ;;=^5133668
 +63      ;;^UTILITY(U,$J,358.3,57784,0)
 +64      ;;=L89.94^^270^2897^106
 +65      ;;^UTILITY(U,$J,358.3,57784,1,0)
 +66      ;;=^358.31IA^4^2
 +67      ;;^UTILITY(U,$J,358.3,57784,1,3,0)
 +68      ;;=3^Pressure Ulcer Unspec Site,Stage 4
 +69      ;;^UTILITY(U,$J,358.3,57784,1,4,0)
 +70      ;;=4^L89.94
 +71      ;;^UTILITY(U,$J,358.3,57784,2)
 +72      ;;=^5133669
 +73      ;;^UTILITY(U,$J,358.3,57785,0)
 +74      ;;=L89.95^^270^2897^108
 +75      ;;^UTILITY(U,$J,358.3,57785,1,0)
 +76      ;;=^358.31IA^4^2
 +77      ;;^UTILITY(U,$J,358.3,57785,1,3,0)
 +78      ;;=3^Pressure Ulcer Unspec Site,Unstageable
 +79      ;;^UTILITY(U,$J,358.3,57785,1,4,0)
 +80      ;;=4^L89.95
 +81      ;;^UTILITY(U,$J,358.3,57785,2)
 +82      ;;=^5133660
 +83      ;;^UTILITY(U,$J,358.3,57786,0)
 +84      ;;=L89.41^^270^2897^1
 +85      ;;^UTILITY(U,$J,358.3,57786,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,57786,1,3,0)
 +88      ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 1
 +89      ;;^UTILITY(U,$J,358.3,57786,1,4,0)
 +90      ;;=4^L89.41
 +91      ;;^UTILITY(U,$J,358.3,57786,2)
 +92      ;;=^5009405
 +93      ;;^UTILITY(U,$J,358.3,57787,0)
 +94      ;;=L89.42^^270^2897^2
 +95      ;;^UTILITY(U,$J,358.3,57787,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,57787,1,3,0)
 +98      ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 2
 +99      ;;^UTILITY(U,$J,358.3,57787,1,4,0)
 +100     ;;=4^L89.42
 +101     ;;^UTILITY(U,$J,358.3,57787,2)
 +102     ;;=^5009406
 +103     ;;^UTILITY(U,$J,358.3,57788,0)
 +104     ;;=L89.43^^270^2897^3
 +105     ;;^UTILITY(U,$J,358.3,57788,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,57788,1,3,0)
 +108     ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 3
 +109     ;;^UTILITY(U,$J,358.3,57788,1,4,0)
 +110     ;;=4^L89.43
 +111     ;;^UTILITY(U,$J,358.3,57788,2)
 +112     ;;=^5009407
 +113     ;;^UTILITY(U,$J,358.3,57789,0)
 +114     ;;=L89.44^^270^2897^4
 +115     ;;^UTILITY(U,$J,358.3,57789,1,0)
 +116     ;;=^358.31IA^4^2
 +117     ;;^UTILITY(U,$J,358.3,57789,1,3,0)
 +118     ;;=3^Pressure Ulcer Contig Site Back/Buttock/Hip,Stage 4
 +119     ;;^UTILITY(U,$J,358.3,57789,1,4,0)
 +120     ;;=4^L89.44
 +121     ;;^UTILITY(U,$J,358.3,57789,2)
 +122     ;;=^5009408
 +123     ;;^UTILITY(U,$J,358.3,57790,0)
 +124     ;;=L89.45^^270^2897^5
 +125     ;;^UTILITY(U,$J,358.3,57790,1,0)
 +126     ;;=^358.31IA^4^2