- IBDEI0WF ; ; 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,14618,2)
- ;;=^5134570
- ;;^UTILITY(U,$J,358.3,14619,0)
- ;;=S06.9X9S^^58^702^19
- ;;^UTILITY(U,$J,358.3,14619,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14619,1,3,0)
- ;;=3^Intracranial injury w LOC of unsp duration, sequela
- ;;^UTILITY(U,$J,358.3,14619,1,4,0)
- ;;=4^S06.9X9S
- ;;^UTILITY(U,$J,358.3,14619,2)
- ;;=^5021235
- ;;^UTILITY(U,$J,358.3,14620,0)
- ;;=S15.002A^^58^702^5
- ;;^UTILITY(U,$J,358.3,14620,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14620,1,3,0)
- ;;=3^Injury of left carotid artery, init encntr
- ;;^UTILITY(U,$J,358.3,14620,1,4,0)
- ;;=4^S15.002A
- ;;^UTILITY(U,$J,358.3,14620,2)
- ;;=^5022223
- ;;^UTILITY(U,$J,358.3,14621,0)
- ;;=S15.001A^^58^702^10
- ;;^UTILITY(U,$J,358.3,14621,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14621,1,3,0)
- ;;=3^Injury of right carotid artery, init encntr
- ;;^UTILITY(U,$J,358.3,14621,1,4,0)
- ;;=4^S15.001A
- ;;^UTILITY(U,$J,358.3,14621,2)
- ;;=^5022220
- ;;^UTILITY(U,$J,358.3,14622,0)
- ;;=I69.952^^58^703^12
- ;;^UTILITY(U,$J,358.3,14622,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14622,1,3,0)
- ;;=3^Hemiplagia,Left Dominant Side
- ;;^UTILITY(U,$J,358.3,14622,1,4,0)
- ;;=4^I69.952
- ;;^UTILITY(U,$J,358.3,14622,2)
- ;;=^5133586
- ;;^UTILITY(U,$J,358.3,14623,0)
- ;;=I69.954^^58^703^13
- ;;^UTILITY(U,$J,358.3,14623,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14623,1,3,0)
- ;;=3^Hemiplegia,Left Non-Dominant Side
- ;;^UTILITY(U,$J,358.3,14623,1,4,0)
- ;;=4^I69.954
- ;;^UTILITY(U,$J,358.3,14623,2)
- ;;=^5133587
- ;;^UTILITY(U,$J,358.3,14624,0)
- ;;=I69.951^^58^703^14
- ;;^UTILITY(U,$J,358.3,14624,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14624,1,3,0)
- ;;=3^Hemiplegia,Right Dominant Side
- ;;^UTILITY(U,$J,358.3,14624,1,4,0)
- ;;=4^I69.951
- ;;^UTILITY(U,$J,358.3,14624,2)
- ;;=^5007561
- ;;^UTILITY(U,$J,358.3,14625,0)
- ;;=I69.953^^58^703^15
- ;;^UTILITY(U,$J,358.3,14625,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14625,1,3,0)
- ;;=3^Hemiplegia,Right Non-Dominant Side
- ;;^UTILITY(U,$J,358.3,14625,1,4,0)
- ;;=4^I69.953
- ;;^UTILITY(U,$J,358.3,14625,2)
- ;;=^5007562
- ;;^UTILITY(U,$J,358.3,14626,0)
- ;;=I69.920^^58^703^1
- ;;^UTILITY(U,$J,358.3,14626,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14626,1,3,0)
- ;;=3^Aphasia
- ;;^UTILITY(U,$J,358.3,14626,1,4,0)
- ;;=4^I69.920
- ;;^UTILITY(U,$J,358.3,14626,2)
- ;;=^5007553
- ;;^UTILITY(U,$J,358.3,14627,0)
- ;;=I69.90^^58^703^30
- ;;^UTILITY(U,$J,358.3,14627,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14627,1,3,0)
- ;;=3^Unspec Sequela of Unspec CVA
- ;;^UTILITY(U,$J,358.3,14627,1,4,0)
- ;;=4^I69.90
- ;;^UTILITY(U,$J,358.3,14627,2)
- ;;=^5007551
- ;;^UTILITY(U,$J,358.3,14628,0)
- ;;=I69.910^^58^703^4
- ;;^UTILITY(U,$J,358.3,14628,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14628,1,3,0)
- ;;=3^Attention & Concentration Deficit
- ;;^UTILITY(U,$J,358.3,14628,1,4,0)
- ;;=4^I69.910
- ;;^UTILITY(U,$J,358.3,14628,2)
- ;;=^5138660
- ;;^UTILITY(U,$J,358.3,14629,0)
- ;;=I69.911^^58^703^16
- ;;^UTILITY(U,$J,358.3,14629,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14629,1,3,0)
- ;;=3^Memory Deficit
- ;;^UTILITY(U,$J,358.3,14629,1,4,0)
- ;;=4^I69.911
- ;;^UTILITY(U,$J,358.3,14629,2)
- ;;=^5138661
- ;;^UTILITY(U,$J,358.3,14630,0)
- ;;=I69.912^^58^703^31
- ;;^UTILITY(U,$J,358.3,14630,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14630,1,3,0)
- ;;=3^Visuspatial Deficit & Spatial Neglect
- ;;^UTILITY(U,$J,358.3,14630,1,4,0)
- ;;=4^I69.912
- ;;^UTILITY(U,$J,358.3,14630,2)
- ;;=^5138662
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0WF 3745 printed Jan 18, 2025@02:58:18 Page 2
- IBDEI0WF ; ; 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,14618,2)
- +2 ;;=^5134570
- +3 ;;^UTILITY(U,$J,358.3,14619,0)
- +4 ;;=S06.9X9S^^58^702^19
- +5 ;;^UTILITY(U,$J,358.3,14619,1,0)
- +6 ;;=^358.31IA^4^2
- +7 ;;^UTILITY(U,$J,358.3,14619,1,3,0)
- +8 ;;=3^Intracranial injury w LOC of unsp duration, sequela
- +9 ;;^UTILITY(U,$J,358.3,14619,1,4,0)
- +10 ;;=4^S06.9X9S
- +11 ;;^UTILITY(U,$J,358.3,14619,2)
- +12 ;;=^5021235
- +13 ;;^UTILITY(U,$J,358.3,14620,0)
- +14 ;;=S15.002A^^58^702^5
- +15 ;;^UTILITY(U,$J,358.3,14620,1,0)
- +16 ;;=^358.31IA^4^2
- +17 ;;^UTILITY(U,$J,358.3,14620,1,3,0)
- +18 ;;=3^Injury of left carotid artery, init encntr
- +19 ;;^UTILITY(U,$J,358.3,14620,1,4,0)
- +20 ;;=4^S15.002A
- +21 ;;^UTILITY(U,$J,358.3,14620,2)
- +22 ;;=^5022223
- +23 ;;^UTILITY(U,$J,358.3,14621,0)
- +24 ;;=S15.001A^^58^702^10
- +25 ;;^UTILITY(U,$J,358.3,14621,1,0)
- +26 ;;=^358.31IA^4^2
- +27 ;;^UTILITY(U,$J,358.3,14621,1,3,0)
- +28 ;;=3^Injury of right carotid artery, init encntr
- +29 ;;^UTILITY(U,$J,358.3,14621,1,4,0)
- +30 ;;=4^S15.001A
- +31 ;;^UTILITY(U,$J,358.3,14621,2)
- +32 ;;=^5022220
- +33 ;;^UTILITY(U,$J,358.3,14622,0)
- +34 ;;=I69.952^^58^703^12
- +35 ;;^UTILITY(U,$J,358.3,14622,1,0)
- +36 ;;=^358.31IA^4^2
- +37 ;;^UTILITY(U,$J,358.3,14622,1,3,0)
- +38 ;;=3^Hemiplagia,Left Dominant Side
- +39 ;;^UTILITY(U,$J,358.3,14622,1,4,0)
- +40 ;;=4^I69.952
- +41 ;;^UTILITY(U,$J,358.3,14622,2)
- +42 ;;=^5133586
- +43 ;;^UTILITY(U,$J,358.3,14623,0)
- +44 ;;=I69.954^^58^703^13
- +45 ;;^UTILITY(U,$J,358.3,14623,1,0)
- +46 ;;=^358.31IA^4^2
- +47 ;;^UTILITY(U,$J,358.3,14623,1,3,0)
- +48 ;;=3^Hemiplegia,Left Non-Dominant Side
- +49 ;;^UTILITY(U,$J,358.3,14623,1,4,0)
- +50 ;;=4^I69.954
- +51 ;;^UTILITY(U,$J,358.3,14623,2)
- +52 ;;=^5133587
- +53 ;;^UTILITY(U,$J,358.3,14624,0)
- +54 ;;=I69.951^^58^703^14
- +55 ;;^UTILITY(U,$J,358.3,14624,1,0)
- +56 ;;=^358.31IA^4^2
- +57 ;;^UTILITY(U,$J,358.3,14624,1,3,0)
- +58 ;;=3^Hemiplegia,Right Dominant Side
- +59 ;;^UTILITY(U,$J,358.3,14624,1,4,0)
- +60 ;;=4^I69.951
- +61 ;;^UTILITY(U,$J,358.3,14624,2)
- +62 ;;=^5007561
- +63 ;;^UTILITY(U,$J,358.3,14625,0)
- +64 ;;=I69.953^^58^703^15
- +65 ;;^UTILITY(U,$J,358.3,14625,1,0)
- +66 ;;=^358.31IA^4^2
- +67 ;;^UTILITY(U,$J,358.3,14625,1,3,0)
- +68 ;;=3^Hemiplegia,Right Non-Dominant Side
- +69 ;;^UTILITY(U,$J,358.3,14625,1,4,0)
- +70 ;;=4^I69.953
- +71 ;;^UTILITY(U,$J,358.3,14625,2)
- +72 ;;=^5007562
- +73 ;;^UTILITY(U,$J,358.3,14626,0)
- +74 ;;=I69.920^^58^703^1
- +75 ;;^UTILITY(U,$J,358.3,14626,1,0)
- +76 ;;=^358.31IA^4^2
- +77 ;;^UTILITY(U,$J,358.3,14626,1,3,0)
- +78 ;;=3^Aphasia
- +79 ;;^UTILITY(U,$J,358.3,14626,1,4,0)
- +80 ;;=4^I69.920
- +81 ;;^UTILITY(U,$J,358.3,14626,2)
- +82 ;;=^5007553
- +83 ;;^UTILITY(U,$J,358.3,14627,0)
- +84 ;;=I69.90^^58^703^30
- +85 ;;^UTILITY(U,$J,358.3,14627,1,0)
- +86 ;;=^358.31IA^4^2
- +87 ;;^UTILITY(U,$J,358.3,14627,1,3,0)
- +88 ;;=3^Unspec Sequela of Unspec CVA
- +89 ;;^UTILITY(U,$J,358.3,14627,1,4,0)
- +90 ;;=4^I69.90
- +91 ;;^UTILITY(U,$J,358.3,14627,2)
- +92 ;;=^5007551
- +93 ;;^UTILITY(U,$J,358.3,14628,0)
- +94 ;;=I69.910^^58^703^4
- +95 ;;^UTILITY(U,$J,358.3,14628,1,0)
- +96 ;;=^358.31IA^4^2
- +97 ;;^UTILITY(U,$J,358.3,14628,1,3,0)
- +98 ;;=3^Attention & Concentration Deficit
- +99 ;;^UTILITY(U,$J,358.3,14628,1,4,0)
- +100 ;;=4^I69.910
- +101 ;;^UTILITY(U,$J,358.3,14628,2)
- +102 ;;=^5138660
- +103 ;;^UTILITY(U,$J,358.3,14629,0)
- +104 ;;=I69.911^^58^703^16
- +105 ;;^UTILITY(U,$J,358.3,14629,1,0)
- +106 ;;=^358.31IA^4^2
- +107 ;;^UTILITY(U,$J,358.3,14629,1,3,0)
- +108 ;;=3^Memory Deficit
- +109 ;;^UTILITY(U,$J,358.3,14629,1,4,0)
- +110 ;;=4^I69.911
- +111 ;;^UTILITY(U,$J,358.3,14629,2)
- +112 ;;=^5138661
- +113 ;;^UTILITY(U,$J,358.3,14630,0)
- +114 ;;=I69.912^^58^703^31
- +115 ;;^UTILITY(U,$J,358.3,14630,1,0)
- +116 ;;=^358.31IA^4^2
- +117 ;;^UTILITY(U,$J,358.3,14630,1,3,0)
- +118 ;;=3^Visuspatial Deficit & Spatial Neglect
- +119 ;;^UTILITY(U,$J,358.3,14630,1,4,0)
- +120 ;;=4^I69.912
- +121 ;;^UTILITY(U,$J,358.3,14630,2)
- +122 ;;=^5138662