instruction: how many days have it been since patient 006-172277 was diagnosed with a hypernatremia on the current hospital visit for the first time?
response: SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-172277' AND patient.hospitaldischargetime IS NULL)) AND diagnosis.diagnosisname = 'hypernatremia' ORDER BY diagnosis.diagnosistime LIMIT 1