instruction: how many days have passed since patient 027-154299 has received a phosphate test for the first time on their current hospital encounter?
response: SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-154299' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'phosphate' ORDER BY lab.labresulttime LIMIT 1