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