IBDEI1GN ; ; 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,23619,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23619,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,23619,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,23619,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,23620,0)
;;=T14.91XA^^79^1020^4
;;^UTILITY(U,$J,358.3,23620,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23620,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,23620,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,23620,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,23621,0)
;;=T14.91XD^^79^1020^6
;;^UTILITY(U,$J,358.3,23621,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23621,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,23621,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,23621,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,23622,0)
;;=T14.91XS^^79^1020^5
;;^UTILITY(U,$J,358.3,23622,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23622,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,23622,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,23622,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,23623,0)
;;=Z91.52^^79^1020^1
;;^UTILITY(U,$J,358.3,23623,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23623,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,23623,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,23623,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,23624,0)
;;=Z91.52^^79^1020^2
;;^UTILITY(U,$J,358.3,23624,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23624,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,23624,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,23624,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,23625,0)
;;=Z51.81^^79^1021^19
;;^UTILITY(U,$J,358.3,23625,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23625,1,3,0)
;;=3^Therapeutic Drug Level Monitoring
;;^UTILITY(U,$J,358.3,23625,1,4,0)
;;=4^Z51.81
;;^UTILITY(U,$J,358.3,23625,2)
;;=^5063064
;;^UTILITY(U,$J,358.3,23626,0)
;;=Z79.01^^79^1021^15
;;^UTILITY(U,$J,358.3,23626,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23626,1,3,0)
;;=3^Long Term Current Use of Anticoagulants
;;^UTILITY(U,$J,358.3,23626,1,4,0)
;;=4^Z79.01
;;^UTILITY(U,$J,358.3,23626,2)
;;=^5063330
;;^UTILITY(U,$J,358.3,23627,0)
;;=I48.0^^79^1021^7
;;^UTILITY(U,$J,358.3,23627,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23627,1,3,0)
;;=3^Atrial Fibrillation,Paroxysmal
;;^UTILITY(U,$J,358.3,23627,1,4,0)
;;=4^I48.0
;;^UTILITY(U,$J,358.3,23627,2)
;;=^90473
;;^UTILITY(U,$J,358.3,23628,0)
;;=Z86.711^^79^1021^17
;;^UTILITY(U,$J,358.3,23628,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23628,1,3,0)
;;=3^Personal Hx of Pulmonary Embolism
;;^UTILITY(U,$J,358.3,23628,1,4,0)
;;=4^Z86.711
;;^UTILITY(U,$J,358.3,23628,2)
;;=^5063474
;;^UTILITY(U,$J,358.3,23629,0)
;;=Z95.2^^79^1021^18
;;^UTILITY(U,$J,358.3,23629,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23629,1,3,0)
;;=3^Presence of Prosthetic Heart Valve
;;^UTILITY(U,$J,358.3,23629,1,4,0)
;;=4^Z95.2
;;^UTILITY(U,$J,358.3,23629,2)
;;=^5063670
;;^UTILITY(U,$J,358.3,23630,0)
;;=I48.92^^79^1021^9
;;^UTILITY(U,$J,358.3,23630,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23630,1,3,0)
;;=3^Atrial Flutter,Unspec
;;^UTILITY(U,$J,358.3,23630,1,4,0)
;;=4^I48.92
;;^UTILITY(U,$J,358.3,23630,2)
;;=^5007230
;;^UTILITY(U,$J,358.3,23631,0)
;;=D68.8^^79^1021^11
;;^UTILITY(U,$J,358.3,23631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23631,1,3,0)
;;=3^Coagulation Defects,Oth Specified
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1GN 3805 printed Dec 13, 2024@02:08:20 Page 2
IBDEI1GN ; ; 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,23619,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,23619,1,3,0)
+4 ;;=3^Suicidal Ideations
+5 ;;^UTILITY(U,$J,358.3,23619,1,4,0)
+6 ;;=4^R45.851
+7 ;;^UTILITY(U,$J,358.3,23619,2)
+8 ;;=^5019474
+9 ;;^UTILITY(U,$J,358.3,23620,0)
+10 ;;=T14.91XA^^79^1020^4
+11 ;;^UTILITY(U,$J,358.3,23620,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,23620,1,3,0)
+14 ;;=3^Suicide Attempt,Initial Encntr
+15 ;;^UTILITY(U,$J,358.3,23620,1,4,0)
+16 ;;=4^T14.91XA
+17 ;;^UTILITY(U,$J,358.3,23620,2)
+18 ;;=^5151779
+19 ;;^UTILITY(U,$J,358.3,23621,0)
+20 ;;=T14.91XD^^79^1020^6
+21 ;;^UTILITY(U,$J,358.3,23621,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,23621,1,3,0)
+24 ;;=3^Suicide Attempt,Subsequent Encntr
+25 ;;^UTILITY(U,$J,358.3,23621,1,4,0)
+26 ;;=4^T14.91XD
+27 ;;^UTILITY(U,$J,358.3,23621,2)
+28 ;;=^5151780
+29 ;;^UTILITY(U,$J,358.3,23622,0)
+30 ;;=T14.91XS^^79^1020^5
+31 ;;^UTILITY(U,$J,358.3,23622,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,23622,1,3,0)
+34 ;;=3^Suicide Attempt,Sequela
+35 ;;^UTILITY(U,$J,358.3,23622,1,4,0)
+36 ;;=4^T14.91XS
+37 ;;^UTILITY(U,$J,358.3,23622,2)
+38 ;;=^5151781
+39 ;;^UTILITY(U,$J,358.3,23623,0)
+40 ;;=Z91.52^^79^1020^1
+41 ;;^UTILITY(U,$J,358.3,23623,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,23623,1,3,0)
+44 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+45 ;;^UTILITY(U,$J,358.3,23623,1,4,0)
+46 ;;=4^Z91.52
+47 ;;^UTILITY(U,$J,358.3,23623,2)
+48 ;;=^5161318
+49 ;;^UTILITY(U,$J,358.3,23624,0)
+50 ;;=Z91.52^^79^1020^2
+51 ;;^UTILITY(U,$J,358.3,23624,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,23624,1,3,0)
+54 ;;=3^Personal Hx of Suicidal Behavior
+55 ;;^UTILITY(U,$J,358.3,23624,1,4,0)
+56 ;;=4^Z91.52
+57 ;;^UTILITY(U,$J,358.3,23624,2)
+58 ;;=^5161318
+59 ;;^UTILITY(U,$J,358.3,23625,0)
+60 ;;=Z51.81^^79^1021^19
+61 ;;^UTILITY(U,$J,358.3,23625,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,23625,1,3,0)
+64 ;;=3^Therapeutic Drug Level Monitoring
+65 ;;^UTILITY(U,$J,358.3,23625,1,4,0)
+66 ;;=4^Z51.81
+67 ;;^UTILITY(U,$J,358.3,23625,2)
+68 ;;=^5063064
+69 ;;^UTILITY(U,$J,358.3,23626,0)
+70 ;;=Z79.01^^79^1021^15
+71 ;;^UTILITY(U,$J,358.3,23626,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,23626,1,3,0)
+74 ;;=3^Long Term Current Use of Anticoagulants
+75 ;;^UTILITY(U,$J,358.3,23626,1,4,0)
+76 ;;=4^Z79.01
+77 ;;^UTILITY(U,$J,358.3,23626,2)
+78 ;;=^5063330
+79 ;;^UTILITY(U,$J,358.3,23627,0)
+80 ;;=I48.0^^79^1021^7
+81 ;;^UTILITY(U,$J,358.3,23627,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,23627,1,3,0)
+84 ;;=3^Atrial Fibrillation,Paroxysmal
+85 ;;^UTILITY(U,$J,358.3,23627,1,4,0)
+86 ;;=4^I48.0
+87 ;;^UTILITY(U,$J,358.3,23627,2)
+88 ;;=^90473
+89 ;;^UTILITY(U,$J,358.3,23628,0)
+90 ;;=Z86.711^^79^1021^17
+91 ;;^UTILITY(U,$J,358.3,23628,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,23628,1,3,0)
+94 ;;=3^Personal Hx of Pulmonary Embolism
+95 ;;^UTILITY(U,$J,358.3,23628,1,4,0)
+96 ;;=4^Z86.711
+97 ;;^UTILITY(U,$J,358.3,23628,2)
+98 ;;=^5063474
+99 ;;^UTILITY(U,$J,358.3,23629,0)
+100 ;;=Z95.2^^79^1021^18
+101 ;;^UTILITY(U,$J,358.3,23629,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,23629,1,3,0)
+104 ;;=3^Presence of Prosthetic Heart Valve
+105 ;;^UTILITY(U,$J,358.3,23629,1,4,0)
+106 ;;=4^Z95.2
+107 ;;^UTILITY(U,$J,358.3,23629,2)
+108 ;;=^5063670
+109 ;;^UTILITY(U,$J,358.3,23630,0)
+110 ;;=I48.92^^79^1021^9
+111 ;;^UTILITY(U,$J,358.3,23630,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,23630,1,3,0)
+114 ;;=3^Atrial Flutter,Unspec
+115 ;;^UTILITY(U,$J,358.3,23630,1,4,0)
+116 ;;=4^I48.92
+117 ;;^UTILITY(U,$J,358.3,23630,2)
+118 ;;=^5007230
+119 ;;^UTILITY(U,$J,358.3,23631,0)
+120 ;;=D68.8^^79^1021^11
+121 ;;^UTILITY(U,$J,358.3,23631,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,23631,1,3,0)
+124 ;;=3^Coagulation Defects,Oth Specified