Resource Description for MedicalCondition

Properties for MedicalCondition

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDate DateTime
medicalConditionName string
medicalConditionType MedicalConditionType
person mixed
severity string
startDate DateTime
symptoms string
treatment string

SDK Example for PHP

<?PHP

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

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

$medicalCondition = MedicalCondition::retrieve(5433);

$person = $medicalCondition->getPerson();
$medicalConditionType = $medicalCondition->getMedicalConditionType();
$medicalConditionName = $medicalCondition->getMedicalConditionName();
$startDate = $medicalCondition->getStartDate();
$endDate = $medicalCondition->getEndDate();
$severity = $medicalCondition->getSeverity();
$symptoms = $medicalCondition->getSymptoms();
$treatment = $medicalCondition->getTreatment();

 

Related Resources