IBDEI3JL ; ; 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,254,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,254,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,255,0)
;;=SSN^307^4
;;^UTILITY(U,$J,358.5,255,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,255,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,256,0)
;;=Age^307^5
;;^UTILITY(U,$J,358.5,256,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,256,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,256,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,257,0)
;;=HEADER^310
;;^UTILITY(U,$J,358.5,257,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,257,2,1,0)
;;=NATIONAL REHAB PHYSIATRY^^^0^0
;;^UTILITY(U,$J,358.5,258,0)
;;=Patient name^311^3
;;^UTILITY(U,$J,358.5,258,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,258,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,259,0)
;;=SSN^311^4
;;^UTILITY(U,$J,358.5,259,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,259,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,260,0)
;;=Age^311^5
;;^UTILITY(U,$J,358.5,260,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,260,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,260,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,261,0)
;;=Patient name^314^3
;;^UTILITY(U,$J,358.5,261,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,261,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,262,0)
;;=SSN^314^4
;;^UTILITY(U,$J,358.5,262,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,262,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,263,0)
;;=Age^314^5
;;^UTILITY(U,$J,358.5,263,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,263,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,263,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,264,0)
;;=HEADER^316
;;^UTILITY(U,$J,358.5,264,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,264,2,1,0)
;;=NATIONAL PLASTIC SURGERY^^^0^0
;;^UTILITY(U,$J,358.5,265,0)
;;=HEADER^321
;;^UTILITY(U,$J,358.5,265,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,265,2,1,0)
;;=NATIONAL PODIATRY NAIL CLINIC - NURSE^^^0^0
;;^UTILITY(U,$J,358.5,266,0)
;;=Patient name^322^3
;;^UTILITY(U,$J,358.5,266,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,266,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,267,0)
;;=SSN^322^4
;;^UTILITY(U,$J,358.5,267,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,267,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,268,0)
;;=Age^322^5
;;^UTILITY(U,$J,358.5,268,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,268,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,268,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,269,0)
;;=HEADER^325
;;^UTILITY(U,$J,358.5,269,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,269,2,1,0)
;;=NATIONAL PODIATRY^^^0^0
;;^UTILITY(U,$J,358.5,270,0)
;;=Patient name^326^3
;;^UTILITY(U,$J,358.5,270,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,270,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,271,0)
;;=SSN^326^4
;;^UTILITY(U,$J,358.5,271,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,271,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,272,0)
;;=Age^326^5
;;^UTILITY(U,$J,358.5,272,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,272,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,272,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,273,0)
;;=HEADER^330
;;^UTILITY(U,$J,358.5,273,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,273,2,1,0)
;;=NATIONAL POLYTRAUMA^^^0^0
;;^UTILITY(U,$J,358.5,274,0)
;;=Patient name^331^3
;;^UTILITY(U,$J,358.5,274,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,274,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,275,0)
;;=SSN^331^4
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JL 3968 printed Oct 16, 2024@18:50:48 Page 2
IBDEI3JL ; ; 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,254,2,0)
+2 ;;=^358.52^1^1
+3 ;;^UTILITY(U,$J,358.5,254,2,1,0)
+4 ;;=Name:^^^1^1^1^7^30^1
+5 ;;^UTILITY(U,$J,358.5,255,0)
+6 ;;=SSN^307^4
+7 ;;^UTILITY(U,$J,358.5,255,2,0)
+8 ;;=^358.52^1^1
+9 ;;^UTILITY(U,$J,358.5,255,2,1,0)
+10 ;;=SSN:^^^39^1^1^44^15^1
+11 ;;^UTILITY(U,$J,358.5,256,0)
+12 ;;=Age^307^5
+13 ;;^UTILITY(U,$J,358.5,256,2,0)
+14 ;;=^358.52^2^2
+15 ;;^UTILITY(U,$J,358.5,256,2,1,0)
+16 ;;=DOB:^^^60^1^1^65^12^1
+17 ;;^UTILITY(U,$J,358.5,256,2,2,0)
+18 ;;=Age:^^^78^1^1^83^3^2
+19 ;;^UTILITY(U,$J,358.5,257,0)
+20 ;;=HEADER^310
+21 ;;^UTILITY(U,$J,358.5,257,2,0)
+22 ;;=^358.52^1^1
+23 ;;^UTILITY(U,$J,358.5,257,2,1,0)
+24 ;;=NATIONAL REHAB PHYSIATRY^^^0^0
+25 ;;^UTILITY(U,$J,358.5,258,0)
+26 ;;=Patient name^311^3
+27 ;;^UTILITY(U,$J,358.5,258,2,0)
+28 ;;=^358.52^1^1
+29 ;;^UTILITY(U,$J,358.5,258,2,1,0)
+30 ;;=Name:^^^1^1^1^7^30^1
+31 ;;^UTILITY(U,$J,358.5,259,0)
+32 ;;=SSN^311^4
+33 ;;^UTILITY(U,$J,358.5,259,2,0)
+34 ;;=^358.52^1^1
+35 ;;^UTILITY(U,$J,358.5,259,2,1,0)
+36 ;;=SSN:^^^39^1^1^44^15^1
+37 ;;^UTILITY(U,$J,358.5,260,0)
+38 ;;=Age^311^5
+39 ;;^UTILITY(U,$J,358.5,260,2,0)
+40 ;;=^358.52^2^2
+41 ;;^UTILITY(U,$J,358.5,260,2,1,0)
+42 ;;=DOB:^^^60^1^1^65^12^1
+43 ;;^UTILITY(U,$J,358.5,260,2,2,0)
+44 ;;=Age:^^^78^1^1^83^3^2
+45 ;;^UTILITY(U,$J,358.5,261,0)
+46 ;;=Patient name^314^3
+47 ;;^UTILITY(U,$J,358.5,261,2,0)
+48 ;;=^358.52^1^1
+49 ;;^UTILITY(U,$J,358.5,261,2,1,0)
+50 ;;=Name:^^^1^1^1^7^30^1
+51 ;;^UTILITY(U,$J,358.5,262,0)
+52 ;;=SSN^314^4
+53 ;;^UTILITY(U,$J,358.5,262,2,0)
+54 ;;=^358.52^1^1
+55 ;;^UTILITY(U,$J,358.5,262,2,1,0)
+56 ;;=SSN:^^^39^1^1^44^15^1
+57 ;;^UTILITY(U,$J,358.5,263,0)
+58 ;;=Age^314^5
+59 ;;^UTILITY(U,$J,358.5,263,2,0)
+60 ;;=^358.52^2^2
+61 ;;^UTILITY(U,$J,358.5,263,2,1,0)
+62 ;;=DOB:^^^60^1^1^65^12^1
+63 ;;^UTILITY(U,$J,358.5,263,2,2,0)
+64 ;;=Age:^^^78^1^1^83^3^2
+65 ;;^UTILITY(U,$J,358.5,264,0)
+66 ;;=HEADER^316
+67 ;;^UTILITY(U,$J,358.5,264,2,0)
+68 ;;=^358.52^1^1
+69 ;;^UTILITY(U,$J,358.5,264,2,1,0)
+70 ;;=NATIONAL PLASTIC SURGERY^^^0^0
+71 ;;^UTILITY(U,$J,358.5,265,0)
+72 ;;=HEADER^321
+73 ;;^UTILITY(U,$J,358.5,265,2,0)
+74 ;;=^358.52^1^1
+75 ;;^UTILITY(U,$J,358.5,265,2,1,0)
+76 ;;=NATIONAL PODIATRY NAIL CLINIC - NURSE^^^0^0
+77 ;;^UTILITY(U,$J,358.5,266,0)
+78 ;;=Patient name^322^3
+79 ;;^UTILITY(U,$J,358.5,266,2,0)
+80 ;;=^358.52^1^1
+81 ;;^UTILITY(U,$J,358.5,266,2,1,0)
+82 ;;=Name:^^^1^1^1^7^30^1
+83 ;;^UTILITY(U,$J,358.5,267,0)
+84 ;;=SSN^322^4
+85 ;;^UTILITY(U,$J,358.5,267,2,0)
+86 ;;=^358.52^1^1
+87 ;;^UTILITY(U,$J,358.5,267,2,1,0)
+88 ;;=SSN:^^^39^1^1^44^15^1
+89 ;;^UTILITY(U,$J,358.5,268,0)
+90 ;;=Age^322^5
+91 ;;^UTILITY(U,$J,358.5,268,2,0)
+92 ;;=^358.52^2^2
+93 ;;^UTILITY(U,$J,358.5,268,2,1,0)
+94 ;;=DOB:^^^60^1^1^65^12^1
+95 ;;^UTILITY(U,$J,358.5,268,2,2,0)
+96 ;;=Age:^^^78^1^1^83^3^2
+97 ;;^UTILITY(U,$J,358.5,269,0)
+98 ;;=HEADER^325
+99 ;;^UTILITY(U,$J,358.5,269,2,0)
+100 ;;=^358.52^1^1
+101 ;;^UTILITY(U,$J,358.5,269,2,1,0)
+102 ;;=NATIONAL PODIATRY^^^0^0
+103 ;;^UTILITY(U,$J,358.5,270,0)
+104 ;;=Patient name^326^3
+105 ;;^UTILITY(U,$J,358.5,270,2,0)
+106 ;;=^358.52^1^1
+107 ;;^UTILITY(U,$J,358.5,270,2,1,0)
+108 ;;=Name:^^^1^1^1^7^30^1
+109 ;;^UTILITY(U,$J,358.5,271,0)
+110 ;;=SSN^326^4
+111 ;;^UTILITY(U,$J,358.5,271,2,0)
+112 ;;=^358.52^1^1
+113 ;;^UTILITY(U,$J,358.5,271,2,1,0)
+114 ;;=SSN:^^^39^1^1^44^15^1
+115 ;;^UTILITY(U,$J,358.5,272,0)
+116 ;;=Age^326^5
+117 ;;^UTILITY(U,$J,358.5,272,2,0)
+118 ;;=^358.52^2^2
+119 ;;^UTILITY(U,$J,358.5,272,2,1,0)
+120 ;;=DOB:^^^60^1^1^65^12^1
+121 ;;^UTILITY(U,$J,358.5,272,2,2,0)
+122 ;;=Age:^^^78^1^1^83^3^2
+123 ;;^UTILITY(U,$J,358.5,273,0)
+124 ;;=HEADER^330
+125 ;;^UTILITY(U,$J,358.5,273,2,0)
+126 ;;=^358.52^1^1
+127 ;;^UTILITY(U,$J,358.5,273,2,1,0)
+128 ;;=NATIONAL POLYTRAUMA^^^0^0
+129 ;;^UTILITY(U,$J,358.5,274,0)
+130 ;;=Patient name^331^3
+131 ;;^UTILITY(U,$J,358.5,274,2,0)
+132 ;;=^358.52^1^1
+133 ;;^UTILITY(U,$J,358.5,274,2,1,0)
+134 ;;=Name:^^^1^1^1^7^30^1
+135 ;;^UTILITY(U,$J,358.5,275,0)
+136 ;;=SSN^331^4