MultiplePrescription

public struct MultiplePrescription : Hashable, Codable
  • Declaration

    Swift

    public init(mark: Bool = false,
                numbering: Decimal? = nil,
                totalNumber: Decimal? = nil,
                startPeriod: String? = nil,
                endPeriod: String? = nil)
  • True if medication is of type multiple prescription, false if not

    Declaration

    Swift

    public let mark: Bool
  • Number of this medication within the totalNumber of all multiple prescriptions

    Declaration

    Swift

    public let numbering: Decimal?
  • Total number of multiple prescriptions

    Declaration

    Swift

    public let totalNumber: Decimal?
  • Start of period from when this multiple prescription is valid

    Declaration

    Swift

    public let startPeriod: String?
  • End of valid period

    Declaration

    Swift

    public let endPeriod: String?