IBDEI1DC ; ; 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,22140,1,4,0)
;;=4^V69.9XXA
;;^UTILITY(U,$J,358.3,22140,2)
;;=^5057950
;;^UTILITY(U,$J,358.3,22141,0)
;;=V89.2XXA^^73^953^6
;;^UTILITY(U,$J,358.3,22141,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22141,1,3,0)
;;=3^Person injured in Motor-Vehicle Traffic Accident,Init Encntr
;;^UTILITY(U,$J,358.3,22141,1,4,0)
;;=4^V89.2XXA
;;^UTILITY(U,$J,358.3,22141,2)
;;=^5058688
;;^UTILITY(U,$J,358.3,22142,0)
;;=W07.XXXA^^73^953^3
;;^UTILITY(U,$J,358.3,22142,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22142,1,3,0)
;;=3^Fall from Chair,Init Encntr
;;^UTILITY(U,$J,358.3,22142,1,4,0)
;;=4^W07.XXXA
;;^UTILITY(U,$J,358.3,22142,2)
;;=^5059562
;;^UTILITY(U,$J,358.3,22143,0)
;;=W06.XXXA^^73^953^2
;;^UTILITY(U,$J,358.3,22143,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22143,1,3,0)
;;=3^Fall from Bed,Init Encntr
;;^UTILITY(U,$J,358.3,22143,1,4,0)
;;=4^W06.XXXA
;;^UTILITY(U,$J,358.3,22143,2)
;;=^5059559
;;^UTILITY(U,$J,358.3,22144,0)
;;=W19.XXXA^^73^953^4
;;^UTILITY(U,$J,358.3,22144,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22144,1,3,0)
;;=3^Fall,Unspec,Init Encntr
;;^UTILITY(U,$J,358.3,22144,1,4,0)
;;=4^W19.XXXA
;;^UTILITY(U,$J,358.3,22144,2)
;;=^5059833
;;^UTILITY(U,$J,358.3,22145,0)
;;=F32.9^^73^954^11
;;^UTILITY(U,$J,358.3,22145,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22145,1,3,0)
;;=3^MDD,Single Episode,Unspec
;;^UTILITY(U,$J,358.3,22145,1,4,0)
;;=4^F32.9
;;^UTILITY(U,$J,358.3,22145,2)
;;=^5003528
;;^UTILITY(U,$J,358.3,22146,0)
;;=Z71.89^^73^954^1
;;^UTILITY(U,$J,358.3,22146,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22146,1,3,0)
;;=3^Counseling NEC
;;^UTILITY(U,$J,358.3,22146,1,4,0)
;;=4^Z71.89
;;^UTILITY(U,$J,358.3,22146,2)
;;=^5063253
;;^UTILITY(U,$J,358.3,22147,0)
;;=F33.0^^73^954^3
;;^UTILITY(U,$J,358.3,22147,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22147,1,3,0)
;;=3^MDD,Recurrent,Mild
;;^UTILITY(U,$J,358.3,22147,1,4,0)
;;=4^F33.0
;;^UTILITY(U,$J,358.3,22147,2)
;;=^5003529
;;^UTILITY(U,$J,358.3,22148,0)
;;=F33.1^^73^954^4
;;^UTILITY(U,$J,358.3,22148,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22148,1,3,0)
;;=3^MDD,Recurrent,Moderate
;;^UTILITY(U,$J,358.3,22148,1,4,0)
;;=4^F33.1
;;^UTILITY(U,$J,358.3,22148,2)
;;=^5003530
;;^UTILITY(U,$J,358.3,22149,0)
;;=F33.2^^73^954^5
;;^UTILITY(U,$J,358.3,22149,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22149,1,3,0)
;;=3^MDD,Recurrent,Severe w/o Psychotic Features
;;^UTILITY(U,$J,358.3,22149,1,4,0)
;;=4^F33.2
;;^UTILITY(U,$J,358.3,22149,2)
;;=^5003531
;;^UTILITY(U,$J,358.3,22150,0)
;;=F33.9^^73^954^6
;;^UTILITY(U,$J,358.3,22150,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22150,1,3,0)
;;=3^MDD,Recurrent,Unspec
;;^UTILITY(U,$J,358.3,22150,1,4,0)
;;=4^F33.9
;;^UTILITY(U,$J,358.3,22150,2)
;;=^5003537
;;^UTILITY(U,$J,358.3,22151,0)
;;=F32.0^^73^954^7
;;^UTILITY(U,$J,358.3,22151,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22151,1,3,0)
;;=3^MDD,Single Episode,Mild
;;^UTILITY(U,$J,358.3,22151,1,4,0)
;;=4^F32.0
;;^UTILITY(U,$J,358.3,22151,2)
;;=^5003521
;;^UTILITY(U,$J,358.3,22152,0)
;;=F32.1^^73^954^8
;;^UTILITY(U,$J,358.3,22152,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22152,1,3,0)
;;=3^MDD,Single Episode,Moderate
;;^UTILITY(U,$J,358.3,22152,1,4,0)
;;=4^F32.1
;;^UTILITY(U,$J,358.3,22152,2)
;;=^5003522
;;^UTILITY(U,$J,358.3,22153,0)
;;=F32.2^^73^954^10
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1DC 3765 printed Dec 13, 2024@02:06:30 Page 2
IBDEI1DC ; ; 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,22140,1,4,0)
+2 ;;=4^V69.9XXA
+3 ;;^UTILITY(U,$J,358.3,22140,2)
+4 ;;=^5057950
+5 ;;^UTILITY(U,$J,358.3,22141,0)
+6 ;;=V89.2XXA^^73^953^6
+7 ;;^UTILITY(U,$J,358.3,22141,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,22141,1,3,0)
+10 ;;=3^Person injured in Motor-Vehicle Traffic Accident,Init Encntr
+11 ;;^UTILITY(U,$J,358.3,22141,1,4,0)
+12 ;;=4^V89.2XXA
+13 ;;^UTILITY(U,$J,358.3,22141,2)
+14 ;;=^5058688
+15 ;;^UTILITY(U,$J,358.3,22142,0)
+16 ;;=W07.XXXA^^73^953^3
+17 ;;^UTILITY(U,$J,358.3,22142,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,22142,1,3,0)
+20 ;;=3^Fall from Chair,Init Encntr
+21 ;;^UTILITY(U,$J,358.3,22142,1,4,0)
+22 ;;=4^W07.XXXA
+23 ;;^UTILITY(U,$J,358.3,22142,2)
+24 ;;=^5059562
+25 ;;^UTILITY(U,$J,358.3,22143,0)
+26 ;;=W06.XXXA^^73^953^2
+27 ;;^UTILITY(U,$J,358.3,22143,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,22143,1,3,0)
+30 ;;=3^Fall from Bed,Init Encntr
+31 ;;^UTILITY(U,$J,358.3,22143,1,4,0)
+32 ;;=4^W06.XXXA
+33 ;;^UTILITY(U,$J,358.3,22143,2)
+34 ;;=^5059559
+35 ;;^UTILITY(U,$J,358.3,22144,0)
+36 ;;=W19.XXXA^^73^953^4
+37 ;;^UTILITY(U,$J,358.3,22144,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,22144,1,3,0)
+40 ;;=3^Fall,Unspec,Init Encntr
+41 ;;^UTILITY(U,$J,358.3,22144,1,4,0)
+42 ;;=4^W19.XXXA
+43 ;;^UTILITY(U,$J,358.3,22144,2)
+44 ;;=^5059833
+45 ;;^UTILITY(U,$J,358.3,22145,0)
+46 ;;=F32.9^^73^954^11
+47 ;;^UTILITY(U,$J,358.3,22145,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,22145,1,3,0)
+50 ;;=3^MDD,Single Episode,Unspec
+51 ;;^UTILITY(U,$J,358.3,22145,1,4,0)
+52 ;;=4^F32.9
+53 ;;^UTILITY(U,$J,358.3,22145,2)
+54 ;;=^5003528
+55 ;;^UTILITY(U,$J,358.3,22146,0)
+56 ;;=Z71.89^^73^954^1
+57 ;;^UTILITY(U,$J,358.3,22146,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,22146,1,3,0)
+60 ;;=3^Counseling NEC
+61 ;;^UTILITY(U,$J,358.3,22146,1,4,0)
+62 ;;=4^Z71.89
+63 ;;^UTILITY(U,$J,358.3,22146,2)
+64 ;;=^5063253
+65 ;;^UTILITY(U,$J,358.3,22147,0)
+66 ;;=F33.0^^73^954^3
+67 ;;^UTILITY(U,$J,358.3,22147,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,22147,1,3,0)
+70 ;;=3^MDD,Recurrent,Mild
+71 ;;^UTILITY(U,$J,358.3,22147,1,4,0)
+72 ;;=4^F33.0
+73 ;;^UTILITY(U,$J,358.3,22147,2)
+74 ;;=^5003529
+75 ;;^UTILITY(U,$J,358.3,22148,0)
+76 ;;=F33.1^^73^954^4
+77 ;;^UTILITY(U,$J,358.3,22148,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,22148,1,3,0)
+80 ;;=3^MDD,Recurrent,Moderate
+81 ;;^UTILITY(U,$J,358.3,22148,1,4,0)
+82 ;;=4^F33.1
+83 ;;^UTILITY(U,$J,358.3,22148,2)
+84 ;;=^5003530
+85 ;;^UTILITY(U,$J,358.3,22149,0)
+86 ;;=F33.2^^73^954^5
+87 ;;^UTILITY(U,$J,358.3,22149,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,22149,1,3,0)
+90 ;;=3^MDD,Recurrent,Severe w/o Psychotic Features
+91 ;;^UTILITY(U,$J,358.3,22149,1,4,0)
+92 ;;=4^F33.2
+93 ;;^UTILITY(U,$J,358.3,22149,2)
+94 ;;=^5003531
+95 ;;^UTILITY(U,$J,358.3,22150,0)
+96 ;;=F33.9^^73^954^6
+97 ;;^UTILITY(U,$J,358.3,22150,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,22150,1,3,0)
+100 ;;=3^MDD,Recurrent,Unspec
+101 ;;^UTILITY(U,$J,358.3,22150,1,4,0)
+102 ;;=4^F33.9
+103 ;;^UTILITY(U,$J,358.3,22150,2)
+104 ;;=^5003537
+105 ;;^UTILITY(U,$J,358.3,22151,0)
+106 ;;=F32.0^^73^954^7
+107 ;;^UTILITY(U,$J,358.3,22151,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,22151,1,3,0)
+110 ;;=3^MDD,Single Episode,Mild
+111 ;;^UTILITY(U,$J,358.3,22151,1,4,0)
+112 ;;=4^F32.0
+113 ;;^UTILITY(U,$J,358.3,22151,2)
+114 ;;=^5003521
+115 ;;^UTILITY(U,$J,358.3,22152,0)
+116 ;;=F32.1^^73^954^8
+117 ;;^UTILITY(U,$J,358.3,22152,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,22152,1,3,0)
+120 ;;=3^MDD,Single Episode,Moderate
+121 ;;^UTILITY(U,$J,358.3,22152,1,4,0)
+122 ;;=4^F32.1
+123 ;;^UTILITY(U,$J,358.3,22152,2)
+124 ;;=^5003522
+125 ;;^UTILITY(U,$J,358.3,22153,0)
+126 ;;=F32.2^^73^954^10