- IBDEI1U6 ; ; 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,29338,2)
- ;;=^331927
- ;;^UTILITY(U,$J,358.3,29339,0)
- ;;=F52.21^^118^1482^2
- ;;^UTILITY(U,$J,358.3,29339,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29339,1,3,0)
- ;;=3^Erectile D/O
- ;;^UTILITY(U,$J,358.3,29339,1,4,0)
- ;;=4^F52.21
- ;;^UTILITY(U,$J,358.3,29339,2)
- ;;=^5003620
- ;;^UTILITY(U,$J,358.3,29340,0)
- ;;=F52.31^^118^1482^3
- ;;^UTILITY(U,$J,358.3,29340,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29340,1,3,0)
- ;;=3^Female Orgasmic D/O
- ;;^UTILITY(U,$J,358.3,29340,1,4,0)
- ;;=4^F52.31
- ;;^UTILITY(U,$J,358.3,29340,2)
- ;;=^331926
- ;;^UTILITY(U,$J,358.3,29341,0)
- ;;=F52.22^^118^1482^4
- ;;^UTILITY(U,$J,358.3,29341,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29341,1,3,0)
- ;;=3^Female Sexual Interest/Arousal D/O
- ;;^UTILITY(U,$J,358.3,29341,1,4,0)
- ;;=4^F52.22
- ;;^UTILITY(U,$J,358.3,29341,2)
- ;;=^5003621
- ;;^UTILITY(U,$J,358.3,29342,0)
- ;;=F52.6^^118^1482^5
- ;;^UTILITY(U,$J,358.3,29342,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29342,1,3,0)
- ;;=3^Genito-Pelvic Pain/Penetration D/O
- ;;^UTILITY(U,$J,358.3,29342,1,4,0)
- ;;=4^F52.6
- ;;^UTILITY(U,$J,358.3,29342,2)
- ;;=^5003623
- ;;^UTILITY(U,$J,358.3,29343,0)
- ;;=F52.0^^118^1482^6
- ;;^UTILITY(U,$J,358.3,29343,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29343,1,3,0)
- ;;=3^Male Hypoactive Sexual Desire D/O
- ;;^UTILITY(U,$J,358.3,29343,1,4,0)
- ;;=4^F52.0
- ;;^UTILITY(U,$J,358.3,29343,2)
- ;;=^5003618
- ;;^UTILITY(U,$J,358.3,29344,0)
- ;;=F52.4^^118^1482^7
- ;;^UTILITY(U,$J,358.3,29344,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29344,1,3,0)
- ;;=3^Premature (Early) Ejaculation
- ;;^UTILITY(U,$J,358.3,29344,1,4,0)
- ;;=4^F52.4
- ;;^UTILITY(U,$J,358.3,29344,2)
- ;;=^331928
- ;;^UTILITY(U,$J,358.3,29345,0)
- ;;=F52.8^^118^1482^8
- ;;^UTILITY(U,$J,358.3,29345,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29345,1,3,0)
- ;;=3^Sexual Dysfunction,Oth Spec
- ;;^UTILITY(U,$J,358.3,29345,1,4,0)
- ;;=4^F52.8
- ;;^UTILITY(U,$J,358.3,29345,2)
- ;;=^5003624
- ;;^UTILITY(U,$J,358.3,29346,0)
- ;;=F52.9^^118^1482^9
- ;;^UTILITY(U,$J,358.3,29346,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29346,1,3,0)
- ;;=3^Sexual Dysfunction,Unspec
- ;;^UTILITY(U,$J,358.3,29346,1,4,0)
- ;;=4^F52.9
- ;;^UTILITY(U,$J,358.3,29346,2)
- ;;=^5003625
- ;;^UTILITY(U,$J,358.3,29347,0)
- ;;=G47.09^^118^1483^14
- ;;^UTILITY(U,$J,358.3,29347,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29347,1,3,0)
- ;;=3^Insomnia D/O,Oth Spec
- ;;^UTILITY(U,$J,358.3,29347,1,4,0)
- ;;=4^G47.09
- ;;^UTILITY(U,$J,358.3,29347,2)
- ;;=^5003970
- ;;^UTILITY(U,$J,358.3,29348,0)
- ;;=G47.00^^118^1483^15
- ;;^UTILITY(U,$J,358.3,29348,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29348,1,3,0)
- ;;=3^Insomnia D/O,Unspec
- ;;^UTILITY(U,$J,358.3,29348,1,4,0)
- ;;=4^G47.00
- ;;^UTILITY(U,$J,358.3,29348,2)
- ;;=^332924
- ;;^UTILITY(U,$J,358.3,29349,0)
- ;;=G47.10^^118^1483^12
- ;;^UTILITY(U,$J,358.3,29349,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29349,1,3,0)
- ;;=3^Hypersomnolence D/O,Unspec
- ;;^UTILITY(U,$J,358.3,29349,1,4,0)
- ;;=4^G47.10
- ;;^UTILITY(U,$J,358.3,29349,2)
- ;;=^332926
- ;;^UTILITY(U,$J,358.3,29350,0)
- ;;=G47.33^^118^1483^22
- ;;^UTILITY(U,$J,358.3,29350,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29350,1,3,0)
- ;;=3^Obstructive Sleep Apnea Hypopnea
- ;;^UTILITY(U,$J,358.3,29350,1,4,0)
- ;;=4^G47.33
- ;;^UTILITY(U,$J,358.3,29350,2)
- ;;=^332763
- ;;^UTILITY(U,$J,358.3,29351,0)
- ;;=G47.31^^118^1483^2
- ;;^UTILITY(U,$J,358.3,29351,1,0)
- ;;=^358.31IA^4^2
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1U6 3761 printed Dec 13, 2024@02:15:52 Page 2
- IBDEI1U6 ; ; 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,29338,2)
- +2 ;;=^331927
- +3 ;;^UTILITY(U,$J,358.3,29339,0)
- +4 ;;=F52.21^^118^1482^2
- +5 ;;^UTILITY(U,$J,358.3,29339,1,0)
- +6 ;;=^358.31IA^4^2
- +7 ;;^UTILITY(U,$J,358.3,29339,1,3,0)
- +8 ;;=3^Erectile D/O
- +9 ;;^UTILITY(U,$J,358.3,29339,1,4,0)
- +10 ;;=4^F52.21
- +11 ;;^UTILITY(U,$J,358.3,29339,2)
- +12 ;;=^5003620
- +13 ;;^UTILITY(U,$J,358.3,29340,0)
- +14 ;;=F52.31^^118^1482^3
- +15 ;;^UTILITY(U,$J,358.3,29340,1,0)
- +16 ;;=^358.31IA^4^2
- +17 ;;^UTILITY(U,$J,358.3,29340,1,3,0)
- +18 ;;=3^Female Orgasmic D/O
- +19 ;;^UTILITY(U,$J,358.3,29340,1,4,0)
- +20 ;;=4^F52.31
- +21 ;;^UTILITY(U,$J,358.3,29340,2)
- +22 ;;=^331926
- +23 ;;^UTILITY(U,$J,358.3,29341,0)
- +24 ;;=F52.22^^118^1482^4
- +25 ;;^UTILITY(U,$J,358.3,29341,1,0)
- +26 ;;=^358.31IA^4^2
- +27 ;;^UTILITY(U,$J,358.3,29341,1,3,0)
- +28 ;;=3^Female Sexual Interest/Arousal D/O
- +29 ;;^UTILITY(U,$J,358.3,29341,1,4,0)
- +30 ;;=4^F52.22
- +31 ;;^UTILITY(U,$J,358.3,29341,2)
- +32 ;;=^5003621
- +33 ;;^UTILITY(U,$J,358.3,29342,0)
- +34 ;;=F52.6^^118^1482^5
- +35 ;;^UTILITY(U,$J,358.3,29342,1,0)
- +36 ;;=^358.31IA^4^2
- +37 ;;^UTILITY(U,$J,358.3,29342,1,3,0)
- +38 ;;=3^Genito-Pelvic Pain/Penetration D/O
- +39 ;;^UTILITY(U,$J,358.3,29342,1,4,0)
- +40 ;;=4^F52.6
- +41 ;;^UTILITY(U,$J,358.3,29342,2)
- +42 ;;=^5003623
- +43 ;;^UTILITY(U,$J,358.3,29343,0)
- +44 ;;=F52.0^^118^1482^6
- +45 ;;^UTILITY(U,$J,358.3,29343,1,0)
- +46 ;;=^358.31IA^4^2
- +47 ;;^UTILITY(U,$J,358.3,29343,1,3,0)
- +48 ;;=3^Male Hypoactive Sexual Desire D/O
- +49 ;;^UTILITY(U,$J,358.3,29343,1,4,0)
- +50 ;;=4^F52.0
- +51 ;;^UTILITY(U,$J,358.3,29343,2)
- +52 ;;=^5003618
- +53 ;;^UTILITY(U,$J,358.3,29344,0)
- +54 ;;=F52.4^^118^1482^7
- +55 ;;^UTILITY(U,$J,358.3,29344,1,0)
- +56 ;;=^358.31IA^4^2
- +57 ;;^UTILITY(U,$J,358.3,29344,1,3,0)
- +58 ;;=3^Premature (Early) Ejaculation
- +59 ;;^UTILITY(U,$J,358.3,29344,1,4,0)
- +60 ;;=4^F52.4
- +61 ;;^UTILITY(U,$J,358.3,29344,2)
- +62 ;;=^331928
- +63 ;;^UTILITY(U,$J,358.3,29345,0)
- +64 ;;=F52.8^^118^1482^8
- +65 ;;^UTILITY(U,$J,358.3,29345,1,0)
- +66 ;;=^358.31IA^4^2
- +67 ;;^UTILITY(U,$J,358.3,29345,1,3,0)
- +68 ;;=3^Sexual Dysfunction,Oth Spec
- +69 ;;^UTILITY(U,$J,358.3,29345,1,4,0)
- +70 ;;=4^F52.8
- +71 ;;^UTILITY(U,$J,358.3,29345,2)
- +72 ;;=^5003624
- +73 ;;^UTILITY(U,$J,358.3,29346,0)
- +74 ;;=F52.9^^118^1482^9
- +75 ;;^UTILITY(U,$J,358.3,29346,1,0)
- +76 ;;=^358.31IA^4^2
- +77 ;;^UTILITY(U,$J,358.3,29346,1,3,0)
- +78 ;;=3^Sexual Dysfunction,Unspec
- +79 ;;^UTILITY(U,$J,358.3,29346,1,4,0)
- +80 ;;=4^F52.9
- +81 ;;^UTILITY(U,$J,358.3,29346,2)
- +82 ;;=^5003625
- +83 ;;^UTILITY(U,$J,358.3,29347,0)
- +84 ;;=G47.09^^118^1483^14
- +85 ;;^UTILITY(U,$J,358.3,29347,1,0)
- +86 ;;=^358.31IA^4^2
- +87 ;;^UTILITY(U,$J,358.3,29347,1,3,0)
- +88 ;;=3^Insomnia D/O,Oth Spec
- +89 ;;^UTILITY(U,$J,358.3,29347,1,4,0)
- +90 ;;=4^G47.09
- +91 ;;^UTILITY(U,$J,358.3,29347,2)
- +92 ;;=^5003970
- +93 ;;^UTILITY(U,$J,358.3,29348,0)
- +94 ;;=G47.00^^118^1483^15
- +95 ;;^UTILITY(U,$J,358.3,29348,1,0)
- +96 ;;=^358.31IA^4^2
- +97 ;;^UTILITY(U,$J,358.3,29348,1,3,0)
- +98 ;;=3^Insomnia D/O,Unspec
- +99 ;;^UTILITY(U,$J,358.3,29348,1,4,0)
- +100 ;;=4^G47.00
- +101 ;;^UTILITY(U,$J,358.3,29348,2)
- +102 ;;=^332924
- +103 ;;^UTILITY(U,$J,358.3,29349,0)
- +104 ;;=G47.10^^118^1483^12
- +105 ;;^UTILITY(U,$J,358.3,29349,1,0)
- +106 ;;=^358.31IA^4^2
- +107 ;;^UTILITY(U,$J,358.3,29349,1,3,0)
- +108 ;;=3^Hypersomnolence D/O,Unspec
- +109 ;;^UTILITY(U,$J,358.3,29349,1,4,0)
- +110 ;;=4^G47.10
- +111 ;;^UTILITY(U,$J,358.3,29349,2)
- +112 ;;=^332926
- +113 ;;^UTILITY(U,$J,358.3,29350,0)
- +114 ;;=G47.33^^118^1483^22
- +115 ;;^UTILITY(U,$J,358.3,29350,1,0)
- +116 ;;=^358.31IA^4^2
- +117 ;;^UTILITY(U,$J,358.3,29350,1,3,0)
- +118 ;;=3^Obstructive Sleep Apnea Hypopnea
- +119 ;;^UTILITY(U,$J,358.3,29350,1,4,0)
- +120 ;;=4^G47.33
- +121 ;;^UTILITY(U,$J,358.3,29350,2)
- +122 ;;=^332763
- +123 ;;^UTILITY(U,$J,358.3,29351,0)
- +124 ;;=G47.31^^118^1483^2
- +125 ;;^UTILITY(U,$J,358.3,29351,1,0)
- +126 ;;=^358.31IA^4^2