IBDEI1BA ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,21205,1,4,0)
;;=4^E66.01
;;^UTILITY(U,$J,358.3,21205,2)
;;=^5002826
;;^UTILITY(U,$J,358.3,21206,0)
;;=G25.9^^70^909^1
;;^UTILITY(U,$J,358.3,21206,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21206,1,3,0)
;;=3^Extrapyramidal & Movement Disorder,Unspec
;;^UTILITY(U,$J,358.3,21206,1,4,0)
;;=4^G25.9
;;^UTILITY(U,$J,358.3,21206,2)
;;=^5003803
;;^UTILITY(U,$J,358.3,21207,0)
;;=G25.81^^70^909^9
;;^UTILITY(U,$J,358.3,21207,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21207,1,3,0)
;;=3^Restless Legs Syndrome
;;^UTILITY(U,$J,358.3,21207,1,4,0)
;;=4^G25.81
;;^UTILITY(U,$J,358.3,21207,2)
;;=^5003801
;;^UTILITY(U,$J,358.3,21208,0)
;;=G47.00^^70^909^4
;;^UTILITY(U,$J,358.3,21208,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21208,1,3,0)
;;=3^Insomnia,Unspec
;;^UTILITY(U,$J,358.3,21208,1,4,0)
;;=4^G47.00
;;^UTILITY(U,$J,358.3,21208,2)
;;=^332924
;;^UTILITY(U,$J,358.3,21209,0)
;;=G47.10^^70^909^2
;;^UTILITY(U,$J,358.3,21209,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21209,1,3,0)
;;=3^Hypersomnia,Unspec
;;^UTILITY(U,$J,358.3,21209,1,4,0)
;;=4^G47.10
;;^UTILITY(U,$J,358.3,21209,2)
;;=^332926
;;^UTILITY(U,$J,358.3,21210,0)
;;=G47.52^^70^909^8
;;^UTILITY(U,$J,358.3,21210,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21210,1,3,0)
;;=3^REM Sleep Behavior Disorder
;;^UTILITY(U,$J,358.3,21210,1,4,0)
;;=4^G47.52
;;^UTILITY(U,$J,358.3,21210,2)
;;=^332778
;;^UTILITY(U,$J,358.3,21211,0)
;;=R06.83^^70^909^13
;;^UTILITY(U,$J,358.3,21211,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21211,1,3,0)
;;=3^Snoring
;;^UTILITY(U,$J,358.3,21211,1,4,0)
;;=4^R06.83
;;^UTILITY(U,$J,358.3,21211,2)
;;=^5019192
;;^UTILITY(U,$J,358.3,21212,0)
;;=E66.2^^70^909^6
;;^UTILITY(U,$J,358.3,21212,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21212,1,3,0)
;;=3^Morbid Obesity w/ Alveolar Hypoventilation
;;^UTILITY(U,$J,358.3,21212,1,4,0)
;;=4^E66.2
;;^UTILITY(U,$J,358.3,21212,2)
;;=^5002829
;;^UTILITY(U,$J,358.3,21213,0)
;;=G47.36^^70^909^3
;;^UTILITY(U,$J,358.3,21213,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21213,1,3,0)
;;=3^Hypoventilation,Sleep Related (1st code underlying condition)
;;^UTILITY(U,$J,358.3,21213,1,4,0)
;;=4^G47.36
;;^UTILITY(U,$J,358.3,21213,2)
;;=^5003979
;;^UTILITY(U,$J,358.3,21214,0)
;;=G47.30^^70^909^12
;;^UTILITY(U,$J,358.3,21214,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21214,1,3,0)
;;=3^Sleep Apnea,Unspec
;;^UTILITY(U,$J,358.3,21214,1,4,0)
;;=4^G47.30
;;^UTILITY(U,$J,358.3,21214,2)
;;=^5003977
;;^UTILITY(U,$J,358.3,21215,0)
;;=G47.31^^70^909^10
;;^UTILITY(U,$J,358.3,21215,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21215,1,3,0)
;;=3^Sleep Apnea,Central Primary Idiopathic
;;^UTILITY(U,$J,358.3,21215,1,4,0)
;;=4^G47.31
;;^UTILITY(U,$J,358.3,21215,2)
;;=^332761
;;^UTILITY(U,$J,358.3,21216,0)
;;=G47.33^^70^909^11
;;^UTILITY(U,$J,358.3,21216,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21216,1,3,0)
;;=3^Sleep Apnea,Obstructive
;;^UTILITY(U,$J,358.3,21216,1,4,0)
;;=4^G47.33
;;^UTILITY(U,$J,358.3,21216,2)
;;=^332763
;;^UTILITY(U,$J,358.3,21217,0)
;;=G47.31^^70^910^1
;;^UTILITY(U,$J,358.3,21217,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21217,1,3,0)
;;=3^Central Sleep Apnea,Primary
;;^UTILITY(U,$J,358.3,21217,1,4,0)
;;=4^G47.31
;;^UTILITY(U,$J,358.3,21217,2)
;;=^332761
;;^UTILITY(U,$J,358.3,21218,0)
;;=G47.36^^70^910^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1BA 3766 printed Dec 13, 2024@02:05:21 Page 2
IBDEI1BA ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,21205,1,4,0)
+2 ;;=4^E66.01
+3 ;;^UTILITY(U,$J,358.3,21205,2)
+4 ;;=^5002826
+5 ;;^UTILITY(U,$J,358.3,21206,0)
+6 ;;=G25.9^^70^909^1
+7 ;;^UTILITY(U,$J,358.3,21206,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,21206,1,3,0)
+10 ;;=3^Extrapyramidal & Movement Disorder,Unspec
+11 ;;^UTILITY(U,$J,358.3,21206,1,4,0)
+12 ;;=4^G25.9
+13 ;;^UTILITY(U,$J,358.3,21206,2)
+14 ;;=^5003803
+15 ;;^UTILITY(U,$J,358.3,21207,0)
+16 ;;=G25.81^^70^909^9
+17 ;;^UTILITY(U,$J,358.3,21207,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,21207,1,3,0)
+20 ;;=3^Restless Legs Syndrome
+21 ;;^UTILITY(U,$J,358.3,21207,1,4,0)
+22 ;;=4^G25.81
+23 ;;^UTILITY(U,$J,358.3,21207,2)
+24 ;;=^5003801
+25 ;;^UTILITY(U,$J,358.3,21208,0)
+26 ;;=G47.00^^70^909^4
+27 ;;^UTILITY(U,$J,358.3,21208,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,21208,1,3,0)
+30 ;;=3^Insomnia,Unspec
+31 ;;^UTILITY(U,$J,358.3,21208,1,4,0)
+32 ;;=4^G47.00
+33 ;;^UTILITY(U,$J,358.3,21208,2)
+34 ;;=^332924
+35 ;;^UTILITY(U,$J,358.3,21209,0)
+36 ;;=G47.10^^70^909^2
+37 ;;^UTILITY(U,$J,358.3,21209,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,21209,1,3,0)
+40 ;;=3^Hypersomnia,Unspec
+41 ;;^UTILITY(U,$J,358.3,21209,1,4,0)
+42 ;;=4^G47.10
+43 ;;^UTILITY(U,$J,358.3,21209,2)
+44 ;;=^332926
+45 ;;^UTILITY(U,$J,358.3,21210,0)
+46 ;;=G47.52^^70^909^8
+47 ;;^UTILITY(U,$J,358.3,21210,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,21210,1,3,0)
+50 ;;=3^REM Sleep Behavior Disorder
+51 ;;^UTILITY(U,$J,358.3,21210,1,4,0)
+52 ;;=4^G47.52
+53 ;;^UTILITY(U,$J,358.3,21210,2)
+54 ;;=^332778
+55 ;;^UTILITY(U,$J,358.3,21211,0)
+56 ;;=R06.83^^70^909^13
+57 ;;^UTILITY(U,$J,358.3,21211,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,21211,1,3,0)
+60 ;;=3^Snoring
+61 ;;^UTILITY(U,$J,358.3,21211,1,4,0)
+62 ;;=4^R06.83
+63 ;;^UTILITY(U,$J,358.3,21211,2)
+64 ;;=^5019192
+65 ;;^UTILITY(U,$J,358.3,21212,0)
+66 ;;=E66.2^^70^909^6
+67 ;;^UTILITY(U,$J,358.3,21212,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,21212,1,3,0)
+70 ;;=3^Morbid Obesity w/ Alveolar Hypoventilation
+71 ;;^UTILITY(U,$J,358.3,21212,1,4,0)
+72 ;;=4^E66.2
+73 ;;^UTILITY(U,$J,358.3,21212,2)
+74 ;;=^5002829
+75 ;;^UTILITY(U,$J,358.3,21213,0)
+76 ;;=G47.36^^70^909^3
+77 ;;^UTILITY(U,$J,358.3,21213,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,21213,1,3,0)
+80 ;;=3^Hypoventilation,Sleep Related (1st code underlying condition)
+81 ;;^UTILITY(U,$J,358.3,21213,1,4,0)
+82 ;;=4^G47.36
+83 ;;^UTILITY(U,$J,358.3,21213,2)
+84 ;;=^5003979
+85 ;;^UTILITY(U,$J,358.3,21214,0)
+86 ;;=G47.30^^70^909^12
+87 ;;^UTILITY(U,$J,358.3,21214,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,21214,1,3,0)
+90 ;;=3^Sleep Apnea,Unspec
+91 ;;^UTILITY(U,$J,358.3,21214,1,4,0)
+92 ;;=4^G47.30
+93 ;;^UTILITY(U,$J,358.3,21214,2)
+94 ;;=^5003977
+95 ;;^UTILITY(U,$J,358.3,21215,0)
+96 ;;=G47.31^^70^909^10
+97 ;;^UTILITY(U,$J,358.3,21215,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,21215,1,3,0)
+100 ;;=3^Sleep Apnea,Central Primary Idiopathic
+101 ;;^UTILITY(U,$J,358.3,21215,1,4,0)
+102 ;;=4^G47.31
+103 ;;^UTILITY(U,$J,358.3,21215,2)
+104 ;;=^332761
+105 ;;^UTILITY(U,$J,358.3,21216,0)
+106 ;;=G47.33^^70^909^11
+107 ;;^UTILITY(U,$J,358.3,21216,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,21216,1,3,0)
+110 ;;=3^Sleep Apnea,Obstructive
+111 ;;^UTILITY(U,$J,358.3,21216,1,4,0)
+112 ;;=4^G47.33
+113 ;;^UTILITY(U,$J,358.3,21216,2)
+114 ;;=^332763
+115 ;;^UTILITY(U,$J,358.3,21217,0)
+116 ;;=G47.31^^70^910^1
+117 ;;^UTILITY(U,$J,358.3,21217,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,21217,1,3,0)
+120 ;;=3^Central Sleep Apnea,Primary
+121 ;;^UTILITY(U,$J,358.3,21217,1,4,0)
+122 ;;=4^G47.31
+123 ;;^UTILITY(U,$J,358.3,21217,2)
+124 ;;=^332761
+125 ;;^UTILITY(U,$J,358.3,21218,0)
+126 ;;=G47.36^^70^910^2