IBDEI2ET ; ; 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,38454,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38454,1,3,0)
;;=3^War op involving unsp explosion and fragments, milt, sequela
;;^UTILITY(U,$J,358.3,38454,1,4,0)
;;=4^Y36.200S
;;^UTILITY(U,$J,358.3,38454,2)
;;=^5061609
;;^UTILITY(U,$J,358.3,38455,0)
;;=Y36.230S^^149^1955^7
;;^UTILITY(U,$J,358.3,38455,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38455,1,3,0)
;;=3^War op w explosn of improv explosv device, milt, sequela
;;^UTILITY(U,$J,358.3,38455,1,4,0)
;;=4^Y36.230S
;;^UTILITY(U,$J,358.3,38455,2)
;;=^5061627
;;^UTILITY(U,$J,358.3,38456,0)
;;=Y36.250S^^149^1955^2
;;^UTILITY(U,$J,358.3,38456,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38456,1,3,0)
;;=3^War op involving fragments from munitions, milt, sequela
;;^UTILITY(U,$J,358.3,38456,1,4,0)
;;=4^Y36.250S
;;^UTILITY(U,$J,358.3,38456,2)
;;=^5061639
;;^UTILITY(U,$J,358.3,38457,0)
;;=Y36.260S^^149^1955^8
;;^UTILITY(U,$J,358.3,38457,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38457,1,3,0)
;;=3^War op w fragmt of improv explosv device, milt, sequela
;;^UTILITY(U,$J,358.3,38457,1,4,0)
;;=4^Y36.260S
;;^UTILITY(U,$J,358.3,38457,2)
;;=^5061645
;;^UTILITY(U,$J,358.3,38458,0)
;;=Y36.270S^^149^1955^3
;;^UTILITY(U,$J,358.3,38458,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38458,1,3,0)
;;=3^War op involving fragments from weapons, milt, sequela
;;^UTILITY(U,$J,358.3,38458,1,4,0)
;;=4^Y36.270S
;;^UTILITY(U,$J,358.3,38458,2)
;;=^5061651
;;^UTILITY(U,$J,358.3,38459,0)
;;=Y36.290S^^149^1955^4
;;^UTILITY(U,$J,358.3,38459,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38459,1,3,0)
;;=3^War op involving oth explosn and fragments, milt, sequela
;;^UTILITY(U,$J,358.3,38459,1,4,0)
;;=4^Y36.290S
;;^UTILITY(U,$J,358.3,38459,2)
;;=^5061657
;;^UTILITY(U,$J,358.3,38460,0)
;;=Z91.5^^149^1956^1
;;^UTILITY(U,$J,358.3,38460,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38460,1,3,0)
;;=3^Personal Hx of Suicide Attempt(s)
;;^UTILITY(U,$J,358.3,38460,1,4,0)
;;=4^Z91.5
;;^UTILITY(U,$J,358.3,38460,2)
;;=^5063624
;;^UTILITY(U,$J,358.3,38461,0)
;;=R45.851^^149^1956^2
;;^UTILITY(U,$J,358.3,38461,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38461,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,38461,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,38461,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,38462,0)
;;=T14.91XA^^149^1956^3
;;^UTILITY(U,$J,358.3,38462,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38462,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,38462,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,38462,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,38463,0)
;;=T14.91XD^^149^1956^4
;;^UTILITY(U,$J,358.3,38463,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38463,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,38463,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,38463,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,38464,0)
;;=T14.91XS^^149^1956^5
;;^UTILITY(U,$J,358.3,38464,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38464,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,38464,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,38464,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,38465,0)
;;=99201^^150^1957^1
;;^UTILITY(U,$J,358.3,38465,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38465,1,1,0)
;;=1^Problem Focus
;;^UTILITY(U,$J,358.3,38465,1,2,0)
;;=2^99201
;;^UTILITY(U,$J,358.3,38466,0)
;;=99202^^150^1957^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2ET 3776 printed Nov 22, 2024@17:37:31 Page 2
IBDEI2ET ; ; 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,38454,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,38454,1,3,0)
+4 ;;=3^War op involving unsp explosion and fragments, milt, sequela
+5 ;;^UTILITY(U,$J,358.3,38454,1,4,0)
+6 ;;=4^Y36.200S
+7 ;;^UTILITY(U,$J,358.3,38454,2)
+8 ;;=^5061609
+9 ;;^UTILITY(U,$J,358.3,38455,0)
+10 ;;=Y36.230S^^149^1955^7
+11 ;;^UTILITY(U,$J,358.3,38455,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,38455,1,3,0)
+14 ;;=3^War op w explosn of improv explosv device, milt, sequela
+15 ;;^UTILITY(U,$J,358.3,38455,1,4,0)
+16 ;;=4^Y36.230S
+17 ;;^UTILITY(U,$J,358.3,38455,2)
+18 ;;=^5061627
+19 ;;^UTILITY(U,$J,358.3,38456,0)
+20 ;;=Y36.250S^^149^1955^2
+21 ;;^UTILITY(U,$J,358.3,38456,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,38456,1,3,0)
+24 ;;=3^War op involving fragments from munitions, milt, sequela
+25 ;;^UTILITY(U,$J,358.3,38456,1,4,0)
+26 ;;=4^Y36.250S
+27 ;;^UTILITY(U,$J,358.3,38456,2)
+28 ;;=^5061639
+29 ;;^UTILITY(U,$J,358.3,38457,0)
+30 ;;=Y36.260S^^149^1955^8
+31 ;;^UTILITY(U,$J,358.3,38457,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,38457,1,3,0)
+34 ;;=3^War op w fragmt of improv explosv device, milt, sequela
+35 ;;^UTILITY(U,$J,358.3,38457,1,4,0)
+36 ;;=4^Y36.260S
+37 ;;^UTILITY(U,$J,358.3,38457,2)
+38 ;;=^5061645
+39 ;;^UTILITY(U,$J,358.3,38458,0)
+40 ;;=Y36.270S^^149^1955^3
+41 ;;^UTILITY(U,$J,358.3,38458,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,38458,1,3,0)
+44 ;;=3^War op involving fragments from weapons, milt, sequela
+45 ;;^UTILITY(U,$J,358.3,38458,1,4,0)
+46 ;;=4^Y36.270S
+47 ;;^UTILITY(U,$J,358.3,38458,2)
+48 ;;=^5061651
+49 ;;^UTILITY(U,$J,358.3,38459,0)
+50 ;;=Y36.290S^^149^1955^4
+51 ;;^UTILITY(U,$J,358.3,38459,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,38459,1,3,0)
+54 ;;=3^War op involving oth explosn and fragments, milt, sequela
+55 ;;^UTILITY(U,$J,358.3,38459,1,4,0)
+56 ;;=4^Y36.290S
+57 ;;^UTILITY(U,$J,358.3,38459,2)
+58 ;;=^5061657
+59 ;;^UTILITY(U,$J,358.3,38460,0)
+60 ;;=Z91.5^^149^1956^1
+61 ;;^UTILITY(U,$J,358.3,38460,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,38460,1,3,0)
+64 ;;=3^Personal Hx of Suicide Attempt(s)
+65 ;;^UTILITY(U,$J,358.3,38460,1,4,0)
+66 ;;=4^Z91.5
+67 ;;^UTILITY(U,$J,358.3,38460,2)
+68 ;;=^5063624
+69 ;;^UTILITY(U,$J,358.3,38461,0)
+70 ;;=R45.851^^149^1956^2
+71 ;;^UTILITY(U,$J,358.3,38461,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,38461,1,3,0)
+74 ;;=3^Suicidal Ideations
+75 ;;^UTILITY(U,$J,358.3,38461,1,4,0)
+76 ;;=4^R45.851
+77 ;;^UTILITY(U,$J,358.3,38461,2)
+78 ;;=^5019474
+79 ;;^UTILITY(U,$J,358.3,38462,0)
+80 ;;=T14.91XA^^149^1956^3
+81 ;;^UTILITY(U,$J,358.3,38462,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,38462,1,3,0)
+84 ;;=3^Suicide Attempt,Initial Encntr
+85 ;;^UTILITY(U,$J,358.3,38462,1,4,0)
+86 ;;=4^T14.91XA
+87 ;;^UTILITY(U,$J,358.3,38462,2)
+88 ;;=^5151779
+89 ;;^UTILITY(U,$J,358.3,38463,0)
+90 ;;=T14.91XD^^149^1956^4
+91 ;;^UTILITY(U,$J,358.3,38463,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,38463,1,3,0)
+94 ;;=3^Suicide Attempt,Subsequent Encntr
+95 ;;^UTILITY(U,$J,358.3,38463,1,4,0)
+96 ;;=4^T14.91XD
+97 ;;^UTILITY(U,$J,358.3,38463,2)
+98 ;;=^5151780
+99 ;;^UTILITY(U,$J,358.3,38464,0)
+100 ;;=T14.91XS^^149^1956^5
+101 ;;^UTILITY(U,$J,358.3,38464,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,38464,1,3,0)
+104 ;;=3^Suicide Attempt,Sequela
+105 ;;^UTILITY(U,$J,358.3,38464,1,4,0)
+106 ;;=4^T14.91XS
+107 ;;^UTILITY(U,$J,358.3,38464,2)
+108 ;;=^5151781
+109 ;;^UTILITY(U,$J,358.3,38465,0)
+110 ;;=99201^^150^1957^1
+111 ;;^UTILITY(U,$J,358.3,38465,1,0)
+112 ;;=^358.31IA^2^2
+113 ;;^UTILITY(U,$J,358.3,38465,1,1,0)
+114 ;;=1^Problem Focus
+115 ;;^UTILITY(U,$J,358.3,38465,1,2,0)
+116 ;;=2^99201
+117 ;;^UTILITY(U,$J,358.3,38466,0)
+118 ;;=99202^^150^1957^2