Resource Description for PersonImpairment

Properties for PersonImpairment

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
affectsWorkingAbility bool
dateAdvised DateTime
impairmentCategory ImpairmentCategory
person mixed
personImpairmentName string

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\PersonImpairment;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$personImpairment = PersonImpairment::retrieve(5433);

$person = $personImpairment->getPerson();
$personImpairmentName = $personImpairment->getPersonImpairmentName();
$impairmentCategory = $personImpairment->getImpairmentCategory();
$dateAdvised = $personImpairment->getDateAdvised();
$affectsWorkingAbility = $personImpairment->getAffectsWorkingAbility();

 

Related Resources

See also: ImpairmentCategory