Dear @babu935,
refer below query , it will solved your problem.
SELECT PatientID, PatientName,
STUFF((SELECT ', ' + CAST(Location AS VARCHAR(10)) [text()] FROM TEST WHERE PatientID = T1.PatientID FOR XML PATH(''), TYPE).value('.','NVARCHAR(MAX)'),1,2,' ') Location,
Age FROM TEST T1 GROUP BY PatientID, PatientName,Age order by PatientID