IBDEI3JK ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.5,233,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,233,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,234,0)
;;=SSN^281^4
;;^UTILITY(U,$J,358.5,234,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,234,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,235,0)
;;=Age^281^5
;;^UTILITY(U,$J,358.5,235,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,235,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,235,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,236,0)
;;=HEADER^282
;;^UTILITY(U,$J,358.5,236,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,236,2,1,0)
;;=NATIONAL GYNECOLOGY/OBSTETRICS^^^0^0
;;^UTILITY(U,$J,358.5,237,0)
;;=HEADER^287
;;^UTILITY(U,$J,358.5,237,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,237,2,1,0)
;;=NATIONAL ONCOLOGY/CHEMOTHERAPY INFUSION^^^0^0
;;^UTILITY(U,$J,358.5,238,0)
;;=Patient name^288^3
;;^UTILITY(U,$J,358.5,238,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,238,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,239,0)
;;=SSN^288^4
;;^UTILITY(U,$J,358.5,239,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,239,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,240,0)
;;=Age^288^5
;;^UTILITY(U,$J,358.5,240,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,240,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,240,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,241,0)
;;=HEADER^292
;;^UTILITY(U,$J,358.5,241,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,241,2,1,0)
;;=NATIONAL ORTHOPEDIC^^^0^0
;;^UTILITY(U,$J,358.5,242,0)
;;=Patient name^293^3
;;^UTILITY(U,$J,358.5,242,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,242,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,243,0)
;;=SSN^293^4
;;^UTILITY(U,$J,358.5,243,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,243,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,244,0)
;;=Age^293^5
;;^UTILITY(U,$J,358.5,244,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,244,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,244,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,245,0)
;;=HEADER^297
;;^UTILITY(U,$J,358.5,245,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,245,2,1,0)
;;=NATIONAL PAIN^^^0^0
;;^UTILITY(U,$J,358.5,246,0)
;;=Patient name^298^3
;;^UTILITY(U,$J,358.5,246,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,246,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,247,0)
;;=SSN^298^4
;;^UTILITY(U,$J,358.5,247,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,247,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,248,0)
;;=Age^298^5
;;^UTILITY(U,$J,358.5,248,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,248,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,248,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,249,0)
;;=HEADER^301
;;^UTILITY(U,$J,358.5,249,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,249,2,1,0)
;;=NATIION PEER SPECIALIST^^^0^0
;;^UTILITY(U,$J,358.5,250,0)
;;=Patient name^302^3
;;^UTILITY(U,$J,358.5,250,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,250,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,251,0)
;;=SSN^302^4
;;^UTILITY(U,$J,358.5,251,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,251,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,252,0)
;;=Age^302^5
;;^UTILITY(U,$J,358.5,252,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,252,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,252,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,253,0)
;;=HEADER^306
;;^UTILITY(U,$J,358.5,253,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,253,2,1,0)
;;=NATIONAL INPATIENT REHAB PHYSIATRY^^^0^0
;;^UTILITY(U,$J,358.5,254,0)
;;=Patient name^307^3
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JK 3992 printed Dec 13, 2024@02:50:01 Page 2
IBDEI3JK ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+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,99)
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,233,2,0)
+2 ;;=^358.52^1^1
+3 ;;^UTILITY(U,$J,358.5,233,2,1,0)
+4 ;;=Name:^^^1^1^1^7^30^1
+5 ;;^UTILITY(U,$J,358.5,234,0)
+6 ;;=SSN^281^4
+7 ;;^UTILITY(U,$J,358.5,234,2,0)
+8 ;;=^358.52^1^1
+9 ;;^UTILITY(U,$J,358.5,234,2,1,0)
+10 ;;=SSN:^^^39^1^1^44^15^1
+11 ;;^UTILITY(U,$J,358.5,235,0)
+12 ;;=Age^281^5
+13 ;;^UTILITY(U,$J,358.5,235,2,0)
+14 ;;=^358.52^2^2
+15 ;;^UTILITY(U,$J,358.5,235,2,1,0)
+16 ;;=DOB:^^^60^1^1^65^12^1
+17 ;;^UTILITY(U,$J,358.5,235,2,2,0)
+18 ;;=Age:^^^78^1^1^83^3^2
+19 ;;^UTILITY(U,$J,358.5,236,0)
+20 ;;=HEADER^282
+21 ;;^UTILITY(U,$J,358.5,236,2,0)
+22 ;;=^358.52^1^1
+23 ;;^UTILITY(U,$J,358.5,236,2,1,0)
+24 ;;=NATIONAL GYNECOLOGY/OBSTETRICS^^^0^0
+25 ;;^UTILITY(U,$J,358.5,237,0)
+26 ;;=HEADER^287
+27 ;;^UTILITY(U,$J,358.5,237,2,0)
+28 ;;=^358.52^1^1
+29 ;;^UTILITY(U,$J,358.5,237,2,1,0)
+30 ;;=NATIONAL ONCOLOGY/CHEMOTHERAPY INFUSION^^^0^0
+31 ;;^UTILITY(U,$J,358.5,238,0)
+32 ;;=Patient name^288^3
+33 ;;^UTILITY(U,$J,358.5,238,2,0)
+34 ;;=^358.52^1^1
+35 ;;^UTILITY(U,$J,358.5,238,2,1,0)
+36 ;;=Name:^^^1^1^1^7^30^1
+37 ;;^UTILITY(U,$J,358.5,239,0)
+38 ;;=SSN^288^4
+39 ;;^UTILITY(U,$J,358.5,239,2,0)
+40 ;;=^358.52^1^1
+41 ;;^UTILITY(U,$J,358.5,239,2,1,0)
+42 ;;=SSN:^^^39^1^1^44^15^1
+43 ;;^UTILITY(U,$J,358.5,240,0)
+44 ;;=Age^288^5
+45 ;;^UTILITY(U,$J,358.5,240,2,0)
+46 ;;=^358.52^2^2
+47 ;;^UTILITY(U,$J,358.5,240,2,1,0)
+48 ;;=DOB:^^^60^1^1^65^12^1
+49 ;;^UTILITY(U,$J,358.5,240,2,2,0)
+50 ;;=Age:^^^78^1^1^83^3^2
+51 ;;^UTILITY(U,$J,358.5,241,0)
+52 ;;=HEADER^292
+53 ;;^UTILITY(U,$J,358.5,241,2,0)
+54 ;;=^358.52^1^1
+55 ;;^UTILITY(U,$J,358.5,241,2,1,0)
+56 ;;=NATIONAL ORTHOPEDIC^^^0^0
+57 ;;^UTILITY(U,$J,358.5,242,0)
+58 ;;=Patient name^293^3
+59 ;;^UTILITY(U,$J,358.5,242,2,0)
+60 ;;=^358.52^1^1
+61 ;;^UTILITY(U,$J,358.5,242,2,1,0)
+62 ;;=Name:^^^1^1^1^7^30^1
+63 ;;^UTILITY(U,$J,358.5,243,0)
+64 ;;=SSN^293^4
+65 ;;^UTILITY(U,$J,358.5,243,2,0)
+66 ;;=^358.52^1^1
+67 ;;^UTILITY(U,$J,358.5,243,2,1,0)
+68 ;;=SSN:^^^39^1^1^44^15^1
+69 ;;^UTILITY(U,$J,358.5,244,0)
+70 ;;=Age^293^5
+71 ;;^UTILITY(U,$J,358.5,244,2,0)
+72 ;;=^358.52^2^2
+73 ;;^UTILITY(U,$J,358.5,244,2,1,0)
+74 ;;=DOB:^^^60^1^1^65^12^1
+75 ;;^UTILITY(U,$J,358.5,244,2,2,0)
+76 ;;=Age:^^^78^1^1^83^3^2
+77 ;;^UTILITY(U,$J,358.5,245,0)
+78 ;;=HEADER^297
+79 ;;^UTILITY(U,$J,358.5,245,2,0)
+80 ;;=^358.52^1^1
+81 ;;^UTILITY(U,$J,358.5,245,2,1,0)
+82 ;;=NATIONAL PAIN^^^0^0
+83 ;;^UTILITY(U,$J,358.5,246,0)
+84 ;;=Patient name^298^3
+85 ;;^UTILITY(U,$J,358.5,246,2,0)
+86 ;;=^358.52^1^1
+87 ;;^UTILITY(U,$J,358.5,246,2,1,0)
+88 ;;=Name:^^^1^1^1^7^30^1
+89 ;;^UTILITY(U,$J,358.5,247,0)
+90 ;;=SSN^298^4
+91 ;;^UTILITY(U,$J,358.5,247,2,0)
+92 ;;=^358.52^1^1
+93 ;;^UTILITY(U,$J,358.5,247,2,1,0)
+94 ;;=SSN:^^^39^1^1^44^15^1
+95 ;;^UTILITY(U,$J,358.5,248,0)
+96 ;;=Age^298^5
+97 ;;^UTILITY(U,$J,358.5,248,2,0)
+98 ;;=^358.52^2^2
+99 ;;^UTILITY(U,$J,358.5,248,2,1,0)
+100 ;;=DOB:^^^60^1^1^65^12^1
+101 ;;^UTILITY(U,$J,358.5,248,2,2,0)
+102 ;;=Age:^^^78^1^1^83^3^2
+103 ;;^UTILITY(U,$J,358.5,249,0)
+104 ;;=HEADER^301
+105 ;;^UTILITY(U,$J,358.5,249,2,0)
+106 ;;=^358.52^1^1
+107 ;;^UTILITY(U,$J,358.5,249,2,1,0)
+108 ;;=NATIION PEER SPECIALIST^^^0^0
+109 ;;^UTILITY(U,$J,358.5,250,0)
+110 ;;=Patient name^302^3
+111 ;;^UTILITY(U,$J,358.5,250,2,0)
+112 ;;=^358.52^1^1
+113 ;;^UTILITY(U,$J,358.5,250,2,1,0)
+114 ;;=Name:^^^1^1^1^7^30^1
+115 ;;^UTILITY(U,$J,358.5,251,0)
+116 ;;=SSN^302^4
+117 ;;^UTILITY(U,$J,358.5,251,2,0)
+118 ;;=^358.52^1^1
+119 ;;^UTILITY(U,$J,358.5,251,2,1,0)
+120 ;;=SSN:^^^39^1^1^44^15^1
+121 ;;^UTILITY(U,$J,358.5,252,0)
+122 ;;=Age^302^5
+123 ;;^UTILITY(U,$J,358.5,252,2,0)
+124 ;;=^358.52^2^2
+125 ;;^UTILITY(U,$J,358.5,252,2,1,0)
+126 ;;=DOB:^^^60^1^1^65^12^1
+127 ;;^UTILITY(U,$J,358.5,252,2,2,0)
+128 ;;=Age:^^^78^1^1^83^3^2
+129 ;;^UTILITY(U,$J,358.5,253,0)
+130 ;;=HEADER^306
+131 ;;^UTILITY(U,$J,358.5,253,2,0)
+132 ;;=^358.52^1^1
+133 ;;^UTILITY(U,$J,358.5,253,2,1,0)
+134 ;;=NATIONAL INPATIENT REHAB PHYSIATRY^^^0^0
+135 ;;^UTILITY(U,$J,358.5,254,0)
+136 ;;=Patient name^307^3