IBDEI2T2 ; ; 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,44745,0)
;;=Y36.290S^^167^2230^10
;;^UTILITY(U,$J,358.3,44745,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44745,1,3,0)
;;=3^War op involving oth explosn and fragments, milt, sequela
;;^UTILITY(U,$J,358.3,44745,1,4,0)
;;=4^Y36.290S
;;^UTILITY(U,$J,358.3,44745,2)
;;=^5061657
;;^UTILITY(U,$J,358.3,44746,0)
;;=Y36.321S^^167^2230^7
;;^UTILITY(U,$J,358.3,44746,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44746,1,3,0)
;;=3^War op involving incendiary bullet, civilian, sequela
;;^UTILITY(U,$J,358.3,44746,1,4,0)
;;=4^Y36.321S
;;^UTILITY(U,$J,358.3,44746,2)
;;=^5061678
;;^UTILITY(U,$J,358.3,44747,0)
;;=Y36.411S^^167^2230^11
;;^UTILITY(U,$J,358.3,44747,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44747,1,3,0)
;;=3^War op involving rubber bullets, civilian, sequela
;;^UTILITY(U,$J,358.3,44747,1,4,0)
;;=4^Y36.411S
;;^UTILITY(U,$J,358.3,44747,2)
;;=^5061696
;;^UTILITY(U,$J,358.3,44748,0)
;;=Y36.491S^^167^2230^8
;;^UTILITY(U,$J,358.3,44748,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44748,1,3,0)
;;=3^War op involving oth conventl warfare, civilian, sequela
;;^UTILITY(U,$J,358.3,44748,1,4,0)
;;=4^Y36.491S
;;^UTILITY(U,$J,358.3,44748,2)
;;=^5061738
;;^UTILITY(U,$J,358.3,44749,0)
;;=Y36.511S^^167^2230^14
;;^UTILITY(U,$J,358.3,44749,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44749,1,3,0)
;;=3^War op w direct blast effect of nuclear weapon, civ, sequela
;;^UTILITY(U,$J,358.3,44749,1,4,0)
;;=4^Y36.511S
;;^UTILITY(U,$J,358.3,44749,2)
;;=^5061750
;;^UTILITY(U,$J,358.3,44750,0)
;;=Y36.6X1S^^167^2230^1
;;^UTILITY(U,$J,358.3,44750,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44750,1,3,0)
;;=3^War op involving biolg weapons, civilian, sequela
;;^UTILITY(U,$J,358.3,44750,1,4,0)
;;=4^Y36.6X1S
;;^UTILITY(U,$J,358.3,44750,2)
;;=^5061780
;;^UTILITY(U,$J,358.3,44751,0)
;;=Y36.7X0S^^167^2230^13
;;^UTILITY(U,$J,358.3,44751,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44751,1,3,0)
;;=3^War op w chem weapons and oth unconvtl warfare, milt, sqla
;;^UTILITY(U,$J,358.3,44751,1,4,0)
;;=4^Y36.7X0S
;;^UTILITY(U,$J,358.3,44751,2)
;;=^5061783
;;^UTILITY(U,$J,358.3,44752,0)
;;=Z91.5^^167^2231^1
;;^UTILITY(U,$J,358.3,44752,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44752,1,3,0)
;;=3^Personal Hx of Suicide Attempt(s)
;;^UTILITY(U,$J,358.3,44752,1,4,0)
;;=4^Z91.5
;;^UTILITY(U,$J,358.3,44752,2)
;;=^5063624
;;^UTILITY(U,$J,358.3,44753,0)
;;=R45.851^^167^2231^2
;;^UTILITY(U,$J,358.3,44753,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44753,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,44753,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,44753,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,44754,0)
;;=T14.91XA^^167^2231^3
;;^UTILITY(U,$J,358.3,44754,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44754,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,44754,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,44754,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,44755,0)
;;=T14.91XD^^167^2231^4
;;^UTILITY(U,$J,358.3,44755,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44755,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,44755,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,44755,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,44756,0)
;;=T14.91XS^^167^2231^5
;;^UTILITY(U,$J,358.3,44756,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44756,1,3,0)
;;=3^Suicide Attempt,Sequela
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2T2 3768 printed Nov 22, 2024@17:45:26 Page 2
IBDEI2T2 ; ; 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,44745,0)
+2 ;;=Y36.290S^^167^2230^10
+3 ;;^UTILITY(U,$J,358.3,44745,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,44745,1,3,0)
+6 ;;=3^War op involving oth explosn and fragments, milt, sequela
+7 ;;^UTILITY(U,$J,358.3,44745,1,4,0)
+8 ;;=4^Y36.290S
+9 ;;^UTILITY(U,$J,358.3,44745,2)
+10 ;;=^5061657
+11 ;;^UTILITY(U,$J,358.3,44746,0)
+12 ;;=Y36.321S^^167^2230^7
+13 ;;^UTILITY(U,$J,358.3,44746,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,44746,1,3,0)
+16 ;;=3^War op involving incendiary bullet, civilian, sequela
+17 ;;^UTILITY(U,$J,358.3,44746,1,4,0)
+18 ;;=4^Y36.321S
+19 ;;^UTILITY(U,$J,358.3,44746,2)
+20 ;;=^5061678
+21 ;;^UTILITY(U,$J,358.3,44747,0)
+22 ;;=Y36.411S^^167^2230^11
+23 ;;^UTILITY(U,$J,358.3,44747,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,44747,1,3,0)
+26 ;;=3^War op involving rubber bullets, civilian, sequela
+27 ;;^UTILITY(U,$J,358.3,44747,1,4,0)
+28 ;;=4^Y36.411S
+29 ;;^UTILITY(U,$J,358.3,44747,2)
+30 ;;=^5061696
+31 ;;^UTILITY(U,$J,358.3,44748,0)
+32 ;;=Y36.491S^^167^2230^8
+33 ;;^UTILITY(U,$J,358.3,44748,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,44748,1,3,0)
+36 ;;=3^War op involving oth conventl warfare, civilian, sequela
+37 ;;^UTILITY(U,$J,358.3,44748,1,4,0)
+38 ;;=4^Y36.491S
+39 ;;^UTILITY(U,$J,358.3,44748,2)
+40 ;;=^5061738
+41 ;;^UTILITY(U,$J,358.3,44749,0)
+42 ;;=Y36.511S^^167^2230^14
+43 ;;^UTILITY(U,$J,358.3,44749,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,44749,1,3,0)
+46 ;;=3^War op w direct blast effect of nuclear weapon, civ, sequela
+47 ;;^UTILITY(U,$J,358.3,44749,1,4,0)
+48 ;;=4^Y36.511S
+49 ;;^UTILITY(U,$J,358.3,44749,2)
+50 ;;=^5061750
+51 ;;^UTILITY(U,$J,358.3,44750,0)
+52 ;;=Y36.6X1S^^167^2230^1
+53 ;;^UTILITY(U,$J,358.3,44750,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,44750,1,3,0)
+56 ;;=3^War op involving biolg weapons, civilian, sequela
+57 ;;^UTILITY(U,$J,358.3,44750,1,4,0)
+58 ;;=4^Y36.6X1S
+59 ;;^UTILITY(U,$J,358.3,44750,2)
+60 ;;=^5061780
+61 ;;^UTILITY(U,$J,358.3,44751,0)
+62 ;;=Y36.7X0S^^167^2230^13
+63 ;;^UTILITY(U,$J,358.3,44751,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,44751,1,3,0)
+66 ;;=3^War op w chem weapons and oth unconvtl warfare, milt, sqla
+67 ;;^UTILITY(U,$J,358.3,44751,1,4,0)
+68 ;;=4^Y36.7X0S
+69 ;;^UTILITY(U,$J,358.3,44751,2)
+70 ;;=^5061783
+71 ;;^UTILITY(U,$J,358.3,44752,0)
+72 ;;=Z91.5^^167^2231^1
+73 ;;^UTILITY(U,$J,358.3,44752,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,44752,1,3,0)
+76 ;;=3^Personal Hx of Suicide Attempt(s)
+77 ;;^UTILITY(U,$J,358.3,44752,1,4,0)
+78 ;;=4^Z91.5
+79 ;;^UTILITY(U,$J,358.3,44752,2)
+80 ;;=^5063624
+81 ;;^UTILITY(U,$J,358.3,44753,0)
+82 ;;=R45.851^^167^2231^2
+83 ;;^UTILITY(U,$J,358.3,44753,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,44753,1,3,0)
+86 ;;=3^Suicidal Ideations
+87 ;;^UTILITY(U,$J,358.3,44753,1,4,0)
+88 ;;=4^R45.851
+89 ;;^UTILITY(U,$J,358.3,44753,2)
+90 ;;=^5019474
+91 ;;^UTILITY(U,$J,358.3,44754,0)
+92 ;;=T14.91XA^^167^2231^3
+93 ;;^UTILITY(U,$J,358.3,44754,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,44754,1,3,0)
+96 ;;=3^Suicide Attempt,Initial Encntr
+97 ;;^UTILITY(U,$J,358.3,44754,1,4,0)
+98 ;;=4^T14.91XA
+99 ;;^UTILITY(U,$J,358.3,44754,2)
+100 ;;=^5151779
+101 ;;^UTILITY(U,$J,358.3,44755,0)
+102 ;;=T14.91XD^^167^2231^4
+103 ;;^UTILITY(U,$J,358.3,44755,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,44755,1,3,0)
+106 ;;=3^Suicide Attempt,Subsequent Encntr
+107 ;;^UTILITY(U,$J,358.3,44755,1,4,0)
+108 ;;=4^T14.91XD
+109 ;;^UTILITY(U,$J,358.3,44755,2)
+110 ;;=^5151780
+111 ;;^UTILITY(U,$J,358.3,44756,0)
+112 ;;=T14.91XS^^167^2231^5
+113 ;;^UTILITY(U,$J,358.3,44756,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,44756,1,3,0)
+116 ;;=3^Suicide Attempt,Sequela