IBDEI0QV ; ; 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,12107,1,4,0)
 ;;=4^L89.319
 ;;^UTILITY(U,$J,358.3,12107,2)
 ;;=^5133670
 ;;^UTILITY(U,$J,358.3,12108,0)
 ;;=L89.320^^49^595^24
 ;;^UTILITY(U,$J,358.3,12108,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12108,1,3,0)
 ;;=3^Pressure Ulcer Left Buttock,Unstageable
 ;;^UTILITY(U,$J,358.3,12108,1,4,0)
 ;;=4^L89.320
 ;;^UTILITY(U,$J,358.3,12108,2)
 ;;=^5009399
 ;;^UTILITY(U,$J,358.3,12109,0)
 ;;=L89.321^^49^595^19
 ;;^UTILITY(U,$J,358.3,12109,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12109,1,3,0)
 ;;=3^Pressure Ulcer Left Buttock,Stage 1
 ;;^UTILITY(U,$J,358.3,12109,1,4,0)
 ;;=4^L89.321
 ;;^UTILITY(U,$J,358.3,12109,2)
 ;;=^5009400
 ;;^UTILITY(U,$J,358.3,12110,0)
 ;;=L89.322^^49^595^20
 ;;^UTILITY(U,$J,358.3,12110,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12110,1,3,0)
 ;;=3^Pressure Ulcer Left Buttock,Stage 2
 ;;^UTILITY(U,$J,358.3,12110,1,4,0)
 ;;=4^L89.322
 ;;^UTILITY(U,$J,358.3,12110,2)
 ;;=^5009401
 ;;^UTILITY(U,$J,358.3,12111,0)
 ;;=L89.323^^49^595^21
 ;;^UTILITY(U,$J,358.3,12111,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12111,1,3,0)
 ;;=3^Pressure Ulcer Left Buttock,Stage 3
 ;;^UTILITY(U,$J,358.3,12111,1,4,0)
 ;;=4^L89.323
 ;;^UTILITY(U,$J,358.3,12111,2)
 ;;=^5009402
 ;;^UTILITY(U,$J,358.3,12112,0)
 ;;=L89.324^^49^595^22
 ;;^UTILITY(U,$J,358.3,12112,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12112,1,3,0)
 ;;=3^Pressure Ulcer Left Buttock,Stage 4
 ;;^UTILITY(U,$J,358.3,12112,1,4,0)
 ;;=4^L89.324
 ;;^UTILITY(U,$J,358.3,12112,2)
 ;;=^5009403
 ;;^UTILITY(U,$J,358.3,12113,0)
 ;;=L89.329^^49^595^23
 ;;^UTILITY(U,$J,358.3,12113,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12113,1,3,0)
 ;;=3^Pressure Ulcer Left Buttock,Stage Unspec
 ;;^UTILITY(U,$J,358.3,12113,1,4,0)
 ;;=4^L89.329
 ;;^UTILITY(U,$J,358.3,12113,2)
 ;;=^5133671
 ;;^UTILITY(U,$J,358.3,12114,0)
 ;;=L89.40^^49^595^1
 ;;^UTILITY(U,$J,358.3,12114,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12114,1,3,0)
 ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage Unspec
 ;;^UTILITY(U,$J,358.3,12114,1,4,0)
 ;;=4^L89.40
 ;;^UTILITY(U,$J,358.3,12114,2)
 ;;=^5009404
 ;;^UTILITY(U,$J,358.3,12115,0)
 ;;=L89.41^^49^595^2
 ;;^UTILITY(U,$J,358.3,12115,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12115,1,3,0)
 ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 1
 ;;^UTILITY(U,$J,358.3,12115,1,4,0)
 ;;=4^L89.41
 ;;^UTILITY(U,$J,358.3,12115,2)
 ;;=^5009405
 ;;^UTILITY(U,$J,358.3,12116,0)
 ;;=L89.42^^49^595^3
 ;;^UTILITY(U,$J,358.3,12116,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12116,1,3,0)
 ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 2
 ;;^UTILITY(U,$J,358.3,12116,1,4,0)
 ;;=4^L89.42
 ;;^UTILITY(U,$J,358.3,12116,2)
 ;;=^5009406
 ;;^UTILITY(U,$J,358.3,12117,0)
 ;;=L89.43^^49^595^4
 ;;^UTILITY(U,$J,358.3,12117,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12117,1,3,0)
 ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 3
 ;;^UTILITY(U,$J,358.3,12117,1,4,0)
 ;;=4^L89.43
 ;;^UTILITY(U,$J,358.3,12117,2)
 ;;=^5009407
 ;;^UTILITY(U,$J,358.3,12118,0)
 ;;=L89.44^^49^595^5
 ;;^UTILITY(U,$J,358.3,12118,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12118,1,3,0)
 ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 4
 ;;^UTILITY(U,$J,358.3,12118,1,4,0)
 ;;=4^L89.44
 ;;^UTILITY(U,$J,358.3,12118,2)
 ;;=^5009408
 ;;^UTILITY(U,$J,358.3,12119,0)
 ;;=L89.45^^49^595^6
 ;;^UTILITY(U,$J,358.3,12119,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0QV   3763     printed  Sep 23, 2025@19:29:59                                                                                                                                                                                                    Page 2
IBDEI0QV  ; ; 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,12107,1,4,0)
 +2       ;;=4^L89.319
 +3       ;;^UTILITY(U,$J,358.3,12107,2)
 +4       ;;=^5133670
 +5       ;;^UTILITY(U,$J,358.3,12108,0)
 +6       ;;=L89.320^^49^595^24
 +7       ;;^UTILITY(U,$J,358.3,12108,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,12108,1,3,0)
 +10      ;;=3^Pressure Ulcer Left Buttock,Unstageable
 +11      ;;^UTILITY(U,$J,358.3,12108,1,4,0)
 +12      ;;=4^L89.320
 +13      ;;^UTILITY(U,$J,358.3,12108,2)
 +14      ;;=^5009399
 +15      ;;^UTILITY(U,$J,358.3,12109,0)
 +16      ;;=L89.321^^49^595^19
 +17      ;;^UTILITY(U,$J,358.3,12109,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,12109,1,3,0)
 +20      ;;=3^Pressure Ulcer Left Buttock,Stage 1
 +21      ;;^UTILITY(U,$J,358.3,12109,1,4,0)
 +22      ;;=4^L89.321
 +23      ;;^UTILITY(U,$J,358.3,12109,2)
 +24      ;;=^5009400
 +25      ;;^UTILITY(U,$J,358.3,12110,0)
 +26      ;;=L89.322^^49^595^20
 +27      ;;^UTILITY(U,$J,358.3,12110,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,12110,1,3,0)
 +30      ;;=3^Pressure Ulcer Left Buttock,Stage 2
 +31      ;;^UTILITY(U,$J,358.3,12110,1,4,0)
 +32      ;;=4^L89.322
 +33      ;;^UTILITY(U,$J,358.3,12110,2)
 +34      ;;=^5009401
 +35      ;;^UTILITY(U,$J,358.3,12111,0)
 +36      ;;=L89.323^^49^595^21
 +37      ;;^UTILITY(U,$J,358.3,12111,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,12111,1,3,0)
 +40      ;;=3^Pressure Ulcer Left Buttock,Stage 3
 +41      ;;^UTILITY(U,$J,358.3,12111,1,4,0)
 +42      ;;=4^L89.323
 +43      ;;^UTILITY(U,$J,358.3,12111,2)
 +44      ;;=^5009402
 +45      ;;^UTILITY(U,$J,358.3,12112,0)
 +46      ;;=L89.324^^49^595^22
 +47      ;;^UTILITY(U,$J,358.3,12112,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,12112,1,3,0)
 +50      ;;=3^Pressure Ulcer Left Buttock,Stage 4
 +51      ;;^UTILITY(U,$J,358.3,12112,1,4,0)
 +52      ;;=4^L89.324
 +53      ;;^UTILITY(U,$J,358.3,12112,2)
 +54      ;;=^5009403
 +55      ;;^UTILITY(U,$J,358.3,12113,0)
 +56      ;;=L89.329^^49^595^23
 +57      ;;^UTILITY(U,$J,358.3,12113,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,12113,1,3,0)
 +60      ;;=3^Pressure Ulcer Left Buttock,Stage Unspec
 +61      ;;^UTILITY(U,$J,358.3,12113,1,4,0)
 +62      ;;=4^L89.329
 +63      ;;^UTILITY(U,$J,358.3,12113,2)
 +64      ;;=^5133671
 +65      ;;^UTILITY(U,$J,358.3,12114,0)
 +66      ;;=L89.40^^49^595^1
 +67      ;;^UTILITY(U,$J,358.3,12114,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,12114,1,3,0)
 +70      ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage Unspec
 +71      ;;^UTILITY(U,$J,358.3,12114,1,4,0)
 +72      ;;=4^L89.40
 +73      ;;^UTILITY(U,$J,358.3,12114,2)
 +74      ;;=^5009404
 +75      ;;^UTILITY(U,$J,358.3,12115,0)
 +76      ;;=L89.41^^49^595^2
 +77      ;;^UTILITY(U,$J,358.3,12115,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,12115,1,3,0)
 +80      ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 1
 +81      ;;^UTILITY(U,$J,358.3,12115,1,4,0)
 +82      ;;=4^L89.41
 +83      ;;^UTILITY(U,$J,358.3,12115,2)
 +84      ;;=^5009405
 +85      ;;^UTILITY(U,$J,358.3,12116,0)
 +86      ;;=L89.42^^49^595^3
 +87      ;;^UTILITY(U,$J,358.3,12116,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,12116,1,3,0)
 +90      ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 2
 +91      ;;^UTILITY(U,$J,358.3,12116,1,4,0)
 +92      ;;=4^L89.42
 +93      ;;^UTILITY(U,$J,358.3,12116,2)
 +94      ;;=^5009406
 +95      ;;^UTILITY(U,$J,358.3,12117,0)
 +96      ;;=L89.43^^49^595^4
 +97      ;;^UTILITY(U,$J,358.3,12117,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,12117,1,3,0)
 +100     ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 3
 +101     ;;^UTILITY(U,$J,358.3,12117,1,4,0)
 +102     ;;=4^L89.43
 +103     ;;^UTILITY(U,$J,358.3,12117,2)
 +104     ;;=^5009407
 +105     ;;^UTILITY(U,$J,358.3,12118,0)
 +106     ;;=L89.44^^49^595^5
 +107     ;;^UTILITY(U,$J,358.3,12118,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,12118,1,3,0)
 +110     ;;=3^Pressure Ulcer Contiguous Site Back,Buttock & Hip,Stage 4
 +111     ;;^UTILITY(U,$J,358.3,12118,1,4,0)
 +112     ;;=4^L89.44
 +113     ;;^UTILITY(U,$J,358.3,12118,2)
 +114     ;;=^5009408
 +115     ;;^UTILITY(U,$J,358.3,12119,0)
 +116     ;;=L89.45^^49^595^6
 +117     ;;^UTILITY(U,$J,358.3,12119,1,0)
 +118     ;;=^358.31IA^4^2