MedicationSchedule

public struct MedicationSchedule : Codable, Equatable, Identifiable
  • Declaration

    Swift

    public init(
        id: UUID = UUID(),
        start: Date,
        end: Date,
        title: String,
        dosageInstructions: String,
        taskId: String,
        isActive: Bool,
        entries: IdentifiedArrayOf<MedicationSchedule.Entry>
    )
  • id

    Declaration

    Swift

    public var id: UUID
  • Declaration

    Swift

    public var start: Date
  • end

    Declaration

    Swift

    public var end: Date
  • Declaration

    Swift

    public var title: String
  • Declaration

    Swift

    public var dosageInstructions: String
  • Declaration

    Swift

    public var taskId: String
  • Declaration

    Swift

    public var isActive: Bool
  • Declaration

    Swift

    public var entries: IdentifiedArrayOf<MedicationSchedule.Entry>
  • Declaration

    Swift

    public struct Entry : Codable, Equatable, Identifiable