DosageResponse¶
-
public class
DosageResponse
¶ Dosage details returned from pill reminder module, represents single dosage detail (morning or evening) Also contains information about last dosage confirmation.
Constructors¶
DosageResponse¶
-
public
DosageResponse
(Long dosageId, Time dosageTime, LocalDate startDate, LocalDate endDate, LocalDate responseLastCapturedDate, List<MedicineResponse> medicines)¶ Constructs a dosage response.
Parameters: - dosageId – unique dosage identifier
- dosageTime – the time of the dosage
- startDate – dosage start date, if there are multiple medicines with different start date then first start date will be returned
- endDate – dosage end date, if there are multiple medicines with different end date then last ending will be returned
- responseLastCapturedDate – last dosage confirmation from subscriber for this dose
- medicines – medicines prescribed