test detail patientId