IBDEI2EQ ; ; 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,38416,2)
;;=^5003936
;;^UTILITY(U,$J,358.3,38417,0)
;;=Z65.5^^149^1952^1
;;^UTILITY(U,$J,358.3,38417,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38417,1,3,0)
;;=3^Exposure to disaster, war and other hostilities
;;^UTILITY(U,$J,358.3,38417,1,4,0)
;;=4^Z65.5
;;^UTILITY(U,$J,358.3,38417,2)
;;=^5063184
;;^UTILITY(U,$J,358.3,38418,0)
;;=Z87.820^^149^1952^2
;;^UTILITY(U,$J,358.3,38418,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38418,1,3,0)
;;=3^Personal history of traumatic brain injury
;;^UTILITY(U,$J,358.3,38418,1,4,0)
;;=4^Z87.820
;;^UTILITY(U,$J,358.3,38418,2)
;;=^5063514
;;^UTILITY(U,$J,358.3,38419,0)
;;=G89.21^^149^1953^11
;;^UTILITY(U,$J,358.3,38419,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38419,1,3,0)
;;=3^Chronic pain due to trauma
;;^UTILITY(U,$J,358.3,38419,1,4,0)
;;=4^G89.21
;;^UTILITY(U,$J,358.3,38419,2)
;;=^5004155
;;^UTILITY(U,$J,358.3,38420,0)
;;=G89.4^^149^1953^12
;;^UTILITY(U,$J,358.3,38420,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38420,1,3,0)
;;=3^Chronic pain syndrome
;;^UTILITY(U,$J,358.3,38420,1,4,0)
;;=4^G89.4
;;^UTILITY(U,$J,358.3,38420,2)
;;=^334079
;;^UTILITY(U,$J,358.3,38421,0)
;;=H53.9^^149^1953^28
;;^UTILITY(U,$J,358.3,38421,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38421,1,3,0)
;;=3^Visual disturbance,Unspec
;;^UTILITY(U,$J,358.3,38421,1,4,0)
;;=4^H53.9
;;^UTILITY(U,$J,358.3,38421,2)
;;=^124001
;;^UTILITY(U,$J,358.3,38422,0)
;;=M54.5^^149^1953^23
;;^UTILITY(U,$J,358.3,38422,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38422,1,3,0)
;;=3^Low back pain
;;^UTILITY(U,$J,358.3,38422,1,4,0)
;;=4^M54.5
;;^UTILITY(U,$J,358.3,38422,2)
;;=^5012311
;;^UTILITY(U,$J,358.3,38423,0)
;;=R51.^^149^1953^18
;;^UTILITY(U,$J,358.3,38423,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38423,1,3,0)
;;=3^Headache
;;^UTILITY(U,$J,358.3,38423,1,4,0)
;;=4^R51.
;;^UTILITY(U,$J,358.3,38423,2)
;;=^5019513
;;^UTILITY(U,$J,358.3,38424,0)
;;=R40.4^^149^1953^26
;;^UTILITY(U,$J,358.3,38424,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38424,1,3,0)
;;=3^Transient alteration of awareness
;;^UTILITY(U,$J,358.3,38424,1,4,0)
;;=4^R40.4
;;^UTILITY(U,$J,358.3,38424,2)
;;=^5019435
;;^UTILITY(U,$J,358.3,38425,0)
;;=R40.20^^149^1953^13
;;^UTILITY(U,$J,358.3,38425,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38425,1,3,0)
;;=3^Coma,Unspec
;;^UTILITY(U,$J,358.3,38425,1,4,0)
;;=4^R40.20
;;^UTILITY(U,$J,358.3,38425,2)
;;=^5019354
;;^UTILITY(U,$J,358.3,38426,0)
;;=R53.82^^149^1953^10
;;^UTILITY(U,$J,358.3,38426,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38426,1,3,0)
;;=3^Chronic fatigue, unspecified
;;^UTILITY(U,$J,358.3,38426,1,4,0)
;;=4^R53.82
;;^UTILITY(U,$J,358.3,38426,2)
;;=^5019519
;;^UTILITY(U,$J,358.3,38427,0)
;;=R44.0^^149^1953^9
;;^UTILITY(U,$J,358.3,38427,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38427,1,3,0)
;;=3^Auditory hallucinations
;;^UTILITY(U,$J,358.3,38427,1,4,0)
;;=4^R44.0
;;^UTILITY(U,$J,358.3,38427,2)
;;=^5019455
;;^UTILITY(U,$J,358.3,38428,0)
;;=R44.2^^149^1953^17
;;^UTILITY(U,$J,358.3,38428,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38428,1,3,0)
;;=3^Hallucinations NEC
;;^UTILITY(U,$J,358.3,38428,1,4,0)
;;=4^R44.2
;;^UTILITY(U,$J,358.3,38428,2)
;;=^5019457
;;^UTILITY(U,$J,358.3,38429,0)
;;=R25.1^^149^1953^27
;;^UTILITY(U,$J,358.3,38429,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2EQ 3748 printed Nov 22, 2024@17:37:28 Page 2
IBDEI2EQ ; ; 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,38416,2)
+2 ;;=^5003936
+3 ;;^UTILITY(U,$J,358.3,38417,0)
+4 ;;=Z65.5^^149^1952^1
+5 ;;^UTILITY(U,$J,358.3,38417,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,38417,1,3,0)
+8 ;;=3^Exposure to disaster, war and other hostilities
+9 ;;^UTILITY(U,$J,358.3,38417,1,4,0)
+10 ;;=4^Z65.5
+11 ;;^UTILITY(U,$J,358.3,38417,2)
+12 ;;=^5063184
+13 ;;^UTILITY(U,$J,358.3,38418,0)
+14 ;;=Z87.820^^149^1952^2
+15 ;;^UTILITY(U,$J,358.3,38418,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,38418,1,3,0)
+18 ;;=3^Personal history of traumatic brain injury
+19 ;;^UTILITY(U,$J,358.3,38418,1,4,0)
+20 ;;=4^Z87.820
+21 ;;^UTILITY(U,$J,358.3,38418,2)
+22 ;;=^5063514
+23 ;;^UTILITY(U,$J,358.3,38419,0)
+24 ;;=G89.21^^149^1953^11
+25 ;;^UTILITY(U,$J,358.3,38419,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,38419,1,3,0)
+28 ;;=3^Chronic pain due to trauma
+29 ;;^UTILITY(U,$J,358.3,38419,1,4,0)
+30 ;;=4^G89.21
+31 ;;^UTILITY(U,$J,358.3,38419,2)
+32 ;;=^5004155
+33 ;;^UTILITY(U,$J,358.3,38420,0)
+34 ;;=G89.4^^149^1953^12
+35 ;;^UTILITY(U,$J,358.3,38420,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,38420,1,3,0)
+38 ;;=3^Chronic pain syndrome
+39 ;;^UTILITY(U,$J,358.3,38420,1,4,0)
+40 ;;=4^G89.4
+41 ;;^UTILITY(U,$J,358.3,38420,2)
+42 ;;=^334079
+43 ;;^UTILITY(U,$J,358.3,38421,0)
+44 ;;=H53.9^^149^1953^28
+45 ;;^UTILITY(U,$J,358.3,38421,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,38421,1,3,0)
+48 ;;=3^Visual disturbance,Unspec
+49 ;;^UTILITY(U,$J,358.3,38421,1,4,0)
+50 ;;=4^H53.9
+51 ;;^UTILITY(U,$J,358.3,38421,2)
+52 ;;=^124001
+53 ;;^UTILITY(U,$J,358.3,38422,0)
+54 ;;=M54.5^^149^1953^23
+55 ;;^UTILITY(U,$J,358.3,38422,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,38422,1,3,0)
+58 ;;=3^Low back pain
+59 ;;^UTILITY(U,$J,358.3,38422,1,4,0)
+60 ;;=4^M54.5
+61 ;;^UTILITY(U,$J,358.3,38422,2)
+62 ;;=^5012311
+63 ;;^UTILITY(U,$J,358.3,38423,0)
+64 ;;=R51.^^149^1953^18
+65 ;;^UTILITY(U,$J,358.3,38423,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,38423,1,3,0)
+68 ;;=3^Headache
+69 ;;^UTILITY(U,$J,358.3,38423,1,4,0)
+70 ;;=4^R51.
+71 ;;^UTILITY(U,$J,358.3,38423,2)
+72 ;;=^5019513
+73 ;;^UTILITY(U,$J,358.3,38424,0)
+74 ;;=R40.4^^149^1953^26
+75 ;;^UTILITY(U,$J,358.3,38424,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,38424,1,3,0)
+78 ;;=3^Transient alteration of awareness
+79 ;;^UTILITY(U,$J,358.3,38424,1,4,0)
+80 ;;=4^R40.4
+81 ;;^UTILITY(U,$J,358.3,38424,2)
+82 ;;=^5019435
+83 ;;^UTILITY(U,$J,358.3,38425,0)
+84 ;;=R40.20^^149^1953^13
+85 ;;^UTILITY(U,$J,358.3,38425,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,38425,1,3,0)
+88 ;;=3^Coma,Unspec
+89 ;;^UTILITY(U,$J,358.3,38425,1,4,0)
+90 ;;=4^R40.20
+91 ;;^UTILITY(U,$J,358.3,38425,2)
+92 ;;=^5019354
+93 ;;^UTILITY(U,$J,358.3,38426,0)
+94 ;;=R53.82^^149^1953^10
+95 ;;^UTILITY(U,$J,358.3,38426,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,38426,1,3,0)
+98 ;;=3^Chronic fatigue, unspecified
+99 ;;^UTILITY(U,$J,358.3,38426,1,4,0)
+100 ;;=4^R53.82
+101 ;;^UTILITY(U,$J,358.3,38426,2)
+102 ;;=^5019519
+103 ;;^UTILITY(U,$J,358.3,38427,0)
+104 ;;=R44.0^^149^1953^9
+105 ;;^UTILITY(U,$J,358.3,38427,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,38427,1,3,0)
+108 ;;=3^Auditory hallucinations
+109 ;;^UTILITY(U,$J,358.3,38427,1,4,0)
+110 ;;=4^R44.0
+111 ;;^UTILITY(U,$J,358.3,38427,2)
+112 ;;=^5019455
+113 ;;^UTILITY(U,$J,358.3,38428,0)
+114 ;;=R44.2^^149^1953^17
+115 ;;^UTILITY(U,$J,358.3,38428,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,38428,1,3,0)
+118 ;;=3^Hallucinations NEC
+119 ;;^UTILITY(U,$J,358.3,38428,1,4,0)
+120 ;;=4^R44.2
+121 ;;^UTILITY(U,$J,358.3,38428,2)
+122 ;;=^5019457
+123 ;;^UTILITY(U,$J,358.3,38429,0)
+124 ;;=R25.1^^149^1953^27
+125 ;;^UTILITY(U,$J,358.3,38429,1,0)
+126 ;;=^358.31IA^4^2