IBDEI2SX ; ; 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,44685,0)
;;=G43.919^^167^2227^17
;;^UTILITY(U,$J,358.3,44685,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44685,1,3,0)
;;=3^Migraine, unsp, intractable, without status migrainosus
;;^UTILITY(U,$J,358.3,44685,1,4,0)
;;=4^G43.919
;;^UTILITY(U,$J,358.3,44685,2)
;;=^5003911
;;^UTILITY(U,$J,358.3,44686,0)
;;=G44.209^^167^2227^30
;;^UTILITY(U,$J,358.3,44686,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44686,1,3,0)
;;=3^Tension-type headache, unspecified, not intractable
;;^UTILITY(U,$J,358.3,44686,1,4,0)
;;=4^G44.209
;;^UTILITY(U,$J,358.3,44686,2)
;;=^5003936
;;^UTILITY(U,$J,358.3,44687,0)
;;=G43.901^^167^2227^18
;;^UTILITY(U,$J,358.3,44687,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44687,1,3,0)
;;=3^Migraine, unsp, not intractable, with status migrainosus
;;^UTILITY(U,$J,358.3,44687,1,4,0)
;;=4^G43.901
;;^UTILITY(U,$J,358.3,44687,2)
;;=^5003908
;;^UTILITY(U,$J,358.3,44688,0)
;;=G43.911^^167^2227^16
;;^UTILITY(U,$J,358.3,44688,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44688,1,3,0)
;;=3^Migraine, unsp, intractable, with status migrainosus
;;^UTILITY(U,$J,358.3,44688,1,4,0)
;;=4^G43.911
;;^UTILITY(U,$J,358.3,44688,2)
;;=^5003910
;;^UTILITY(U,$J,358.3,44689,0)
;;=G44.201^^167^2227^29
;;^UTILITY(U,$J,358.3,44689,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44689,1,3,0)
;;=3^Tension-type headache, unspecified, intractable
;;^UTILITY(U,$J,358.3,44689,1,4,0)
;;=4^G44.201
;;^UTILITY(U,$J,358.3,44689,2)
;;=^5003935
;;^UTILITY(U,$J,358.3,44690,0)
;;=G44.211^^167^2227^10
;;^UTILITY(U,$J,358.3,44690,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44690,1,3,0)
;;=3^Episodic tension-type headache, intractable
;;^UTILITY(U,$J,358.3,44690,1,4,0)
;;=4^G44.211
;;^UTILITY(U,$J,358.3,44690,2)
;;=^5003937
;;^UTILITY(U,$J,358.3,44691,0)
;;=G44.219^^167^2227^11
;;^UTILITY(U,$J,358.3,44691,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44691,1,3,0)
;;=3^Episodic tension-type headache, not intractable
;;^UTILITY(U,$J,358.3,44691,1,4,0)
;;=4^G44.219
;;^UTILITY(U,$J,358.3,44691,2)
;;=^5003938
;;^UTILITY(U,$J,358.3,44692,0)
;;=G44.229^^167^2227^6
;;^UTILITY(U,$J,358.3,44692,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44692,1,3,0)
;;=3^Chronic tension-type headache, not intractable
;;^UTILITY(U,$J,358.3,44692,1,4,0)
;;=4^G44.229
;;^UTILITY(U,$J,358.3,44692,2)
;;=^5003940
;;^UTILITY(U,$J,358.3,44693,0)
;;=G44.301^^167^2227^23
;;^UTILITY(U,$J,358.3,44693,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44693,1,3,0)
;;=3^Post-traumatic headache, unspecified, intractable
;;^UTILITY(U,$J,358.3,44693,1,4,0)
;;=4^G44.301
;;^UTILITY(U,$J,358.3,44693,2)
;;=^5003941
;;^UTILITY(U,$J,358.3,44694,0)
;;=G44.309^^167^2227^24
;;^UTILITY(U,$J,358.3,44694,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44694,1,3,0)
;;=3^Post-traumatic headache, unspecified, not intractable
;;^UTILITY(U,$J,358.3,44694,1,4,0)
;;=4^G44.309
;;^UTILITY(U,$J,358.3,44694,2)
;;=^5003942
;;^UTILITY(U,$J,358.3,44695,0)
;;=G44.311^^167^2227^1
;;^UTILITY(U,$J,358.3,44695,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44695,1,3,0)
;;=3^Acute post-traumatic headache, intractable
;;^UTILITY(U,$J,358.3,44695,1,4,0)
;;=4^G44.311
;;^UTILITY(U,$J,358.3,44695,2)
;;=^5003943
;;^UTILITY(U,$J,358.3,44696,0)
;;=G44.319^^167^2227^2
;;^UTILITY(U,$J,358.3,44696,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44696,1,3,0)
;;=3^Acute post-traumatic headache, not intractable
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2SX 3825 printed Nov 22, 2024@17:45:21 Page 2
IBDEI2SX ; ; 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,44685,0)
+2 ;;=G43.919^^167^2227^17
+3 ;;^UTILITY(U,$J,358.3,44685,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,44685,1,3,0)
+6 ;;=3^Migraine, unsp, intractable, without status migrainosus
+7 ;;^UTILITY(U,$J,358.3,44685,1,4,0)
+8 ;;=4^G43.919
+9 ;;^UTILITY(U,$J,358.3,44685,2)
+10 ;;=^5003911
+11 ;;^UTILITY(U,$J,358.3,44686,0)
+12 ;;=G44.209^^167^2227^30
+13 ;;^UTILITY(U,$J,358.3,44686,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,44686,1,3,0)
+16 ;;=3^Tension-type headache, unspecified, not intractable
+17 ;;^UTILITY(U,$J,358.3,44686,1,4,0)
+18 ;;=4^G44.209
+19 ;;^UTILITY(U,$J,358.3,44686,2)
+20 ;;=^5003936
+21 ;;^UTILITY(U,$J,358.3,44687,0)
+22 ;;=G43.901^^167^2227^18
+23 ;;^UTILITY(U,$J,358.3,44687,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,44687,1,3,0)
+26 ;;=3^Migraine, unsp, not intractable, with status migrainosus
+27 ;;^UTILITY(U,$J,358.3,44687,1,4,0)
+28 ;;=4^G43.901
+29 ;;^UTILITY(U,$J,358.3,44687,2)
+30 ;;=^5003908
+31 ;;^UTILITY(U,$J,358.3,44688,0)
+32 ;;=G43.911^^167^2227^16
+33 ;;^UTILITY(U,$J,358.3,44688,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,44688,1,3,0)
+36 ;;=3^Migraine, unsp, intractable, with status migrainosus
+37 ;;^UTILITY(U,$J,358.3,44688,1,4,0)
+38 ;;=4^G43.911
+39 ;;^UTILITY(U,$J,358.3,44688,2)
+40 ;;=^5003910
+41 ;;^UTILITY(U,$J,358.3,44689,0)
+42 ;;=G44.201^^167^2227^29
+43 ;;^UTILITY(U,$J,358.3,44689,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,44689,1,3,0)
+46 ;;=3^Tension-type headache, unspecified, intractable
+47 ;;^UTILITY(U,$J,358.3,44689,1,4,0)
+48 ;;=4^G44.201
+49 ;;^UTILITY(U,$J,358.3,44689,2)
+50 ;;=^5003935
+51 ;;^UTILITY(U,$J,358.3,44690,0)
+52 ;;=G44.211^^167^2227^10
+53 ;;^UTILITY(U,$J,358.3,44690,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,44690,1,3,0)
+56 ;;=3^Episodic tension-type headache, intractable
+57 ;;^UTILITY(U,$J,358.3,44690,1,4,0)
+58 ;;=4^G44.211
+59 ;;^UTILITY(U,$J,358.3,44690,2)
+60 ;;=^5003937
+61 ;;^UTILITY(U,$J,358.3,44691,0)
+62 ;;=G44.219^^167^2227^11
+63 ;;^UTILITY(U,$J,358.3,44691,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,44691,1,3,0)
+66 ;;=3^Episodic tension-type headache, not intractable
+67 ;;^UTILITY(U,$J,358.3,44691,1,4,0)
+68 ;;=4^G44.219
+69 ;;^UTILITY(U,$J,358.3,44691,2)
+70 ;;=^5003938
+71 ;;^UTILITY(U,$J,358.3,44692,0)
+72 ;;=G44.229^^167^2227^6
+73 ;;^UTILITY(U,$J,358.3,44692,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,44692,1,3,0)
+76 ;;=3^Chronic tension-type headache, not intractable
+77 ;;^UTILITY(U,$J,358.3,44692,1,4,0)
+78 ;;=4^G44.229
+79 ;;^UTILITY(U,$J,358.3,44692,2)
+80 ;;=^5003940
+81 ;;^UTILITY(U,$J,358.3,44693,0)
+82 ;;=G44.301^^167^2227^23
+83 ;;^UTILITY(U,$J,358.3,44693,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,44693,1,3,0)
+86 ;;=3^Post-traumatic headache, unspecified, intractable
+87 ;;^UTILITY(U,$J,358.3,44693,1,4,0)
+88 ;;=4^G44.301
+89 ;;^UTILITY(U,$J,358.3,44693,2)
+90 ;;=^5003941
+91 ;;^UTILITY(U,$J,358.3,44694,0)
+92 ;;=G44.309^^167^2227^24
+93 ;;^UTILITY(U,$J,358.3,44694,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,44694,1,3,0)
+96 ;;=3^Post-traumatic headache, unspecified, not intractable
+97 ;;^UTILITY(U,$J,358.3,44694,1,4,0)
+98 ;;=4^G44.309
+99 ;;^UTILITY(U,$J,358.3,44694,2)
+100 ;;=^5003942
+101 ;;^UTILITY(U,$J,358.3,44695,0)
+102 ;;=G44.311^^167^2227^1
+103 ;;^UTILITY(U,$J,358.3,44695,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,44695,1,3,0)
+106 ;;=3^Acute post-traumatic headache, intractable
+107 ;;^UTILITY(U,$J,358.3,44695,1,4,0)
+108 ;;=4^G44.311
+109 ;;^UTILITY(U,$J,358.3,44695,2)
+110 ;;=^5003943
+111 ;;^UTILITY(U,$J,358.3,44696,0)
+112 ;;=G44.319^^167^2227^2
+113 ;;^UTILITY(U,$J,358.3,44696,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,44696,1,3,0)
+116 ;;=3^Acute post-traumatic headache, not intractable