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