- IBDEI2PQ ; ; 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,43248,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43248,1,3,0)
- ;;=3^Hepatitis C,Viral,Chronic
- ;;^UTILITY(U,$J,358.3,43248,1,4,0)
- ;;=4^B18.2
- ;;^UTILITY(U,$J,358.3,43248,2)
- ;;=^5000548
- ;;^UTILITY(U,$J,358.3,43249,0)
- ;;=K92.1^^158^2102^2
- ;;^UTILITY(U,$J,358.3,43249,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43249,1,3,0)
- ;;=3^Melena
- ;;^UTILITY(U,$J,358.3,43249,1,4,0)
- ;;=4^K92.1
- ;;^UTILITY(U,$J,358.3,43249,2)
- ;;=^5008914
- ;;^UTILITY(U,$J,358.3,43250,0)
- ;;=N39.0^^158^2102^3
- ;;^UTILITY(U,$J,358.3,43250,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43250,1,3,0)
- ;;=3^UTI,Site Unspec
- ;;^UTILITY(U,$J,358.3,43250,1,4,0)
- ;;=4^N39.0
- ;;^UTILITY(U,$J,358.3,43250,2)
- ;;=^124436
- ;;^UTILITY(U,$J,358.3,43251,0)
- ;;=G82.20^^158^2103^5
- ;;^UTILITY(U,$J,358.3,43251,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43251,1,3,0)
- ;;=3^Paraplegia,Unspec
- ;;^UTILITY(U,$J,358.3,43251,1,4,0)
- ;;=4^G82.20
- ;;^UTILITY(U,$J,358.3,43251,2)
- ;;=^5004125
- ;;^UTILITY(U,$J,358.3,43252,0)
- ;;=S14.109S^^158^2103^1
- ;;^UTILITY(U,$J,358.3,43252,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43252,1,3,0)
- ;;=3^Injury of Cervical Spinal Cord,Unspec Level,Sequela
- ;;^UTILITY(U,$J,358.3,43252,1,4,0)
- ;;=4^S14.109S
- ;;^UTILITY(U,$J,358.3,43252,2)
- ;;=^5134243
- ;;^UTILITY(U,$J,358.3,43253,0)
- ;;=S24.109S^^158^2103^2
- ;;^UTILITY(U,$J,358.3,43253,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43253,1,3,0)
- ;;=3^Injury of Thoracic Spinal Cord,Unspec Level,Sequela
- ;;^UTILITY(U,$J,358.3,43253,1,4,0)
- ;;=4^S24.109S
- ;;^UTILITY(U,$J,358.3,43253,2)
- ;;=^5134384
- ;;^UTILITY(U,$J,358.3,43254,0)
- ;;=S34.109S^^158^2103^3
- ;;^UTILITY(U,$J,358.3,43254,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43254,1,3,0)
- ;;=3^Injury to Lumbar Spinal Cord,Unspec Level,Sequela
- ;;^UTILITY(U,$J,358.3,43254,1,4,0)
- ;;=4^S34.109S
- ;;^UTILITY(U,$J,358.3,43254,2)
- ;;=^5134570
- ;;^UTILITY(U,$J,358.3,43255,0)
- ;;=S34.139S^^158^2103^4
- ;;^UTILITY(U,$J,358.3,43255,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43255,1,3,0)
- ;;=3^Injury to Sacral Spinal Cord,Sequela
- ;;^UTILITY(U,$J,358.3,43255,1,4,0)
- ;;=4^S34.139S
- ;;^UTILITY(U,$J,358.3,43255,2)
- ;;=^5025249
- ;;^UTILITY(U,$J,358.3,43256,0)
- ;;=G82.51^^158^2104^1
- ;;^UTILITY(U,$J,358.3,43256,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43256,1,3,0)
- ;;=3^Quadriplegia,C1-C4,Complete
- ;;^UTILITY(U,$J,358.3,43256,1,4,0)
- ;;=4^G82.51
- ;;^UTILITY(U,$J,358.3,43256,2)
- ;;=^5004129
- ;;^UTILITY(U,$J,358.3,43257,0)
- ;;=G82.52^^158^2104^2
- ;;^UTILITY(U,$J,358.3,43257,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43257,1,3,0)
- ;;=3^Quadriplegia,C1-C4,Incomplete
- ;;^UTILITY(U,$J,358.3,43257,1,4,0)
- ;;=4^G82.52
- ;;^UTILITY(U,$J,358.3,43257,2)
- ;;=^5004130
- ;;^UTILITY(U,$J,358.3,43258,0)
- ;;=G82.53^^158^2104^3
- ;;^UTILITY(U,$J,358.3,43258,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43258,1,3,0)
- ;;=3^Quadriplegia,C5-C7,Complete
- ;;^UTILITY(U,$J,358.3,43258,1,4,0)
- ;;=4^G82.53
- ;;^UTILITY(U,$J,358.3,43258,2)
- ;;=^5004131
- ;;^UTILITY(U,$J,358.3,43259,0)
- ;;=G82.54^^158^2104^4
- ;;^UTILITY(U,$J,358.3,43259,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43259,1,3,0)
- ;;=3^Quadriplegia,C5-C7,Incomplete
- ;;^UTILITY(U,$J,358.3,43259,1,4,0)
- ;;=4^G82.54
- ;;^UTILITY(U,$J,358.3,43259,2)
- ;;=^5004132
- ;;^UTILITY(U,$J,358.3,43260,0)
- ;;=G82.50^^158^2104^5
- ;;^UTILITY(U,$J,358.3,43260,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,43260,1,3,0)
- ;;=3^Quadriplegia,Unspec
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2PQ 3794 printed Feb 18, 2025@23:59:52 Page 2
- IBDEI2PQ ; ; 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,43248,1,0)
- +2 ;;=^358.31IA^4^2
- +3 ;;^UTILITY(U,$J,358.3,43248,1,3,0)
- +4 ;;=3^Hepatitis C,Viral,Chronic
- +5 ;;^UTILITY(U,$J,358.3,43248,1,4,0)
- +6 ;;=4^B18.2
- +7 ;;^UTILITY(U,$J,358.3,43248,2)
- +8 ;;=^5000548
- +9 ;;^UTILITY(U,$J,358.3,43249,0)
- +10 ;;=K92.1^^158^2102^2
- +11 ;;^UTILITY(U,$J,358.3,43249,1,0)
- +12 ;;=^358.31IA^4^2
- +13 ;;^UTILITY(U,$J,358.3,43249,1,3,0)
- +14 ;;=3^Melena
- +15 ;;^UTILITY(U,$J,358.3,43249,1,4,0)
- +16 ;;=4^K92.1
- +17 ;;^UTILITY(U,$J,358.3,43249,2)
- +18 ;;=^5008914
- +19 ;;^UTILITY(U,$J,358.3,43250,0)
- +20 ;;=N39.0^^158^2102^3
- +21 ;;^UTILITY(U,$J,358.3,43250,1,0)
- +22 ;;=^358.31IA^4^2
- +23 ;;^UTILITY(U,$J,358.3,43250,1,3,0)
- +24 ;;=3^UTI,Site Unspec
- +25 ;;^UTILITY(U,$J,358.3,43250,1,4,0)
- +26 ;;=4^N39.0
- +27 ;;^UTILITY(U,$J,358.3,43250,2)
- +28 ;;=^124436
- +29 ;;^UTILITY(U,$J,358.3,43251,0)
- +30 ;;=G82.20^^158^2103^5
- +31 ;;^UTILITY(U,$J,358.3,43251,1,0)
- +32 ;;=^358.31IA^4^2
- +33 ;;^UTILITY(U,$J,358.3,43251,1,3,0)
- +34 ;;=3^Paraplegia,Unspec
- +35 ;;^UTILITY(U,$J,358.3,43251,1,4,0)
- +36 ;;=4^G82.20
- +37 ;;^UTILITY(U,$J,358.3,43251,2)
- +38 ;;=^5004125
- +39 ;;^UTILITY(U,$J,358.3,43252,0)
- +40 ;;=S14.109S^^158^2103^1
- +41 ;;^UTILITY(U,$J,358.3,43252,1,0)
- +42 ;;=^358.31IA^4^2
- +43 ;;^UTILITY(U,$J,358.3,43252,1,3,0)
- +44 ;;=3^Injury of Cervical Spinal Cord,Unspec Level,Sequela
- +45 ;;^UTILITY(U,$J,358.3,43252,1,4,0)
- +46 ;;=4^S14.109S
- +47 ;;^UTILITY(U,$J,358.3,43252,2)
- +48 ;;=^5134243
- +49 ;;^UTILITY(U,$J,358.3,43253,0)
- +50 ;;=S24.109S^^158^2103^2
- +51 ;;^UTILITY(U,$J,358.3,43253,1,0)
- +52 ;;=^358.31IA^4^2
- +53 ;;^UTILITY(U,$J,358.3,43253,1,3,0)
- +54 ;;=3^Injury of Thoracic Spinal Cord,Unspec Level,Sequela
- +55 ;;^UTILITY(U,$J,358.3,43253,1,4,0)
- +56 ;;=4^S24.109S
- +57 ;;^UTILITY(U,$J,358.3,43253,2)
- +58 ;;=^5134384
- +59 ;;^UTILITY(U,$J,358.3,43254,0)
- +60 ;;=S34.109S^^158^2103^3
- +61 ;;^UTILITY(U,$J,358.3,43254,1,0)
- +62 ;;=^358.31IA^4^2
- +63 ;;^UTILITY(U,$J,358.3,43254,1,3,0)
- +64 ;;=3^Injury to Lumbar Spinal Cord,Unspec Level,Sequela
- +65 ;;^UTILITY(U,$J,358.3,43254,1,4,0)
- +66 ;;=4^S34.109S
- +67 ;;^UTILITY(U,$J,358.3,43254,2)
- +68 ;;=^5134570
- +69 ;;^UTILITY(U,$J,358.3,43255,0)
- +70 ;;=S34.139S^^158^2103^4
- +71 ;;^UTILITY(U,$J,358.3,43255,1,0)
- +72 ;;=^358.31IA^4^2
- +73 ;;^UTILITY(U,$J,358.3,43255,1,3,0)
- +74 ;;=3^Injury to Sacral Spinal Cord,Sequela
- +75 ;;^UTILITY(U,$J,358.3,43255,1,4,0)
- +76 ;;=4^S34.139S
- +77 ;;^UTILITY(U,$J,358.3,43255,2)
- +78 ;;=^5025249
- +79 ;;^UTILITY(U,$J,358.3,43256,0)
- +80 ;;=G82.51^^158^2104^1
- +81 ;;^UTILITY(U,$J,358.3,43256,1,0)
- +82 ;;=^358.31IA^4^2
- +83 ;;^UTILITY(U,$J,358.3,43256,1,3,0)
- +84 ;;=3^Quadriplegia,C1-C4,Complete
- +85 ;;^UTILITY(U,$J,358.3,43256,1,4,0)
- +86 ;;=4^G82.51
- +87 ;;^UTILITY(U,$J,358.3,43256,2)
- +88 ;;=^5004129
- +89 ;;^UTILITY(U,$J,358.3,43257,0)
- +90 ;;=G82.52^^158^2104^2
- +91 ;;^UTILITY(U,$J,358.3,43257,1,0)
- +92 ;;=^358.31IA^4^2
- +93 ;;^UTILITY(U,$J,358.3,43257,1,3,0)
- +94 ;;=3^Quadriplegia,C1-C4,Incomplete
- +95 ;;^UTILITY(U,$J,358.3,43257,1,4,0)
- +96 ;;=4^G82.52
- +97 ;;^UTILITY(U,$J,358.3,43257,2)
- +98 ;;=^5004130
- +99 ;;^UTILITY(U,$J,358.3,43258,0)
- +100 ;;=G82.53^^158^2104^3
- +101 ;;^UTILITY(U,$J,358.3,43258,1,0)
- +102 ;;=^358.31IA^4^2
- +103 ;;^UTILITY(U,$J,358.3,43258,1,3,0)
- +104 ;;=3^Quadriplegia,C5-C7,Complete
- +105 ;;^UTILITY(U,$J,358.3,43258,1,4,0)
- +106 ;;=4^G82.53
- +107 ;;^UTILITY(U,$J,358.3,43258,2)
- +108 ;;=^5004131
- +109 ;;^UTILITY(U,$J,358.3,43259,0)
- +110 ;;=G82.54^^158^2104^4
- +111 ;;^UTILITY(U,$J,358.3,43259,1,0)
- +112 ;;=^358.31IA^4^2
- +113 ;;^UTILITY(U,$J,358.3,43259,1,3,0)
- +114 ;;=3^Quadriplegia,C5-C7,Incomplete
- +115 ;;^UTILITY(U,$J,358.3,43259,1,4,0)
- +116 ;;=4^G82.54
- +117 ;;^UTILITY(U,$J,358.3,43259,2)
- +118 ;;=^5004132
- +119 ;;^UTILITY(U,$J,358.3,43260,0)
- +120 ;;=G82.50^^158^2104^5
- +121 ;;^UTILITY(U,$J,358.3,43260,1,0)
- +122 ;;=^358.31IA^4^2
- +123 ;;^UTILITY(U,$J,358.3,43260,1,3,0)
- +124 ;;=3^Quadriplegia,Unspec