IBDEI184 ; ; 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,19861,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19861,1,3,0)
 ;;=3^Fit/adjst of complete right artificial arm
 ;;^UTILITY(U,$J,358.3,19861,1,4,0)
 ;;=4^Z44.011
 ;;^UTILITY(U,$J,358.3,19861,2)
 ;;=^5062971
 ;;^UTILITY(U,$J,358.3,19862,0)
 ;;=Z44.022^^67^881^10
 ;;^UTILITY(U,$J,358.3,19862,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19862,1,3,0)
 ;;=3^Fit/adjst of partial artificial left arm
 ;;^UTILITY(U,$J,358.3,19862,1,4,0)
 ;;=4^Z44.022
 ;;^UTILITY(U,$J,358.3,19862,2)
 ;;=^5062975
 ;;^UTILITY(U,$J,358.3,19863,0)
 ;;=Z44.021^^67^881^12
 ;;^UTILITY(U,$J,358.3,19863,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19863,1,3,0)
 ;;=3^Fit/adjst of partial artificial right arm
 ;;^UTILITY(U,$J,358.3,19863,1,4,0)
 ;;=4^Z44.021
 ;;^UTILITY(U,$J,358.3,19863,2)
 ;;=^5062974
 ;;^UTILITY(U,$J,358.3,19864,0)
 ;;=Z44.112^^67^881^5
 ;;^UTILITY(U,$J,358.3,19864,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19864,1,3,0)
 ;;=3^Fit/adjst of complete left artificial leg
 ;;^UTILITY(U,$J,358.3,19864,1,4,0)
 ;;=4^Z44.112
 ;;^UTILITY(U,$J,358.3,19864,2)
 ;;=^5062981
 ;;^UTILITY(U,$J,358.3,19865,0)
 ;;=Z44.111^^67^881^7
 ;;^UTILITY(U,$J,358.3,19865,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19865,1,3,0)
 ;;=3^Fit/adjst of complete right artificial leg
 ;;^UTILITY(U,$J,358.3,19865,1,4,0)
 ;;=4^Z44.111
 ;;^UTILITY(U,$J,358.3,19865,2)
 ;;=^5062980
 ;;^UTILITY(U,$J,358.3,19866,0)
 ;;=Z44.122^^67^881^11
 ;;^UTILITY(U,$J,358.3,19866,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19866,1,3,0)
 ;;=3^Fit/adjst of partial artificial left leg
 ;;^UTILITY(U,$J,358.3,19866,1,4,0)
 ;;=4^Z44.122
 ;;^UTILITY(U,$J,358.3,19866,2)
 ;;=^5062984
 ;;^UTILITY(U,$J,358.3,19867,0)
 ;;=Z44.121^^67^881^13
 ;;^UTILITY(U,$J,358.3,19867,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19867,1,3,0)
 ;;=3^Fit/adjst of partial artificial right leg
 ;;^UTILITY(U,$J,358.3,19867,1,4,0)
 ;;=4^Z44.121
 ;;^UTILITY(U,$J,358.3,19867,2)
 ;;=^5062983
 ;;^UTILITY(U,$J,358.3,19868,0)
 ;;=Z44.8^^67^881^8
 ;;^UTILITY(U,$J,358.3,19868,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19868,1,3,0)
 ;;=3^Fit/adjst of external prosthetic devices
 ;;^UTILITY(U,$J,358.3,19868,1,4,0)
 ;;=4^Z44.8
 ;;^UTILITY(U,$J,358.3,19868,2)
 ;;=^5062992
 ;;^UTILITY(U,$J,358.3,19869,0)
 ;;=Z46.89^^67^881^9
 ;;^UTILITY(U,$J,358.3,19869,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19869,1,3,0)
 ;;=3^Fit/adjst of oth devices
 ;;^UTILITY(U,$J,358.3,19869,1,4,0)
 ;;=4^Z46.89
 ;;^UTILITY(U,$J,358.3,19869,2)
 ;;=^5063023
 ;;^UTILITY(U,$J,358.3,19870,0)
 ;;=Z47.81^^67^881^16
 ;;^UTILITY(U,$J,358.3,19870,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19870,1,3,0)
 ;;=3^Ortho aftercare following surgical amp
 ;;^UTILITY(U,$J,358.3,19870,1,4,0)
 ;;=4^Z47.81
 ;;^UTILITY(U,$J,358.3,19870,2)
 ;;=^5063030
 ;;^UTILITY(U,$J,358.3,19871,0)
 ;;=Z47.82^^67^881^15
 ;;^UTILITY(U,$J,358.3,19871,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19871,1,3,0)
 ;;=3^Ortho aftercare following scoliosis surgery
 ;;^UTILITY(U,$J,358.3,19871,1,4,0)
 ;;=4^Z47.82
 ;;^UTILITY(U,$J,358.3,19871,2)
 ;;=^5063031
 ;;^UTILITY(U,$J,358.3,19872,0)
 ;;=Z47.89^^67^881^14
 ;;^UTILITY(U,$J,358.3,19872,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19872,1,3,0)
 ;;=3^Ortho Aftercare NEC
 ;;^UTILITY(U,$J,358.3,19872,1,4,0)
 ;;=4^Z47.89
 ;;^UTILITY(U,$J,358.3,19872,2)
 ;;=^5063032
 ;;^UTILITY(U,$J,358.3,19873,0)
 ;;=Z51.89^^67^881^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI184   3749     printed  Sep 23, 2025@19:39:36                                                                                                                                                                                                    Page 2
IBDEI184  ; ; 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,19861,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,19861,1,3,0)
 +4       ;;=3^Fit/adjst of complete right artificial arm
 +5       ;;^UTILITY(U,$J,358.3,19861,1,4,0)
 +6       ;;=4^Z44.011
 +7       ;;^UTILITY(U,$J,358.3,19861,2)
 +8       ;;=^5062971
 +9       ;;^UTILITY(U,$J,358.3,19862,0)
 +10      ;;=Z44.022^^67^881^10
 +11      ;;^UTILITY(U,$J,358.3,19862,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,19862,1,3,0)
 +14      ;;=3^Fit/adjst of partial artificial left arm
 +15      ;;^UTILITY(U,$J,358.3,19862,1,4,0)
 +16      ;;=4^Z44.022
 +17      ;;^UTILITY(U,$J,358.3,19862,2)
 +18      ;;=^5062975
 +19      ;;^UTILITY(U,$J,358.3,19863,0)
 +20      ;;=Z44.021^^67^881^12
 +21      ;;^UTILITY(U,$J,358.3,19863,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,19863,1,3,0)
 +24      ;;=3^Fit/adjst of partial artificial right arm
 +25      ;;^UTILITY(U,$J,358.3,19863,1,4,0)
 +26      ;;=4^Z44.021
 +27      ;;^UTILITY(U,$J,358.3,19863,2)
 +28      ;;=^5062974
 +29      ;;^UTILITY(U,$J,358.3,19864,0)
 +30      ;;=Z44.112^^67^881^5
 +31      ;;^UTILITY(U,$J,358.3,19864,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,19864,1,3,0)
 +34      ;;=3^Fit/adjst of complete left artificial leg
 +35      ;;^UTILITY(U,$J,358.3,19864,1,4,0)
 +36      ;;=4^Z44.112
 +37      ;;^UTILITY(U,$J,358.3,19864,2)
 +38      ;;=^5062981
 +39      ;;^UTILITY(U,$J,358.3,19865,0)
 +40      ;;=Z44.111^^67^881^7
 +41      ;;^UTILITY(U,$J,358.3,19865,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,19865,1,3,0)
 +44      ;;=3^Fit/adjst of complete right artificial leg
 +45      ;;^UTILITY(U,$J,358.3,19865,1,4,0)
 +46      ;;=4^Z44.111
 +47      ;;^UTILITY(U,$J,358.3,19865,2)
 +48      ;;=^5062980
 +49      ;;^UTILITY(U,$J,358.3,19866,0)
 +50      ;;=Z44.122^^67^881^11
 +51      ;;^UTILITY(U,$J,358.3,19866,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,19866,1,3,0)
 +54      ;;=3^Fit/adjst of partial artificial left leg
 +55      ;;^UTILITY(U,$J,358.3,19866,1,4,0)
 +56      ;;=4^Z44.122
 +57      ;;^UTILITY(U,$J,358.3,19866,2)
 +58      ;;=^5062984
 +59      ;;^UTILITY(U,$J,358.3,19867,0)
 +60      ;;=Z44.121^^67^881^13
 +61      ;;^UTILITY(U,$J,358.3,19867,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,19867,1,3,0)
 +64      ;;=3^Fit/adjst of partial artificial right leg
 +65      ;;^UTILITY(U,$J,358.3,19867,1,4,0)
 +66      ;;=4^Z44.121
 +67      ;;^UTILITY(U,$J,358.3,19867,2)
 +68      ;;=^5062983
 +69      ;;^UTILITY(U,$J,358.3,19868,0)
 +70      ;;=Z44.8^^67^881^8
 +71      ;;^UTILITY(U,$J,358.3,19868,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,19868,1,3,0)
 +74      ;;=3^Fit/adjst of external prosthetic devices
 +75      ;;^UTILITY(U,$J,358.3,19868,1,4,0)
 +76      ;;=4^Z44.8
 +77      ;;^UTILITY(U,$J,358.3,19868,2)
 +78      ;;=^5062992
 +79      ;;^UTILITY(U,$J,358.3,19869,0)
 +80      ;;=Z46.89^^67^881^9
 +81      ;;^UTILITY(U,$J,358.3,19869,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,19869,1,3,0)
 +84      ;;=3^Fit/adjst of oth devices
 +85      ;;^UTILITY(U,$J,358.3,19869,1,4,0)
 +86      ;;=4^Z46.89
 +87      ;;^UTILITY(U,$J,358.3,19869,2)
 +88      ;;=^5063023
 +89      ;;^UTILITY(U,$J,358.3,19870,0)
 +90      ;;=Z47.81^^67^881^16
 +91      ;;^UTILITY(U,$J,358.3,19870,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,19870,1,3,0)
 +94      ;;=3^Ortho aftercare following surgical amp
 +95      ;;^UTILITY(U,$J,358.3,19870,1,4,0)
 +96      ;;=4^Z47.81
 +97      ;;^UTILITY(U,$J,358.3,19870,2)
 +98      ;;=^5063030
 +99      ;;^UTILITY(U,$J,358.3,19871,0)
 +100     ;;=Z47.82^^67^881^15
 +101     ;;^UTILITY(U,$J,358.3,19871,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,19871,1,3,0)
 +104     ;;=3^Ortho aftercare following scoliosis surgery
 +105     ;;^UTILITY(U,$J,358.3,19871,1,4,0)
 +106     ;;=4^Z47.82
 +107     ;;^UTILITY(U,$J,358.3,19871,2)
 +108     ;;=^5063031
 +109     ;;^UTILITY(U,$J,358.3,19872,0)
 +110     ;;=Z47.89^^67^881^14
 +111     ;;^UTILITY(U,$J,358.3,19872,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,19872,1,3,0)
 +114     ;;=3^Ortho Aftercare NEC
 +115     ;;^UTILITY(U,$J,358.3,19872,1,4,0)
 +116     ;;=4^Z47.89
 +117     ;;^UTILITY(U,$J,358.3,19872,2)
 +118     ;;=^5063032
 +119     ;;^UTILITY(U,$J,358.3,19873,0)
 +120     ;;=Z51.89^^67^881^2