IBDEI240 ; ; 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,33708,1,4,0)
 ;;=4^M87.08
 ;;^UTILITY(U,$J,358.3,33708,2)
 ;;=^5014698
 ;;^UTILITY(U,$J,358.3,33709,0)
 ;;=T84.52XA^^132^1709^23
 ;;^UTILITY(U,$J,358.3,33709,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33709,1,3,0)
 ;;=3^Infect/inflm reaction d/t internal left hip prosth, init
 ;;^UTILITY(U,$J,358.3,33709,1,4,0)
 ;;=4^T84.52XA
 ;;^UTILITY(U,$J,358.3,33709,2)
 ;;=^5055388
 ;;^UTILITY(U,$J,358.3,33710,0)
 ;;=T84.54XA^^132^1709^24
 ;;^UTILITY(U,$J,358.3,33710,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33710,1,3,0)
 ;;=3^Infect/inflm reaction d/t internal left knee prosth, init
 ;;^UTILITY(U,$J,358.3,33710,1,4,0)
 ;;=4^T84.54XA
 ;;^UTILITY(U,$J,358.3,33710,2)
 ;;=^5055394
 ;;^UTILITY(U,$J,358.3,33711,0)
 ;;=T84.51XA^^132^1709^27
 ;;^UTILITY(U,$J,358.3,33711,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33711,1,3,0)
 ;;=3^Infect/inflm reaction d/t internal right hip prosth, init
 ;;^UTILITY(U,$J,358.3,33711,1,4,0)
 ;;=4^T84.51XA
 ;;^UTILITY(U,$J,358.3,33711,2)
 ;;=^5055385
 ;;^UTILITY(U,$J,358.3,33712,0)
 ;;=T84.53XA^^132^1709^28
 ;;^UTILITY(U,$J,358.3,33712,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33712,1,3,0)
 ;;=3^Infect/inflm reaction d/t internal right knee prosth, init
 ;;^UTILITY(U,$J,358.3,33712,1,4,0)
 ;;=4^T84.53XA
 ;;^UTILITY(U,$J,358.3,33712,2)
 ;;=^5055391
 ;;^UTILITY(U,$J,358.3,33713,0)
 ;;=T84.59XA^^132^1709^31
 ;;^UTILITY(U,$J,358.3,33713,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33713,1,3,0)
 ;;=3^Infect/inflm reaction d/t oth internal joint prosth, init
 ;;^UTILITY(U,$J,358.3,33713,1,4,0)
 ;;=4^T84.59XA
 ;;^UTILITY(U,$J,358.3,33713,2)
 ;;=^5055397
 ;;^UTILITY(U,$J,358.3,33714,0)
 ;;=M93.272^^132^1709^37
 ;;^UTILITY(U,$J,358.3,33714,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33714,1,3,0)
 ;;=3^Osteochondritis dissecans, l ankle and joints of left foot
 ;;^UTILITY(U,$J,358.3,33714,1,4,0)
 ;;=4^M93.272
 ;;^UTILITY(U,$J,358.3,33714,2)
 ;;=^5015275
 ;;^UTILITY(U,$J,358.3,33715,0)
 ;;=M93.271^^132^1709^43
 ;;^UTILITY(U,$J,358.3,33715,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33715,1,3,0)
 ;;=3^Osteochondritis dissecans, right ankle & joints of right foot
 ;;^UTILITY(U,$J,358.3,33715,1,4,0)
 ;;=4^M93.271
 ;;^UTILITY(U,$J,358.3,33715,2)
 ;;=^5015274
 ;;^UTILITY(U,$J,358.3,33716,0)
 ;;=C79.51^^132^1709^53
 ;;^UTILITY(U,$J,358.3,33716,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33716,1,3,0)
 ;;=3^Secondary malignant neoplasm of bone
 ;;^UTILITY(U,$J,358.3,33716,1,4,0)
 ;;=4^C79.51
 ;;^UTILITY(U,$J,358.3,33716,2)
 ;;=^5001350
 ;;^UTILITY(U,$J,358.3,33717,0)
 ;;=L40.51^^132^1709^2
 ;;^UTILITY(U,$J,358.3,33717,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33717,1,3,0)
 ;;=3^Arthropathic psoriasis, distal interphalangeal
 ;;^UTILITY(U,$J,358.3,33717,1,4,0)
 ;;=4^L40.51
 ;;^UTILITY(U,$J,358.3,33717,2)
 ;;=^5009166
 ;;^UTILITY(U,$J,358.3,33718,0)
 ;;=L40.52^^132^1709^49
 ;;^UTILITY(U,$J,358.3,33718,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33718,1,3,0)
 ;;=3^Psoriatic arthritis mutilans
 ;;^UTILITY(U,$J,358.3,33718,1,4,0)
 ;;=4^L40.52
 ;;^UTILITY(U,$J,358.3,33718,2)
 ;;=^5009167
 ;;^UTILITY(U,$J,358.3,33719,0)
 ;;=L40.53^^132^1709^52
 ;;^UTILITY(U,$J,358.3,33719,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33719,1,3,0)
 ;;=3^Psoriatic spondylitis
 ;;^UTILITY(U,$J,358.3,33719,1,4,0)
 ;;=4^L40.53
 ;;^UTILITY(U,$J,358.3,33719,2)
 ;;=^5009168
 ;;^UTILITY(U,$J,358.3,33720,0)
 ;;=L40.54^^132^1709^51
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI240   3775     printed  Sep 23, 2025@19:57:21                                                                                                                                                                                                    Page 2
IBDEI240  ; ; 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,33708,1,4,0)
 +2       ;;=4^M87.08
 +3       ;;^UTILITY(U,$J,358.3,33708,2)
 +4       ;;=^5014698
 +5       ;;^UTILITY(U,$J,358.3,33709,0)
 +6       ;;=T84.52XA^^132^1709^23
 +7       ;;^UTILITY(U,$J,358.3,33709,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,33709,1,3,0)
 +10      ;;=3^Infect/inflm reaction d/t internal left hip prosth, init
 +11      ;;^UTILITY(U,$J,358.3,33709,1,4,0)
 +12      ;;=4^T84.52XA
 +13      ;;^UTILITY(U,$J,358.3,33709,2)
 +14      ;;=^5055388
 +15      ;;^UTILITY(U,$J,358.3,33710,0)
 +16      ;;=T84.54XA^^132^1709^24
 +17      ;;^UTILITY(U,$J,358.3,33710,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,33710,1,3,0)
 +20      ;;=3^Infect/inflm reaction d/t internal left knee prosth, init
 +21      ;;^UTILITY(U,$J,358.3,33710,1,4,0)
 +22      ;;=4^T84.54XA
 +23      ;;^UTILITY(U,$J,358.3,33710,2)
 +24      ;;=^5055394
 +25      ;;^UTILITY(U,$J,358.3,33711,0)
 +26      ;;=T84.51XA^^132^1709^27
 +27      ;;^UTILITY(U,$J,358.3,33711,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,33711,1,3,0)
 +30      ;;=3^Infect/inflm reaction d/t internal right hip prosth, init
 +31      ;;^UTILITY(U,$J,358.3,33711,1,4,0)
 +32      ;;=4^T84.51XA
 +33      ;;^UTILITY(U,$J,358.3,33711,2)
 +34      ;;=^5055385
 +35      ;;^UTILITY(U,$J,358.3,33712,0)
 +36      ;;=T84.53XA^^132^1709^28
 +37      ;;^UTILITY(U,$J,358.3,33712,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,33712,1,3,0)
 +40      ;;=3^Infect/inflm reaction d/t internal right knee prosth, init
 +41      ;;^UTILITY(U,$J,358.3,33712,1,4,0)
 +42      ;;=4^T84.53XA
 +43      ;;^UTILITY(U,$J,358.3,33712,2)
 +44      ;;=^5055391
 +45      ;;^UTILITY(U,$J,358.3,33713,0)
 +46      ;;=T84.59XA^^132^1709^31
 +47      ;;^UTILITY(U,$J,358.3,33713,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,33713,1,3,0)
 +50      ;;=3^Infect/inflm reaction d/t oth internal joint prosth, init
 +51      ;;^UTILITY(U,$J,358.3,33713,1,4,0)
 +52      ;;=4^T84.59XA
 +53      ;;^UTILITY(U,$J,358.3,33713,2)
 +54      ;;=^5055397
 +55      ;;^UTILITY(U,$J,358.3,33714,0)
 +56      ;;=M93.272^^132^1709^37
 +57      ;;^UTILITY(U,$J,358.3,33714,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,33714,1,3,0)
 +60      ;;=3^Osteochondritis dissecans, l ankle and joints of left foot
 +61      ;;^UTILITY(U,$J,358.3,33714,1,4,0)
 +62      ;;=4^M93.272
 +63      ;;^UTILITY(U,$J,358.3,33714,2)
 +64      ;;=^5015275
 +65      ;;^UTILITY(U,$J,358.3,33715,0)
 +66      ;;=M93.271^^132^1709^43
 +67      ;;^UTILITY(U,$J,358.3,33715,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,33715,1,3,0)
 +70      ;;=3^Osteochondritis dissecans, right ankle & joints of right foot
 +71      ;;^UTILITY(U,$J,358.3,33715,1,4,0)
 +72      ;;=4^M93.271
 +73      ;;^UTILITY(U,$J,358.3,33715,2)
 +74      ;;=^5015274
 +75      ;;^UTILITY(U,$J,358.3,33716,0)
 +76      ;;=C79.51^^132^1709^53
 +77      ;;^UTILITY(U,$J,358.3,33716,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,33716,1,3,0)
 +80      ;;=3^Secondary malignant neoplasm of bone
 +81      ;;^UTILITY(U,$J,358.3,33716,1,4,0)
 +82      ;;=4^C79.51
 +83      ;;^UTILITY(U,$J,358.3,33716,2)
 +84      ;;=^5001350
 +85      ;;^UTILITY(U,$J,358.3,33717,0)
 +86      ;;=L40.51^^132^1709^2
 +87      ;;^UTILITY(U,$J,358.3,33717,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,33717,1,3,0)
 +90      ;;=3^Arthropathic psoriasis, distal interphalangeal
 +91      ;;^UTILITY(U,$J,358.3,33717,1,4,0)
 +92      ;;=4^L40.51
 +93      ;;^UTILITY(U,$J,358.3,33717,2)
 +94      ;;=^5009166
 +95      ;;^UTILITY(U,$J,358.3,33718,0)
 +96      ;;=L40.52^^132^1709^49
 +97      ;;^UTILITY(U,$J,358.3,33718,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,33718,1,3,0)
 +100     ;;=3^Psoriatic arthritis mutilans
 +101     ;;^UTILITY(U,$J,358.3,33718,1,4,0)
 +102     ;;=4^L40.52
 +103     ;;^UTILITY(U,$J,358.3,33718,2)
 +104     ;;=^5009167
 +105     ;;^UTILITY(U,$J,358.3,33719,0)
 +106     ;;=L40.53^^132^1709^52
 +107     ;;^UTILITY(U,$J,358.3,33719,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,33719,1,3,0)
 +110     ;;=3^Psoriatic spondylitis
 +111     ;;^UTILITY(U,$J,358.3,33719,1,4,0)
 +112     ;;=4^L40.53
 +113     ;;^UTILITY(U,$J,358.3,33719,2)
 +114     ;;=^5009168
 +115     ;;^UTILITY(U,$J,358.3,33720,0)
 +116     ;;=L40.54^^132^1709^51