IBDEI144 ; ; 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,18049,1,4,0)
 ;;=4^Z89.121
 ;;^UTILITY(U,$J,358.3,18049,2)
 ;;=^5063540
 ;;^UTILITY(U,$J,358.3,18050,0)
 ;;=Z90.81^^61^797^34
 ;;^UTILITY(U,$J,358.3,18050,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18050,1,3,0)
 ;;=3^Acquired Absence of Spleen
 ;;^UTILITY(U,$J,358.3,18050,1,4,0)
 ;;=4^Z90.81
 ;;^UTILITY(U,$J,358.3,18050,2)
 ;;=^5063597
 ;;^UTILITY(U,$J,358.3,18051,0)
 ;;=Z90.3^^61^797^35
 ;;^UTILITY(U,$J,358.3,18051,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18051,1,3,0)
 ;;=3^Acquired Absence of Stomach (part of)
 ;;^UTILITY(U,$J,358.3,18051,1,4,0)
 ;;=4^Z90.3
 ;;^UTILITY(U,$J,358.3,18051,2)
 ;;=^5063586
 ;;^UTILITY(U,$J,358.3,18052,0)
 ;;=R45.851^^61^798^3
 ;;^UTILITY(U,$J,358.3,18052,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18052,1,3,0)
 ;;=3^Suicidal Ideations
 ;;^UTILITY(U,$J,358.3,18052,1,4,0)
 ;;=4^R45.851
 ;;^UTILITY(U,$J,358.3,18052,2)
 ;;=^5019474
 ;;^UTILITY(U,$J,358.3,18053,0)
 ;;=T14.91XA^^61^798^4
 ;;^UTILITY(U,$J,358.3,18053,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18053,1,3,0)
 ;;=3^Suicide Attempt,Initial Encntr
 ;;^UTILITY(U,$J,358.3,18053,1,4,0)
 ;;=4^T14.91XA
 ;;^UTILITY(U,$J,358.3,18053,2)
 ;;=^5151779
 ;;^UTILITY(U,$J,358.3,18054,0)
 ;;=T14.91XD^^61^798^6
 ;;^UTILITY(U,$J,358.3,18054,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18054,1,3,0)
 ;;=3^Suicide Attempt,Subsequent Encntr
 ;;^UTILITY(U,$J,358.3,18054,1,4,0)
 ;;=4^T14.91XD
 ;;^UTILITY(U,$J,358.3,18054,2)
 ;;=^5151780
 ;;^UTILITY(U,$J,358.3,18055,0)
 ;;=T14.91XS^^61^798^5
 ;;^UTILITY(U,$J,358.3,18055,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18055,1,3,0)
 ;;=3^Suicide Attempt,Sequela
 ;;^UTILITY(U,$J,358.3,18055,1,4,0)
 ;;=4^T14.91XS
 ;;^UTILITY(U,$J,358.3,18055,2)
 ;;=^5151781
 ;;^UTILITY(U,$J,358.3,18056,0)
 ;;=Z91.52^^61^798^1
 ;;^UTILITY(U,$J,358.3,18056,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18056,1,3,0)
 ;;=3^Personal Hx of Non-Suicidal Self-Harm
 ;;^UTILITY(U,$J,358.3,18056,1,4,0)
 ;;=4^Z91.52
 ;;^UTILITY(U,$J,358.3,18056,2)
 ;;=^5161318
 ;;^UTILITY(U,$J,358.3,18057,0)
 ;;=Z91.51^^61^798^2
 ;;^UTILITY(U,$J,358.3,18057,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18057,1,3,0)
 ;;=3^Personal Hx of Suicidal Behavior     
 ;;^UTILITY(U,$J,358.3,18057,1,4,0)
 ;;=4^Z91.51
 ;;^UTILITY(U,$J,358.3,18057,2)
 ;;=^5161317
 ;;^UTILITY(U,$J,358.3,18058,0)
 ;;=N17.0^^61^799^3
 ;;^UTILITY(U,$J,358.3,18058,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18058,1,3,0)
 ;;=3^Acute Kidney Failure w/ Tubular Necrosis
 ;;^UTILITY(U,$J,358.3,18058,1,4,0)
 ;;=4^N17.0
 ;;^UTILITY(U,$J,358.3,18058,2)
 ;;=^5015598
 ;;^UTILITY(U,$J,358.3,18059,0)
 ;;=N17.1^^61^799^1
 ;;^UTILITY(U,$J,358.3,18059,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18059,1,3,0)
 ;;=3^Acute Kidney Failure w/ Acute Cortical Necrosis
 ;;^UTILITY(U,$J,358.3,18059,1,4,0)
 ;;=4^N17.1
 ;;^UTILITY(U,$J,358.3,18059,2)
 ;;=^5015599
 ;;^UTILITY(U,$J,358.3,18060,0)
 ;;=N17.2^^61^799^2
 ;;^UTILITY(U,$J,358.3,18060,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18060,1,3,0)
 ;;=3^Acute Kidney Failure w/ Medullary Necrosis
 ;;^UTILITY(U,$J,358.3,18060,1,4,0)
 ;;=4^N17.2
 ;;^UTILITY(U,$J,358.3,18060,2)
 ;;=^5015600
 ;;^UTILITY(U,$J,358.3,18061,0)
 ;;=N17.8^^61^799^4
 ;;^UTILITY(U,$J,358.3,18061,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,18061,1,3,0)
 ;;=3^Acute Kidney Failure,Other
 ;;^UTILITY(U,$J,358.3,18061,1,4,0)
 ;;=4^N17.8
 ;;^UTILITY(U,$J,358.3,18061,2)
 ;;=^5015601
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI144   3781     printed  Sep 23, 2025@19:37:23                                                                                                                                                                                                    Page 2
IBDEI144  ; ; 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,18049,1,4,0)
 +2       ;;=4^Z89.121
 +3       ;;^UTILITY(U,$J,358.3,18049,2)
 +4       ;;=^5063540
 +5       ;;^UTILITY(U,$J,358.3,18050,0)
 +6       ;;=Z90.81^^61^797^34
 +7       ;;^UTILITY(U,$J,358.3,18050,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,18050,1,3,0)
 +10      ;;=3^Acquired Absence of Spleen
 +11      ;;^UTILITY(U,$J,358.3,18050,1,4,0)
 +12      ;;=4^Z90.81
 +13      ;;^UTILITY(U,$J,358.3,18050,2)
 +14      ;;=^5063597
 +15      ;;^UTILITY(U,$J,358.3,18051,0)
 +16      ;;=Z90.3^^61^797^35
 +17      ;;^UTILITY(U,$J,358.3,18051,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,18051,1,3,0)
 +20      ;;=3^Acquired Absence of Stomach (part of)
 +21      ;;^UTILITY(U,$J,358.3,18051,1,4,0)
 +22      ;;=4^Z90.3
 +23      ;;^UTILITY(U,$J,358.3,18051,2)
 +24      ;;=^5063586
 +25      ;;^UTILITY(U,$J,358.3,18052,0)
 +26      ;;=R45.851^^61^798^3
 +27      ;;^UTILITY(U,$J,358.3,18052,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,18052,1,3,0)
 +30      ;;=3^Suicidal Ideations
 +31      ;;^UTILITY(U,$J,358.3,18052,1,4,0)
 +32      ;;=4^R45.851
 +33      ;;^UTILITY(U,$J,358.3,18052,2)
 +34      ;;=^5019474
 +35      ;;^UTILITY(U,$J,358.3,18053,0)
 +36      ;;=T14.91XA^^61^798^4
 +37      ;;^UTILITY(U,$J,358.3,18053,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,18053,1,3,0)
 +40      ;;=3^Suicide Attempt,Initial Encntr
 +41      ;;^UTILITY(U,$J,358.3,18053,1,4,0)
 +42      ;;=4^T14.91XA
 +43      ;;^UTILITY(U,$J,358.3,18053,2)
 +44      ;;=^5151779
 +45      ;;^UTILITY(U,$J,358.3,18054,0)
 +46      ;;=T14.91XD^^61^798^6
 +47      ;;^UTILITY(U,$J,358.3,18054,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,18054,1,3,0)
 +50      ;;=3^Suicide Attempt,Subsequent Encntr
 +51      ;;^UTILITY(U,$J,358.3,18054,1,4,0)
 +52      ;;=4^T14.91XD
 +53      ;;^UTILITY(U,$J,358.3,18054,2)
 +54      ;;=^5151780
 +55      ;;^UTILITY(U,$J,358.3,18055,0)
 +56      ;;=T14.91XS^^61^798^5
 +57      ;;^UTILITY(U,$J,358.3,18055,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,18055,1,3,0)
 +60      ;;=3^Suicide Attempt,Sequela
 +61      ;;^UTILITY(U,$J,358.3,18055,1,4,0)
 +62      ;;=4^T14.91XS
 +63      ;;^UTILITY(U,$J,358.3,18055,2)
 +64      ;;=^5151781
 +65      ;;^UTILITY(U,$J,358.3,18056,0)
 +66      ;;=Z91.52^^61^798^1
 +67      ;;^UTILITY(U,$J,358.3,18056,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,18056,1,3,0)
 +70      ;;=3^Personal Hx of Non-Suicidal Self-Harm
 +71      ;;^UTILITY(U,$J,358.3,18056,1,4,0)
 +72      ;;=4^Z91.52
 +73      ;;^UTILITY(U,$J,358.3,18056,2)
 +74      ;;=^5161318
 +75      ;;^UTILITY(U,$J,358.3,18057,0)
 +76      ;;=Z91.51^^61^798^2
 +77      ;;^UTILITY(U,$J,358.3,18057,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,18057,1,3,0)
 +80      ;;=3^Personal Hx of Suicidal Behavior     
 +81      ;;^UTILITY(U,$J,358.3,18057,1,4,0)
 +82      ;;=4^Z91.51
 +83      ;;^UTILITY(U,$J,358.3,18057,2)
 +84      ;;=^5161317
 +85      ;;^UTILITY(U,$J,358.3,18058,0)
 +86      ;;=N17.0^^61^799^3
 +87      ;;^UTILITY(U,$J,358.3,18058,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,18058,1,3,0)
 +90      ;;=3^Acute Kidney Failure w/ Tubular Necrosis
 +91      ;;^UTILITY(U,$J,358.3,18058,1,4,0)
 +92      ;;=4^N17.0
 +93      ;;^UTILITY(U,$J,358.3,18058,2)
 +94      ;;=^5015598
 +95      ;;^UTILITY(U,$J,358.3,18059,0)
 +96      ;;=N17.1^^61^799^1
 +97      ;;^UTILITY(U,$J,358.3,18059,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,18059,1,3,0)
 +100     ;;=3^Acute Kidney Failure w/ Acute Cortical Necrosis
 +101     ;;^UTILITY(U,$J,358.3,18059,1,4,0)
 +102     ;;=4^N17.1
 +103     ;;^UTILITY(U,$J,358.3,18059,2)
 +104     ;;=^5015599
 +105     ;;^UTILITY(U,$J,358.3,18060,0)
 +106     ;;=N17.2^^61^799^2
 +107     ;;^UTILITY(U,$J,358.3,18060,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,18060,1,3,0)
 +110     ;;=3^Acute Kidney Failure w/ Medullary Necrosis
 +111     ;;^UTILITY(U,$J,358.3,18060,1,4,0)
 +112     ;;=4^N17.2
 +113     ;;^UTILITY(U,$J,358.3,18060,2)
 +114     ;;=^5015600
 +115     ;;^UTILITY(U,$J,358.3,18061,0)
 +116     ;;=N17.8^^61^799^4
 +117     ;;^UTILITY(U,$J,358.3,18061,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,18061,1,3,0)
 +120     ;;=3^Acute Kidney Failure,Other
 +121     ;;^UTILITY(U,$J,358.3,18061,1,4,0)
 +122     ;;=4^N17.8
 +123     ;;^UTILITY(U,$J,358.3,18061,2)
 +124     ;;=^5015601