DavMedicationDispense

public struct DavMedicationDispense : Hashable, Codable

Acts as the intermediate data model from a ModelsR4.MedicationDispense resource response and the local store representation

MedicationDispenses are created by the pharmacy and can contain different medications from the prescription even when the substitutionAllowed flag is false Profile: https://simplifier.net/packages/de.abda.erezeptabgabedaten/1.3.0/files/805899

  • Default initializer for a MedicationDispense which represent a ModulesR4.MedicationDispense

    Declaration

    Swift

    public init(
        identifier: String,
        whenHandedOver: String?,
        taskId: String?
    )
  • unique identifier in each DavMedicationDispense

    Declaration

    Swift

    public let identifier: String
  • Date string representing the actual time of performing the dispense

    Declaration

    Swift

    public let whenHandedOver: String?
  • Declaration

    Swift

    public let taskId: String?