IBDEI13H ; ; 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,17777,2)
;;=^5044168
;;^UTILITY(U,$J,358.3,17778,0)
;;=S61.401A^^61^792^18
;;^UTILITY(U,$J,358.3,17778,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17778,1,3,0)
;;=3^Open Wound,Right Hand,Unspec
;;^UTILITY(U,$J,358.3,17778,1,4,0)
;;=4^S61.401A
;;^UTILITY(U,$J,358.3,17778,2)
;;=^5032981
;;^UTILITY(U,$J,358.3,17779,0)
;;=S71.001A^^61^792^19
;;^UTILITY(U,$J,358.3,17779,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17779,1,3,0)
;;=3^Open Wound,Right Hip,Unspec
;;^UTILITY(U,$J,358.3,17779,1,4,0)
;;=4^S71.001A
;;^UTILITY(U,$J,358.3,17779,2)
;;=^5036969
;;^UTILITY(U,$J,358.3,17780,0)
;;=S91.105A^^61^792^10
;;^UTILITY(U,$J,358.3,17780,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17780,1,3,0)
;;=3^Open Wound,Left Lesser Toe(s) w/o Damage to Nail,Unspec
;;^UTILITY(U,$J,358.3,17780,1,4,0)
;;=4^S91.105A
;;^UTILITY(U,$J,358.3,17780,2)
;;=^5044177
;;^UTILITY(U,$J,358.3,17781,0)
;;=S81.801A^^61^792^21
;;^UTILITY(U,$J,358.3,17781,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17781,1,3,0)
;;=3^Open Wound,Right Lower Leg,Unspec
;;^UTILITY(U,$J,358.3,17781,1,4,0)
;;=4^S81.801A
;;^UTILITY(U,$J,358.3,17781,2)
;;=^5040065
;;^UTILITY(U,$J,358.3,17782,0)
;;=S71.102A^^61^792^12
;;^UTILITY(U,$J,358.3,17782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17782,1,3,0)
;;=3^Open Wound,Left Thigh,Unspec
;;^UTILITY(U,$J,358.3,17782,1,4,0)
;;=4^S71.102A
;;^UTILITY(U,$J,358.3,17782,2)
;;=^5037011
;;^UTILITY(U,$J,358.3,17783,0)
;;=S71.101A^^61^792^22
;;^UTILITY(U,$J,358.3,17783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17783,1,3,0)
;;=3^Open Wound,Right Thigh,Unspec
;;^UTILITY(U,$J,358.3,17783,1,4,0)
;;=4^S71.101A
;;^UTILITY(U,$J,358.3,17783,2)
;;=^5037008
;;^UTILITY(U,$J,358.3,17784,0)
;;=S41.101A^^61^792^23
;;^UTILITY(U,$J,358.3,17784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17784,1,3,0)
;;=3^Open Wound,Right Upper Arm,Unspec
;;^UTILITY(U,$J,358.3,17784,1,4,0)
;;=4^S41.101A
;;^UTILITY(U,$J,358.3,17784,2)
;;=^5026330
;;^UTILITY(U,$J,358.3,17785,0)
;;=E03.5^^61^793^37
;;^UTILITY(U,$J,358.3,17785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17785,1,3,0)
;;=3^Myxedema Coma
;;^UTILITY(U,$J,358.3,17785,1,4,0)
;;=4^E03.5
;;^UTILITY(U,$J,358.3,17785,2)
;;=^5002474
;;^UTILITY(U,$J,358.3,17786,0)
;;=R40.2121^^61^793^33
;;^UTILITY(U,$J,358.3,17786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17786,1,3,0)
;;=3^Coma Scale,Eyes Open,to Pain,In the Field
;;^UTILITY(U,$J,358.3,17786,1,4,0)
;;=4^R40.2121
;;^UTILITY(U,$J,358.3,17786,2)
;;=^5019361
;;^UTILITY(U,$J,358.3,17787,0)
;;=R40.2120^^61^793^34
;;^UTILITY(U,$J,358.3,17787,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17787,1,3,0)
;;=3^Coma Scale,Eyes Open,to Pain,Unspec Time
;;^UTILITY(U,$J,358.3,17787,1,4,0)
;;=4^R40.2120
;;^UTILITY(U,$J,358.3,17787,2)
;;=^5019360
;;^UTILITY(U,$J,358.3,17788,0)
;;=R40.2114^^61^793^26
;;^UTILITY(U,$J,358.3,17788,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17788,1,3,0)
;;=3^Coma Scale,Eyes Open,Never,24+ hrs
;;^UTILITY(U,$J,358.3,17788,1,4,0)
;;=4^R40.2114
;;^UTILITY(U,$J,358.3,17788,2)
;;=^5019359
;;^UTILITY(U,$J,358.3,17789,0)
;;=R40.2113^^61^793^30
;;^UTILITY(U,$J,358.3,17789,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17789,1,3,0)
;;=3^Coma Scale,Eyes Open,Never,at Hospital Admission
;;^UTILITY(U,$J,358.3,17789,1,4,0)
;;=4^R40.2113
;;^UTILITY(U,$J,358.3,17789,2)
;;=^5019358
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI13H 3790 printed Dec 13, 2024@02:01:01 Page 2
IBDEI13H ; ; 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,17777,2)
+2 ;;=^5044168
+3 ;;^UTILITY(U,$J,358.3,17778,0)
+4 ;;=S61.401A^^61^792^18
+5 ;;^UTILITY(U,$J,358.3,17778,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,17778,1,3,0)
+8 ;;=3^Open Wound,Right Hand,Unspec
+9 ;;^UTILITY(U,$J,358.3,17778,1,4,0)
+10 ;;=4^S61.401A
+11 ;;^UTILITY(U,$J,358.3,17778,2)
+12 ;;=^5032981
+13 ;;^UTILITY(U,$J,358.3,17779,0)
+14 ;;=S71.001A^^61^792^19
+15 ;;^UTILITY(U,$J,358.3,17779,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,17779,1,3,0)
+18 ;;=3^Open Wound,Right Hip,Unspec
+19 ;;^UTILITY(U,$J,358.3,17779,1,4,0)
+20 ;;=4^S71.001A
+21 ;;^UTILITY(U,$J,358.3,17779,2)
+22 ;;=^5036969
+23 ;;^UTILITY(U,$J,358.3,17780,0)
+24 ;;=S91.105A^^61^792^10
+25 ;;^UTILITY(U,$J,358.3,17780,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,17780,1,3,0)
+28 ;;=3^Open Wound,Left Lesser Toe(s) w/o Damage to Nail,Unspec
+29 ;;^UTILITY(U,$J,358.3,17780,1,4,0)
+30 ;;=4^S91.105A
+31 ;;^UTILITY(U,$J,358.3,17780,2)
+32 ;;=^5044177
+33 ;;^UTILITY(U,$J,358.3,17781,0)
+34 ;;=S81.801A^^61^792^21
+35 ;;^UTILITY(U,$J,358.3,17781,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,17781,1,3,0)
+38 ;;=3^Open Wound,Right Lower Leg,Unspec
+39 ;;^UTILITY(U,$J,358.3,17781,1,4,0)
+40 ;;=4^S81.801A
+41 ;;^UTILITY(U,$J,358.3,17781,2)
+42 ;;=^5040065
+43 ;;^UTILITY(U,$J,358.3,17782,0)
+44 ;;=S71.102A^^61^792^12
+45 ;;^UTILITY(U,$J,358.3,17782,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,17782,1,3,0)
+48 ;;=3^Open Wound,Left Thigh,Unspec
+49 ;;^UTILITY(U,$J,358.3,17782,1,4,0)
+50 ;;=4^S71.102A
+51 ;;^UTILITY(U,$J,358.3,17782,2)
+52 ;;=^5037011
+53 ;;^UTILITY(U,$J,358.3,17783,0)
+54 ;;=S71.101A^^61^792^22
+55 ;;^UTILITY(U,$J,358.3,17783,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,17783,1,3,0)
+58 ;;=3^Open Wound,Right Thigh,Unspec
+59 ;;^UTILITY(U,$J,358.3,17783,1,4,0)
+60 ;;=4^S71.101A
+61 ;;^UTILITY(U,$J,358.3,17783,2)
+62 ;;=^5037008
+63 ;;^UTILITY(U,$J,358.3,17784,0)
+64 ;;=S41.101A^^61^792^23
+65 ;;^UTILITY(U,$J,358.3,17784,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,17784,1,3,0)
+68 ;;=3^Open Wound,Right Upper Arm,Unspec
+69 ;;^UTILITY(U,$J,358.3,17784,1,4,0)
+70 ;;=4^S41.101A
+71 ;;^UTILITY(U,$J,358.3,17784,2)
+72 ;;=^5026330
+73 ;;^UTILITY(U,$J,358.3,17785,0)
+74 ;;=E03.5^^61^793^37
+75 ;;^UTILITY(U,$J,358.3,17785,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,17785,1,3,0)
+78 ;;=3^Myxedema Coma
+79 ;;^UTILITY(U,$J,358.3,17785,1,4,0)
+80 ;;=4^E03.5
+81 ;;^UTILITY(U,$J,358.3,17785,2)
+82 ;;=^5002474
+83 ;;^UTILITY(U,$J,358.3,17786,0)
+84 ;;=R40.2121^^61^793^33
+85 ;;^UTILITY(U,$J,358.3,17786,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,17786,1,3,0)
+88 ;;=3^Coma Scale,Eyes Open,to Pain,In the Field
+89 ;;^UTILITY(U,$J,358.3,17786,1,4,0)
+90 ;;=4^R40.2121
+91 ;;^UTILITY(U,$J,358.3,17786,2)
+92 ;;=^5019361
+93 ;;^UTILITY(U,$J,358.3,17787,0)
+94 ;;=R40.2120^^61^793^34
+95 ;;^UTILITY(U,$J,358.3,17787,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,17787,1,3,0)
+98 ;;=3^Coma Scale,Eyes Open,to Pain,Unspec Time
+99 ;;^UTILITY(U,$J,358.3,17787,1,4,0)
+100 ;;=4^R40.2120
+101 ;;^UTILITY(U,$J,358.3,17787,2)
+102 ;;=^5019360
+103 ;;^UTILITY(U,$J,358.3,17788,0)
+104 ;;=R40.2114^^61^793^26
+105 ;;^UTILITY(U,$J,358.3,17788,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,17788,1,3,0)
+108 ;;=3^Coma Scale,Eyes Open,Never,24+ hrs
+109 ;;^UTILITY(U,$J,358.3,17788,1,4,0)
+110 ;;=4^R40.2114
+111 ;;^UTILITY(U,$J,358.3,17788,2)
+112 ;;=^5019359
+113 ;;^UTILITY(U,$J,358.3,17789,0)
+114 ;;=R40.2113^^61^793^30
+115 ;;^UTILITY(U,$J,358.3,17789,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,17789,1,3,0)
+118 ;;=3^Coma Scale,Eyes Open,Never,at Hospital Admission
+119 ;;^UTILITY(U,$J,358.3,17789,1,4,0)
+120 ;;=4^R40.2113
+121 ;;^UTILITY(U,$J,358.3,17789,2)
+122 ;;=^5019358