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