IBDEI1S9 ; ; 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,28481,1,4,0)
;;=4^F52.6
;;^UTILITY(U,$J,358.3,28481,2)
;;=^5003623
;;^UTILITY(U,$J,358.3,28482,0)
;;=F52.0^^115^1404^6
;;^UTILITY(U,$J,358.3,28482,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28482,1,3,0)
;;=3^Male Hypoactive Sexual Desire D/O
;;^UTILITY(U,$J,358.3,28482,1,4,0)
;;=4^F52.0
;;^UTILITY(U,$J,358.3,28482,2)
;;=^5003618
;;^UTILITY(U,$J,358.3,28483,0)
;;=F52.4^^115^1404^7
;;^UTILITY(U,$J,358.3,28483,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28483,1,3,0)
;;=3^Premature (Early) Ejaculation
;;^UTILITY(U,$J,358.3,28483,1,4,0)
;;=4^F52.4
;;^UTILITY(U,$J,358.3,28483,2)
;;=^331928
;;^UTILITY(U,$J,358.3,28484,0)
;;=F52.8^^115^1404^8
;;^UTILITY(U,$J,358.3,28484,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28484,1,3,0)
;;=3^Sexual Dysfunction,Oth Spec
;;^UTILITY(U,$J,358.3,28484,1,4,0)
;;=4^F52.8
;;^UTILITY(U,$J,358.3,28484,2)
;;=^5003624
;;^UTILITY(U,$J,358.3,28485,0)
;;=F52.9^^115^1404^9
;;^UTILITY(U,$J,358.3,28485,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28485,1,3,0)
;;=3^Sexual Dysfunction,Unspec
;;^UTILITY(U,$J,358.3,28485,1,4,0)
;;=4^F52.9
;;^UTILITY(U,$J,358.3,28485,2)
;;=^5003625
;;^UTILITY(U,$J,358.3,28486,0)
;;=G47.09^^115^1405^14
;;^UTILITY(U,$J,358.3,28486,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28486,1,3,0)
;;=3^Insomnia D/O,Oth Spec
;;^UTILITY(U,$J,358.3,28486,1,4,0)
;;=4^G47.09
;;^UTILITY(U,$J,358.3,28486,2)
;;=^5003970
;;^UTILITY(U,$J,358.3,28487,0)
;;=G47.00^^115^1405^15
;;^UTILITY(U,$J,358.3,28487,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28487,1,3,0)
;;=3^Insomnia D/O,Unspec
;;^UTILITY(U,$J,358.3,28487,1,4,0)
;;=4^G47.00
;;^UTILITY(U,$J,358.3,28487,2)
;;=^332924
;;^UTILITY(U,$J,358.3,28488,0)
;;=G47.10^^115^1405^12
;;^UTILITY(U,$J,358.3,28488,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28488,1,3,0)
;;=3^Hypersomnolence D/O,Unspec
;;^UTILITY(U,$J,358.3,28488,1,4,0)
;;=4^G47.10
;;^UTILITY(U,$J,358.3,28488,2)
;;=^332926
;;^UTILITY(U,$J,358.3,28489,0)
;;=G47.33^^115^1405^22
;;^UTILITY(U,$J,358.3,28489,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28489,1,3,0)
;;=3^Obstructive Sleep Apnea Hypopnea
;;^UTILITY(U,$J,358.3,28489,1,4,0)
;;=4^G47.33
;;^UTILITY(U,$J,358.3,28489,2)
;;=^332763
;;^UTILITY(U,$J,358.3,28490,0)
;;=G47.31^^115^1405^2
;;^UTILITY(U,$J,358.3,28490,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28490,1,3,0)
;;=3^Central Sleep Apnea,Idiopathic
;;^UTILITY(U,$J,358.3,28490,1,4,0)
;;=4^G47.31
;;^UTILITY(U,$J,358.3,28490,2)
;;=^332761
;;^UTILITY(U,$J,358.3,28491,0)
;;=G47.21^^115^1405^5
;;^UTILITY(U,$J,358.3,28491,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28491,1,3,0)
;;=3^Circadian Rhythm Sleep-Wake D/O;Delayed Sleep Phase Type
;;^UTILITY(U,$J,358.3,28491,1,4,0)
;;=4^G47.21
;;^UTILITY(U,$J,358.3,28491,2)
;;=^332769
;;^UTILITY(U,$J,358.3,28492,0)
;;=G47.22^^115^1405^4
;;^UTILITY(U,$J,358.3,28492,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28492,1,3,0)
;;=3^Circadian Rhythm Sleep-Wake D/O;Advanced Sleep Phase Type
;;^UTILITY(U,$J,358.3,28492,1,4,0)
;;=4^G47.22
;;^UTILITY(U,$J,358.3,28492,2)
;;=^332770
;;^UTILITY(U,$J,358.3,28493,0)
;;=G47.23^^115^1405^6
;;^UTILITY(U,$J,358.3,28493,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28493,1,3,0)
;;=3^Circadian Rhythm Sleep-Wake D/O;Irregular Sleep Wake Type
;;^UTILITY(U,$J,358.3,28493,1,4,0)
;;=4^G47.23
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1S9 3755 printed Dec 13, 2024@02:14:48 Page 2
IBDEI1S9 ; ; 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,28481,1,4,0)
+2 ;;=4^F52.6
+3 ;;^UTILITY(U,$J,358.3,28481,2)
+4 ;;=^5003623
+5 ;;^UTILITY(U,$J,358.3,28482,0)
+6 ;;=F52.0^^115^1404^6
+7 ;;^UTILITY(U,$J,358.3,28482,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,28482,1,3,0)
+10 ;;=3^Male Hypoactive Sexual Desire D/O
+11 ;;^UTILITY(U,$J,358.3,28482,1,4,0)
+12 ;;=4^F52.0
+13 ;;^UTILITY(U,$J,358.3,28482,2)
+14 ;;=^5003618
+15 ;;^UTILITY(U,$J,358.3,28483,0)
+16 ;;=F52.4^^115^1404^7
+17 ;;^UTILITY(U,$J,358.3,28483,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,28483,1,3,0)
+20 ;;=3^Premature (Early) Ejaculation
+21 ;;^UTILITY(U,$J,358.3,28483,1,4,0)
+22 ;;=4^F52.4
+23 ;;^UTILITY(U,$J,358.3,28483,2)
+24 ;;=^331928
+25 ;;^UTILITY(U,$J,358.3,28484,0)
+26 ;;=F52.8^^115^1404^8
+27 ;;^UTILITY(U,$J,358.3,28484,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,28484,1,3,0)
+30 ;;=3^Sexual Dysfunction,Oth Spec
+31 ;;^UTILITY(U,$J,358.3,28484,1,4,0)
+32 ;;=4^F52.8
+33 ;;^UTILITY(U,$J,358.3,28484,2)
+34 ;;=^5003624
+35 ;;^UTILITY(U,$J,358.3,28485,0)
+36 ;;=F52.9^^115^1404^9
+37 ;;^UTILITY(U,$J,358.3,28485,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,28485,1,3,0)
+40 ;;=3^Sexual Dysfunction,Unspec
+41 ;;^UTILITY(U,$J,358.3,28485,1,4,0)
+42 ;;=4^F52.9
+43 ;;^UTILITY(U,$J,358.3,28485,2)
+44 ;;=^5003625
+45 ;;^UTILITY(U,$J,358.3,28486,0)
+46 ;;=G47.09^^115^1405^14
+47 ;;^UTILITY(U,$J,358.3,28486,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,28486,1,3,0)
+50 ;;=3^Insomnia D/O,Oth Spec
+51 ;;^UTILITY(U,$J,358.3,28486,1,4,0)
+52 ;;=4^G47.09
+53 ;;^UTILITY(U,$J,358.3,28486,2)
+54 ;;=^5003970
+55 ;;^UTILITY(U,$J,358.3,28487,0)
+56 ;;=G47.00^^115^1405^15
+57 ;;^UTILITY(U,$J,358.3,28487,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,28487,1,3,0)
+60 ;;=3^Insomnia D/O,Unspec
+61 ;;^UTILITY(U,$J,358.3,28487,1,4,0)
+62 ;;=4^G47.00
+63 ;;^UTILITY(U,$J,358.3,28487,2)
+64 ;;=^332924
+65 ;;^UTILITY(U,$J,358.3,28488,0)
+66 ;;=G47.10^^115^1405^12
+67 ;;^UTILITY(U,$J,358.3,28488,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,28488,1,3,0)
+70 ;;=3^Hypersomnolence D/O,Unspec
+71 ;;^UTILITY(U,$J,358.3,28488,1,4,0)
+72 ;;=4^G47.10
+73 ;;^UTILITY(U,$J,358.3,28488,2)
+74 ;;=^332926
+75 ;;^UTILITY(U,$J,358.3,28489,0)
+76 ;;=G47.33^^115^1405^22
+77 ;;^UTILITY(U,$J,358.3,28489,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,28489,1,3,0)
+80 ;;=3^Obstructive Sleep Apnea Hypopnea
+81 ;;^UTILITY(U,$J,358.3,28489,1,4,0)
+82 ;;=4^G47.33
+83 ;;^UTILITY(U,$J,358.3,28489,2)
+84 ;;=^332763
+85 ;;^UTILITY(U,$J,358.3,28490,0)
+86 ;;=G47.31^^115^1405^2
+87 ;;^UTILITY(U,$J,358.3,28490,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,28490,1,3,0)
+90 ;;=3^Central Sleep Apnea,Idiopathic
+91 ;;^UTILITY(U,$J,358.3,28490,1,4,0)
+92 ;;=4^G47.31
+93 ;;^UTILITY(U,$J,358.3,28490,2)
+94 ;;=^332761
+95 ;;^UTILITY(U,$J,358.3,28491,0)
+96 ;;=G47.21^^115^1405^5
+97 ;;^UTILITY(U,$J,358.3,28491,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,28491,1,3,0)
+100 ;;=3^Circadian Rhythm Sleep-Wake D/O;Delayed Sleep Phase Type
+101 ;;^UTILITY(U,$J,358.3,28491,1,4,0)
+102 ;;=4^G47.21
+103 ;;^UTILITY(U,$J,358.3,28491,2)
+104 ;;=^332769
+105 ;;^UTILITY(U,$J,358.3,28492,0)
+106 ;;=G47.22^^115^1405^4
+107 ;;^UTILITY(U,$J,358.3,28492,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,28492,1,3,0)
+110 ;;=3^Circadian Rhythm Sleep-Wake D/O;Advanced Sleep Phase Type
+111 ;;^UTILITY(U,$J,358.3,28492,1,4,0)
+112 ;;=4^G47.22
+113 ;;^UTILITY(U,$J,358.3,28492,2)
+114 ;;=^332770
+115 ;;^UTILITY(U,$J,358.3,28493,0)
+116 ;;=G47.23^^115^1405^6
+117 ;;^UTILITY(U,$J,358.3,28493,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,28493,1,3,0)
+120 ;;=3^Circadian Rhythm Sleep-Wake D/O;Irregular Sleep Wake Type
+121 ;;^UTILITY(U,$J,358.3,28493,1,4,0)
+122 ;;=4^G47.23