PatientContactAssignment::getLocationText PHP Method

getLocationText() public method

public getLocationText ( )
    public function getLocationText()
    {
        if ($this->location) {
            return $this->location;
        }
        if ($this->contact->address) {
            return $this->contact->address->address1;
        }
    }