StudentMedicationCreate
extends BaseComponent
in package
Student medication create
Tags
Table of Contents
Properties
- $allergies : array<string|int, int>|null
- $conditions : array<string|int, int>|null
- $date_as_of : string
- $date_until : string|null
- $dispense : MedicationDosageCreate
- $dosage : string|null
- $location : string|null
- $medication_type : string
- $notes : string|null
- $user_id : int
- $fields : array<string|int, string>
Properties
$allergies
public
array<string|int, int>|null
$allergies
The list of student allergy IDs for the allergy. If included, this list will replace the existing list of allegies on the medication.
$conditions
public
array<string|int, int>|null
$conditions
The list of student condition IDs for the condition. If included, this list will replace the existing list of conditions on the medication.
$date_as_of
public
string
$date_as_of
The date when medication began. Use format ...
Uses ISO-8601 format:
2022-01-20T16:30:00-05:00
$date_until
public
string|null
$date_until
The date when medication ended. Use format
... Uses ISO-8601 format:
2022-01-20T16:30:00-05:00
$dispense
public
MedicationDosageCreate
$dispense
Determines the frequency the medication is dispensed.
$dosage
public
string|null
$dosage
The dosage of the medication to dispense
$location
public
string|null
$location
The ID or description of the location of the medication.
$medication_type
public
string
$medication_type
The ID or description of the medication type
$notes
public
string|null
$notes
Notes for medication
$user_id
public
int
$user_id
The ID of the student
$fields
protected
static array<string|int, string>
$fields
= ["user_id" => "int", "medication_type" => "string", "date_as_of" => "string", "date_until" => "string", "location" => "string", "dosage" => "string", "dispense" => "\\Blackbaud\\SKY\\School\\Components\\MedicationDosageCreate", "conditions" => "int[]", "allergies" => "int[]", "notes" => "string", "role_access" => "\\Blackbaud\\SKY\\School\\Components\\MedicalSecurityRole[]"]