IBDEI364 ; ; 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,50587,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50587,1,3,0)
;;=3^Headache Syndrome NEC
;;^UTILITY(U,$J,358.3,50587,1,4,0)
;;=4^G44.89
;;^UTILITY(U,$J,358.3,50587,2)
;;=^5003954
;;^UTILITY(U,$J,358.3,50588,0)
;;=G44.84^^193^2495^7
;;^UTILITY(U,$J,358.3,50588,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50588,1,3,0)
;;=3^Primary Exertional Headache
;;^UTILITY(U,$J,358.3,50588,1,4,0)
;;=4^G44.84
;;^UTILITY(U,$J,358.3,50588,2)
;;=^336563
;;^UTILITY(U,$J,358.3,50589,0)
;;=G44.301^^193^2495^6
;;^UTILITY(U,$J,358.3,50589,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50589,1,3,0)
;;=3^Post-Traumatic Headache,Unspec,Intractable
;;^UTILITY(U,$J,358.3,50589,1,4,0)
;;=4^G44.301
;;^UTILITY(U,$J,358.3,50589,2)
;;=^5003941
;;^UTILITY(U,$J,358.3,50590,0)
;;=G44.209^^193^2495^8
;;^UTILITY(U,$J,358.3,50590,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50590,1,3,0)
;;=3^Tension-Type Headache,Unspec,Not Intractable
;;^UTILITY(U,$J,358.3,50590,1,4,0)
;;=4^G44.209
;;^UTILITY(U,$J,358.3,50590,2)
;;=^5003936
;;^UTILITY(U,$J,358.3,50591,0)
;;=I30.0^^193^2496^5
;;^UTILITY(U,$J,358.3,50591,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50591,1,3,0)
;;=3^Idiopathic Pericarditis,Acute Nonspec
;;^UTILITY(U,$J,358.3,50591,1,4,0)
;;=4^I30.0
;;^UTILITY(U,$J,358.3,50591,2)
;;=^5007157
;;^UTILITY(U,$J,358.3,50592,0)
;;=I34.8^^193^2496^6
;;^UTILITY(U,$J,358.3,50592,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50592,1,3,0)
;;=3^Mitral Valve Disorders,Nonrheumatic Other
;;^UTILITY(U,$J,358.3,50592,1,4,0)
;;=4^I34.8
;;^UTILITY(U,$J,358.3,50592,2)
;;=^5007172
;;^UTILITY(U,$J,358.3,50593,0)
;;=I34.0^^193^2496^13
;;^UTILITY(U,$J,358.3,50593,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50593,1,3,0)
;;=3^Nonrheumatic Mitral Valve Insufficiency
;;^UTILITY(U,$J,358.3,50593,1,4,0)
;;=4^I34.0
;;^UTILITY(U,$J,358.3,50593,2)
;;=^5007169
;;^UTILITY(U,$J,358.3,50594,0)
;;=I34.9^^193^2496^12
;;^UTILITY(U,$J,358.3,50594,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50594,1,3,0)
;;=3^Nonrheumatic Mitral Valve Disorder,Unspec
;;^UTILITY(U,$J,358.3,50594,1,4,0)
;;=4^I34.9
;;^UTILITY(U,$J,358.3,50594,2)
;;=^5007173
;;^UTILITY(U,$J,358.3,50595,0)
;;=I34.2^^193^2496^7
;;^UTILITY(U,$J,358.3,50595,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50595,1,3,0)
;;=3^Nonrhematic Mitral Valve Stenosis
;;^UTILITY(U,$J,358.3,50595,1,4,0)
;;=4^I34.2
;;^UTILITY(U,$J,358.3,50595,2)
;;=^5007171
;;^UTILITY(U,$J,358.3,50596,0)
;;=I35.0^^193^2496^10
;;^UTILITY(U,$J,358.3,50596,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50596,1,3,0)
;;=3^Nonrheumatic Aortic Valve Stenosis
;;^UTILITY(U,$J,358.3,50596,1,4,0)
;;=4^I35.0
;;^UTILITY(U,$J,358.3,50596,2)
;;=^5007174
;;^UTILITY(U,$J,358.3,50597,0)
;;=I35.1^^193^2496^9
;;^UTILITY(U,$J,358.3,50597,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50597,1,3,0)
;;=3^Nonrheumatic Aortic Valve Insufficiency
;;^UTILITY(U,$J,358.3,50597,1,4,0)
;;=4^I35.1
;;^UTILITY(U,$J,358.3,50597,2)
;;=^5007175
;;^UTILITY(U,$J,358.3,50598,0)
;;=I35.2^^193^2496^11
;;^UTILITY(U,$J,358.3,50598,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50598,1,3,0)
;;=3^Nonrheumatic Aortic Valve Stenosis w/ Insufficiency
;;^UTILITY(U,$J,358.3,50598,1,4,0)
;;=4^I35.2
;;^UTILITY(U,$J,358.3,50598,2)
;;=^5007176
;;^UTILITY(U,$J,358.3,50599,0)
;;=I35.9^^193^2496^8
;;^UTILITY(U,$J,358.3,50599,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI364 3797 printed Dec 13, 2024@02:42:32 Page 2
IBDEI364 ; ; 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,50587,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,50587,1,3,0)
+4 ;;=3^Headache Syndrome NEC
+5 ;;^UTILITY(U,$J,358.3,50587,1,4,0)
+6 ;;=4^G44.89
+7 ;;^UTILITY(U,$J,358.3,50587,2)
+8 ;;=^5003954
+9 ;;^UTILITY(U,$J,358.3,50588,0)
+10 ;;=G44.84^^193^2495^7
+11 ;;^UTILITY(U,$J,358.3,50588,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,50588,1,3,0)
+14 ;;=3^Primary Exertional Headache
+15 ;;^UTILITY(U,$J,358.3,50588,1,4,0)
+16 ;;=4^G44.84
+17 ;;^UTILITY(U,$J,358.3,50588,2)
+18 ;;=^336563
+19 ;;^UTILITY(U,$J,358.3,50589,0)
+20 ;;=G44.301^^193^2495^6
+21 ;;^UTILITY(U,$J,358.3,50589,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,50589,1,3,0)
+24 ;;=3^Post-Traumatic Headache,Unspec,Intractable
+25 ;;^UTILITY(U,$J,358.3,50589,1,4,0)
+26 ;;=4^G44.301
+27 ;;^UTILITY(U,$J,358.3,50589,2)
+28 ;;=^5003941
+29 ;;^UTILITY(U,$J,358.3,50590,0)
+30 ;;=G44.209^^193^2495^8
+31 ;;^UTILITY(U,$J,358.3,50590,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,50590,1,3,0)
+34 ;;=3^Tension-Type Headache,Unspec,Not Intractable
+35 ;;^UTILITY(U,$J,358.3,50590,1,4,0)
+36 ;;=4^G44.209
+37 ;;^UTILITY(U,$J,358.3,50590,2)
+38 ;;=^5003936
+39 ;;^UTILITY(U,$J,358.3,50591,0)
+40 ;;=I30.0^^193^2496^5
+41 ;;^UTILITY(U,$J,358.3,50591,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,50591,1,3,0)
+44 ;;=3^Idiopathic Pericarditis,Acute Nonspec
+45 ;;^UTILITY(U,$J,358.3,50591,1,4,0)
+46 ;;=4^I30.0
+47 ;;^UTILITY(U,$J,358.3,50591,2)
+48 ;;=^5007157
+49 ;;^UTILITY(U,$J,358.3,50592,0)
+50 ;;=I34.8^^193^2496^6
+51 ;;^UTILITY(U,$J,358.3,50592,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,50592,1,3,0)
+54 ;;=3^Mitral Valve Disorders,Nonrheumatic Other
+55 ;;^UTILITY(U,$J,358.3,50592,1,4,0)
+56 ;;=4^I34.8
+57 ;;^UTILITY(U,$J,358.3,50592,2)
+58 ;;=^5007172
+59 ;;^UTILITY(U,$J,358.3,50593,0)
+60 ;;=I34.0^^193^2496^13
+61 ;;^UTILITY(U,$J,358.3,50593,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,50593,1,3,0)
+64 ;;=3^Nonrheumatic Mitral Valve Insufficiency
+65 ;;^UTILITY(U,$J,358.3,50593,1,4,0)
+66 ;;=4^I34.0
+67 ;;^UTILITY(U,$J,358.3,50593,2)
+68 ;;=^5007169
+69 ;;^UTILITY(U,$J,358.3,50594,0)
+70 ;;=I34.9^^193^2496^12
+71 ;;^UTILITY(U,$J,358.3,50594,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,50594,1,3,0)
+74 ;;=3^Nonrheumatic Mitral Valve Disorder,Unspec
+75 ;;^UTILITY(U,$J,358.3,50594,1,4,0)
+76 ;;=4^I34.9
+77 ;;^UTILITY(U,$J,358.3,50594,2)
+78 ;;=^5007173
+79 ;;^UTILITY(U,$J,358.3,50595,0)
+80 ;;=I34.2^^193^2496^7
+81 ;;^UTILITY(U,$J,358.3,50595,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,50595,1,3,0)
+84 ;;=3^Nonrhematic Mitral Valve Stenosis
+85 ;;^UTILITY(U,$J,358.3,50595,1,4,0)
+86 ;;=4^I34.2
+87 ;;^UTILITY(U,$J,358.3,50595,2)
+88 ;;=^5007171
+89 ;;^UTILITY(U,$J,358.3,50596,0)
+90 ;;=I35.0^^193^2496^10
+91 ;;^UTILITY(U,$J,358.3,50596,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,50596,1,3,0)
+94 ;;=3^Nonrheumatic Aortic Valve Stenosis
+95 ;;^UTILITY(U,$J,358.3,50596,1,4,0)
+96 ;;=4^I35.0
+97 ;;^UTILITY(U,$J,358.3,50596,2)
+98 ;;=^5007174
+99 ;;^UTILITY(U,$J,358.3,50597,0)
+100 ;;=I35.1^^193^2496^9
+101 ;;^UTILITY(U,$J,358.3,50597,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,50597,1,3,0)
+104 ;;=3^Nonrheumatic Aortic Valve Insufficiency
+105 ;;^UTILITY(U,$J,358.3,50597,1,4,0)
+106 ;;=4^I35.1
+107 ;;^UTILITY(U,$J,358.3,50597,2)
+108 ;;=^5007175
+109 ;;^UTILITY(U,$J,358.3,50598,0)
+110 ;;=I35.2^^193^2496^11
+111 ;;^UTILITY(U,$J,358.3,50598,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,50598,1,3,0)
+114 ;;=3^Nonrheumatic Aortic Valve Stenosis w/ Insufficiency
+115 ;;^UTILITY(U,$J,358.3,50598,1,4,0)
+116 ;;=4^I35.2
+117 ;;^UTILITY(U,$J,358.3,50598,2)
+118 ;;=^5007176
+119 ;;^UTILITY(U,$J,358.3,50599,0)
+120 ;;=I35.9^^193^2496^8
+121 ;;^UTILITY(U,$J,358.3,50599,1,0)
+122 ;;=^358.31IA^4^2