Added doctor only constraint