IBDEI2YX ; ; 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,47372,0)
;;=Z48.89^^181^2365^7
;;^UTILITY(U,$J,358.3,47372,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47372,1,3,0)
;;=3^Surgical Aftercare,Oth Specified
;;^UTILITY(U,$J,358.3,47372,1,4,0)
;;=4^Z48.89
;;^UTILITY(U,$J,358.3,47372,2)
;;=^5063055
;;^UTILITY(U,$J,358.3,47373,0)
;;=Z51.89^^181^2365^1
;;^UTILITY(U,$J,358.3,47373,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47373,1,3,0)
;;=3^Aftercare,Oth Specified
;;^UTILITY(U,$J,358.3,47373,1,4,0)
;;=4^Z51.89
;;^UTILITY(U,$J,358.3,47373,2)
;;=^5063065
;;^UTILITY(U,$J,358.3,47374,0)
;;=Z71.9^^181^2365^2
;;^UTILITY(U,$J,358.3,47374,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47374,1,3,0)
;;=3^Counseling,Unspec
;;^UTILITY(U,$J,358.3,47374,1,4,0)
;;=4^Z71.9
;;^UTILITY(U,$J,358.3,47374,2)
;;=^5063254
;;^UTILITY(U,$J,358.3,47375,0)
;;=Z01.89^^181^2365^6
;;^UTILITY(U,$J,358.3,47375,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47375,1,3,0)
;;=3^Special Exam,Oth Specified
;;^UTILITY(U,$J,358.3,47375,1,4,0)
;;=4^Z01.89
;;^UTILITY(U,$J,358.3,47375,2)
;;=^5062632
;;^UTILITY(U,$J,358.3,47376,0)
;;=Z01.811^^181^2365^5
;;^UTILITY(U,$J,358.3,47376,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47376,1,3,0)
;;=3^Preprocedural Respiratory Exam
;;^UTILITY(U,$J,358.3,47376,1,4,0)
;;=4^Z01.811
;;^UTILITY(U,$J,358.3,47376,2)
;;=^5062626
;;^UTILITY(U,$J,358.3,47377,0)
;;=Z91.5^^181^2366^1
;;^UTILITY(U,$J,358.3,47377,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47377,1,3,0)
;;=3^Personal Hx of Suicide Attempt(s)
;;^UTILITY(U,$J,358.3,47377,1,4,0)
;;=4^Z91.5
;;^UTILITY(U,$J,358.3,47377,2)
;;=^5063624
;;^UTILITY(U,$J,358.3,47378,0)
;;=R45.851^^181^2366^2
;;^UTILITY(U,$J,358.3,47378,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47378,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,47378,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,47378,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,47379,0)
;;=T14.91XA^^181^2366^3
;;^UTILITY(U,$J,358.3,47379,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47379,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,47379,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,47379,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,47380,0)
;;=T14.91XD^^181^2366^4
;;^UTILITY(U,$J,358.3,47380,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47380,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,47380,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,47380,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,47381,0)
;;=T14.91XS^^181^2366^5
;;^UTILITY(U,$J,358.3,47381,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47381,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,47381,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,47381,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,47382,0)
;;=64415^^182^2367^4^^^^1
;;^UTILITY(U,$J,358.3,47382,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47382,1,2,0)
;;=2^NERVE BLK BRACHIAL PLEXUS,SNGL INJ
;;^UTILITY(U,$J,358.3,47382,1,4,0)
;;=4^64415
;;^UTILITY(U,$J,358.3,47383,0)
;;=64416^^182^2367^3^^^^1
;;^UTILITY(U,$J,358.3,47383,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47383,1,2,0)
;;=2^NERVE BLK BRACHIAL PLEXUS,CONT INFUSION
;;^UTILITY(U,$J,358.3,47383,1,4,0)
;;=4^64416
;;^UTILITY(U,$J,358.3,47384,0)
;;=64447^^182^2367^7^^^^1
;;^UTILITY(U,$J,358.3,47384,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47384,1,2,0)
;;=2^NERVE BLK FEMORAL NERVE,SNGL INJ
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2YX 3758 printed Dec 13, 2024@02:38:32 Page 2
IBDEI2YX ; ; 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,47372,0)
+2 ;;=Z48.89^^181^2365^7
+3 ;;^UTILITY(U,$J,358.3,47372,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,47372,1,3,0)
+6 ;;=3^Surgical Aftercare,Oth Specified
+7 ;;^UTILITY(U,$J,358.3,47372,1,4,0)
+8 ;;=4^Z48.89
+9 ;;^UTILITY(U,$J,358.3,47372,2)
+10 ;;=^5063055
+11 ;;^UTILITY(U,$J,358.3,47373,0)
+12 ;;=Z51.89^^181^2365^1
+13 ;;^UTILITY(U,$J,358.3,47373,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,47373,1,3,0)
+16 ;;=3^Aftercare,Oth Specified
+17 ;;^UTILITY(U,$J,358.3,47373,1,4,0)
+18 ;;=4^Z51.89
+19 ;;^UTILITY(U,$J,358.3,47373,2)
+20 ;;=^5063065
+21 ;;^UTILITY(U,$J,358.3,47374,0)
+22 ;;=Z71.9^^181^2365^2
+23 ;;^UTILITY(U,$J,358.3,47374,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,47374,1,3,0)
+26 ;;=3^Counseling,Unspec
+27 ;;^UTILITY(U,$J,358.3,47374,1,4,0)
+28 ;;=4^Z71.9
+29 ;;^UTILITY(U,$J,358.3,47374,2)
+30 ;;=^5063254
+31 ;;^UTILITY(U,$J,358.3,47375,0)
+32 ;;=Z01.89^^181^2365^6
+33 ;;^UTILITY(U,$J,358.3,47375,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,47375,1,3,0)
+36 ;;=3^Special Exam,Oth Specified
+37 ;;^UTILITY(U,$J,358.3,47375,1,4,0)
+38 ;;=4^Z01.89
+39 ;;^UTILITY(U,$J,358.3,47375,2)
+40 ;;=^5062632
+41 ;;^UTILITY(U,$J,358.3,47376,0)
+42 ;;=Z01.811^^181^2365^5
+43 ;;^UTILITY(U,$J,358.3,47376,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,47376,1,3,0)
+46 ;;=3^Preprocedural Respiratory Exam
+47 ;;^UTILITY(U,$J,358.3,47376,1,4,0)
+48 ;;=4^Z01.811
+49 ;;^UTILITY(U,$J,358.3,47376,2)
+50 ;;=^5062626
+51 ;;^UTILITY(U,$J,358.3,47377,0)
+52 ;;=Z91.5^^181^2366^1
+53 ;;^UTILITY(U,$J,358.3,47377,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,47377,1,3,0)
+56 ;;=3^Personal Hx of Suicide Attempt(s)
+57 ;;^UTILITY(U,$J,358.3,47377,1,4,0)
+58 ;;=4^Z91.5
+59 ;;^UTILITY(U,$J,358.3,47377,2)
+60 ;;=^5063624
+61 ;;^UTILITY(U,$J,358.3,47378,0)
+62 ;;=R45.851^^181^2366^2
+63 ;;^UTILITY(U,$J,358.3,47378,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,47378,1,3,0)
+66 ;;=3^Suicidal Ideations
+67 ;;^UTILITY(U,$J,358.3,47378,1,4,0)
+68 ;;=4^R45.851
+69 ;;^UTILITY(U,$J,358.3,47378,2)
+70 ;;=^5019474
+71 ;;^UTILITY(U,$J,358.3,47379,0)
+72 ;;=T14.91XA^^181^2366^3
+73 ;;^UTILITY(U,$J,358.3,47379,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,47379,1,3,0)
+76 ;;=3^Suicide Attempt,Initial Encntr
+77 ;;^UTILITY(U,$J,358.3,47379,1,4,0)
+78 ;;=4^T14.91XA
+79 ;;^UTILITY(U,$J,358.3,47379,2)
+80 ;;=^5151779
+81 ;;^UTILITY(U,$J,358.3,47380,0)
+82 ;;=T14.91XD^^181^2366^4
+83 ;;^UTILITY(U,$J,358.3,47380,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,47380,1,3,0)
+86 ;;=3^Suicide Attempt,Subsequent Encntr
+87 ;;^UTILITY(U,$J,358.3,47380,1,4,0)
+88 ;;=4^T14.91XD
+89 ;;^UTILITY(U,$J,358.3,47380,2)
+90 ;;=^5151780
+91 ;;^UTILITY(U,$J,358.3,47381,0)
+92 ;;=T14.91XS^^181^2366^5
+93 ;;^UTILITY(U,$J,358.3,47381,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,47381,1,3,0)
+96 ;;=3^Suicide Attempt,Sequela
+97 ;;^UTILITY(U,$J,358.3,47381,1,4,0)
+98 ;;=4^T14.91XS
+99 ;;^UTILITY(U,$J,358.3,47381,2)
+100 ;;=^5151781
+101 ;;^UTILITY(U,$J,358.3,47382,0)
+102 ;;=64415^^182^2367^4^^^^1
+103 ;;^UTILITY(U,$J,358.3,47382,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,47382,1,2,0)
+106 ;;=2^NERVE BLK BRACHIAL PLEXUS,SNGL INJ
+107 ;;^UTILITY(U,$J,358.3,47382,1,4,0)
+108 ;;=4^64415
+109 ;;^UTILITY(U,$J,358.3,47383,0)
+110 ;;=64416^^182^2367^3^^^^1
+111 ;;^UTILITY(U,$J,358.3,47383,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,47383,1,2,0)
+114 ;;=2^NERVE BLK BRACHIAL PLEXUS,CONT INFUSION
+115 ;;^UTILITY(U,$J,358.3,47383,1,4,0)
+116 ;;=4^64416
+117 ;;^UTILITY(U,$J,358.3,47384,0)
+118 ;;=64447^^182^2367^7^^^^1
+119 ;;^UTILITY(U,$J,358.3,47384,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,47384,1,2,0)
+122 ;;=2^NERVE BLK FEMORAL NERVE,SNGL INJ