IBDEI2SY ; ; 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,44696,1,4,0)
;;=4^G44.319
;;^UTILITY(U,$J,358.3,44696,2)
;;=^5003944
;;^UTILITY(U,$J,358.3,44697,0)
;;=G44.329^^167^2227^4
;;^UTILITY(U,$J,358.3,44697,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44697,1,3,0)
;;=3^Chronic post-traumatic headache, not intractable
;;^UTILITY(U,$J,358.3,44697,1,4,0)
;;=4^G44.329
;;^UTILITY(U,$J,358.3,44697,2)
;;=^5003946
;;^UTILITY(U,$J,358.3,44698,0)
;;=G44.321^^167^2227^3
;;^UTILITY(U,$J,358.3,44698,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44698,1,3,0)
;;=3^Chronic post-traumatic headache, intractable
;;^UTILITY(U,$J,358.3,44698,1,4,0)
;;=4^G44.321
;;^UTILITY(U,$J,358.3,44698,2)
;;=^5003945
;;^UTILITY(U,$J,358.3,44699,0)
;;=G44.40^^167^2227^8
;;^UTILITY(U,$J,358.3,44699,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44699,1,3,0)
;;=3^Drug-induced headache, NEC, not intractable
;;^UTILITY(U,$J,358.3,44699,1,4,0)
;;=4^G44.40
;;^UTILITY(U,$J,358.3,44699,2)
;;=^5003947
;;^UTILITY(U,$J,358.3,44700,0)
;;=G44.41^^167^2227^9
;;^UTILITY(U,$J,358.3,44700,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44700,1,3,0)
;;=3^Drug-induced headache, not elsewhere classified, intractable
;;^UTILITY(U,$J,358.3,44700,1,4,0)
;;=4^G44.41
;;^UTILITY(U,$J,358.3,44700,2)
;;=^5003948
;;^UTILITY(U,$J,358.3,44701,0)
;;=G44.51^^167^2227^14
;;^UTILITY(U,$J,358.3,44701,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44701,1,3,0)
;;=3^Hemicrania continua
;;^UTILITY(U,$J,358.3,44701,1,4,0)
;;=4^G44.51
;;^UTILITY(U,$J,358.3,44701,2)
;;=^5003949
;;^UTILITY(U,$J,358.3,44702,0)
;;=G44.52^^167^2227^20
;;^UTILITY(U,$J,358.3,44702,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44702,1,3,0)
;;=3^New daily persistent headache (NDPH)
;;^UTILITY(U,$J,358.3,44702,1,4,0)
;;=4^G44.52
;;^UTILITY(U,$J,358.3,44702,2)
;;=^5003950
;;^UTILITY(U,$J,358.3,44703,0)
;;=G44.53^^167^2227^28
;;^UTILITY(U,$J,358.3,44703,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44703,1,3,0)
;;=3^Primary thunderclap headache
;;^UTILITY(U,$J,358.3,44703,1,4,0)
;;=4^G44.53
;;^UTILITY(U,$J,358.3,44703,2)
;;=^5003951
;;^UTILITY(U,$J,358.3,44704,0)
;;=G44.59^^167^2227^7
;;^UTILITY(U,$J,358.3,44704,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44704,1,3,0)
;;=3^Complicated headache syndrome, other
;;^UTILITY(U,$J,358.3,44704,1,4,0)
;;=4^G44.59
;;^UTILITY(U,$J,358.3,44704,2)
;;=^336559
;;^UTILITY(U,$J,358.3,44705,0)
;;=G44.81^^167^2227^15
;;^UTILITY(U,$J,358.3,44705,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44705,1,3,0)
;;=3^Hypnic headache
;;^UTILITY(U,$J,358.3,44705,1,4,0)
;;=4^G44.81
;;^UTILITY(U,$J,358.3,44705,2)
;;=^336560
;;^UTILITY(U,$J,358.3,44706,0)
;;=G44.83^^167^2227^25
;;^UTILITY(U,$J,358.3,44706,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44706,1,3,0)
;;=3^Primary cough headache
;;^UTILITY(U,$J,358.3,44706,1,4,0)
;;=4^G44.83
;;^UTILITY(U,$J,358.3,44706,2)
;;=^336562
;;^UTILITY(U,$J,358.3,44707,0)
;;=G44.84^^167^2227^26
;;^UTILITY(U,$J,358.3,44707,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44707,1,3,0)
;;=3^Primary exertional headache
;;^UTILITY(U,$J,358.3,44707,1,4,0)
;;=4^G44.84
;;^UTILITY(U,$J,358.3,44707,2)
;;=^336563
;;^UTILITY(U,$J,358.3,44708,0)
;;=G44.85^^167^2227^27
;;^UTILITY(U,$J,358.3,44708,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44708,1,3,0)
;;=3^Primary stabbing headache
;;^UTILITY(U,$J,358.3,44708,1,4,0)
;;=4^G44.85
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2SY 3766 printed Dec 13, 2024@02:35:13 Page 2
IBDEI2SY ; ; 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,44696,1,4,0)
+2 ;;=4^G44.319
+3 ;;^UTILITY(U,$J,358.3,44696,2)
+4 ;;=^5003944
+5 ;;^UTILITY(U,$J,358.3,44697,0)
+6 ;;=G44.329^^167^2227^4
+7 ;;^UTILITY(U,$J,358.3,44697,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,44697,1,3,0)
+10 ;;=3^Chronic post-traumatic headache, not intractable
+11 ;;^UTILITY(U,$J,358.3,44697,1,4,0)
+12 ;;=4^G44.329
+13 ;;^UTILITY(U,$J,358.3,44697,2)
+14 ;;=^5003946
+15 ;;^UTILITY(U,$J,358.3,44698,0)
+16 ;;=G44.321^^167^2227^3
+17 ;;^UTILITY(U,$J,358.3,44698,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,44698,1,3,0)
+20 ;;=3^Chronic post-traumatic headache, intractable
+21 ;;^UTILITY(U,$J,358.3,44698,1,4,0)
+22 ;;=4^G44.321
+23 ;;^UTILITY(U,$J,358.3,44698,2)
+24 ;;=^5003945
+25 ;;^UTILITY(U,$J,358.3,44699,0)
+26 ;;=G44.40^^167^2227^8
+27 ;;^UTILITY(U,$J,358.3,44699,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,44699,1,3,0)
+30 ;;=3^Drug-induced headache, NEC, not intractable
+31 ;;^UTILITY(U,$J,358.3,44699,1,4,0)
+32 ;;=4^G44.40
+33 ;;^UTILITY(U,$J,358.3,44699,2)
+34 ;;=^5003947
+35 ;;^UTILITY(U,$J,358.3,44700,0)
+36 ;;=G44.41^^167^2227^9
+37 ;;^UTILITY(U,$J,358.3,44700,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,44700,1,3,0)
+40 ;;=3^Drug-induced headache, not elsewhere classified, intractable
+41 ;;^UTILITY(U,$J,358.3,44700,1,4,0)
+42 ;;=4^G44.41
+43 ;;^UTILITY(U,$J,358.3,44700,2)
+44 ;;=^5003948
+45 ;;^UTILITY(U,$J,358.3,44701,0)
+46 ;;=G44.51^^167^2227^14
+47 ;;^UTILITY(U,$J,358.3,44701,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,44701,1,3,0)
+50 ;;=3^Hemicrania continua
+51 ;;^UTILITY(U,$J,358.3,44701,1,4,0)
+52 ;;=4^G44.51
+53 ;;^UTILITY(U,$J,358.3,44701,2)
+54 ;;=^5003949
+55 ;;^UTILITY(U,$J,358.3,44702,0)
+56 ;;=G44.52^^167^2227^20
+57 ;;^UTILITY(U,$J,358.3,44702,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,44702,1,3,0)
+60 ;;=3^New daily persistent headache (NDPH)
+61 ;;^UTILITY(U,$J,358.3,44702,1,4,0)
+62 ;;=4^G44.52
+63 ;;^UTILITY(U,$J,358.3,44702,2)
+64 ;;=^5003950
+65 ;;^UTILITY(U,$J,358.3,44703,0)
+66 ;;=G44.53^^167^2227^28
+67 ;;^UTILITY(U,$J,358.3,44703,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,44703,1,3,0)
+70 ;;=3^Primary thunderclap headache
+71 ;;^UTILITY(U,$J,358.3,44703,1,4,0)
+72 ;;=4^G44.53
+73 ;;^UTILITY(U,$J,358.3,44703,2)
+74 ;;=^5003951
+75 ;;^UTILITY(U,$J,358.3,44704,0)
+76 ;;=G44.59^^167^2227^7
+77 ;;^UTILITY(U,$J,358.3,44704,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,44704,1,3,0)
+80 ;;=3^Complicated headache syndrome, other
+81 ;;^UTILITY(U,$J,358.3,44704,1,4,0)
+82 ;;=4^G44.59
+83 ;;^UTILITY(U,$J,358.3,44704,2)
+84 ;;=^336559
+85 ;;^UTILITY(U,$J,358.3,44705,0)
+86 ;;=G44.81^^167^2227^15
+87 ;;^UTILITY(U,$J,358.3,44705,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,44705,1,3,0)
+90 ;;=3^Hypnic headache
+91 ;;^UTILITY(U,$J,358.3,44705,1,4,0)
+92 ;;=4^G44.81
+93 ;;^UTILITY(U,$J,358.3,44705,2)
+94 ;;=^336560
+95 ;;^UTILITY(U,$J,358.3,44706,0)
+96 ;;=G44.83^^167^2227^25
+97 ;;^UTILITY(U,$J,358.3,44706,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,44706,1,3,0)
+100 ;;=3^Primary cough headache
+101 ;;^UTILITY(U,$J,358.3,44706,1,4,0)
+102 ;;=4^G44.83
+103 ;;^UTILITY(U,$J,358.3,44706,2)
+104 ;;=^336562
+105 ;;^UTILITY(U,$J,358.3,44707,0)
+106 ;;=G44.84^^167^2227^26
+107 ;;^UTILITY(U,$J,358.3,44707,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,44707,1,3,0)
+110 ;;=3^Primary exertional headache
+111 ;;^UTILITY(U,$J,358.3,44707,1,4,0)
+112 ;;=4^G44.84
+113 ;;^UTILITY(U,$J,358.3,44707,2)
+114 ;;=^336563
+115 ;;^UTILITY(U,$J,358.3,44708,0)
+116 ;;=G44.85^^167^2227^27
+117 ;;^UTILITY(U,$J,358.3,44708,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,44708,1,3,0)
+120 ;;=3^Primary stabbing headache
+121 ;;^UTILITY(U,$J,358.3,44708,1,4,0)
+122 ;;=4^G44.85