IBDEI3C4 ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,20,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,21,0)
;;=HEADER^24
;;^UTILITY(U,$J,358.5,21,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,21,2,1,0)
;;=NATIONAL RECREATION THERAPY - INDIVIDUAL^^^0^0
;;^UTILITY(U,$J,358.5,22,0)
;;=Patient name^25^1
;;^UTILITY(U,$J,358.5,22,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,22,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,23,0)
;;=SSN^25^2
;;^UTILITY(U,$J,358.5,23,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,23,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,24,0)
;;=Age^25^3
;;^UTILITY(U,$J,358.5,24,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,24,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,24,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,25,0)
;;=HEADER^29
;;^UTILITY(U,$J,358.5,25,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,25,2,1,0)
;;=NATIONAL SLEEP MEDICINE^^^0^0
;;^UTILITY(U,$J,358.5,26,0)
;;=Patient name^30^1
;;^UTILITY(U,$J,358.5,26,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,26,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,27,0)
;;=SSN^30^2
;;^UTILITY(U,$J,358.5,27,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,27,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,28,0)
;;=Age^30^3
;;^UTILITY(U,$J,358.5,28,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,28,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,28,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,29,0)
;;=HEADER^35
;;^UTILITY(U,$J,358.5,29,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,29,2,1,0)
;;=NATIONAL HEMATOLOGY^^^0^0
;;^UTILITY(U,$J,358.5,30,0)
;;=Patient name^36^1
;;^UTILITY(U,$J,358.5,30,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,30,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,31,0)
;;=SSN^36^2
;;^UTILITY(U,$J,358.5,31,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,31,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,32,0)
;;=Age^36^3
;;^UTILITY(U,$J,358.5,32,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,32,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,32,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,33,0)
;;=HEADER^40
;;^UTILITY(U,$J,358.5,33,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,33,2,1,0)
;;=NATIONAL ONCOLOGY/CHEMOTHERAPY INFUSION^^^0^0
;;^UTILITY(U,$J,358.5,34,0)
;;=Patient name^41^1
;;^UTILITY(U,$J,358.5,34,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,34,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,35,0)
;;=SSN^41^2
;;^UTILITY(U,$J,358.5,35,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,35,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,36,0)
;;=Age^41^3
;;^UTILITY(U,$J,358.5,36,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,36,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,36,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,37,0)
;;=HEADER^43
;;^UTILITY(U,$J,358.5,37,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,37,2,1,0)
;;=NATIONAL THORACIC SURGERY^^^0^0
;;^UTILITY(U,$J,358.5,38,0)
;;=Patient name^44^1
;;^UTILITY(U,$J,358.5,38,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,38,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,39,0)
;;=SSN^44^2
;;^UTILITY(U,$J,358.5,39,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,39,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,40,0)
;;=Age^44^3
;;^UTILITY(U,$J,358.5,40,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,40,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3C4 3752 printed Dec 13, 2024@02:45:53 Page 2
IBDEI3C4 ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,20,2,2,0)
+2 ;;=Age:^^^78^1^1^83^3^2
+3 ;;^UTILITY(U,$J,358.5,21,0)
+4 ;;=HEADER^24
+5 ;;^UTILITY(U,$J,358.5,21,2,0)
+6 ;;=^358.52^1^1
+7 ;;^UTILITY(U,$J,358.5,21,2,1,0)
+8 ;;=NATIONAL RECREATION THERAPY - INDIVIDUAL^^^0^0
+9 ;;^UTILITY(U,$J,358.5,22,0)
+10 ;;=Patient name^25^1
+11 ;;^UTILITY(U,$J,358.5,22,2,0)
+12 ;;=^358.52^1^1
+13 ;;^UTILITY(U,$J,358.5,22,2,1,0)
+14 ;;=Name:^^^1^1^1^7^30^1
+15 ;;^UTILITY(U,$J,358.5,23,0)
+16 ;;=SSN^25^2
+17 ;;^UTILITY(U,$J,358.5,23,2,0)
+18 ;;=^358.52^1^1
+19 ;;^UTILITY(U,$J,358.5,23,2,1,0)
+20 ;;=SSN:^^^39^1^1^44^15^1
+21 ;;^UTILITY(U,$J,358.5,24,0)
+22 ;;=Age^25^3
+23 ;;^UTILITY(U,$J,358.5,24,2,0)
+24 ;;=^358.52^2^2
+25 ;;^UTILITY(U,$J,358.5,24,2,1,0)
+26 ;;=DOB:^^^60^1^1^65^12^1
+27 ;;^UTILITY(U,$J,358.5,24,2,2,0)
+28 ;;=Age:^^^78^1^1^83^3^2
+29 ;;^UTILITY(U,$J,358.5,25,0)
+30 ;;=HEADER^29
+31 ;;^UTILITY(U,$J,358.5,25,2,0)
+32 ;;=^358.52^1^1
+33 ;;^UTILITY(U,$J,358.5,25,2,1,0)
+34 ;;=NATIONAL SLEEP MEDICINE^^^0^0
+35 ;;^UTILITY(U,$J,358.5,26,0)
+36 ;;=Patient name^30^1
+37 ;;^UTILITY(U,$J,358.5,26,2,0)
+38 ;;=^358.52^1^1
+39 ;;^UTILITY(U,$J,358.5,26,2,1,0)
+40 ;;=Name:^^^1^1^1^7^30^1
+41 ;;^UTILITY(U,$J,358.5,27,0)
+42 ;;=SSN^30^2
+43 ;;^UTILITY(U,$J,358.5,27,2,0)
+44 ;;=^358.52^1^1
+45 ;;^UTILITY(U,$J,358.5,27,2,1,0)
+46 ;;=SSN:^^^39^1^1^44^15^1
+47 ;;^UTILITY(U,$J,358.5,28,0)
+48 ;;=Age^30^3
+49 ;;^UTILITY(U,$J,358.5,28,2,0)
+50 ;;=^358.52^2^2
+51 ;;^UTILITY(U,$J,358.5,28,2,1,0)
+52 ;;=DOB:^^^60^1^1^65^12^1
+53 ;;^UTILITY(U,$J,358.5,28,2,2,0)
+54 ;;=Age:^^^78^1^1^83^3^2
+55 ;;^UTILITY(U,$J,358.5,29,0)
+56 ;;=HEADER^35
+57 ;;^UTILITY(U,$J,358.5,29,2,0)
+58 ;;=^358.52^1^1
+59 ;;^UTILITY(U,$J,358.5,29,2,1,0)
+60 ;;=NATIONAL HEMATOLOGY^^^0^0
+61 ;;^UTILITY(U,$J,358.5,30,0)
+62 ;;=Patient name^36^1
+63 ;;^UTILITY(U,$J,358.5,30,2,0)
+64 ;;=^358.52^1^1
+65 ;;^UTILITY(U,$J,358.5,30,2,1,0)
+66 ;;=Name:^^^1^1^1^7^30^1
+67 ;;^UTILITY(U,$J,358.5,31,0)
+68 ;;=SSN^36^2
+69 ;;^UTILITY(U,$J,358.5,31,2,0)
+70 ;;=^358.52^1^1
+71 ;;^UTILITY(U,$J,358.5,31,2,1,0)
+72 ;;=SSN:^^^39^1^1^44^15^1
+73 ;;^UTILITY(U,$J,358.5,32,0)
+74 ;;=Age^36^3
+75 ;;^UTILITY(U,$J,358.5,32,2,0)
+76 ;;=^358.52^2^2
+77 ;;^UTILITY(U,$J,358.5,32,2,1,0)
+78 ;;=DOB:^^^60^1^1^65^12^1
+79 ;;^UTILITY(U,$J,358.5,32,2,2,0)
+80 ;;=Age:^^^78^1^1^83^3^2
+81 ;;^UTILITY(U,$J,358.5,33,0)
+82 ;;=HEADER^40
+83 ;;^UTILITY(U,$J,358.5,33,2,0)
+84 ;;=^358.52^1^1
+85 ;;^UTILITY(U,$J,358.5,33,2,1,0)
+86 ;;=NATIONAL ONCOLOGY/CHEMOTHERAPY INFUSION^^^0^0
+87 ;;^UTILITY(U,$J,358.5,34,0)
+88 ;;=Patient name^41^1
+89 ;;^UTILITY(U,$J,358.5,34,2,0)
+90 ;;=^358.52^1^1
+91 ;;^UTILITY(U,$J,358.5,34,2,1,0)
+92 ;;=Name:^^^1^1^1^7^30^1
+93 ;;^UTILITY(U,$J,358.5,35,0)
+94 ;;=SSN^41^2
+95 ;;^UTILITY(U,$J,358.5,35,2,0)
+96 ;;=^358.52^1^1
+97 ;;^UTILITY(U,$J,358.5,35,2,1,0)
+98 ;;=SSN:^^^39^1^1^44^15^1
+99 ;;^UTILITY(U,$J,358.5,36,0)
+100 ;;=Age^41^3
+101 ;;^UTILITY(U,$J,358.5,36,2,0)
+102 ;;=^358.52^2^2
+103 ;;^UTILITY(U,$J,358.5,36,2,1,0)
+104 ;;=DOB:^^^60^1^1^65^12^1
+105 ;;^UTILITY(U,$J,358.5,36,2,2,0)
+106 ;;=Age:^^^78^1^1^83^3^2
+107 ;;^UTILITY(U,$J,358.5,37,0)
+108 ;;=HEADER^43
+109 ;;^UTILITY(U,$J,358.5,37,2,0)
+110 ;;=^358.52^1^1
+111 ;;^UTILITY(U,$J,358.5,37,2,1,0)
+112 ;;=NATIONAL THORACIC SURGERY^^^0^0
+113 ;;^UTILITY(U,$J,358.5,38,0)
+114 ;;=Patient name^44^1
+115 ;;^UTILITY(U,$J,358.5,38,2,0)
+116 ;;=^358.52^1^1
+117 ;;^UTILITY(U,$J,358.5,38,2,1,0)
+118 ;;=Name:^^^1^1^1^7^30^1
+119 ;;^UTILITY(U,$J,358.5,39,0)
+120 ;;=SSN^44^2
+121 ;;^UTILITY(U,$J,358.5,39,2,0)
+122 ;;=^358.52^1^1
+123 ;;^UTILITY(U,$J,358.5,39,2,1,0)
+124 ;;=SSN:^^^39^1^1^44^15^1
+125 ;;^UTILITY(U,$J,358.5,40,0)
+126 ;;=Age^44^3
+127 ;;^UTILITY(U,$J,358.5,40,2,0)
+128 ;;=^358.52^2^2
+129 ;;^UTILITY(U,$J,358.5,40,2,1,0)
+130 ;;=DOB:^^^60^1^1^65^12^1