IBDEI2IW ; ; 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,40283,2)
;;=^5003793
;;^UTILITY(U,$J,358.3,40284,0)
;;=G25.1^^152^2007^44
;;^UTILITY(U,$J,358.3,40284,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40284,1,3,0)
;;=3^Tremor,Drug-Induced
;;^UTILITY(U,$J,358.3,40284,1,4,0)
;;=4^G25.1
;;^UTILITY(U,$J,358.3,40284,2)
;;=^5003792
;;^UTILITY(U,$J,358.3,40285,0)
;;=G25.81^^152^2007^39
;;^UTILITY(U,$J,358.3,40285,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40285,1,3,0)
;;=3^Restless Legs Syndrome
;;^UTILITY(U,$J,358.3,40285,1,4,0)
;;=4^G25.81
;;^UTILITY(U,$J,358.3,40285,2)
;;=^5003801
;;^UTILITY(U,$J,358.3,40286,0)
;;=G35.^^152^2007^32
;;^UTILITY(U,$J,358.3,40286,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40286,1,3,0)
;;=3^Multiple Sclerosis
;;^UTILITY(U,$J,358.3,40286,1,4,0)
;;=4^G35.
;;^UTILITY(U,$J,358.3,40286,2)
;;=^79761
;;^UTILITY(U,$J,358.3,40287,0)
;;=G40.901^^152^2007^14
;;^UTILITY(U,$J,358.3,40287,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40287,1,3,0)
;;=3^Epilepsy,Not Intractable w/ Status Epilepticus,Unspec
;;^UTILITY(U,$J,358.3,40287,1,4,0)
;;=4^G40.901
;;^UTILITY(U,$J,358.3,40287,2)
;;=^5003864
;;^UTILITY(U,$J,358.3,40288,0)
;;=G40.909^^152^2007^15
;;^UTILITY(U,$J,358.3,40288,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40288,1,3,0)
;;=3^Epilepsy,Not Intractable w/o Status Epilepticus,Unspec
;;^UTILITY(U,$J,358.3,40288,1,4,0)
;;=4^G40.909
;;^UTILITY(U,$J,358.3,40288,2)
;;=^5003865
;;^UTILITY(U,$J,358.3,40289,0)
;;=G43.809^^152^2007^29
;;^UTILITY(U,$J,358.3,40289,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40289,1,3,0)
;;=3^Migraine,Not Intractable w/o Status Migrainosus,Other
;;^UTILITY(U,$J,358.3,40289,1,4,0)
;;=4^G43.809
;;^UTILITY(U,$J,358.3,40289,2)
;;=^5003901
;;^UTILITY(U,$J,358.3,40290,0)
;;=G43.B0^^152^2007^31
;;^UTILITY(U,$J,358.3,40290,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40290,1,3,0)
;;=3^Migraine,Ophthalmoplegic Not Intractable
;;^UTILITY(U,$J,358.3,40290,1,4,0)
;;=4^G43.B0
;;^UTILITY(U,$J,358.3,40290,2)
;;=^5003914
;;^UTILITY(U,$J,358.3,40291,0)
;;=G43.C0^^152^2007^18
;;^UTILITY(U,$J,358.3,40291,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40291,1,3,0)
;;=3^Headache Syndromes,Periodic Not Intractable
;;^UTILITY(U,$J,358.3,40291,1,4,0)
;;=4^G43.C0
;;^UTILITY(U,$J,358.3,40291,2)
;;=^5003916
;;^UTILITY(U,$J,358.3,40292,0)
;;=G43.A0^^152^2007^9
;;^UTILITY(U,$J,358.3,40292,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40292,1,3,0)
;;=3^Cyclical Vomiting Not Intractable
;;^UTILITY(U,$J,358.3,40292,1,4,0)
;;=4^G43.A0
;;^UTILITY(U,$J,358.3,40292,2)
;;=^5003912
;;^UTILITY(U,$J,358.3,40293,0)
;;=G43.C1^^152^2007^17
;;^UTILITY(U,$J,358.3,40293,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40293,1,3,0)
;;=3^Headache Syndromes,Periodic Intractable
;;^UTILITY(U,$J,358.3,40293,1,4,0)
;;=4^G43.C1
;;^UTILITY(U,$J,358.3,40293,2)
;;=^5003917
;;^UTILITY(U,$J,358.3,40294,0)
;;=G43.B1^^152^2007^30
;;^UTILITY(U,$J,358.3,40294,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40294,1,3,0)
;;=3^Migraine,Ophthalmoplegic Intractable
;;^UTILITY(U,$J,358.3,40294,1,4,0)
;;=4^G43.B1
;;^UTILITY(U,$J,358.3,40294,2)
;;=^5003915
;;^UTILITY(U,$J,358.3,40295,0)
;;=G43.A1^^152^2007^8
;;^UTILITY(U,$J,358.3,40295,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40295,1,3,0)
;;=3^Cyclical Vomiting Intractable
;;^UTILITY(U,$J,358.3,40295,1,4,0)
;;=4^G43.A1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2IW 3751 printed Dec 13, 2024@02:29:37 Page 2
IBDEI2IW ; ; 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,40283,2)
+2 ;;=^5003793
+3 ;;^UTILITY(U,$J,358.3,40284,0)
+4 ;;=G25.1^^152^2007^44
+5 ;;^UTILITY(U,$J,358.3,40284,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,40284,1,3,0)
+8 ;;=3^Tremor,Drug-Induced
+9 ;;^UTILITY(U,$J,358.3,40284,1,4,0)
+10 ;;=4^G25.1
+11 ;;^UTILITY(U,$J,358.3,40284,2)
+12 ;;=^5003792
+13 ;;^UTILITY(U,$J,358.3,40285,0)
+14 ;;=G25.81^^152^2007^39
+15 ;;^UTILITY(U,$J,358.3,40285,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,40285,1,3,0)
+18 ;;=3^Restless Legs Syndrome
+19 ;;^UTILITY(U,$J,358.3,40285,1,4,0)
+20 ;;=4^G25.81
+21 ;;^UTILITY(U,$J,358.3,40285,2)
+22 ;;=^5003801
+23 ;;^UTILITY(U,$J,358.3,40286,0)
+24 ;;=G35.^^152^2007^32
+25 ;;^UTILITY(U,$J,358.3,40286,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,40286,1,3,0)
+28 ;;=3^Multiple Sclerosis
+29 ;;^UTILITY(U,$J,358.3,40286,1,4,0)
+30 ;;=4^G35.
+31 ;;^UTILITY(U,$J,358.3,40286,2)
+32 ;;=^79761
+33 ;;^UTILITY(U,$J,358.3,40287,0)
+34 ;;=G40.901^^152^2007^14
+35 ;;^UTILITY(U,$J,358.3,40287,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,40287,1,3,0)
+38 ;;=3^Epilepsy,Not Intractable w/ Status Epilepticus,Unspec
+39 ;;^UTILITY(U,$J,358.3,40287,1,4,0)
+40 ;;=4^G40.901
+41 ;;^UTILITY(U,$J,358.3,40287,2)
+42 ;;=^5003864
+43 ;;^UTILITY(U,$J,358.3,40288,0)
+44 ;;=G40.909^^152^2007^15
+45 ;;^UTILITY(U,$J,358.3,40288,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,40288,1,3,0)
+48 ;;=3^Epilepsy,Not Intractable w/o Status Epilepticus,Unspec
+49 ;;^UTILITY(U,$J,358.3,40288,1,4,0)
+50 ;;=4^G40.909
+51 ;;^UTILITY(U,$J,358.3,40288,2)
+52 ;;=^5003865
+53 ;;^UTILITY(U,$J,358.3,40289,0)
+54 ;;=G43.809^^152^2007^29
+55 ;;^UTILITY(U,$J,358.3,40289,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,40289,1,3,0)
+58 ;;=3^Migraine,Not Intractable w/o Status Migrainosus,Other
+59 ;;^UTILITY(U,$J,358.3,40289,1,4,0)
+60 ;;=4^G43.809
+61 ;;^UTILITY(U,$J,358.3,40289,2)
+62 ;;=^5003901
+63 ;;^UTILITY(U,$J,358.3,40290,0)
+64 ;;=G43.B0^^152^2007^31
+65 ;;^UTILITY(U,$J,358.3,40290,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,40290,1,3,0)
+68 ;;=3^Migraine,Ophthalmoplegic Not Intractable
+69 ;;^UTILITY(U,$J,358.3,40290,1,4,0)
+70 ;;=4^G43.B0
+71 ;;^UTILITY(U,$J,358.3,40290,2)
+72 ;;=^5003914
+73 ;;^UTILITY(U,$J,358.3,40291,0)
+74 ;;=G43.C0^^152^2007^18
+75 ;;^UTILITY(U,$J,358.3,40291,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,40291,1,3,0)
+78 ;;=3^Headache Syndromes,Periodic Not Intractable
+79 ;;^UTILITY(U,$J,358.3,40291,1,4,0)
+80 ;;=4^G43.C0
+81 ;;^UTILITY(U,$J,358.3,40291,2)
+82 ;;=^5003916
+83 ;;^UTILITY(U,$J,358.3,40292,0)
+84 ;;=G43.A0^^152^2007^9
+85 ;;^UTILITY(U,$J,358.3,40292,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,40292,1,3,0)
+88 ;;=3^Cyclical Vomiting Not Intractable
+89 ;;^UTILITY(U,$J,358.3,40292,1,4,0)
+90 ;;=4^G43.A0
+91 ;;^UTILITY(U,$J,358.3,40292,2)
+92 ;;=^5003912
+93 ;;^UTILITY(U,$J,358.3,40293,0)
+94 ;;=G43.C1^^152^2007^17
+95 ;;^UTILITY(U,$J,358.3,40293,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,40293,1,3,0)
+98 ;;=3^Headache Syndromes,Periodic Intractable
+99 ;;^UTILITY(U,$J,358.3,40293,1,4,0)
+100 ;;=4^G43.C1
+101 ;;^UTILITY(U,$J,358.3,40293,2)
+102 ;;=^5003917
+103 ;;^UTILITY(U,$J,358.3,40294,0)
+104 ;;=G43.B1^^152^2007^30
+105 ;;^UTILITY(U,$J,358.3,40294,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,40294,1,3,0)
+108 ;;=3^Migraine,Ophthalmoplegic Intractable
+109 ;;^UTILITY(U,$J,358.3,40294,1,4,0)
+110 ;;=4^G43.B1
+111 ;;^UTILITY(U,$J,358.3,40294,2)
+112 ;;=^5003915
+113 ;;^UTILITY(U,$J,358.3,40295,0)
+114 ;;=G43.A1^^152^2007^8
+115 ;;^UTILITY(U,$J,358.3,40295,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,40295,1,3,0)
+118 ;;=3^Cyclical Vomiting Intractable
+119 ;;^UTILITY(U,$J,358.3,40295,1,4,0)
+120 ;;=4^G43.A1