IBDEI2QI ; ; 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,43602,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43602,1,3,0)
 ;;=3^Attention to tracheostomy
 ;;^UTILITY(U,$J,358.3,43602,1,4,0)
 ;;=4^Z43.0
 ;;^UTILITY(U,$J,358.3,43602,2)
 ;;=^5062958
 ;;^UTILITY(U,$J,358.3,43603,0)
 ;;=Z02.71^^160^2128^8
 ;;^UTILITY(U,$J,358.3,43603,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43603,1,3,0)
 ;;=3^Disability determination
 ;;^UTILITY(U,$J,358.3,43603,1,4,0)
 ;;=4^Z02.71
 ;;^UTILITY(U,$J,358.3,43603,2)
 ;;=^5062640
 ;;^UTILITY(U,$J,358.3,43604,0)
 ;;=Z02.0^^160^2128^9
 ;;^UTILITY(U,$J,358.3,43604,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43604,1,3,0)
 ;;=3^Exam,adm to educat instit
 ;;^UTILITY(U,$J,358.3,43604,1,4,0)
 ;;=4^Z02.0
 ;;^UTILITY(U,$J,358.3,43604,2)
 ;;=^5062633
 ;;^UTILITY(U,$J,358.3,43605,0)
 ;;=Z02.2^^160^2128^10
 ;;^UTILITY(U,$J,358.3,43605,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43605,1,3,0)
 ;;=3^Exam,adm to resident instit
 ;;^UTILITY(U,$J,358.3,43605,1,4,0)
 ;;=4^Z02.2
 ;;^UTILITY(U,$J,358.3,43605,2)
 ;;=^5062635
 ;;^UTILITY(U,$J,358.3,43606,0)
 ;;=Z02.4^^160^2128^11
 ;;^UTILITY(U,$J,358.3,43606,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43606,1,3,0)
 ;;=3^Exam,driving license
 ;;^UTILITY(U,$J,358.3,43606,1,4,0)
 ;;=4^Z02.4
 ;;^UTILITY(U,$J,358.3,43606,2)
 ;;=^5062637
 ;;^UTILITY(U,$J,358.3,43607,0)
 ;;=Z02.6^^160^2128^12
 ;;^UTILITY(U,$J,358.3,43607,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43607,1,3,0)
 ;;=3^Exam,insurance purposes
 ;;^UTILITY(U,$J,358.3,43607,1,4,0)
 ;;=4^Z02.6
 ;;^UTILITY(U,$J,358.3,43607,2)
 ;;=^5062639
 ;;^UTILITY(U,$J,358.3,43608,0)
 ;;=Z02.5^^160^2128^13
 ;;^UTILITY(U,$J,358.3,43608,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43608,1,3,0)
 ;;=3^Exam,participation in sport
 ;;^UTILITY(U,$J,358.3,43608,1,4,0)
 ;;=4^Z02.5
 ;;^UTILITY(U,$J,358.3,43608,2)
 ;;=^5062638
 ;;^UTILITY(U,$J,358.3,43609,0)
 ;;=Z02.3^^160^2128^14
 ;;^UTILITY(U,$J,358.3,43609,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43609,1,3,0)
 ;;=3^Exam,recruitment to armed forces
 ;;^UTILITY(U,$J,358.3,43609,1,4,0)
 ;;=4^Z02.3
 ;;^UTILITY(U,$J,358.3,43609,2)
 ;;=^5062636
 ;;^UTILITY(U,$J,358.3,43610,0)
 ;;=Z44.8^^160^2128^19
 ;;^UTILITY(U,$J,358.3,43610,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43610,1,3,0)
 ;;=3^Fit/adjst,external prosth dev
 ;;^UTILITY(U,$J,358.3,43610,1,4,0)
 ;;=4^Z44.8
 ;;^UTILITY(U,$J,358.3,43610,2)
 ;;=^5062992
 ;;^UTILITY(U,$J,358.3,43611,0)
 ;;=Z44.9^^160^2128^20
 ;;^UTILITY(U,$J,358.3,43611,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43611,1,3,0)
 ;;=3^Fit/adjst,external prosth device,unspec
 ;;^UTILITY(U,$J,358.3,43611,1,4,0)
 ;;=4^Z44.9
 ;;^UTILITY(U,$J,358.3,43611,2)
 ;;=^5062993
 ;;^UTILITY(U,$J,358.3,43612,0)
 ;;=Z09.^^160^2128^18
 ;;^UTILITY(U,$J,358.3,43612,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43612,1,3,0)
 ;;=3^F/U exam aft trtmt,cond oth than malig nplsm
 ;;^UTILITY(U,$J,358.3,43612,1,4,0)
 ;;=4^Z09.
 ;;^UTILITY(U,$J,358.3,43612,2)
 ;;=^5062668
 ;;^UTILITY(U,$J,358.3,43613,0)
 ;;=Z02.79^^160^2128^21
 ;;^UTILITY(U,$J,358.3,43613,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43613,1,3,0)
 ;;=3^Issue of other medical certificate
 ;;^UTILITY(U,$J,358.3,43613,1,4,0)
 ;;=4^Z02.79
 ;;^UTILITY(U,$J,358.3,43613,2)
 ;;=^5062641
 ;;^UTILITY(U,$J,358.3,43614,0)
 ;;=Z51.89^^160^2128^37
 ;;^UTILITY(U,$J,358.3,43614,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43614,1,3,0)
 ;;=3^Specfd Aftercare NEC
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2QI   3761     printed  Sep 23, 2025@20:09:52                                                                                                                                                                                                    Page 2
IBDEI2QI  ; ; 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,43602,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,43602,1,3,0)
 +4       ;;=3^Attention to tracheostomy
 +5       ;;^UTILITY(U,$J,358.3,43602,1,4,0)
 +6       ;;=4^Z43.0
 +7       ;;^UTILITY(U,$J,358.3,43602,2)
 +8       ;;=^5062958
 +9       ;;^UTILITY(U,$J,358.3,43603,0)
 +10      ;;=Z02.71^^160^2128^8
 +11      ;;^UTILITY(U,$J,358.3,43603,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,43603,1,3,0)
 +14      ;;=3^Disability determination
 +15      ;;^UTILITY(U,$J,358.3,43603,1,4,0)
 +16      ;;=4^Z02.71
 +17      ;;^UTILITY(U,$J,358.3,43603,2)
 +18      ;;=^5062640
 +19      ;;^UTILITY(U,$J,358.3,43604,0)
 +20      ;;=Z02.0^^160^2128^9
 +21      ;;^UTILITY(U,$J,358.3,43604,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,43604,1,3,0)
 +24      ;;=3^Exam,adm to educat instit
 +25      ;;^UTILITY(U,$J,358.3,43604,1,4,0)
 +26      ;;=4^Z02.0
 +27      ;;^UTILITY(U,$J,358.3,43604,2)
 +28      ;;=^5062633
 +29      ;;^UTILITY(U,$J,358.3,43605,0)
 +30      ;;=Z02.2^^160^2128^10
 +31      ;;^UTILITY(U,$J,358.3,43605,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,43605,1,3,0)
 +34      ;;=3^Exam,adm to resident instit
 +35      ;;^UTILITY(U,$J,358.3,43605,1,4,0)
 +36      ;;=4^Z02.2
 +37      ;;^UTILITY(U,$J,358.3,43605,2)
 +38      ;;=^5062635
 +39      ;;^UTILITY(U,$J,358.3,43606,0)
 +40      ;;=Z02.4^^160^2128^11
 +41      ;;^UTILITY(U,$J,358.3,43606,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,43606,1,3,0)
 +44      ;;=3^Exam,driving license
 +45      ;;^UTILITY(U,$J,358.3,43606,1,4,0)
 +46      ;;=4^Z02.4
 +47      ;;^UTILITY(U,$J,358.3,43606,2)
 +48      ;;=^5062637
 +49      ;;^UTILITY(U,$J,358.3,43607,0)
 +50      ;;=Z02.6^^160^2128^12
 +51      ;;^UTILITY(U,$J,358.3,43607,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,43607,1,3,0)
 +54      ;;=3^Exam,insurance purposes
 +55      ;;^UTILITY(U,$J,358.3,43607,1,4,0)
 +56      ;;=4^Z02.6
 +57      ;;^UTILITY(U,$J,358.3,43607,2)
 +58      ;;=^5062639
 +59      ;;^UTILITY(U,$J,358.3,43608,0)
 +60      ;;=Z02.5^^160^2128^13
 +61      ;;^UTILITY(U,$J,358.3,43608,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,43608,1,3,0)
 +64      ;;=3^Exam,participation in sport
 +65      ;;^UTILITY(U,$J,358.3,43608,1,4,0)
 +66      ;;=4^Z02.5
 +67      ;;^UTILITY(U,$J,358.3,43608,2)
 +68      ;;=^5062638
 +69      ;;^UTILITY(U,$J,358.3,43609,0)
 +70      ;;=Z02.3^^160^2128^14
 +71      ;;^UTILITY(U,$J,358.3,43609,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,43609,1,3,0)
 +74      ;;=3^Exam,recruitment to armed forces
 +75      ;;^UTILITY(U,$J,358.3,43609,1,4,0)
 +76      ;;=4^Z02.3
 +77      ;;^UTILITY(U,$J,358.3,43609,2)
 +78      ;;=^5062636
 +79      ;;^UTILITY(U,$J,358.3,43610,0)
 +80      ;;=Z44.8^^160^2128^19
 +81      ;;^UTILITY(U,$J,358.3,43610,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,43610,1,3,0)
 +84      ;;=3^Fit/adjst,external prosth dev
 +85      ;;^UTILITY(U,$J,358.3,43610,1,4,0)
 +86      ;;=4^Z44.8
 +87      ;;^UTILITY(U,$J,358.3,43610,2)
 +88      ;;=^5062992
 +89      ;;^UTILITY(U,$J,358.3,43611,0)
 +90      ;;=Z44.9^^160^2128^20
 +91      ;;^UTILITY(U,$J,358.3,43611,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,43611,1,3,0)
 +94      ;;=3^Fit/adjst,external prosth device,unspec
 +95      ;;^UTILITY(U,$J,358.3,43611,1,4,0)
 +96      ;;=4^Z44.9
 +97      ;;^UTILITY(U,$J,358.3,43611,2)
 +98      ;;=^5062993
 +99      ;;^UTILITY(U,$J,358.3,43612,0)
 +100     ;;=Z09.^^160^2128^18
 +101     ;;^UTILITY(U,$J,358.3,43612,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,43612,1,3,0)
 +104     ;;=3^F/U exam aft trtmt,cond oth than malig nplsm
 +105     ;;^UTILITY(U,$J,358.3,43612,1,4,0)
 +106     ;;=4^Z09.
 +107     ;;^UTILITY(U,$J,358.3,43612,2)
 +108     ;;=^5062668
 +109     ;;^UTILITY(U,$J,358.3,43613,0)
 +110     ;;=Z02.79^^160^2128^21
 +111     ;;^UTILITY(U,$J,358.3,43613,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,43613,1,3,0)
 +114     ;;=3^Issue of other medical certificate
 +115     ;;^UTILITY(U,$J,358.3,43613,1,4,0)
 +116     ;;=4^Z02.79
 +117     ;;^UTILITY(U,$J,358.3,43613,2)
 +118     ;;=^5062641
 +119     ;;^UTILITY(U,$J,358.3,43614,0)
 +120     ;;=Z51.89^^160^2128^37
 +121     ;;^UTILITY(U,$J,358.3,43614,1,0)
 +122     ;;=^358.31IA^4^2
 +123     ;;^UTILITY(U,$J,358.3,43614,1,3,0)
 +124     ;;=3^Specfd Aftercare NEC