Resource Description for MedicalConditionMedication

Properties for MedicalConditionMedication

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
dosage string
endDate DateTime
frequency string
medicalCondition MedicalCondition
medication Medication
startDate DateTime

SDK Example for PHP

<?PHP

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

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

$medicalConditionMedication = MedicalConditionMedication::retrieve(5433);

$medicalCondition = $medicalConditionMedication->getMedicalCondition();
$medication = $medicalConditionMedication->getMedication();
$dosage = $medicalConditionMedication->getDosage();
$frequency = $medicalConditionMedication->getFrequency();
$startDate = $medicalConditionMedication->getStartDate();
$endDate = $medicalConditionMedication->getEndDate();

 

Related Resources