IBDEI1E0 ; ; 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,22437,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22437,1,3,0)
;;=3^HTN/CKD 5 or ESRD
;;^UTILITY(U,$J,358.3,22437,1,4,0)
;;=4^I12.0
;;^UTILITY(U,$J,358.3,22437,2)
;;=^5007065
;;^UTILITY(U,$J,358.3,22438,0)
;;=I12.9^^73^961^43
;;^UTILITY(U,$J,358.3,22438,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22438,1,3,0)
;;=3^HTN/CKD 1-4
;;^UTILITY(U,$J,358.3,22438,1,4,0)
;;=4^I12.9
;;^UTILITY(U,$J,358.3,22438,2)
;;=^5007066
;;^UTILITY(U,$J,358.3,22439,0)
;;=I13.0^^73^961^42
;;^UTILITY(U,$J,358.3,22439,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22439,1,3,0)
;;=3^HTN/CHF/CKD 1-4
;;^UTILITY(U,$J,358.3,22439,1,4,0)
;;=4^I13.0
;;^UTILITY(U,$J,358.3,22439,2)
;;=^5007067
;;^UTILITY(U,$J,358.3,22440,0)
;;=I13.2^^73^961^41
;;^UTILITY(U,$J,358.3,22440,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22440,1,3,0)
;;=3^HTN/CHF/CDK 5 or ESRD
;;^UTILITY(U,$J,358.3,22440,1,4,0)
;;=4^I13.2
;;^UTILITY(U,$J,358.3,22440,2)
;;=^5007070
;;^UTILITY(U,$J,358.3,22441,0)
;;=R45.851^^73^962^3
;;^UTILITY(U,$J,358.3,22441,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22441,1,3,0)
;;=3^Suicidal Ideation
;;^UTILITY(U,$J,358.3,22441,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,22441,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,22442,0)
;;=T14.91XA^^73^962^4
;;^UTILITY(U,$J,358.3,22442,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22442,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,22442,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,22442,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,22443,0)
;;=T14.91XD^^73^962^6
;;^UTILITY(U,$J,358.3,22443,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22443,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,22443,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,22443,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,22444,0)
;;=T14.91XS^^73^962^5
;;^UTILITY(U,$J,358.3,22444,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22444,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,22444,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,22444,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,22445,0)
;;=Z91.51^^73^962^2
;;^UTILITY(U,$J,358.3,22445,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22445,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,22445,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,22445,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,22446,0)
;;=Z91.52^^73^962^1
;;^UTILITY(U,$J,358.3,22446,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22446,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,22446,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,22446,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,22447,0)
;;=Z02.5^^73^963^1
;;^UTILITY(U,$J,358.3,22447,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22447,1,3,0)
;;=3^Exam for Sports Participation (Primary)
;;^UTILITY(U,$J,358.3,22447,1,4,0)
;;=4^Z02.5
;;^UTILITY(U,$J,358.3,22447,2)
;;=^5062638
;;^UTILITY(U,$J,358.3,22448,0)
;;=G35.^^73^964^9
;;^UTILITY(U,$J,358.3,22448,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22448,1,3,0)
;;=3^Multiple Sclerosis
;;^UTILITY(U,$J,358.3,22448,1,4,0)
;;=4^G35.
;;^UTILITY(U,$J,358.3,22448,2)
;;=^79761
;;^UTILITY(U,$J,358.3,22449,0)
;;=S14.101S^^73^964^4
;;^UTILITY(U,$J,358.3,22449,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,22449,1,3,0)
;;=3^Injury at C1 Level of Cervical Spinal Cord,Unspec,Sequela
;;^UTILITY(U,$J,358.3,22449,1,4,0)
;;=4^S14.101S
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1E0 3786 printed Nov 22, 2024@17:17:03 Page 2
IBDEI1E0 ; ; 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,22437,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,22437,1,3,0)
+4 ;;=3^HTN/CKD 5 or ESRD
+5 ;;^UTILITY(U,$J,358.3,22437,1,4,0)
+6 ;;=4^I12.0
+7 ;;^UTILITY(U,$J,358.3,22437,2)
+8 ;;=^5007065
+9 ;;^UTILITY(U,$J,358.3,22438,0)
+10 ;;=I12.9^^73^961^43
+11 ;;^UTILITY(U,$J,358.3,22438,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,22438,1,3,0)
+14 ;;=3^HTN/CKD 1-4
+15 ;;^UTILITY(U,$J,358.3,22438,1,4,0)
+16 ;;=4^I12.9
+17 ;;^UTILITY(U,$J,358.3,22438,2)
+18 ;;=^5007066
+19 ;;^UTILITY(U,$J,358.3,22439,0)
+20 ;;=I13.0^^73^961^42
+21 ;;^UTILITY(U,$J,358.3,22439,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,22439,1,3,0)
+24 ;;=3^HTN/CHF/CKD 1-4
+25 ;;^UTILITY(U,$J,358.3,22439,1,4,0)
+26 ;;=4^I13.0
+27 ;;^UTILITY(U,$J,358.3,22439,2)
+28 ;;=^5007067
+29 ;;^UTILITY(U,$J,358.3,22440,0)
+30 ;;=I13.2^^73^961^41
+31 ;;^UTILITY(U,$J,358.3,22440,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,22440,1,3,0)
+34 ;;=3^HTN/CHF/CDK 5 or ESRD
+35 ;;^UTILITY(U,$J,358.3,22440,1,4,0)
+36 ;;=4^I13.2
+37 ;;^UTILITY(U,$J,358.3,22440,2)
+38 ;;=^5007070
+39 ;;^UTILITY(U,$J,358.3,22441,0)
+40 ;;=R45.851^^73^962^3
+41 ;;^UTILITY(U,$J,358.3,22441,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,22441,1,3,0)
+44 ;;=3^Suicidal Ideation
+45 ;;^UTILITY(U,$J,358.3,22441,1,4,0)
+46 ;;=4^R45.851
+47 ;;^UTILITY(U,$J,358.3,22441,2)
+48 ;;=^5019474
+49 ;;^UTILITY(U,$J,358.3,22442,0)
+50 ;;=T14.91XA^^73^962^4
+51 ;;^UTILITY(U,$J,358.3,22442,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,22442,1,3,0)
+54 ;;=3^Suicide Attempt,Initial Encntr
+55 ;;^UTILITY(U,$J,358.3,22442,1,4,0)
+56 ;;=4^T14.91XA
+57 ;;^UTILITY(U,$J,358.3,22442,2)
+58 ;;=^5151779
+59 ;;^UTILITY(U,$J,358.3,22443,0)
+60 ;;=T14.91XD^^73^962^6
+61 ;;^UTILITY(U,$J,358.3,22443,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,22443,1,3,0)
+64 ;;=3^Suicide Attempt,Subsequent Encntr
+65 ;;^UTILITY(U,$J,358.3,22443,1,4,0)
+66 ;;=4^T14.91XD
+67 ;;^UTILITY(U,$J,358.3,22443,2)
+68 ;;=^5151780
+69 ;;^UTILITY(U,$J,358.3,22444,0)
+70 ;;=T14.91XS^^73^962^5
+71 ;;^UTILITY(U,$J,358.3,22444,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,22444,1,3,0)
+74 ;;=3^Suicide Attempt,Sequela
+75 ;;^UTILITY(U,$J,358.3,22444,1,4,0)
+76 ;;=4^T14.91XS
+77 ;;^UTILITY(U,$J,358.3,22444,2)
+78 ;;=^5151781
+79 ;;^UTILITY(U,$J,358.3,22445,0)
+80 ;;=Z91.51^^73^962^2
+81 ;;^UTILITY(U,$J,358.3,22445,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,22445,1,3,0)
+84 ;;=3^Personal Hx of Suicidal Behavior
+85 ;;^UTILITY(U,$J,358.3,22445,1,4,0)
+86 ;;=4^Z91.51
+87 ;;^UTILITY(U,$J,358.3,22445,2)
+88 ;;=^5161317
+89 ;;^UTILITY(U,$J,358.3,22446,0)
+90 ;;=Z91.52^^73^962^1
+91 ;;^UTILITY(U,$J,358.3,22446,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,22446,1,3,0)
+94 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+95 ;;^UTILITY(U,$J,358.3,22446,1,4,0)
+96 ;;=4^Z91.52
+97 ;;^UTILITY(U,$J,358.3,22446,2)
+98 ;;=^5161318
+99 ;;^UTILITY(U,$J,358.3,22447,0)
+100 ;;=Z02.5^^73^963^1
+101 ;;^UTILITY(U,$J,358.3,22447,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,22447,1,3,0)
+104 ;;=3^Exam for Sports Participation (Primary)
+105 ;;^UTILITY(U,$J,358.3,22447,1,4,0)
+106 ;;=4^Z02.5
+107 ;;^UTILITY(U,$J,358.3,22447,2)
+108 ;;=^5062638
+109 ;;^UTILITY(U,$J,358.3,22448,0)
+110 ;;=G35.^^73^964^9
+111 ;;^UTILITY(U,$J,358.3,22448,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,22448,1,3,0)
+114 ;;=3^Multiple Sclerosis
+115 ;;^UTILITY(U,$J,358.3,22448,1,4,0)
+116 ;;=4^G35.
+117 ;;^UTILITY(U,$J,358.3,22448,2)
+118 ;;=^79761
+119 ;;^UTILITY(U,$J,358.3,22449,0)
+120 ;;=S14.101S^^73^964^4
+121 ;;^UTILITY(U,$J,358.3,22449,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,22449,1,3,0)
+124 ;;=3^Injury at C1 Level of Cervical Spinal Cord,Unspec,Sequela
+125 ;;^UTILITY(U,$J,358.3,22449,1,4,0)
+126 ;;=4^S14.101S