IBDEI1QO ; ; 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,27795,0)
;;=G47.8^^113^1359^28
;;^UTILITY(U,$J,358.3,27795,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27795,1,3,0)
;;=3^Sleep-Wake D/O,Other Specified
;;^UTILITY(U,$J,358.3,27795,1,4,0)
;;=4^G47.8
;;^UTILITY(U,$J,358.3,27795,2)
;;=^5003989
;;^UTILITY(U,$J,358.3,27796,0)
;;=G47.411^^113^1359^17
;;^UTILITY(U,$J,358.3,27796,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27796,1,3,0)
;;=3^Narcolepsy w/ Cataplexy
;;^UTILITY(U,$J,358.3,27796,1,4,0)
;;=4^G47.411
;;^UTILITY(U,$J,358.3,27796,2)
;;=^5003981
;;^UTILITY(U,$J,358.3,27797,0)
;;=G47.37^^113^1359^1
;;^UTILITY(U,$J,358.3,27797,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27797,1,3,0)
;;=3^Central Sleep Apnea,Comorbid w/ Opioid Use
;;^UTILITY(U,$J,358.3,27797,1,4,0)
;;=4^G47.37
;;^UTILITY(U,$J,358.3,27797,2)
;;=^332767
;;^UTILITY(U,$J,358.3,27798,0)
;;=F51.11^^113^1359^10
;;^UTILITY(U,$J,358.3,27798,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27798,1,3,0)
;;=3^Hypersomnolence D/O
;;^UTILITY(U,$J,358.3,27798,1,4,0)
;;=4^F51.11
;;^UTILITY(U,$J,358.3,27798,2)
;;=^5003609
;;^UTILITY(U,$J,358.3,27799,0)
;;=F51.01^^113^1359^13
;;^UTILITY(U,$J,358.3,27799,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27799,1,3,0)
;;=3^Insomnia D/O
;;^UTILITY(U,$J,358.3,27799,1,4,0)
;;=4^F51.01
;;^UTILITY(U,$J,358.3,27799,2)
;;=^5003603
;;^UTILITY(U,$J,358.3,27800,0)
;;=G47.36^^113^1359^25
;;^UTILITY(U,$J,358.3,27800,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27800,1,3,0)
;;=3^Sleep-Related Hypoventilation Cond Class Elsewhere
;;^UTILITY(U,$J,358.3,27800,1,4,0)
;;=4^G47.36
;;^UTILITY(U,$J,358.3,27800,2)
;;=^5003979
;;^UTILITY(U,$J,358.3,27801,0)
;;=G47.35^^113^1359^26
;;^UTILITY(U,$J,358.3,27801,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27801,1,3,0)
;;=3^Sleep-Related Hypoventilation,Congen Central Alveolar
;;^UTILITY(U,$J,358.3,27801,1,4,0)
;;=4^G47.35
;;^UTILITY(U,$J,358.3,27801,2)
;;=^332765
;;^UTILITY(U,$J,358.3,27802,0)
;;=G47.34^^113^1359^27
;;^UTILITY(U,$J,358.3,27802,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27802,1,3,0)
;;=3^Sleep-Related Hypoventilation,Idiopathic
;;^UTILITY(U,$J,358.3,27802,1,4,0)
;;=4^G47.34
;;^UTILITY(U,$J,358.3,27802,2)
;;=^5003978
;;^UTILITY(U,$J,358.3,27803,0)
;;=G47.9^^113^1359^29
;;^UTILITY(U,$J,358.3,27803,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27803,1,3,0)
;;=3^Sleep-Wake D/O,Unspec
;;^UTILITY(U,$J,358.3,27803,1,4,0)
;;=4^G47.9
;;^UTILITY(U,$J,358.3,27803,2)
;;=^5003990
;;^UTILITY(U,$J,358.3,27804,0)
;;=G47.419^^113^1359^18
;;^UTILITY(U,$J,358.3,27804,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27804,1,3,0)
;;=3^Narcolepsy w/o Cataplexy
;;^UTILITY(U,$J,358.3,27804,1,4,0)
;;=4^G47.419
;;^UTILITY(U,$J,358.3,27804,2)
;;=^5003982
;;^UTILITY(U,$J,358.3,27805,0)
;;=R06.3^^113^1359^3
;;^UTILITY(U,$J,358.3,27805,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27805,1,3,0)
;;=3^Cheyne-Stokes Breathing
;;^UTILITY(U,$J,358.3,27805,1,4,0)
;;=4^R06.3
;;^UTILITY(U,$J,358.3,27805,2)
;;=^5019185
;;^UTILITY(U,$J,358.3,27806,0)
;;=G47.429^^113^1359^16
;;^UTILITY(U,$J,358.3,27806,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27806,1,3,0)
;;=3^Narcolepsy Secondary to Another Medical Condition
;;^UTILITY(U,$J,358.3,27806,1,4,0)
;;=4^G47.429
;;^UTILITY(U,$J,358.3,27806,2)
;;=^5003984
;;^UTILITY(U,$J,358.3,27807,0)
;;=F10.10^^113^1360^29
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1QO 3757 printed Dec 13, 2024@02:13:55 Page 2
IBDEI1QO ; ; 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,27795,0)
+2 ;;=G47.8^^113^1359^28
+3 ;;^UTILITY(U,$J,358.3,27795,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,27795,1,3,0)
+6 ;;=3^Sleep-Wake D/O,Other Specified
+7 ;;^UTILITY(U,$J,358.3,27795,1,4,0)
+8 ;;=4^G47.8
+9 ;;^UTILITY(U,$J,358.3,27795,2)
+10 ;;=^5003989
+11 ;;^UTILITY(U,$J,358.3,27796,0)
+12 ;;=G47.411^^113^1359^17
+13 ;;^UTILITY(U,$J,358.3,27796,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,27796,1,3,0)
+16 ;;=3^Narcolepsy w/ Cataplexy
+17 ;;^UTILITY(U,$J,358.3,27796,1,4,0)
+18 ;;=4^G47.411
+19 ;;^UTILITY(U,$J,358.3,27796,2)
+20 ;;=^5003981
+21 ;;^UTILITY(U,$J,358.3,27797,0)
+22 ;;=G47.37^^113^1359^1
+23 ;;^UTILITY(U,$J,358.3,27797,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,27797,1,3,0)
+26 ;;=3^Central Sleep Apnea,Comorbid w/ Opioid Use
+27 ;;^UTILITY(U,$J,358.3,27797,1,4,0)
+28 ;;=4^G47.37
+29 ;;^UTILITY(U,$J,358.3,27797,2)
+30 ;;=^332767
+31 ;;^UTILITY(U,$J,358.3,27798,0)
+32 ;;=F51.11^^113^1359^10
+33 ;;^UTILITY(U,$J,358.3,27798,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,27798,1,3,0)
+36 ;;=3^Hypersomnolence D/O
+37 ;;^UTILITY(U,$J,358.3,27798,1,4,0)
+38 ;;=4^F51.11
+39 ;;^UTILITY(U,$J,358.3,27798,2)
+40 ;;=^5003609
+41 ;;^UTILITY(U,$J,358.3,27799,0)
+42 ;;=F51.01^^113^1359^13
+43 ;;^UTILITY(U,$J,358.3,27799,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,27799,1,3,0)
+46 ;;=3^Insomnia D/O
+47 ;;^UTILITY(U,$J,358.3,27799,1,4,0)
+48 ;;=4^F51.01
+49 ;;^UTILITY(U,$J,358.3,27799,2)
+50 ;;=^5003603
+51 ;;^UTILITY(U,$J,358.3,27800,0)
+52 ;;=G47.36^^113^1359^25
+53 ;;^UTILITY(U,$J,358.3,27800,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,27800,1,3,0)
+56 ;;=3^Sleep-Related Hypoventilation Cond Class Elsewhere
+57 ;;^UTILITY(U,$J,358.3,27800,1,4,0)
+58 ;;=4^G47.36
+59 ;;^UTILITY(U,$J,358.3,27800,2)
+60 ;;=^5003979
+61 ;;^UTILITY(U,$J,358.3,27801,0)
+62 ;;=G47.35^^113^1359^26
+63 ;;^UTILITY(U,$J,358.3,27801,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,27801,1,3,0)
+66 ;;=3^Sleep-Related Hypoventilation,Congen Central Alveolar
+67 ;;^UTILITY(U,$J,358.3,27801,1,4,0)
+68 ;;=4^G47.35
+69 ;;^UTILITY(U,$J,358.3,27801,2)
+70 ;;=^332765
+71 ;;^UTILITY(U,$J,358.3,27802,0)
+72 ;;=G47.34^^113^1359^27
+73 ;;^UTILITY(U,$J,358.3,27802,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,27802,1,3,0)
+76 ;;=3^Sleep-Related Hypoventilation,Idiopathic
+77 ;;^UTILITY(U,$J,358.3,27802,1,4,0)
+78 ;;=4^G47.34
+79 ;;^UTILITY(U,$J,358.3,27802,2)
+80 ;;=^5003978
+81 ;;^UTILITY(U,$J,358.3,27803,0)
+82 ;;=G47.9^^113^1359^29
+83 ;;^UTILITY(U,$J,358.3,27803,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,27803,1,3,0)
+86 ;;=3^Sleep-Wake D/O,Unspec
+87 ;;^UTILITY(U,$J,358.3,27803,1,4,0)
+88 ;;=4^G47.9
+89 ;;^UTILITY(U,$J,358.3,27803,2)
+90 ;;=^5003990
+91 ;;^UTILITY(U,$J,358.3,27804,0)
+92 ;;=G47.419^^113^1359^18
+93 ;;^UTILITY(U,$J,358.3,27804,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,27804,1,3,0)
+96 ;;=3^Narcolepsy w/o Cataplexy
+97 ;;^UTILITY(U,$J,358.3,27804,1,4,0)
+98 ;;=4^G47.419
+99 ;;^UTILITY(U,$J,358.3,27804,2)
+100 ;;=^5003982
+101 ;;^UTILITY(U,$J,358.3,27805,0)
+102 ;;=R06.3^^113^1359^3
+103 ;;^UTILITY(U,$J,358.3,27805,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,27805,1,3,0)
+106 ;;=3^Cheyne-Stokes Breathing
+107 ;;^UTILITY(U,$J,358.3,27805,1,4,0)
+108 ;;=4^R06.3
+109 ;;^UTILITY(U,$J,358.3,27805,2)
+110 ;;=^5019185
+111 ;;^UTILITY(U,$J,358.3,27806,0)
+112 ;;=G47.429^^113^1359^16
+113 ;;^UTILITY(U,$J,358.3,27806,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,27806,1,3,0)
+116 ;;=3^Narcolepsy Secondary to Another Medical Condition
+117 ;;^UTILITY(U,$J,358.3,27806,1,4,0)
+118 ;;=4^G47.429
+119 ;;^UTILITY(U,$J,358.3,27806,2)
+120 ;;=^5003984
+121 ;;^UTILITY(U,$J,358.3,27807,0)
+122 ;;=F10.10^^113^1360^29