WASHINGTON (AP) — A District of Columbia health clinic specializing in HIV and AIDS has settled a lawsuit that accused a staff member of mistakenly telling a patient he was HIV-positive.

The Washington Post says terms of Terry Hedgepeth’s settlement with the Whitman-Walker Clinic weren’t disclosed, but the agreement was reached as both sides prepared for trial.

READ MORE: DoorDash Driver & Mother Of 3 Killed In Attempted Robbery In Baltimore

Hedgepeth brought a $20 million lawsuit in 2005, five years after a clinic worker mistakenly wrote in his files that he had tested positive for HIV.

The test was negative, but Hedgepeth didn’t know that until he decided to seek alternative treatment in 2005.

READ MORE: Winter Storm Expected To Be 'Coast Hugger,' But I-95 Corridor Will See Snow

His lawyer says the misdiagnosis caused post-traumatic stress.

A D.C. appeals court recently ruled that patients given incorrect information from their doctors about a life threatening illness can sue for emotional distress.

MORE NEWS: Memorial Service Announced For Baltimore Firefighters Killed In Collapse

(Copyright 2012 by The Associated Press. All Rights Reserved.)