Is there any article or guidebook that tells how to determine that a sick person has reached the stage of being a גוסס (gosess) to the extent that any kohen present should leave?
A gosess is a patient who has reached the terminal stage of his illness where nothing else can be done and whose death is imminent.