IBDEI0XX ; ; 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,15280,1,3,0)
;;=3^Aftercare,Specified NEC
;;^UTILITY(U,$J,358.3,15280,1,4,0)
;;=4^Z51.89
;;^UTILITY(U,$J,358.3,15280,2)
;;=^5063065
;;^UTILITY(U,$J,358.3,15281,0)
;;=Z47.1^^58^720^2
;;^UTILITY(U,$J,358.3,15281,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15281,1,3,0)
;;=3^Aftercare,Joint Replacement
;;^UTILITY(U,$J,358.3,15281,1,4,0)
;;=4^Z47.1
;;^UTILITY(U,$J,358.3,15281,2)
;;=^5063025
;;^UTILITY(U,$J,358.3,15282,0)
;;=Z47.81^^58^720^1
;;^UTILITY(U,$J,358.3,15282,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15282,1,3,0)
;;=3^Aftercare,Amputation
;;^UTILITY(U,$J,358.3,15282,1,4,0)
;;=4^Z47.81
;;^UTILITY(U,$J,358.3,15282,2)
;;=^5063030
;;^UTILITY(U,$J,358.3,15283,0)
;;=R45.851^^58^721^3
;;^UTILITY(U,$J,358.3,15283,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15283,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,15283,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,15283,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,15284,0)
;;=T14.91XA^^58^721^4
;;^UTILITY(U,$J,358.3,15284,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15284,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,15284,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,15284,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,15285,0)
;;=T14.91XD^^58^721^6
;;^UTILITY(U,$J,358.3,15285,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15285,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,15285,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,15285,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,15286,0)
;;=T14.91XS^^58^721^5
;;^UTILITY(U,$J,358.3,15286,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15286,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,15286,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,15286,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,15287,0)
;;=Z91.51^^58^721^2
;;^UTILITY(U,$J,358.3,15287,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15287,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,15287,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,15287,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,15288,0)
;;=Z91.52^^58^721^1
;;^UTILITY(U,$J,358.3,15288,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15288,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,15288,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,15288,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,15289,0)
;;=M50.11^^58^722^1
;;^UTILITY(U,$J,358.3,15289,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15289,1,3,0)
;;=3^Cervical DDD w/ Radiculopathy,C2-C4
;;^UTILITY(U,$J,358.3,15289,1,4,0)
;;=4^M50.11
;;^UTILITY(U,$J,358.3,15289,2)
;;=^5012220
;;^UTILITY(U,$J,358.3,15290,0)
;;=M50.120^^58^722^2
;;^UTILITY(U,$J,358.3,15290,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15290,1,3,0)
;;=3^Cervical DDD w/ Radiculopathy,C4-C7
;;^UTILITY(U,$J,358.3,15290,1,4,0)
;;=4^M50.120
;;^UTILITY(U,$J,358.3,15290,2)
;;=^5138812
;;^UTILITY(U,$J,358.3,15291,0)
;;=M50.13^^58^722^3
;;^UTILITY(U,$J,358.3,15291,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15291,1,3,0)
;;=3^Cervical DDD w/ Radiculopathy,C7-C11
;;^UTILITY(U,$J,358.3,15291,1,4,0)
;;=4^M50.13
;;^UTILITY(U,$J,358.3,15291,2)
;;=^5012222
;;^UTILITY(U,$J,358.3,15292,0)
;;=M50.31^^58^722^4
;;^UTILITY(U,$J,358.3,15292,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15292,1,3,0)
;;=3^Cervical DDD w/o Radiculopathy,C2-C4
;;^UTILITY(U,$J,358.3,15292,1,4,0)
;;=4^M50.31
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0XX 3775 printed Dec 13, 2024@01:57:55 Page 2
IBDEI0XX ; ; 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,15280,1,3,0)
+2 ;;=3^Aftercare,Specified NEC
+3 ;;^UTILITY(U,$J,358.3,15280,1,4,0)
+4 ;;=4^Z51.89
+5 ;;^UTILITY(U,$J,358.3,15280,2)
+6 ;;=^5063065
+7 ;;^UTILITY(U,$J,358.3,15281,0)
+8 ;;=Z47.1^^58^720^2
+9 ;;^UTILITY(U,$J,358.3,15281,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,15281,1,3,0)
+12 ;;=3^Aftercare,Joint Replacement
+13 ;;^UTILITY(U,$J,358.3,15281,1,4,0)
+14 ;;=4^Z47.1
+15 ;;^UTILITY(U,$J,358.3,15281,2)
+16 ;;=^5063025
+17 ;;^UTILITY(U,$J,358.3,15282,0)
+18 ;;=Z47.81^^58^720^1
+19 ;;^UTILITY(U,$J,358.3,15282,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,15282,1,3,0)
+22 ;;=3^Aftercare,Amputation
+23 ;;^UTILITY(U,$J,358.3,15282,1,4,0)
+24 ;;=4^Z47.81
+25 ;;^UTILITY(U,$J,358.3,15282,2)
+26 ;;=^5063030
+27 ;;^UTILITY(U,$J,358.3,15283,0)
+28 ;;=R45.851^^58^721^3
+29 ;;^UTILITY(U,$J,358.3,15283,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,15283,1,3,0)
+32 ;;=3^Suicidal Ideations
+33 ;;^UTILITY(U,$J,358.3,15283,1,4,0)
+34 ;;=4^R45.851
+35 ;;^UTILITY(U,$J,358.3,15283,2)
+36 ;;=^5019474
+37 ;;^UTILITY(U,$J,358.3,15284,0)
+38 ;;=T14.91XA^^58^721^4
+39 ;;^UTILITY(U,$J,358.3,15284,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,15284,1,3,0)
+42 ;;=3^Suicide Attempt,Initial Encntr
+43 ;;^UTILITY(U,$J,358.3,15284,1,4,0)
+44 ;;=4^T14.91XA
+45 ;;^UTILITY(U,$J,358.3,15284,2)
+46 ;;=^5151779
+47 ;;^UTILITY(U,$J,358.3,15285,0)
+48 ;;=T14.91XD^^58^721^6
+49 ;;^UTILITY(U,$J,358.3,15285,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,15285,1,3,0)
+52 ;;=3^Suicide Attempt,Subsequent Encntr
+53 ;;^UTILITY(U,$J,358.3,15285,1,4,0)
+54 ;;=4^T14.91XD
+55 ;;^UTILITY(U,$J,358.3,15285,2)
+56 ;;=^5151780
+57 ;;^UTILITY(U,$J,358.3,15286,0)
+58 ;;=T14.91XS^^58^721^5
+59 ;;^UTILITY(U,$J,358.3,15286,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,15286,1,3,0)
+62 ;;=3^Suicide Attempt,Sequela
+63 ;;^UTILITY(U,$J,358.3,15286,1,4,0)
+64 ;;=4^T14.91XS
+65 ;;^UTILITY(U,$J,358.3,15286,2)
+66 ;;=^5151781
+67 ;;^UTILITY(U,$J,358.3,15287,0)
+68 ;;=Z91.51^^58^721^2
+69 ;;^UTILITY(U,$J,358.3,15287,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,15287,1,3,0)
+72 ;;=3^Personal Hx of Suicidal Behavior
+73 ;;^UTILITY(U,$J,358.3,15287,1,4,0)
+74 ;;=4^Z91.51
+75 ;;^UTILITY(U,$J,358.3,15287,2)
+76 ;;=^5161317
+77 ;;^UTILITY(U,$J,358.3,15288,0)
+78 ;;=Z91.52^^58^721^1
+79 ;;^UTILITY(U,$J,358.3,15288,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,15288,1,3,0)
+82 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+83 ;;^UTILITY(U,$J,358.3,15288,1,4,0)
+84 ;;=4^Z91.52
+85 ;;^UTILITY(U,$J,358.3,15288,2)
+86 ;;=^5161318
+87 ;;^UTILITY(U,$J,358.3,15289,0)
+88 ;;=M50.11^^58^722^1
+89 ;;^UTILITY(U,$J,358.3,15289,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,15289,1,3,0)
+92 ;;=3^Cervical DDD w/ Radiculopathy,C2-C4
+93 ;;^UTILITY(U,$J,358.3,15289,1,4,0)
+94 ;;=4^M50.11
+95 ;;^UTILITY(U,$J,358.3,15289,2)
+96 ;;=^5012220
+97 ;;^UTILITY(U,$J,358.3,15290,0)
+98 ;;=M50.120^^58^722^2
+99 ;;^UTILITY(U,$J,358.3,15290,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,15290,1,3,0)
+102 ;;=3^Cervical DDD w/ Radiculopathy,C4-C7
+103 ;;^UTILITY(U,$J,358.3,15290,1,4,0)
+104 ;;=4^M50.120
+105 ;;^UTILITY(U,$J,358.3,15290,2)
+106 ;;=^5138812
+107 ;;^UTILITY(U,$J,358.3,15291,0)
+108 ;;=M50.13^^58^722^3
+109 ;;^UTILITY(U,$J,358.3,15291,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,15291,1,3,0)
+112 ;;=3^Cervical DDD w/ Radiculopathy,C7-C11
+113 ;;^UTILITY(U,$J,358.3,15291,1,4,0)
+114 ;;=4^M50.13
+115 ;;^UTILITY(U,$J,358.3,15291,2)
+116 ;;=^5012222
+117 ;;^UTILITY(U,$J,358.3,15292,0)
+118 ;;=M50.31^^58^722^4
+119 ;;^UTILITY(U,$J,358.3,15292,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,15292,1,3,0)
+122 ;;=3^Cervical DDD w/o Radiculopathy,C2-C4
+123 ;;^UTILITY(U,$J,358.3,15292,1,4,0)
+124 ;;=4^M50.31