IBDEI3CC ; ; 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,180,0)
;;=HEADER^214
;;^UTILITY(U,$J,358.5,180,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,180,2,1,0)
;;=NATIONAL GYNECOLOGY/OBSTETRICS^^^0^0
;;^UTILITY(U,$J,358.5,181,0)
;;=HEADER^218
;;^UTILITY(U,$J,358.5,181,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,181,2,1,0)
;;=NATIONAL OPTOMETRY - LOW VISION^^^0^0
;;^UTILITY(U,$J,358.5,182,0)
;;=Patient name^219^1
;;^UTILITY(U,$J,358.5,182,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,182,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,183,0)
;;=SSN^219^2
;;^UTILITY(U,$J,358.5,183,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,183,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,184,0)
;;=Age^219^3
;;^UTILITY(U,$J,358.5,184,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,184,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,184,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,185,0)
;;=HEADER^224
;;^UTILITY(U,$J,358.5,185,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,185,2,1,0)
;;=NATIONAL ORTHOPEDIC^^^0^0
;;^UTILITY(U,$J,358.5,186,0)
;;=Patient name^225^1
;;^UTILITY(U,$J,358.5,186,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,186,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,187,0)
;;=SSN^225^2
;;^UTILITY(U,$J,358.5,187,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,187,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,188,0)
;;=Age^225^3
;;^UTILITY(U,$J,358.5,188,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,188,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,188,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,189,0)
;;=HEADER^228
;;^UTILITY(U,$J,358.5,189,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,189,2,1,0)
;;=NATIION PEER SPECIALIST^^^0^0
;;^UTILITY(U,$J,358.5,190,0)
;;=Patient name^229^1
;;^UTILITY(U,$J,358.5,190,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,190,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,191,0)
;;=SSN^229^2
;;^UTILITY(U,$J,358.5,191,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,191,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,192,0)
;;=Age^229^3
;;^UTILITY(U,$J,358.5,192,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,192,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,192,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,193,0)
;;=HEADER^233
;;^UTILITY(U,$J,358.5,193,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,193,2,1,0)
;;=NATIONAL INPATIENT REHAB PHYSIATRY^^^0^0
;;^UTILITY(U,$J,358.5,194,0)
;;=Patient name^234^1
;;^UTILITY(U,$J,358.5,194,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,194,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,195,0)
;;=SSN^234^2
;;^UTILITY(U,$J,358.5,195,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,195,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,196,0)
;;=Age^234^3
;;^UTILITY(U,$J,358.5,196,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,196,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,196,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,197,0)
;;=HEADER^237
;;^UTILITY(U,$J,358.5,197,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,197,2,1,0)
;;=NATIONAL REHAB PHYSIATRY^^^0^0
;;^UTILITY(U,$J,358.5,198,0)
;;=Patient name^238^1
;;^UTILITY(U,$J,358.5,198,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,198,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,199,0)
;;=SSN^238^2
;;^UTILITY(U,$J,358.5,199,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,199,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3CC 3777 printed Oct 16, 2024@18:46:46 Page 2
IBDEI3CC ; ; 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,180,0)
+2 ;;=HEADER^214
+3 ;;^UTILITY(U,$J,358.5,180,2,0)
+4 ;;=^358.52^1^1
+5 ;;^UTILITY(U,$J,358.5,180,2,1,0)
+6 ;;=NATIONAL GYNECOLOGY/OBSTETRICS^^^0^0
+7 ;;^UTILITY(U,$J,358.5,181,0)
+8 ;;=HEADER^218
+9 ;;^UTILITY(U,$J,358.5,181,2,0)
+10 ;;=^358.52^1^1
+11 ;;^UTILITY(U,$J,358.5,181,2,1,0)
+12 ;;=NATIONAL OPTOMETRY - LOW VISION^^^0^0
+13 ;;^UTILITY(U,$J,358.5,182,0)
+14 ;;=Patient name^219^1
+15 ;;^UTILITY(U,$J,358.5,182,2,0)
+16 ;;=^358.52^1^1
+17 ;;^UTILITY(U,$J,358.5,182,2,1,0)
+18 ;;=Name:^^^1^1^1^7^30^1
+19 ;;^UTILITY(U,$J,358.5,183,0)
+20 ;;=SSN^219^2
+21 ;;^UTILITY(U,$J,358.5,183,2,0)
+22 ;;=^358.52^1^1
+23 ;;^UTILITY(U,$J,358.5,183,2,1,0)
+24 ;;=SSN:^^^39^1^1^44^15^1
+25 ;;^UTILITY(U,$J,358.5,184,0)
+26 ;;=Age^219^3
+27 ;;^UTILITY(U,$J,358.5,184,2,0)
+28 ;;=^358.52^2^2
+29 ;;^UTILITY(U,$J,358.5,184,2,1,0)
+30 ;;=DOB:^^^60^1^1^65^12^1
+31 ;;^UTILITY(U,$J,358.5,184,2,2,0)
+32 ;;=Age:^^^78^1^1^83^3^2
+33 ;;^UTILITY(U,$J,358.5,185,0)
+34 ;;=HEADER^224
+35 ;;^UTILITY(U,$J,358.5,185,2,0)
+36 ;;=^358.52^1^1
+37 ;;^UTILITY(U,$J,358.5,185,2,1,0)
+38 ;;=NATIONAL ORTHOPEDIC^^^0^0
+39 ;;^UTILITY(U,$J,358.5,186,0)
+40 ;;=Patient name^225^1
+41 ;;^UTILITY(U,$J,358.5,186,2,0)
+42 ;;=^358.52^1^1
+43 ;;^UTILITY(U,$J,358.5,186,2,1,0)
+44 ;;=Name:^^^1^1^1^7^30^1
+45 ;;^UTILITY(U,$J,358.5,187,0)
+46 ;;=SSN^225^2
+47 ;;^UTILITY(U,$J,358.5,187,2,0)
+48 ;;=^358.52^1^1
+49 ;;^UTILITY(U,$J,358.5,187,2,1,0)
+50 ;;=SSN:^^^39^1^1^44^15^1
+51 ;;^UTILITY(U,$J,358.5,188,0)
+52 ;;=Age^225^3
+53 ;;^UTILITY(U,$J,358.5,188,2,0)
+54 ;;=^358.52^2^2
+55 ;;^UTILITY(U,$J,358.5,188,2,1,0)
+56 ;;=DOB:^^^60^1^1^65^12^1
+57 ;;^UTILITY(U,$J,358.5,188,2,2,0)
+58 ;;=Age:^^^78^1^1^83^3^2
+59 ;;^UTILITY(U,$J,358.5,189,0)
+60 ;;=HEADER^228
+61 ;;^UTILITY(U,$J,358.5,189,2,0)
+62 ;;=^358.52^1^1
+63 ;;^UTILITY(U,$J,358.5,189,2,1,0)
+64 ;;=NATIION PEER SPECIALIST^^^0^0
+65 ;;^UTILITY(U,$J,358.5,190,0)
+66 ;;=Patient name^229^1
+67 ;;^UTILITY(U,$J,358.5,190,2,0)
+68 ;;=^358.52^1^1
+69 ;;^UTILITY(U,$J,358.5,190,2,1,0)
+70 ;;=Name:^^^1^1^1^7^30^1
+71 ;;^UTILITY(U,$J,358.5,191,0)
+72 ;;=SSN^229^2
+73 ;;^UTILITY(U,$J,358.5,191,2,0)
+74 ;;=^358.52^1^1
+75 ;;^UTILITY(U,$J,358.5,191,2,1,0)
+76 ;;=SSN:^^^39^1^1^44^15^1
+77 ;;^UTILITY(U,$J,358.5,192,0)
+78 ;;=Age^229^3
+79 ;;^UTILITY(U,$J,358.5,192,2,0)
+80 ;;=^358.52^2^2
+81 ;;^UTILITY(U,$J,358.5,192,2,1,0)
+82 ;;=DOB:^^^60^1^1^65^12^1
+83 ;;^UTILITY(U,$J,358.5,192,2,2,0)
+84 ;;=Age:^^^78^1^1^83^3^2
+85 ;;^UTILITY(U,$J,358.5,193,0)
+86 ;;=HEADER^233
+87 ;;^UTILITY(U,$J,358.5,193,2,0)
+88 ;;=^358.52^1^1
+89 ;;^UTILITY(U,$J,358.5,193,2,1,0)
+90 ;;=NATIONAL INPATIENT REHAB PHYSIATRY^^^0^0
+91 ;;^UTILITY(U,$J,358.5,194,0)
+92 ;;=Patient name^234^1
+93 ;;^UTILITY(U,$J,358.5,194,2,0)
+94 ;;=^358.52^1^1
+95 ;;^UTILITY(U,$J,358.5,194,2,1,0)
+96 ;;=Name:^^^1^1^1^7^30^1
+97 ;;^UTILITY(U,$J,358.5,195,0)
+98 ;;=SSN^234^2
+99 ;;^UTILITY(U,$J,358.5,195,2,0)
+100 ;;=^358.52^1^1
+101 ;;^UTILITY(U,$J,358.5,195,2,1,0)
+102 ;;=SSN:^^^39^1^1^44^15^1
+103 ;;^UTILITY(U,$J,358.5,196,0)
+104 ;;=Age^234^3
+105 ;;^UTILITY(U,$J,358.5,196,2,0)
+106 ;;=^358.52^2^2
+107 ;;^UTILITY(U,$J,358.5,196,2,1,0)
+108 ;;=DOB:^^^60^1^1^65^12^1
+109 ;;^UTILITY(U,$J,358.5,196,2,2,0)
+110 ;;=Age:^^^78^1^1^83^3^2
+111 ;;^UTILITY(U,$J,358.5,197,0)
+112 ;;=HEADER^237
+113 ;;^UTILITY(U,$J,358.5,197,2,0)
+114 ;;=^358.52^1^1
+115 ;;^UTILITY(U,$J,358.5,197,2,1,0)
+116 ;;=NATIONAL REHAB PHYSIATRY^^^0^0
+117 ;;^UTILITY(U,$J,358.5,198,0)
+118 ;;=Patient name^238^1
+119 ;;^UTILITY(U,$J,358.5,198,2,0)
+120 ;;=^358.52^1^1
+121 ;;^UTILITY(U,$J,358.5,198,2,1,0)
+122 ;;=Name:^^^1^1^1^7^30^1
+123 ;;^UTILITY(U,$J,358.5,199,0)
+124 ;;=SSN^238^2
+125 ;;^UTILITY(U,$J,358.5,199,2,0)
+126 ;;=^358.52^1^1
+127 ;;^UTILITY(U,$J,358.5,199,2,1,0)
+128 ;;=SSN:^^^39^1^1^44^15^1