- IBDEI2ML ; ; 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,41922,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41922,1,3,0)
- ;;=3^Swan-Neck Deformity,Right Finger(s)
- ;;^UTILITY(U,$J,358.3,41922,1,4,0)
- ;;=4^M20.031
- ;;^UTILITY(U,$J,358.3,41922,2)
- ;;=^5011036
- ;;^UTILITY(U,$J,358.3,41923,0)
- ;;=M20.032^^155^2064^196
- ;;^UTILITY(U,$J,358.3,41923,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41923,1,3,0)
- ;;=3^Swan-Neck Deformity,Left Finger(s)
- ;;^UTILITY(U,$J,358.3,41923,1,4,0)
- ;;=4^M20.032
- ;;^UTILITY(U,$J,358.3,41923,2)
- ;;=^5011037
- ;;^UTILITY(U,$J,358.3,41924,0)
- ;;=M21.331^^155^2064^209
- ;;^UTILITY(U,$J,358.3,41924,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41924,1,3,0)
- ;;=3^Wrist Drop,Right Wrist
- ;;^UTILITY(U,$J,358.3,41924,1,4,0)
- ;;=4^M21.331
- ;;^UTILITY(U,$J,358.3,41924,2)
- ;;=^5011107
- ;;^UTILITY(U,$J,358.3,41925,0)
- ;;=M21.332^^155^2064^208
- ;;^UTILITY(U,$J,358.3,41925,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41925,1,3,0)
- ;;=3^Wrist Drop,Left Wrist
- ;;^UTILITY(U,$J,358.3,41925,1,4,0)
- ;;=4^M21.332
- ;;^UTILITY(U,$J,358.3,41925,2)
- ;;=^5011108
- ;;^UTILITY(U,$J,358.3,41926,0)
- ;;=M18.0^^155^2064^74
- ;;^UTILITY(U,$J,358.3,41926,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41926,1,3,0)
- ;;=3^Prim Osteoarth,1st Carpometacarpal Joint(s),Bilateral
- ;;^UTILITY(U,$J,358.3,41926,1,4,0)
- ;;=4^M18.0
- ;;^UTILITY(U,$J,358.3,41926,2)
- ;;=^5010795
- ;;^UTILITY(U,$J,358.3,41927,0)
- ;;=M18.11^^155^2064^75
- ;;^UTILITY(U,$J,358.3,41927,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41927,1,3,0)
- ;;=3^Prim Osteoarth,1st Carpometacarpal Joint(s),Right Hand,Unilat
- ;;^UTILITY(U,$J,358.3,41927,1,4,0)
- ;;=4^M18.11
- ;;^UTILITY(U,$J,358.3,41927,2)
- ;;=^5010797
- ;;^UTILITY(U,$J,358.3,41928,0)
- ;;=M18.12^^155^2064^76
- ;;^UTILITY(U,$J,358.3,41928,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41928,1,3,0)
- ;;=3^Prim Osteoarth,1st Carpometacarpal Joint(s),Left Hand,Unilat
- ;;^UTILITY(U,$J,358.3,41928,1,4,0)
- ;;=4^M18.12
- ;;^UTILITY(U,$J,358.3,41928,2)
- ;;=^5010798
- ;;^UTILITY(U,$J,358.3,41929,0)
- ;;=M19.031^^155^2064^85
- ;;^UTILITY(U,$J,358.3,41929,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41929,1,3,0)
- ;;=3^Prim Osteoarth,Right Wrist
- ;;^UTILITY(U,$J,358.3,41929,1,4,0)
- ;;=4^M19.031
- ;;^UTILITY(U,$J,358.3,41929,2)
- ;;=^5010814
- ;;^UTILITY(U,$J,358.3,41930,0)
- ;;=M19.032^^155^2064^81
- ;;^UTILITY(U,$J,358.3,41930,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41930,1,3,0)
- ;;=3^Prim Osteoarth,Left Wrist
- ;;^UTILITY(U,$J,358.3,41930,1,4,0)
- ;;=4^M19.032
- ;;^UTILITY(U,$J,358.3,41930,2)
- ;;=^5010815
- ;;^UTILITY(U,$J,358.3,41931,0)
- ;;=M19.041^^155^2064^83
- ;;^UTILITY(U,$J,358.3,41931,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41931,1,3,0)
- ;;=3^Prim Osteoarth,Right Hand
- ;;^UTILITY(U,$J,358.3,41931,1,4,0)
- ;;=4^M19.041
- ;;^UTILITY(U,$J,358.3,41931,2)
- ;;=^5010817
- ;;^UTILITY(U,$J,358.3,41932,0)
- ;;=Z44.012^^155^2065^4
- ;;^UTILITY(U,$J,358.3,41932,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41932,1,3,0)
- ;;=3^Fit/adjst of complete left artificial arm
- ;;^UTILITY(U,$J,358.3,41932,1,4,0)
- ;;=4^Z44.012
- ;;^UTILITY(U,$J,358.3,41932,2)
- ;;=^5062972
- ;;^UTILITY(U,$J,358.3,41933,0)
- ;;=Z44.011^^155^2065^6
- ;;^UTILITY(U,$J,358.3,41933,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,41933,1,3,0)
- ;;=3^Fit/adjst of complete right artificial arm
- ;;^UTILITY(U,$J,358.3,41933,1,4,0)
- ;;=4^Z44.011
- ;;^UTILITY(U,$J,358.3,41933,2)
- ;;=^5062971
- ;;^UTILITY(U,$J,358.3,41934,0)
- ;;=Z44.022^^155^2065^10
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2ML 3778 printed Jan 18, 2025@03:32:52 Page 2
- IBDEI2ML ; ; 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,41922,1,0)
- +2 ;;=^358.31IA^4^2
- +3 ;;^UTILITY(U,$J,358.3,41922,1,3,0)
- +4 ;;=3^Swan-Neck Deformity,Right Finger(s)
- +5 ;;^UTILITY(U,$J,358.3,41922,1,4,0)
- +6 ;;=4^M20.031
- +7 ;;^UTILITY(U,$J,358.3,41922,2)
- +8 ;;=^5011036
- +9 ;;^UTILITY(U,$J,358.3,41923,0)
- +10 ;;=M20.032^^155^2064^196
- +11 ;;^UTILITY(U,$J,358.3,41923,1,0)
- +12 ;;=^358.31IA^4^2
- +13 ;;^UTILITY(U,$J,358.3,41923,1,3,0)
- +14 ;;=3^Swan-Neck Deformity,Left Finger(s)
- +15 ;;^UTILITY(U,$J,358.3,41923,1,4,0)
- +16 ;;=4^M20.032
- +17 ;;^UTILITY(U,$J,358.3,41923,2)
- +18 ;;=^5011037
- +19 ;;^UTILITY(U,$J,358.3,41924,0)
- +20 ;;=M21.331^^155^2064^209
- +21 ;;^UTILITY(U,$J,358.3,41924,1,0)
- +22 ;;=^358.31IA^4^2
- +23 ;;^UTILITY(U,$J,358.3,41924,1,3,0)
- +24 ;;=3^Wrist Drop,Right Wrist
- +25 ;;^UTILITY(U,$J,358.3,41924,1,4,0)
- +26 ;;=4^M21.331
- +27 ;;^UTILITY(U,$J,358.3,41924,2)
- +28 ;;=^5011107
- +29 ;;^UTILITY(U,$J,358.3,41925,0)
- +30 ;;=M21.332^^155^2064^208
- +31 ;;^UTILITY(U,$J,358.3,41925,1,0)
- +32 ;;=^358.31IA^4^2
- +33 ;;^UTILITY(U,$J,358.3,41925,1,3,0)
- +34 ;;=3^Wrist Drop,Left Wrist
- +35 ;;^UTILITY(U,$J,358.3,41925,1,4,0)
- +36 ;;=4^M21.332
- +37 ;;^UTILITY(U,$J,358.3,41925,2)
- +38 ;;=^5011108
- +39 ;;^UTILITY(U,$J,358.3,41926,0)
- +40 ;;=M18.0^^155^2064^74
- +41 ;;^UTILITY(U,$J,358.3,41926,1,0)
- +42 ;;=^358.31IA^4^2
- +43 ;;^UTILITY(U,$J,358.3,41926,1,3,0)
- +44 ;;=3^Prim Osteoarth,1st Carpometacarpal Joint(s),Bilateral
- +45 ;;^UTILITY(U,$J,358.3,41926,1,4,0)
- +46 ;;=4^M18.0
- +47 ;;^UTILITY(U,$J,358.3,41926,2)
- +48 ;;=^5010795
- +49 ;;^UTILITY(U,$J,358.3,41927,0)
- +50 ;;=M18.11^^155^2064^75
- +51 ;;^UTILITY(U,$J,358.3,41927,1,0)
- +52 ;;=^358.31IA^4^2
- +53 ;;^UTILITY(U,$J,358.3,41927,1,3,0)
- +54 ;;=3^Prim Osteoarth,1st Carpometacarpal Joint(s),Right Hand,Unilat
- +55 ;;^UTILITY(U,$J,358.3,41927,1,4,0)
- +56 ;;=4^M18.11
- +57 ;;^UTILITY(U,$J,358.3,41927,2)
- +58 ;;=^5010797
- +59 ;;^UTILITY(U,$J,358.3,41928,0)
- +60 ;;=M18.12^^155^2064^76
- +61 ;;^UTILITY(U,$J,358.3,41928,1,0)
- +62 ;;=^358.31IA^4^2
- +63 ;;^UTILITY(U,$J,358.3,41928,1,3,0)
- +64 ;;=3^Prim Osteoarth,1st Carpometacarpal Joint(s),Left Hand,Unilat
- +65 ;;^UTILITY(U,$J,358.3,41928,1,4,0)
- +66 ;;=4^M18.12
- +67 ;;^UTILITY(U,$J,358.3,41928,2)
- +68 ;;=^5010798
- +69 ;;^UTILITY(U,$J,358.3,41929,0)
- +70 ;;=M19.031^^155^2064^85
- +71 ;;^UTILITY(U,$J,358.3,41929,1,0)
- +72 ;;=^358.31IA^4^2
- +73 ;;^UTILITY(U,$J,358.3,41929,1,3,0)
- +74 ;;=3^Prim Osteoarth,Right Wrist
- +75 ;;^UTILITY(U,$J,358.3,41929,1,4,0)
- +76 ;;=4^M19.031
- +77 ;;^UTILITY(U,$J,358.3,41929,2)
- +78 ;;=^5010814
- +79 ;;^UTILITY(U,$J,358.3,41930,0)
- +80 ;;=M19.032^^155^2064^81
- +81 ;;^UTILITY(U,$J,358.3,41930,1,0)
- +82 ;;=^358.31IA^4^2
- +83 ;;^UTILITY(U,$J,358.3,41930,1,3,0)
- +84 ;;=3^Prim Osteoarth,Left Wrist
- +85 ;;^UTILITY(U,$J,358.3,41930,1,4,0)
- +86 ;;=4^M19.032
- +87 ;;^UTILITY(U,$J,358.3,41930,2)
- +88 ;;=^5010815
- +89 ;;^UTILITY(U,$J,358.3,41931,0)
- +90 ;;=M19.041^^155^2064^83
- +91 ;;^UTILITY(U,$J,358.3,41931,1,0)
- +92 ;;=^358.31IA^4^2
- +93 ;;^UTILITY(U,$J,358.3,41931,1,3,0)
- +94 ;;=3^Prim Osteoarth,Right Hand
- +95 ;;^UTILITY(U,$J,358.3,41931,1,4,0)
- +96 ;;=4^M19.041
- +97 ;;^UTILITY(U,$J,358.3,41931,2)
- +98 ;;=^5010817
- +99 ;;^UTILITY(U,$J,358.3,41932,0)
- +100 ;;=Z44.012^^155^2065^4
- +101 ;;^UTILITY(U,$J,358.3,41932,1,0)
- +102 ;;=^358.31IA^4^2
- +103 ;;^UTILITY(U,$J,358.3,41932,1,3,0)
- +104 ;;=3^Fit/adjst of complete left artificial arm
- +105 ;;^UTILITY(U,$J,358.3,41932,1,4,0)
- +106 ;;=4^Z44.012
- +107 ;;^UTILITY(U,$J,358.3,41932,2)
- +108 ;;=^5062972
- +109 ;;^UTILITY(U,$J,358.3,41933,0)
- +110 ;;=Z44.011^^155^2065^6
- +111 ;;^UTILITY(U,$J,358.3,41933,1,0)
- +112 ;;=^358.31IA^4^2
- +113 ;;^UTILITY(U,$J,358.3,41933,1,3,0)
- +114 ;;=3^Fit/adjst of complete right artificial arm
- +115 ;;^UTILITY(U,$J,358.3,41933,1,4,0)
- +116 ;;=4^Z44.011
- +117 ;;^UTILITY(U,$J,358.3,41933,2)
- +118 ;;=^5062971
- +119 ;;^UTILITY(U,$J,358.3,41934,0)
- +120 ;;=Z44.022^^155^2065^10