Resource Description for MedicalEvent

Properties for MedicalEvent

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDatetime DateTime
medicalCondition MedicalCondition
medicalEventDescription string
medicalEventType MedicalEventType
person mixed
startDatetime DateTime

SDK Example for PHP

<?PHP

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

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

$medicalEvent = MedicalEvent::retrieve(5433);

$person = $medicalEvent->getPerson();
$startDatetime = $medicalEvent->getStartDatetime();
$endDatetime = $medicalEvent->getEndDatetime();
$medicalEventType = $medicalEvent->getMedicalEventType();
$medicalEventDescription = $medicalEvent->getMedicalEventDescription();
$medicalCondition = $medicalEvent->getMedicalCondition();

 

Related Resources