IBDEI3FU ; ; 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,57841,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57841,1,3,0)
 ;;=3^Pressure Ulcer Right Ankle,Stage 1
 ;;^UTILITY(U,$J,358.3,57841,1,4,0)
 ;;=4^L89.511
 ;;^UTILITY(U,$J,358.3,57841,2)
 ;;=^5009416
 ;;^UTILITY(U,$J,358.3,57842,0)
 ;;=L89.512^^270^2897^56
 ;;^UTILITY(U,$J,358.3,57842,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57842,1,3,0)
 ;;=3^Pressure Ulcer Right Ankle,Stage 2
 ;;^UTILITY(U,$J,358.3,57842,1,4,0)
 ;;=4^L89.512
 ;;^UTILITY(U,$J,358.3,57842,2)
 ;;=^5009417
 ;;^UTILITY(U,$J,358.3,57843,0)
 ;;=L89.513^^270^2897^57
 ;;^UTILITY(U,$J,358.3,57843,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57843,1,3,0)
 ;;=3^Pressure Ulcer Right Ankle,Stage 3
 ;;^UTILITY(U,$J,358.3,57843,1,4,0)
 ;;=4^L89.513
 ;;^UTILITY(U,$J,358.3,57843,2)
 ;;=^5009418
 ;;^UTILITY(U,$J,358.3,57844,0)
 ;;=L89.514^^270^2897^58
 ;;^UTILITY(U,$J,358.3,57844,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57844,1,3,0)
 ;;=3^Pressure Ulcer Right Ankle,Stage 4
 ;;^UTILITY(U,$J,358.3,57844,1,4,0)
 ;;=4^L89.514
 ;;^UTILITY(U,$J,358.3,57844,2)
 ;;=^5009419
 ;;^UTILITY(U,$J,358.3,57845,0)
 ;;=L89.519^^270^2897^59
 ;;^UTILITY(U,$J,358.3,57845,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57845,1,3,0)
 ;;=3^Pressure Ulcer Right Ankle,Unspec Stage
 ;;^UTILITY(U,$J,358.3,57845,1,4,0)
 ;;=4^L89.519
 ;;^UTILITY(U,$J,358.3,57845,2)
 ;;=^5133673
 ;;^UTILITY(U,$J,358.3,57846,0)
 ;;=L89.510^^270^2897^60
 ;;^UTILITY(U,$J,358.3,57846,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57846,1,3,0)
 ;;=3^Pressure Ulcer Right Ankle,Unstageable
 ;;^UTILITY(U,$J,358.3,57846,1,4,0)
 ;;=4^L89.510
 ;;^UTILITY(U,$J,358.3,57846,2)
 ;;=^5009415
 ;;^UTILITY(U,$J,358.3,57847,0)
 ;;=L89.311^^270^2897^61
 ;;^UTILITY(U,$J,358.3,57847,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57847,1,3,0)
 ;;=3^Pressure Ulcer Right Buttock,Stage 1
 ;;^UTILITY(U,$J,358.3,57847,1,4,0)
 ;;=4^L89.311
 ;;^UTILITY(U,$J,358.3,57847,2)
 ;;=^5009395
 ;;^UTILITY(U,$J,358.3,57848,0)
 ;;=L89.312^^270^2897^62
 ;;^UTILITY(U,$J,358.3,57848,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57848,1,3,0)
 ;;=3^Pressure Ulcer Right Buttock,Stage 2
 ;;^UTILITY(U,$J,358.3,57848,1,4,0)
 ;;=4^L89.312
 ;;^UTILITY(U,$J,358.3,57848,2)
 ;;=^5009396
 ;;^UTILITY(U,$J,358.3,57849,0)
 ;;=L89.313^^270^2897^63
 ;;^UTILITY(U,$J,358.3,57849,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57849,1,3,0)
 ;;=3^Pressure Ulcer Right Buttock,Stage 3
 ;;^UTILITY(U,$J,358.3,57849,1,4,0)
 ;;=4^L89.313
 ;;^UTILITY(U,$J,358.3,57849,2)
 ;;=^5009397
 ;;^UTILITY(U,$J,358.3,57850,0)
 ;;=L89.314^^270^2897^64
 ;;^UTILITY(U,$J,358.3,57850,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57850,1,3,0)
 ;;=3^Pressure Ulcer Right Buttock,Stage 4
 ;;^UTILITY(U,$J,358.3,57850,1,4,0)
 ;;=4^L89.314
 ;;^UTILITY(U,$J,358.3,57850,2)
 ;;=^5009398
 ;;^UTILITY(U,$J,358.3,57851,0)
 ;;=L89.319^^270^2897^65
 ;;^UTILITY(U,$J,358.3,57851,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57851,1,3,0)
 ;;=3^Pressure Ulcer Right Buttock,Unspec Stage
 ;;^UTILITY(U,$J,358.3,57851,1,4,0)
 ;;=4^L89.319
 ;;^UTILITY(U,$J,358.3,57851,2)
 ;;=^5133670
 ;;^UTILITY(U,$J,358.3,57852,0)
 ;;=L89.310^^270^2897^66
 ;;^UTILITY(U,$J,358.3,57852,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57852,1,3,0)
 ;;=3^Pressure Ulcer Right Buttock,Unstageable
 ;;^UTILITY(U,$J,358.3,57852,1,4,0)
 ;;=4^L89.310
 ;;^UTILITY(U,$J,358.3,57852,2)
 ;;=^5009394
 ;;^UTILITY(U,$J,358.3,57853,0)
 ;;=L89.011^^270^2897^67
 ;;^UTILITY(U,$J,358.3,57853,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,57853,1,3,0)
 ;;=3^Pressure Ulcer Right Elbow,Stage 1
 ;;^UTILITY(U,$J,358.3,57853,1,4,0)
 ;;=4^L89.011
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3FU   3962     printed  Sep 23, 2025@20:24                                                                                                                                                                                                       Page 2
IBDEI3FU  ; ; 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,57841,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,57841,1,3,0)
 +4       ;;=3^Pressure Ulcer Right Ankle,Stage 1
 +5       ;;^UTILITY(U,$J,358.3,57841,1,4,0)
 +6       ;;=4^L89.511
 +7       ;;^UTILITY(U,$J,358.3,57841,2)
 +8       ;;=^5009416
 +9       ;;^UTILITY(U,$J,358.3,57842,0)
 +10      ;;=L89.512^^270^2897^56
 +11      ;;^UTILITY(U,$J,358.3,57842,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,57842,1,3,0)
 +14      ;;=3^Pressure Ulcer Right Ankle,Stage 2
 +15      ;;^UTILITY(U,$J,358.3,57842,1,4,0)
 +16      ;;=4^L89.512
 +17      ;;^UTILITY(U,$J,358.3,57842,2)
 +18      ;;=^5009417
 +19      ;;^UTILITY(U,$J,358.3,57843,0)
 +20      ;;=L89.513^^270^2897^57
 +21      ;;^UTILITY(U,$J,358.3,57843,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,57843,1,3,0)
 +24      ;;=3^Pressure Ulcer Right Ankle,Stage 3
 +25      ;;^UTILITY(U,$J,358.3,57843,1,4,0)
 +26      ;;=4^L89.513
 +27      ;;^UTILITY(U,$J,358.3,57843,2)
 +28      ;;=^5009418
 +29      ;;^UTILITY(U,$J,358.3,57844,0)
 +30      ;;=L89.514^^270^2897^58
 +31      ;;^UTILITY(U,$J,358.3,57844,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,57844,1,3,0)
 +34      ;;=3^Pressure Ulcer Right Ankle,Stage 4
 +35      ;;^UTILITY(U,$J,358.3,57844,1,4,0)
 +36      ;;=4^L89.514
 +37      ;;^UTILITY(U,$J,358.3,57844,2)
 +38      ;;=^5009419
 +39      ;;^UTILITY(U,$J,358.3,57845,0)
 +40      ;;=L89.519^^270^2897^59
 +41      ;;^UTILITY(U,$J,358.3,57845,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,57845,1,3,0)
 +44      ;;=3^Pressure Ulcer Right Ankle,Unspec Stage
 +45      ;;^UTILITY(U,$J,358.3,57845,1,4,0)
 +46      ;;=4^L89.519
 +47      ;;^UTILITY(U,$J,358.3,57845,2)
 +48      ;;=^5133673
 +49      ;;^UTILITY(U,$J,358.3,57846,0)
 +50      ;;=L89.510^^270^2897^60
 +51      ;;^UTILITY(U,$J,358.3,57846,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,57846,1,3,0)
 +54      ;;=3^Pressure Ulcer Right Ankle,Unstageable
 +55      ;;^UTILITY(U,$J,358.3,57846,1,4,0)
 +56      ;;=4^L89.510
 +57      ;;^UTILITY(U,$J,358.3,57846,2)
 +58      ;;=^5009415
 +59      ;;^UTILITY(U,$J,358.3,57847,0)
 +60      ;;=L89.311^^270^2897^61
 +61      ;;^UTILITY(U,$J,358.3,57847,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,57847,1,3,0)
 +64      ;;=3^Pressure Ulcer Right Buttock,Stage 1
 +65      ;;^UTILITY(U,$J,358.3,57847,1,4,0)
 +66      ;;=4^L89.311
 +67      ;;^UTILITY(U,$J,358.3,57847,2)
 +68      ;;=^5009395
 +69      ;;^UTILITY(U,$J,358.3,57848,0)
 +70      ;;=L89.312^^270^2897^62
 +71      ;;^UTILITY(U,$J,358.3,57848,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,57848,1,3,0)
 +74      ;;=3^Pressure Ulcer Right Buttock,Stage 2
 +75      ;;^UTILITY(U,$J,358.3,57848,1,4,0)
 +76      ;;=4^L89.312
 +77      ;;^UTILITY(U,$J,358.3,57848,2)
 +78      ;;=^5009396
 +79      ;;^UTILITY(U,$J,358.3,57849,0)
 +80      ;;=L89.313^^270^2897^63
 +81      ;;^UTILITY(U,$J,358.3,57849,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,57849,1,3,0)
 +84      ;;=3^Pressure Ulcer Right Buttock,Stage 3
 +85      ;;^UTILITY(U,$J,358.3,57849,1,4,0)
 +86      ;;=4^L89.313
 +87      ;;^UTILITY(U,$J,358.3,57849,2)
 +88      ;;=^5009397
 +89      ;;^UTILITY(U,$J,358.3,57850,0)
 +90      ;;=L89.314^^270^2897^64
 +91      ;;^UTILITY(U,$J,358.3,57850,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,57850,1,3,0)
 +94      ;;=3^Pressure Ulcer Right Buttock,Stage 4
 +95      ;;^UTILITY(U,$J,358.3,57850,1,4,0)
 +96      ;;=4^L89.314
 +97      ;;^UTILITY(U,$J,358.3,57850,2)
 +98      ;;=^5009398
 +99      ;;^UTILITY(U,$J,358.3,57851,0)
 +100     ;;=L89.319^^270^2897^65
 +101     ;;^UTILITY(U,$J,358.3,57851,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,57851,1,3,0)
 +104     ;;=3^Pressure Ulcer Right Buttock,Unspec Stage
 +105     ;;^UTILITY(U,$J,358.3,57851,1,4,0)
 +106     ;;=4^L89.319
 +107     ;;^UTILITY(U,$J,358.3,57851,2)
 +108     ;;=^5133670
 +109     ;;^UTILITY(U,$J,358.3,57852,0)
 +110     ;;=L89.310^^270^2897^66
 +111     ;;^UTILITY(U,$J,358.3,57852,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,57852,1,3,0)
 +114     ;;=3^Pressure Ulcer Right Buttock,Unstageable
 +115     ;;^UTILITY(U,$J,358.3,57852,1,4,0)
 +116     ;;=4^L89.310
 +117     ;;^UTILITY(U,$J,358.3,57852,2)
 +118     ;;=^5009394
 +119     ;;^UTILITY(U,$J,358.3,57853,0)
 +120     ;;=L89.011^^270^2897^67
 +121     ;;^UTILITY(U,$J,358.3,57853,1,0)
 +122     ;;=^358.31IA^4^2
 +123     ;;^UTILITY(U,$J,358.3,57853,1,3,0)
 +124     ;;=3^Pressure Ulcer Right Elbow,Stage 1
 +125     ;;^UTILITY(U,$J,358.3,57853,1,4,0)
 +126     ;;=4^L89.011