- IBDEI2Y4 ; ; 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,47012,2)
- ;;=^5007079
- ;;^UTILITY(U,$J,358.3,47013,0)
- ;;=I25.10^^181^2348^19
- ;;^UTILITY(U,$J,358.3,47013,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47013,1,3,0)
- ;;=3^Athscl Hrt Disease w/o Ang Pctrs
- ;;^UTILITY(U,$J,358.3,47013,1,4,0)
- ;;=4^I25.10
- ;;^UTILITY(U,$J,358.3,47013,2)
- ;;=^5007107
- ;;^UTILITY(U,$J,358.3,47014,0)
- ;;=K46.9^^181^2348^2
- ;;^UTILITY(U,$J,358.3,47014,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47014,1,3,0)
- ;;=3^Abdominal Hernia w/o Obst/Gangr
- ;;^UTILITY(U,$J,358.3,47014,1,4,0)
- ;;=4^K46.9
- ;;^UTILITY(U,$J,358.3,47014,2)
- ;;=^5008623
- ;;^UTILITY(U,$J,358.3,47015,0)
- ;;=I48.91^^181^2348^20
- ;;^UTILITY(U,$J,358.3,47015,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47015,1,3,0)
- ;;=3^Atrial Fibrillation,Unspec
- ;;^UTILITY(U,$J,358.3,47015,1,4,0)
- ;;=4^I48.91
- ;;^UTILITY(U,$J,358.3,47015,2)
- ;;=^5007229
- ;;^UTILITY(U,$J,358.3,47016,0)
- ;;=I48.92^^181^2348^21
- ;;^UTILITY(U,$J,358.3,47016,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47016,1,3,0)
- ;;=3^Atrial Flutter,Unspec
- ;;^UTILITY(U,$J,358.3,47016,1,4,0)
- ;;=4^I48.92
- ;;^UTILITY(U,$J,358.3,47016,2)
- ;;=^5007230
- ;;^UTILITY(U,$J,358.3,47017,0)
- ;;=I71.4^^181^2348^1
- ;;^UTILITY(U,$J,358.3,47017,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47017,1,3,0)
- ;;=3^AAA w/o Rupture
- ;;^UTILITY(U,$J,358.3,47017,1,4,0)
- ;;=4^I71.4
- ;;^UTILITY(U,$J,358.3,47017,2)
- ;;=^5007789
- ;;^UTILITY(U,$J,358.3,47018,0)
- ;;=J30.9^^181^2348^9
- ;;^UTILITY(U,$J,358.3,47018,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47018,1,3,0)
- ;;=3^Allergic Rhinitis,Unspec
- ;;^UTILITY(U,$J,358.3,47018,1,4,0)
- ;;=4^J30.9
- ;;^UTILITY(U,$J,358.3,47018,2)
- ;;=^5008205
- ;;^UTILITY(U,$J,358.3,47019,0)
- ;;=J45.909^^181^2348^18
- ;;^UTILITY(U,$J,358.3,47019,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47019,1,3,0)
- ;;=3^Asthma Uncomplicated,Unspec
- ;;^UTILITY(U,$J,358.3,47019,1,4,0)
- ;;=4^J45.909
- ;;^UTILITY(U,$J,358.3,47019,2)
- ;;=^5008256
- ;;^UTILITY(U,$J,358.3,47020,0)
- ;;=M12.9^^181^2348^17
- ;;^UTILITY(U,$J,358.3,47020,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47020,1,3,0)
- ;;=3^Arthropathy,Unspec
- ;;^UTILITY(U,$J,358.3,47020,1,4,0)
- ;;=4^M12.9
- ;;^UTILITY(U,$J,358.3,47020,2)
- ;;=^5010666
- ;;^UTILITY(U,$J,358.3,47021,0)
- ;;=T78.40XA^^181^2348^10
- ;;^UTILITY(U,$J,358.3,47021,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47021,1,3,0)
- ;;=3^Allergy,Unspec Initial Encounter
- ;;^UTILITY(U,$J,358.3,47021,1,4,0)
- ;;=4^T78.40XA
- ;;^UTILITY(U,$J,358.3,47021,2)
- ;;=^5054284
- ;;^UTILITY(U,$J,358.3,47022,0)
- ;;=L40.2^^181^2348^5
- ;;^UTILITY(U,$J,358.3,47022,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47022,1,3,0)
- ;;=3^Acrodermatitis Continua
- ;;^UTILITY(U,$J,358.3,47022,1,4,0)
- ;;=4^L40.2
- ;;^UTILITY(U,$J,358.3,47022,2)
- ;;=^5009162
- ;;^UTILITY(U,$J,358.3,47023,0)
- ;;=F10.10^^181^2348^7
- ;;^UTILITY(U,$J,358.3,47023,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47023,1,3,0)
- ;;=3^Alcohol Abuse Uncomplicated
- ;;^UTILITY(U,$J,358.3,47023,1,4,0)
- ;;=4^F10.10
- ;;^UTILITY(U,$J,358.3,47023,2)
- ;;=^5003068
- ;;^UTILITY(U,$J,358.3,47024,0)
- ;;=F43.0^^181^2348^6
- ;;^UTILITY(U,$J,358.3,47024,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,47024,1,3,0)
- ;;=3^Acute Stress Reaction
- ;;^UTILITY(U,$J,358.3,47024,1,4,0)
- ;;=4^F43.0
- ;;^UTILITY(U,$J,358.3,47024,2)
- ;;=^5003569
- ;;^UTILITY(U,$J,358.3,47025,0)
- ;;=Z89.511^^181^2348^4
- ;;^UTILITY(U,$J,358.3,47025,1,0)
- ;;=^358.31IA^4^2
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2Y4 3760 printed Dec 13, 2024@02:38:05 Page 2
- IBDEI2Y4 ; ; 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,47012,2)
- +2 ;;=^5007079
- +3 ;;^UTILITY(U,$J,358.3,47013,0)
- +4 ;;=I25.10^^181^2348^19
- +5 ;;^UTILITY(U,$J,358.3,47013,1,0)
- +6 ;;=^358.31IA^4^2
- +7 ;;^UTILITY(U,$J,358.3,47013,1,3,0)
- +8 ;;=3^Athscl Hrt Disease w/o Ang Pctrs
- +9 ;;^UTILITY(U,$J,358.3,47013,1,4,0)
- +10 ;;=4^I25.10
- +11 ;;^UTILITY(U,$J,358.3,47013,2)
- +12 ;;=^5007107
- +13 ;;^UTILITY(U,$J,358.3,47014,0)
- +14 ;;=K46.9^^181^2348^2
- +15 ;;^UTILITY(U,$J,358.3,47014,1,0)
- +16 ;;=^358.31IA^4^2
- +17 ;;^UTILITY(U,$J,358.3,47014,1,3,0)
- +18 ;;=3^Abdominal Hernia w/o Obst/Gangr
- +19 ;;^UTILITY(U,$J,358.3,47014,1,4,0)
- +20 ;;=4^K46.9
- +21 ;;^UTILITY(U,$J,358.3,47014,2)
- +22 ;;=^5008623
- +23 ;;^UTILITY(U,$J,358.3,47015,0)
- +24 ;;=I48.91^^181^2348^20
- +25 ;;^UTILITY(U,$J,358.3,47015,1,0)
- +26 ;;=^358.31IA^4^2
- +27 ;;^UTILITY(U,$J,358.3,47015,1,3,0)
- +28 ;;=3^Atrial Fibrillation,Unspec
- +29 ;;^UTILITY(U,$J,358.3,47015,1,4,0)
- +30 ;;=4^I48.91
- +31 ;;^UTILITY(U,$J,358.3,47015,2)
- +32 ;;=^5007229
- +33 ;;^UTILITY(U,$J,358.3,47016,0)
- +34 ;;=I48.92^^181^2348^21
- +35 ;;^UTILITY(U,$J,358.3,47016,1,0)
- +36 ;;=^358.31IA^4^2
- +37 ;;^UTILITY(U,$J,358.3,47016,1,3,0)
- +38 ;;=3^Atrial Flutter,Unspec
- +39 ;;^UTILITY(U,$J,358.3,47016,1,4,0)
- +40 ;;=4^I48.92
- +41 ;;^UTILITY(U,$J,358.3,47016,2)
- +42 ;;=^5007230
- +43 ;;^UTILITY(U,$J,358.3,47017,0)
- +44 ;;=I71.4^^181^2348^1
- +45 ;;^UTILITY(U,$J,358.3,47017,1,0)
- +46 ;;=^358.31IA^4^2
- +47 ;;^UTILITY(U,$J,358.3,47017,1,3,0)
- +48 ;;=3^AAA w/o Rupture
- +49 ;;^UTILITY(U,$J,358.3,47017,1,4,0)
- +50 ;;=4^I71.4
- +51 ;;^UTILITY(U,$J,358.3,47017,2)
- +52 ;;=^5007789
- +53 ;;^UTILITY(U,$J,358.3,47018,0)
- +54 ;;=J30.9^^181^2348^9
- +55 ;;^UTILITY(U,$J,358.3,47018,1,0)
- +56 ;;=^358.31IA^4^2
- +57 ;;^UTILITY(U,$J,358.3,47018,1,3,0)
- +58 ;;=3^Allergic Rhinitis,Unspec
- +59 ;;^UTILITY(U,$J,358.3,47018,1,4,0)
- +60 ;;=4^J30.9
- +61 ;;^UTILITY(U,$J,358.3,47018,2)
- +62 ;;=^5008205
- +63 ;;^UTILITY(U,$J,358.3,47019,0)
- +64 ;;=J45.909^^181^2348^18
- +65 ;;^UTILITY(U,$J,358.3,47019,1,0)
- +66 ;;=^358.31IA^4^2
- +67 ;;^UTILITY(U,$J,358.3,47019,1,3,0)
- +68 ;;=3^Asthma Uncomplicated,Unspec
- +69 ;;^UTILITY(U,$J,358.3,47019,1,4,0)
- +70 ;;=4^J45.909
- +71 ;;^UTILITY(U,$J,358.3,47019,2)
- +72 ;;=^5008256
- +73 ;;^UTILITY(U,$J,358.3,47020,0)
- +74 ;;=M12.9^^181^2348^17
- +75 ;;^UTILITY(U,$J,358.3,47020,1,0)
- +76 ;;=^358.31IA^4^2
- +77 ;;^UTILITY(U,$J,358.3,47020,1,3,0)
- +78 ;;=3^Arthropathy,Unspec
- +79 ;;^UTILITY(U,$J,358.3,47020,1,4,0)
- +80 ;;=4^M12.9
- +81 ;;^UTILITY(U,$J,358.3,47020,2)
- +82 ;;=^5010666
- +83 ;;^UTILITY(U,$J,358.3,47021,0)
- +84 ;;=T78.40XA^^181^2348^10
- +85 ;;^UTILITY(U,$J,358.3,47021,1,0)
- +86 ;;=^358.31IA^4^2
- +87 ;;^UTILITY(U,$J,358.3,47021,1,3,0)
- +88 ;;=3^Allergy,Unspec Initial Encounter
- +89 ;;^UTILITY(U,$J,358.3,47021,1,4,0)
- +90 ;;=4^T78.40XA
- +91 ;;^UTILITY(U,$J,358.3,47021,2)
- +92 ;;=^5054284
- +93 ;;^UTILITY(U,$J,358.3,47022,0)
- +94 ;;=L40.2^^181^2348^5
- +95 ;;^UTILITY(U,$J,358.3,47022,1,0)
- +96 ;;=^358.31IA^4^2
- +97 ;;^UTILITY(U,$J,358.3,47022,1,3,0)
- +98 ;;=3^Acrodermatitis Continua
- +99 ;;^UTILITY(U,$J,358.3,47022,1,4,0)
- +100 ;;=4^L40.2
- +101 ;;^UTILITY(U,$J,358.3,47022,2)
- +102 ;;=^5009162
- +103 ;;^UTILITY(U,$J,358.3,47023,0)
- +104 ;;=F10.10^^181^2348^7
- +105 ;;^UTILITY(U,$J,358.3,47023,1,0)
- +106 ;;=^358.31IA^4^2
- +107 ;;^UTILITY(U,$J,358.3,47023,1,3,0)
- +108 ;;=3^Alcohol Abuse Uncomplicated
- +109 ;;^UTILITY(U,$J,358.3,47023,1,4,0)
- +110 ;;=4^F10.10
- +111 ;;^UTILITY(U,$J,358.3,47023,2)
- +112 ;;=^5003068
- +113 ;;^UTILITY(U,$J,358.3,47024,0)
- +114 ;;=F43.0^^181^2348^6
- +115 ;;^UTILITY(U,$J,358.3,47024,1,0)
- +116 ;;=^358.31IA^4^2
- +117 ;;^UTILITY(U,$J,358.3,47024,1,3,0)
- +118 ;;=3^Acute Stress Reaction
- +119 ;;^UTILITY(U,$J,358.3,47024,1,4,0)
- +120 ;;=4^F43.0
- +121 ;;^UTILITY(U,$J,358.3,47024,2)
- +122 ;;=^5003569
- +123 ;;^UTILITY(U,$J,358.3,47025,0)
- +124 ;;=Z89.511^^181^2348^4
- +125 ;;^UTILITY(U,$J,358.3,47025,1,0)
- +126 ;;=^358.31IA^4^2