IBDEI1VH ; ; 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,29911,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Unspec
;;^UTILITY(U,$J,358.3,29911,1,4,0)
;;=4^F31.60
;;^UTILITY(U,$J,358.3,29911,2)
;;=^5003505
;;^UTILITY(U,$J,358.3,29912,0)
;;=F31.61^^120^1517^5
;;^UTILITY(U,$J,358.3,29912,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29912,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Mild
;;^UTILITY(U,$J,358.3,29912,1,4,0)
;;=4^F31.61
;;^UTILITY(U,$J,358.3,29912,2)
;;=^5003506
;;^UTILITY(U,$J,358.3,29913,0)
;;=F31.62^^120^1517^6
;;^UTILITY(U,$J,358.3,29913,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29913,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Moderate
;;^UTILITY(U,$J,358.3,29913,1,4,0)
;;=4^F31.62
;;^UTILITY(U,$J,358.3,29913,2)
;;=^5003507
;;^UTILITY(U,$J,358.3,29914,0)
;;=F31.63^^120^1517^7
;;^UTILITY(U,$J,358.3,29914,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29914,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Severe w/o Psychotic Feat
;;^UTILITY(U,$J,358.3,29914,1,4,0)
;;=4^F31.63
;;^UTILITY(U,$J,358.3,29914,2)
;;=^5003508
;;^UTILITY(U,$J,358.3,29915,0)
;;=F31.64^^120^1517^8
;;^UTILITY(U,$J,358.3,29915,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29915,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Severe w/ Psychotic Feat
;;^UTILITY(U,$J,358.3,29915,1,4,0)
;;=4^F31.64
;;^UTILITY(U,$J,358.3,29915,2)
;;=^5003509
;;^UTILITY(U,$J,358.3,29916,0)
;;=A81.00^^120^1518^8
;;^UTILITY(U,$J,358.3,29916,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29916,1,3,0)
;;=3^Creutzfeldt-Jakob Disease,Unspec
;;^UTILITY(U,$J,358.3,29916,1,4,0)
;;=4^A81.00
;;^UTILITY(U,$J,358.3,29916,2)
;;=^5000409
;;^UTILITY(U,$J,358.3,29917,0)
;;=A81.09^^120^1518^7
;;^UTILITY(U,$J,358.3,29917,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29917,1,3,0)
;;=3^Creutzfeldt-Jakob Disease,Other
;;^UTILITY(U,$J,358.3,29917,1,4,0)
;;=4^A81.09
;;^UTILITY(U,$J,358.3,29917,2)
;;=^5000410
;;^UTILITY(U,$J,358.3,29918,0)
;;=A81.2^^120^1518^29
;;^UTILITY(U,$J,358.3,29918,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29918,1,3,0)
;;=3^Progressive Multifocal Leukoencephalopathy
;;^UTILITY(U,$J,358.3,29918,1,4,0)
;;=4^A81.2
;;^UTILITY(U,$J,358.3,29918,2)
;;=^5000411
;;^UTILITY(U,$J,358.3,29919,0)
;;=F01.51^^120^1518^32
;;^UTILITY(U,$J,358.3,29919,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29919,1,3,0)
;;=3^Vascular Dementia w/ Behav Disturb
;;^UTILITY(U,$J,358.3,29919,1,4,0)
;;=4^F01.51
;;^UTILITY(U,$J,358.3,29919,2)
;;=^5003047
;;^UTILITY(U,$J,358.3,29920,0)
;;=G30.9^^120^1518^4
;;^UTILITY(U,$J,358.3,29920,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29920,1,3,0)
;;=3^Alzheimer's Disease,Unspec
;;^UTILITY(U,$J,358.3,29920,1,4,0)
;;=4^G30.9
;;^UTILITY(U,$J,358.3,29920,2)
;;=^5003808
;;^UTILITY(U,$J,358.3,29921,0)
;;=G31.01^^120^1518^27
;;^UTILITY(U,$J,358.3,29921,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29921,1,3,0)
;;=3^Pick's Disease
;;^UTILITY(U,$J,358.3,29921,1,4,0)
;;=4^G31.01
;;^UTILITY(U,$J,358.3,29921,2)
;;=^329915
;;^UTILITY(U,$J,358.3,29922,0)
;;=G94.^^120^1518^6
;;^UTILITY(U,$J,358.3,29922,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29922,1,3,0)
;;=3^Brain D/O in Diseases Classified Elsewhere NEC
;;^UTILITY(U,$J,358.3,29922,1,4,0)
;;=4^G94.
;;^UTILITY(U,$J,358.3,29922,2)
;;=^5004187
;;^UTILITY(U,$J,358.3,29923,0)
;;=G31.83^^120^1518^17
;;^UTILITY(U,$J,358.3,29923,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1VH 3761 printed Nov 22, 2024@17:26:46 Page 2
IBDEI1VH ; ; 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,29911,1,3,0)
+2 ;;=3^Bipolar D/O,Current Episode Mixed,Unspec
+3 ;;^UTILITY(U,$J,358.3,29911,1,4,0)
+4 ;;=4^F31.60
+5 ;;^UTILITY(U,$J,358.3,29911,2)
+6 ;;=^5003505
+7 ;;^UTILITY(U,$J,358.3,29912,0)
+8 ;;=F31.61^^120^1517^5
+9 ;;^UTILITY(U,$J,358.3,29912,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,29912,1,3,0)
+12 ;;=3^Bipolar D/O,Current Episode Mixed,Mild
+13 ;;^UTILITY(U,$J,358.3,29912,1,4,0)
+14 ;;=4^F31.61
+15 ;;^UTILITY(U,$J,358.3,29912,2)
+16 ;;=^5003506
+17 ;;^UTILITY(U,$J,358.3,29913,0)
+18 ;;=F31.62^^120^1517^6
+19 ;;^UTILITY(U,$J,358.3,29913,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,29913,1,3,0)
+22 ;;=3^Bipolar D/O,Current Episode Mixed,Moderate
+23 ;;^UTILITY(U,$J,358.3,29913,1,4,0)
+24 ;;=4^F31.62
+25 ;;^UTILITY(U,$J,358.3,29913,2)
+26 ;;=^5003507
+27 ;;^UTILITY(U,$J,358.3,29914,0)
+28 ;;=F31.63^^120^1517^7
+29 ;;^UTILITY(U,$J,358.3,29914,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,29914,1,3,0)
+32 ;;=3^Bipolar D/O,Current Episode Mixed,Severe w/o Psychotic Feat
+33 ;;^UTILITY(U,$J,358.3,29914,1,4,0)
+34 ;;=4^F31.63
+35 ;;^UTILITY(U,$J,358.3,29914,2)
+36 ;;=^5003508
+37 ;;^UTILITY(U,$J,358.3,29915,0)
+38 ;;=F31.64^^120^1517^8
+39 ;;^UTILITY(U,$J,358.3,29915,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,29915,1,3,0)
+42 ;;=3^Bipolar D/O,Current Episode Mixed,Severe w/ Psychotic Feat
+43 ;;^UTILITY(U,$J,358.3,29915,1,4,0)
+44 ;;=4^F31.64
+45 ;;^UTILITY(U,$J,358.3,29915,2)
+46 ;;=^5003509
+47 ;;^UTILITY(U,$J,358.3,29916,0)
+48 ;;=A81.00^^120^1518^8
+49 ;;^UTILITY(U,$J,358.3,29916,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,29916,1,3,0)
+52 ;;=3^Creutzfeldt-Jakob Disease,Unspec
+53 ;;^UTILITY(U,$J,358.3,29916,1,4,0)
+54 ;;=4^A81.00
+55 ;;^UTILITY(U,$J,358.3,29916,2)
+56 ;;=^5000409
+57 ;;^UTILITY(U,$J,358.3,29917,0)
+58 ;;=A81.09^^120^1518^7
+59 ;;^UTILITY(U,$J,358.3,29917,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,29917,1,3,0)
+62 ;;=3^Creutzfeldt-Jakob Disease,Other
+63 ;;^UTILITY(U,$J,358.3,29917,1,4,0)
+64 ;;=4^A81.09
+65 ;;^UTILITY(U,$J,358.3,29917,2)
+66 ;;=^5000410
+67 ;;^UTILITY(U,$J,358.3,29918,0)
+68 ;;=A81.2^^120^1518^29
+69 ;;^UTILITY(U,$J,358.3,29918,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,29918,1,3,0)
+72 ;;=3^Progressive Multifocal Leukoencephalopathy
+73 ;;^UTILITY(U,$J,358.3,29918,1,4,0)
+74 ;;=4^A81.2
+75 ;;^UTILITY(U,$J,358.3,29918,2)
+76 ;;=^5000411
+77 ;;^UTILITY(U,$J,358.3,29919,0)
+78 ;;=F01.51^^120^1518^32
+79 ;;^UTILITY(U,$J,358.3,29919,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,29919,1,3,0)
+82 ;;=3^Vascular Dementia w/ Behav Disturb
+83 ;;^UTILITY(U,$J,358.3,29919,1,4,0)
+84 ;;=4^F01.51
+85 ;;^UTILITY(U,$J,358.3,29919,2)
+86 ;;=^5003047
+87 ;;^UTILITY(U,$J,358.3,29920,0)
+88 ;;=G30.9^^120^1518^4
+89 ;;^UTILITY(U,$J,358.3,29920,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,29920,1,3,0)
+92 ;;=3^Alzheimer's Disease,Unspec
+93 ;;^UTILITY(U,$J,358.3,29920,1,4,0)
+94 ;;=4^G30.9
+95 ;;^UTILITY(U,$J,358.3,29920,2)
+96 ;;=^5003808
+97 ;;^UTILITY(U,$J,358.3,29921,0)
+98 ;;=G31.01^^120^1518^27
+99 ;;^UTILITY(U,$J,358.3,29921,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,29921,1,3,0)
+102 ;;=3^Pick's Disease
+103 ;;^UTILITY(U,$J,358.3,29921,1,4,0)
+104 ;;=4^G31.01
+105 ;;^UTILITY(U,$J,358.3,29921,2)
+106 ;;=^329915
+107 ;;^UTILITY(U,$J,358.3,29922,0)
+108 ;;=G94.^^120^1518^6
+109 ;;^UTILITY(U,$J,358.3,29922,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,29922,1,3,0)
+112 ;;=3^Brain D/O in Diseases Classified Elsewhere NEC
+113 ;;^UTILITY(U,$J,358.3,29922,1,4,0)
+114 ;;=4^G94.
+115 ;;^UTILITY(U,$J,358.3,29922,2)
+116 ;;=^5004187
+117 ;;^UTILITY(U,$J,358.3,29923,0)
+118 ;;=G31.83^^120^1518^17
+119 ;;^UTILITY(U,$J,358.3,29923,1,0)
+120 ;;=^358.31IA^4^2