IBDEI2R7 ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,43921,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43921,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Manic,Mild
;;^UTILITY(U,$J,358.3,43921,1,4,0)
;;=4^F31.11
;;^UTILITY(U,$J,358.3,43921,2)
;;=^5003496
;;^UTILITY(U,$J,358.3,43922,0)
;;=F31.12^^164^2168^23
;;^UTILITY(U,$J,358.3,43922,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43922,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Manic,Mod
;;^UTILITY(U,$J,358.3,43922,1,4,0)
;;=4^F31.12
;;^UTILITY(U,$J,358.3,43922,2)
;;=^5003497
;;^UTILITY(U,$J,358.3,43923,0)
;;=F31.13^^164^2168^24
;;^UTILITY(U,$J,358.3,43923,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43923,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Manic,Sev
;;^UTILITY(U,$J,358.3,43923,1,4,0)
;;=4^F31.13
;;^UTILITY(U,$J,358.3,43923,2)
;;=^5003498
;;^UTILITY(U,$J,358.3,43924,0)
;;=F31.2^^164^2168^19
;;^UTILITY(U,$J,358.3,43924,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43924,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Manic w/ Psych Feat
;;^UTILITY(U,$J,358.3,43924,1,4,0)
;;=4^F31.2
;;^UTILITY(U,$J,358.3,43924,2)
;;=^5003499
;;^UTILITY(U,$J,358.3,43925,0)
;;=F31.73^^164^2168^20
;;^UTILITY(U,$J,358.3,43925,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43925,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Manic,In Part Remiss
;;^UTILITY(U,$J,358.3,43925,1,4,0)
;;=4^F31.73
;;^UTILITY(U,$J,358.3,43925,2)
;;=^5003513
;;^UTILITY(U,$J,358.3,43926,0)
;;=F31.74^^164^2168^21
;;^UTILITY(U,$J,358.3,43926,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43926,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Manic,In Full Remiss
;;^UTILITY(U,$J,358.3,43926,1,4,0)
;;=4^F31.74
;;^UTILITY(U,$J,358.3,43926,2)
;;=^5003514
;;^UTILITY(U,$J,358.3,43927,0)
;;=F31.31^^164^2168^13
;;^UTILITY(U,$J,358.3,43927,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43927,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,Mild
;;^UTILITY(U,$J,358.3,43927,1,4,0)
;;=4^F31.31
;;^UTILITY(U,$J,358.3,43927,2)
;;=^5003501
;;^UTILITY(U,$J,358.3,43928,0)
;;=F31.32^^164^2168^14
;;^UTILITY(U,$J,358.3,43928,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43928,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,Mod
;;^UTILITY(U,$J,358.3,43928,1,4,0)
;;=4^F31.32
;;^UTILITY(U,$J,358.3,43928,2)
;;=^5003502
;;^UTILITY(U,$J,358.3,43929,0)
;;=F31.4^^164^2168^15
;;^UTILITY(U,$J,358.3,43929,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43929,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,Sev
;;^UTILITY(U,$J,358.3,43929,1,4,0)
;;=4^F31.4
;;^UTILITY(U,$J,358.3,43929,2)
;;=^5003503
;;^UTILITY(U,$J,358.3,43930,0)
;;=F31.5^^164^2168^10
;;^UTILITY(U,$J,358.3,43930,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43930,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep w/ Psych Feat
;;^UTILITY(U,$J,358.3,43930,1,4,0)
;;=4^F31.5
;;^UTILITY(U,$J,358.3,43930,2)
;;=^5003504
;;^UTILITY(U,$J,358.3,43931,0)
;;=F31.75^^164^2168^11
;;^UTILITY(U,$J,358.3,43931,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43931,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Part Remiss
;;^UTILITY(U,$J,358.3,43931,1,4,0)
;;=4^F31.75
;;^UTILITY(U,$J,358.3,43931,2)
;;=^5003515
;;^UTILITY(U,$J,358.3,43932,0)
;;=F31.76^^164^2168^12
;;^UTILITY(U,$J,358.3,43932,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43932,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Full Remiss
;;^UTILITY(U,$J,358.3,43932,1,4,0)
;;=4^F31.76
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2R7 3751 printed Dec 13, 2024@02:34:14 Page 2
IBDEI2R7 ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,43921,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,43921,1,3,0)
+4 ;;=3^Bipolar I D/O,Current/Recent Ep Manic,Mild
+5 ;;^UTILITY(U,$J,358.3,43921,1,4,0)
+6 ;;=4^F31.11
+7 ;;^UTILITY(U,$J,358.3,43921,2)
+8 ;;=^5003496
+9 ;;^UTILITY(U,$J,358.3,43922,0)
+10 ;;=F31.12^^164^2168^23
+11 ;;^UTILITY(U,$J,358.3,43922,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,43922,1,3,0)
+14 ;;=3^Bipolar I D/O,Current/Recent Ep Manic,Mod
+15 ;;^UTILITY(U,$J,358.3,43922,1,4,0)
+16 ;;=4^F31.12
+17 ;;^UTILITY(U,$J,358.3,43922,2)
+18 ;;=^5003497
+19 ;;^UTILITY(U,$J,358.3,43923,0)
+20 ;;=F31.13^^164^2168^24
+21 ;;^UTILITY(U,$J,358.3,43923,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,43923,1,3,0)
+24 ;;=3^Bipolar I D/O,Current/Recent Ep Manic,Sev
+25 ;;^UTILITY(U,$J,358.3,43923,1,4,0)
+26 ;;=4^F31.13
+27 ;;^UTILITY(U,$J,358.3,43923,2)
+28 ;;=^5003498
+29 ;;^UTILITY(U,$J,358.3,43924,0)
+30 ;;=F31.2^^164^2168^19
+31 ;;^UTILITY(U,$J,358.3,43924,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,43924,1,3,0)
+34 ;;=3^Bipolar I D/O,Current/Recent Ep Manic w/ Psych Feat
+35 ;;^UTILITY(U,$J,358.3,43924,1,4,0)
+36 ;;=4^F31.2
+37 ;;^UTILITY(U,$J,358.3,43924,2)
+38 ;;=^5003499
+39 ;;^UTILITY(U,$J,358.3,43925,0)
+40 ;;=F31.73^^164^2168^20
+41 ;;^UTILITY(U,$J,358.3,43925,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,43925,1,3,0)
+44 ;;=3^Bipolar I D/O,Current/Recent Ep Manic,In Part Remiss
+45 ;;^UTILITY(U,$J,358.3,43925,1,4,0)
+46 ;;=4^F31.73
+47 ;;^UTILITY(U,$J,358.3,43925,2)
+48 ;;=^5003513
+49 ;;^UTILITY(U,$J,358.3,43926,0)
+50 ;;=F31.74^^164^2168^21
+51 ;;^UTILITY(U,$J,358.3,43926,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,43926,1,3,0)
+54 ;;=3^Bipolar I D/O,Current/Recent Ep Manic,In Full Remiss
+55 ;;^UTILITY(U,$J,358.3,43926,1,4,0)
+56 ;;=4^F31.74
+57 ;;^UTILITY(U,$J,358.3,43926,2)
+58 ;;=^5003514
+59 ;;^UTILITY(U,$J,358.3,43927,0)
+60 ;;=F31.31^^164^2168^13
+61 ;;^UTILITY(U,$J,358.3,43927,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,43927,1,3,0)
+64 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,Mild
+65 ;;^UTILITY(U,$J,358.3,43927,1,4,0)
+66 ;;=4^F31.31
+67 ;;^UTILITY(U,$J,358.3,43927,2)
+68 ;;=^5003501
+69 ;;^UTILITY(U,$J,358.3,43928,0)
+70 ;;=F31.32^^164^2168^14
+71 ;;^UTILITY(U,$J,358.3,43928,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,43928,1,3,0)
+74 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,Mod
+75 ;;^UTILITY(U,$J,358.3,43928,1,4,0)
+76 ;;=4^F31.32
+77 ;;^UTILITY(U,$J,358.3,43928,2)
+78 ;;=^5003502
+79 ;;^UTILITY(U,$J,358.3,43929,0)
+80 ;;=F31.4^^164^2168^15
+81 ;;^UTILITY(U,$J,358.3,43929,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,43929,1,3,0)
+84 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,Sev
+85 ;;^UTILITY(U,$J,358.3,43929,1,4,0)
+86 ;;=4^F31.4
+87 ;;^UTILITY(U,$J,358.3,43929,2)
+88 ;;=^5003503
+89 ;;^UTILITY(U,$J,358.3,43930,0)
+90 ;;=F31.5^^164^2168^10
+91 ;;^UTILITY(U,$J,358.3,43930,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,43930,1,3,0)
+94 ;;=3^Bipolar I D/O,Current/Recent Ep Dep w/ Psych Feat
+95 ;;^UTILITY(U,$J,358.3,43930,1,4,0)
+96 ;;=4^F31.5
+97 ;;^UTILITY(U,$J,358.3,43930,2)
+98 ;;=^5003504
+99 ;;^UTILITY(U,$J,358.3,43931,0)
+100 ;;=F31.75^^164^2168^11
+101 ;;^UTILITY(U,$J,358.3,43931,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,43931,1,3,0)
+104 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Part Remiss
+105 ;;^UTILITY(U,$J,358.3,43931,1,4,0)
+106 ;;=4^F31.75
+107 ;;^UTILITY(U,$J,358.3,43931,2)
+108 ;;=^5003515
+109 ;;^UTILITY(U,$J,358.3,43932,0)
+110 ;;=F31.76^^164^2168^12
+111 ;;^UTILITY(U,$J,358.3,43932,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,43932,1,3,0)
+114 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Full Remiss
+115 ;;^UTILITY(U,$J,358.3,43932,1,4,0)
+116 ;;=4^F31.76