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