IBDEI0BK ; ; 01-AUG-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;AUG 01, 2022
Q:'DIFQR(358.5) 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.5,112,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,113,0)
;;=HEADER^134
;;^UTILITY(U,$J,358.5,113,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,113,2,1,0)
;;=NATIONAL TELEPHONE CLINICS^^^0^0
;;^UTILITY(U,$J,358.5,114,0)
;;=Patient name^135^1
;;^UTILITY(U,$J,358.5,114,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,114,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,115,0)
;;=SSN^135^2
;;^UTILITY(U,$J,358.5,115,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,115,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,116,0)
;;=Age^135^3
;;^UTILITY(U,$J,358.5,116,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,116,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,116,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,117,0)
;;=Patient name^138^1
;;^UTILITY(U,$J,358.5,117,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,117,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,118,0)
;;=SSN^138^2
;;^UTILITY(U,$J,358.5,118,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,118,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,119,0)
;;=Age^138^3
;;^UTILITY(U,$J,358.5,119,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,119,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,119,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,120,0)
;;=HEADER^139
;;^UTILITY(U,$J,358.5,120,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,120,2,1,0)
;;=NATIONAL TELE-EYE^^^0^0
;;^UTILITY(U,$J,358.5,121,0)
;;=HEADER^143
;;^UTILITY(U,$J,358.5,121,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,121,2,1,0)
;;=NATIONAL ANESTHESIA^^^0^0
;;^UTILITY(U,$J,358.5,122,0)
;;=Patient name^144^1
;;^UTILITY(U,$J,358.5,122,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,122,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,123,0)
;;=SSN^144^2
;;^UTILITY(U,$J,358.5,123,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,123,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,124,0)
;;=Age^144^3
;;^UTILITY(U,$J,358.5,124,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,124,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,124,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,125,0)
;;=Patient name^148^1
;;^UTILITY(U,$J,358.5,125,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,125,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,126,0)
;;=SSN^148^2
;;^UTILITY(U,$J,358.5,126,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,126,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,127,0)
;;=Age^148^3
;;^UTILITY(U,$J,358.5,127,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,127,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,127,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,128,0)
;;=HEADER^149
;;^UTILITY(U,$J,358.5,128,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,128,2,1,0)
;;=NATIONAL INPATIENT HOSPICE/PALLIATIVE CARE^^^0^0
;;^UTILITY(U,$J,358.5,129,0)
;;=Patient name^153^1
;;^UTILITY(U,$J,358.5,129,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,129,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,130,0)
;;=SSN^153^2
;;^UTILITY(U,$J,358.5,130,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,130,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,131,0)
;;=Age^153^3
;;^UTILITY(U,$J,358.5,131,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,131,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,131,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,132,0)
;;=HEADER^155
;;^UTILITY(U,$J,358.5,132,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,132,2,1,0)
;;=NATIONAL OUTPATIENT HOSPICE/PALLIATIVE CARE^^^0^0
;;^UTILITY(U,$J,358.5,133,0)
;;=HEADER^157
;;^UTILITY(U,$J,358.5,133,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,133,2,1,0)
;;=NATIONAL COVID-19 SUPPLEMENTAL FORM^^B^0^0
;;^UTILITY(U,$J,358.5,134,0)
;;=Patient name^158^1
;;^UTILITY(U,$J,358.5,134,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,134,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,135,0)
;;=SSN^158^2
;;^UTILITY(U,$J,358.5,135,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,135,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,136,0)
;;=Age^158^3
;;^UTILITY(U,$J,358.5,136,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,136,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,136,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,137,0)
;;=HEADER^160
;;^UTILITY(U,$J,358.5,137,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,137,2,1,0)
;;=NATIONAL TELEPHONE COVID-19 SUPPLEMENTAL FORM^^^0^0
;;^UTILITY(U,$J,358.5,138,0)
;;=Patient name^161^1
;;^UTILITY(U,$J,358.5,138,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,138,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,139,0)
;;=SSN^161^2
;;^UTILITY(U,$J,358.5,139,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,139,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,140,0)
;;=Age^161^3
;;^UTILITY(U,$J,358.5,140,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,140,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,140,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,145,0)
;;=Patient name^168^1
;;^UTILITY(U,$J,358.5,145,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,145,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,146,0)
;;=SSN^168^2
;;^UTILITY(U,$J,358.5,146,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,146,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,147,0)
;;=Age^168^3
;;^UTILITY(U,$J,358.5,147,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,147,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,147,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,148,0)
;;=HEADER^169
;;^UTILITY(U,$J,358.5,148,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,148,2,1,0)
;;=NATIONAL REMOTE MONITORING^^B^0^0
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0BK 6068 printed Oct 16, 2024@17:46:18 Page 2
IBDEI0BK ; ; 01-AUG-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;AUG 01, 2022
+2 if 'DIFQR(358.5)
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.5,112,2,2,0)
+2 ;;=Age:^^^78^1^1^83^3^2
+3 ;;^UTILITY(U,$J,358.5,113,0)
+4 ;;=HEADER^134
+5 ;;^UTILITY(U,$J,358.5,113,2,0)
+6 ;;=^358.52^1^1
+7 ;;^UTILITY(U,$J,358.5,113,2,1,0)
+8 ;;=NATIONAL TELEPHONE CLINICS^^^0^0
+9 ;;^UTILITY(U,$J,358.5,114,0)
+10 ;;=Patient name^135^1
+11 ;;^UTILITY(U,$J,358.5,114,2,0)
+12 ;;=^358.52^1^1
+13 ;;^UTILITY(U,$J,358.5,114,2,1,0)
+14 ;;=Name:^^^1^1^1^7^30^1
+15 ;;^UTILITY(U,$J,358.5,115,0)
+16 ;;=SSN^135^2
+17 ;;^UTILITY(U,$J,358.5,115,2,0)
+18 ;;=^358.52^1^1
+19 ;;^UTILITY(U,$J,358.5,115,2,1,0)
+20 ;;=SSN:^^^39^1^1^44^15^1
+21 ;;^UTILITY(U,$J,358.5,116,0)
+22 ;;=Age^135^3
+23 ;;^UTILITY(U,$J,358.5,116,2,0)
+24 ;;=^358.52^2^2
+25 ;;^UTILITY(U,$J,358.5,116,2,1,0)
+26 ;;=DOB:^^^60^1^1^65^12^1
+27 ;;^UTILITY(U,$J,358.5,116,2,2,0)
+28 ;;=Age:^^^78^1^1^83^3^2
+29 ;;^UTILITY(U,$J,358.5,117,0)
+30 ;;=Patient name^138^1
+31 ;;^UTILITY(U,$J,358.5,117,2,0)
+32 ;;=^358.52^1^1
+33 ;;^UTILITY(U,$J,358.5,117,2,1,0)
+34 ;;=Name:^^^1^1^1^7^30^1
+35 ;;^UTILITY(U,$J,358.5,118,0)
+36 ;;=SSN^138^2
+37 ;;^UTILITY(U,$J,358.5,118,2,0)
+38 ;;=^358.52^1^1
+39 ;;^UTILITY(U,$J,358.5,118,2,1,0)
+40 ;;=SSN:^^^39^1^1^44^15^1
+41 ;;^UTILITY(U,$J,358.5,119,0)
+42 ;;=Age^138^3
+43 ;;^UTILITY(U,$J,358.5,119,2,0)
+44 ;;=^358.52^2^2
+45 ;;^UTILITY(U,$J,358.5,119,2,1,0)
+46 ;;=DOB:^^^60^1^1^65^12^1
+47 ;;^UTILITY(U,$J,358.5,119,2,2,0)
+48 ;;=Age:^^^78^1^1^83^3^2
+49 ;;^UTILITY(U,$J,358.5,120,0)
+50 ;;=HEADER^139
+51 ;;^UTILITY(U,$J,358.5,120,2,0)
+52 ;;=^358.52^1^1
+53 ;;^UTILITY(U,$J,358.5,120,2,1,0)
+54 ;;=NATIONAL TELE-EYE^^^0^0
+55 ;;^UTILITY(U,$J,358.5,121,0)
+56 ;;=HEADER^143
+57 ;;^UTILITY(U,$J,358.5,121,2,0)
+58 ;;=^358.52^1^1
+59 ;;^UTILITY(U,$J,358.5,121,2,1,0)
+60 ;;=NATIONAL ANESTHESIA^^^0^0
+61 ;;^UTILITY(U,$J,358.5,122,0)
+62 ;;=Patient name^144^1
+63 ;;^UTILITY(U,$J,358.5,122,2,0)
+64 ;;=^358.52^1^1
+65 ;;^UTILITY(U,$J,358.5,122,2,1,0)
+66 ;;=Name:^^^1^1^1^7^30^1
+67 ;;^UTILITY(U,$J,358.5,123,0)
+68 ;;=SSN^144^2
+69 ;;^UTILITY(U,$J,358.5,123,2,0)
+70 ;;=^358.52^1^1
+71 ;;^UTILITY(U,$J,358.5,123,2,1,0)
+72 ;;=SSN:^^^39^1^1^44^15^1
+73 ;;^UTILITY(U,$J,358.5,124,0)
+74 ;;=Age^144^3
+75 ;;^UTILITY(U,$J,358.5,124,2,0)
+76 ;;=^358.52^2^2
+77 ;;^UTILITY(U,$J,358.5,124,2,1,0)
+78 ;;=DOB:^^^60^1^1^65^12^1
+79 ;;^UTILITY(U,$J,358.5,124,2,2,0)
+80 ;;=Age:^^^78^1^1^83^3^2
+81 ;;^UTILITY(U,$J,358.5,125,0)
+82 ;;=Patient name^148^1
+83 ;;^UTILITY(U,$J,358.5,125,2,0)
+84 ;;=^358.52^1^1
+85 ;;^UTILITY(U,$J,358.5,125,2,1,0)
+86 ;;=Name:^^^1^1^1^7^30^1
+87 ;;^UTILITY(U,$J,358.5,126,0)
+88 ;;=SSN^148^2
+89 ;;^UTILITY(U,$J,358.5,126,2,0)
+90 ;;=^358.52^1^1
+91 ;;^UTILITY(U,$J,358.5,126,2,1,0)
+92 ;;=SSN:^^^39^1^1^44^15^1
+93 ;;^UTILITY(U,$J,358.5,127,0)
+94 ;;=Age^148^3
+95 ;;^UTILITY(U,$J,358.5,127,2,0)
+96 ;;=^358.52^2^2
+97 ;;^UTILITY(U,$J,358.5,127,2,1,0)
+98 ;;=DOB:^^^60^1^1^65^12^1
+99 ;;^UTILITY(U,$J,358.5,127,2,2,0)
+100 ;;=Age:^^^78^1^1^83^3^2
+101 ;;^UTILITY(U,$J,358.5,128,0)
+102 ;;=HEADER^149
+103 ;;^UTILITY(U,$J,358.5,128,2,0)
+104 ;;=^358.52^1^1
+105 ;;^UTILITY(U,$J,358.5,128,2,1,0)
+106 ;;=NATIONAL INPATIENT HOSPICE/PALLIATIVE CARE^^^0^0
+107 ;;^UTILITY(U,$J,358.5,129,0)
+108 ;;=Patient name^153^1
+109 ;;^UTILITY(U,$J,358.5,129,2,0)
+110 ;;=^358.52^1^1
+111 ;;^UTILITY(U,$J,358.5,129,2,1,0)
+112 ;;=Name:^^^1^1^1^7^30^1
+113 ;;^UTILITY(U,$J,358.5,130,0)
+114 ;;=SSN^153^2
+115 ;;^UTILITY(U,$J,358.5,130,2,0)
+116 ;;=^358.52^1^1
+117 ;;^UTILITY(U,$J,358.5,130,2,1,0)
+118 ;;=SSN:^^^39^1^1^44^15^1
+119 ;;^UTILITY(U,$J,358.5,131,0)
+120 ;;=Age^153^3
+121 ;;^UTILITY(U,$J,358.5,131,2,0)
+122 ;;=^358.52^2^2
+123 ;;^UTILITY(U,$J,358.5,131,2,1,0)
+124 ;;=DOB:^^^60^1^1^65^12^1
+125 ;;^UTILITY(U,$J,358.5,131,2,2,0)
+126 ;;=Age:^^^78^1^1^83^3^2
+127 ;;^UTILITY(U,$J,358.5,132,0)
+128 ;;=HEADER^155
+129 ;;^UTILITY(U,$J,358.5,132,2,0)
+130 ;;=^358.52^1^1
+131 ;;^UTILITY(U,$J,358.5,132,2,1,0)
+132 ;;=NATIONAL OUTPATIENT HOSPICE/PALLIATIVE CARE^^^0^0
+133 ;;^UTILITY(U,$J,358.5,133,0)
+134 ;;=HEADER^157
+135 ;;^UTILITY(U,$J,358.5,133,2,0)
+136 ;;=^358.52^1^1
+137 ;;^UTILITY(U,$J,358.5,133,2,1,0)
+138 ;;=NATIONAL COVID-19 SUPPLEMENTAL FORM^^B^0^0
+139 ;;^UTILITY(U,$J,358.5,134,0)
+140 ;;=Patient name^158^1
+141 ;;^UTILITY(U,$J,358.5,134,2,0)
+142 ;;=^358.52^1^1
+143 ;;^UTILITY(U,$J,358.5,134,2,1,0)
+144 ;;=Name:^^^1^1^1^7^30^1
+145 ;;^UTILITY(U,$J,358.5,135,0)
+146 ;;=SSN^158^2
+147 ;;^UTILITY(U,$J,358.5,135,2,0)
+148 ;;=^358.52^1^1
+149 ;;^UTILITY(U,$J,358.5,135,2,1,0)
+150 ;;=SSN:^^^39^1^1^44^15^1
+151 ;;^UTILITY(U,$J,358.5,136,0)
+152 ;;=Age^158^3
+153 ;;^UTILITY(U,$J,358.5,136,2,0)
+154 ;;=^358.52^2^2
+155 ;;^UTILITY(U,$J,358.5,136,2,1,0)
+156 ;;=DOB:^^^60^1^1^65^12^1
+157 ;;^UTILITY(U,$J,358.5,136,2,2,0)
+158 ;;=Age:^^^78^1^1^83^3^2
+159 ;;^UTILITY(U,$J,358.5,137,0)
+160 ;;=HEADER^160
+161 ;;^UTILITY(U,$J,358.5,137,2,0)
+162 ;;=^358.52^1^1
+163 ;;^UTILITY(U,$J,358.5,137,2,1,0)
+164 ;;=NATIONAL TELEPHONE COVID-19 SUPPLEMENTAL FORM^^^0^0
+165 ;;^UTILITY(U,$J,358.5,138,0)
+166 ;;=Patient name^161^1
+167 ;;^UTILITY(U,$J,358.5,138,2,0)
+168 ;;=^358.52^1^1
+169 ;;^UTILITY(U,$J,358.5,138,2,1,0)
+170 ;;=Name:^^^1^1^1^7^30^1
+171 ;;^UTILITY(U,$J,358.5,139,0)
+172 ;;=SSN^161^2
+173 ;;^UTILITY(U,$J,358.5,139,2,0)
+174 ;;=^358.52^1^1
+175 ;;^UTILITY(U,$J,358.5,139,2,1,0)
+176 ;;=SSN:^^^39^1^1^44^15^1
+177 ;;^UTILITY(U,$J,358.5,140,0)
+178 ;;=Age^161^3
+179 ;;^UTILITY(U,$J,358.5,140,2,0)
+180 ;;=^358.52^2^2
+181 ;;^UTILITY(U,$J,358.5,140,2,1,0)
+182 ;;=DOB:^^^60^1^1^65^12^1
+183 ;;^UTILITY(U,$J,358.5,140,2,2,0)
+184 ;;=Age:^^^78^1^1^83^3^2
+185 ;;^UTILITY(U,$J,358.5,145,0)
+186 ;;=Patient name^168^1
+187 ;;^UTILITY(U,$J,358.5,145,2,0)
+188 ;;=^358.52^1^1
+189 ;;^UTILITY(U,$J,358.5,145,2,1,0)
+190 ;;=Name:^^^1^1^1^7^30^1
+191 ;;^UTILITY(U,$J,358.5,146,0)
+192 ;;=SSN^168^2
+193 ;;^UTILITY(U,$J,358.5,146,2,0)
+194 ;;=^358.52^1^1
+195 ;;^UTILITY(U,$J,358.5,146,2,1,0)
+196 ;;=SSN:^^^39^1^1^44^15^1
+197 ;;^UTILITY(U,$J,358.5,147,0)
+198 ;;=Age^168^3
+199 ;;^UTILITY(U,$J,358.5,147,2,0)
+200 ;;=^358.52^2^2
+201 ;;^UTILITY(U,$J,358.5,147,2,1,0)
+202 ;;=DOB:^^^60^1^1^65^12^1
+203 ;;^UTILITY(U,$J,358.5,147,2,2,0)
+204 ;;=Age:^^^78^1^1^83^3^2
+205 ;;^UTILITY(U,$J,358.5,148,0)
+206 ;;=HEADER^169
+207 ;;^UTILITY(U,$J,358.5,148,2,0)
+208 ;;=^358.52^1^1
+209 ;;^UTILITY(U,$J,358.5,148,2,1,0)
+210 ;;=NATIONAL REMOTE MONITORING^^B^0^0