IBDEI0S1 ; ; 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,12619,1,4,0)
;;=4^F32.9
;;^UTILITY(U,$J,358.3,12619,2)
;;=^5003528
;;^UTILITY(U,$J,358.3,12620,0)
;;=F17.210^^49^611^6
;;^UTILITY(U,$J,358.3,12620,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12620,1,3,0)
;;=3^Nicotine Dependence,Cigarettes,Uncomp
;;^UTILITY(U,$J,358.3,12620,1,4,0)
;;=4^F17.210
;;^UTILITY(U,$J,358.3,12620,2)
;;=^5003365
;;^UTILITY(U,$J,358.3,12621,0)
;;=F17.220^^49^611^5
;;^UTILITY(U,$J,358.3,12621,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12621,1,3,0)
;;=3^Nicotine Dependence,Chewing Tobacco,Uncomp
;;^UTILITY(U,$J,358.3,12621,1,4,0)
;;=4^F17.220
;;^UTILITY(U,$J,358.3,12621,2)
;;=^5003370
;;^UTILITY(U,$J,358.3,12622,0)
;;=F17.290^^49^611^7
;;^UTILITY(U,$J,358.3,12622,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12622,1,3,0)
;;=3^Nicotine Dependence,Oth Tobacco Product,Uncomp
;;^UTILITY(U,$J,358.3,12622,1,4,0)
;;=4^F17.290
;;^UTILITY(U,$J,358.3,12622,2)
;;=^5003375
;;^UTILITY(U,$J,358.3,12623,0)
;;=R45.851^^49^612^3
;;^UTILITY(U,$J,358.3,12623,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12623,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,12623,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,12623,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,12624,0)
;;=T14.91XA^^49^612^4
;;^UTILITY(U,$J,358.3,12624,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12624,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,12624,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,12624,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,12625,0)
;;=T14.91XD^^49^612^6
;;^UTILITY(U,$J,358.3,12625,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12625,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,12625,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,12625,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,12626,0)
;;=T14.91XS^^49^612^5
;;^UTILITY(U,$J,358.3,12626,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12626,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,12626,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,12626,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,12627,0)
;;=Z91.52^^49^612^1
;;^UTILITY(U,$J,358.3,12627,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12627,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,12627,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,12627,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,12628,0)
;;=Z91.51^^49^612^2
;;^UTILITY(U,$J,358.3,12628,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12628,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,12628,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,12628,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,12629,0)
;;=Z93.52^^49^613^1
;;^UTILITY(U,$J,358.3,12629,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12629,1,3,0)
;;=3^Appendico-Vesicostomy Status
;;^UTILITY(U,$J,358.3,12629,1,4,0)
;;=4^Z93.52
;;^UTILITY(U,$J,358.3,12629,2)
;;=^5063649
;;^UTILITY(U,$J,358.3,12630,0)
;;=Z93.3^^49^613^9
;;^UTILITY(U,$J,358.3,12630,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12630,1,3,0)
;;=3^Colostomy Status
;;^UTILITY(U,$J,358.3,12630,1,4,0)
;;=4^Z93.3
;;^UTILITY(U,$J,358.3,12630,2)
;;=^5063645
;;^UTILITY(U,$J,358.3,12631,0)
;;=Z93.51^^49^613^10
;;^UTILITY(U,$J,358.3,12631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12631,1,3,0)
;;=3^Cutaneous-Vesicostomy Status
;;^UTILITY(U,$J,358.3,12631,1,4,0)
;;=4^Z93.51
;;^UTILITY(U,$J,358.3,12631,2)
;;=^5063648
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0S1 3771 printed Dec 13, 2024@01:54:39 Page 2
IBDEI0S1 ; ; 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,12619,1,4,0)
+2 ;;=4^F32.9
+3 ;;^UTILITY(U,$J,358.3,12619,2)
+4 ;;=^5003528
+5 ;;^UTILITY(U,$J,358.3,12620,0)
+6 ;;=F17.210^^49^611^6
+7 ;;^UTILITY(U,$J,358.3,12620,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,12620,1,3,0)
+10 ;;=3^Nicotine Dependence,Cigarettes,Uncomp
+11 ;;^UTILITY(U,$J,358.3,12620,1,4,0)
+12 ;;=4^F17.210
+13 ;;^UTILITY(U,$J,358.3,12620,2)
+14 ;;=^5003365
+15 ;;^UTILITY(U,$J,358.3,12621,0)
+16 ;;=F17.220^^49^611^5
+17 ;;^UTILITY(U,$J,358.3,12621,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,12621,1,3,0)
+20 ;;=3^Nicotine Dependence,Chewing Tobacco,Uncomp
+21 ;;^UTILITY(U,$J,358.3,12621,1,4,0)
+22 ;;=4^F17.220
+23 ;;^UTILITY(U,$J,358.3,12621,2)
+24 ;;=^5003370
+25 ;;^UTILITY(U,$J,358.3,12622,0)
+26 ;;=F17.290^^49^611^7
+27 ;;^UTILITY(U,$J,358.3,12622,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,12622,1,3,0)
+30 ;;=3^Nicotine Dependence,Oth Tobacco Product,Uncomp
+31 ;;^UTILITY(U,$J,358.3,12622,1,4,0)
+32 ;;=4^F17.290
+33 ;;^UTILITY(U,$J,358.3,12622,2)
+34 ;;=^5003375
+35 ;;^UTILITY(U,$J,358.3,12623,0)
+36 ;;=R45.851^^49^612^3
+37 ;;^UTILITY(U,$J,358.3,12623,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,12623,1,3,0)
+40 ;;=3^Suicidal Ideations
+41 ;;^UTILITY(U,$J,358.3,12623,1,4,0)
+42 ;;=4^R45.851
+43 ;;^UTILITY(U,$J,358.3,12623,2)
+44 ;;=^5019474
+45 ;;^UTILITY(U,$J,358.3,12624,0)
+46 ;;=T14.91XA^^49^612^4
+47 ;;^UTILITY(U,$J,358.3,12624,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,12624,1,3,0)
+50 ;;=3^Suicide Attempt,Initial Encntr
+51 ;;^UTILITY(U,$J,358.3,12624,1,4,0)
+52 ;;=4^T14.91XA
+53 ;;^UTILITY(U,$J,358.3,12624,2)
+54 ;;=^5151779
+55 ;;^UTILITY(U,$J,358.3,12625,0)
+56 ;;=T14.91XD^^49^612^6
+57 ;;^UTILITY(U,$J,358.3,12625,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,12625,1,3,0)
+60 ;;=3^Suicide Attempt,Subsequent Encntr
+61 ;;^UTILITY(U,$J,358.3,12625,1,4,0)
+62 ;;=4^T14.91XD
+63 ;;^UTILITY(U,$J,358.3,12625,2)
+64 ;;=^5151780
+65 ;;^UTILITY(U,$J,358.3,12626,0)
+66 ;;=T14.91XS^^49^612^5
+67 ;;^UTILITY(U,$J,358.3,12626,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,12626,1,3,0)
+70 ;;=3^Suicide Attempt,Sequela
+71 ;;^UTILITY(U,$J,358.3,12626,1,4,0)
+72 ;;=4^T14.91XS
+73 ;;^UTILITY(U,$J,358.3,12626,2)
+74 ;;=^5151781
+75 ;;^UTILITY(U,$J,358.3,12627,0)
+76 ;;=Z91.52^^49^612^1
+77 ;;^UTILITY(U,$J,358.3,12627,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,12627,1,3,0)
+80 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+81 ;;^UTILITY(U,$J,358.3,12627,1,4,0)
+82 ;;=4^Z91.52
+83 ;;^UTILITY(U,$J,358.3,12627,2)
+84 ;;=^5161318
+85 ;;^UTILITY(U,$J,358.3,12628,0)
+86 ;;=Z91.51^^49^612^2
+87 ;;^UTILITY(U,$J,358.3,12628,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,12628,1,3,0)
+90 ;;=3^Personal Hx of Suicidal Behavior
+91 ;;^UTILITY(U,$J,358.3,12628,1,4,0)
+92 ;;=4^Z91.51
+93 ;;^UTILITY(U,$J,358.3,12628,2)
+94 ;;=^5161317
+95 ;;^UTILITY(U,$J,358.3,12629,0)
+96 ;;=Z93.52^^49^613^1
+97 ;;^UTILITY(U,$J,358.3,12629,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,12629,1,3,0)
+100 ;;=3^Appendico-Vesicostomy Status
+101 ;;^UTILITY(U,$J,358.3,12629,1,4,0)
+102 ;;=4^Z93.52
+103 ;;^UTILITY(U,$J,358.3,12629,2)
+104 ;;=^5063649
+105 ;;^UTILITY(U,$J,358.3,12630,0)
+106 ;;=Z93.3^^49^613^9
+107 ;;^UTILITY(U,$J,358.3,12630,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,12630,1,3,0)
+110 ;;=3^Colostomy Status
+111 ;;^UTILITY(U,$J,358.3,12630,1,4,0)
+112 ;;=4^Z93.3
+113 ;;^UTILITY(U,$J,358.3,12630,2)
+114 ;;=^5063645
+115 ;;^UTILITY(U,$J,358.3,12631,0)
+116 ;;=Z93.51^^49^613^10
+117 ;;^UTILITY(U,$J,358.3,12631,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,12631,1,3,0)
+120 ;;=3^Cutaneous-Vesicostomy Status
+121 ;;^UTILITY(U,$J,358.3,12631,1,4,0)
+122 ;;=4^Z93.51
+123 ;;^UTILITY(U,$J,358.3,12631,2)
+124 ;;=^5063648