HealthCardStatus

public enum HealthCardStatus

HealthCard status

  • when card type has not been determined (yet) [e.g. probing]

    Declaration

    Swift

    case unknown
  • when card type has been identified by this library

    Declaration

    Swift

    case valid(cardType: HealthCardPropertyType?)
  • when card type could not be determined

    Declaration

    Swift

    case invalid
  • Whether the presented Card is valid in the gematik domain

    Declaration

    Swift

    public var isValid: Bool { get }
  • The generation version of the card/COS

    Declaration

    Swift

    public var generation: CardGeneration? { get }
  • The kind of gematik Healthcard (eGK, HBA, SMC-B)

    Declaration

    Swift

    public var type: HealthCardPropertyType? { get }
  • Declaration

    Swift

    public static func == (lhs: HealthCardStatus, rhs: HealthCardStatus) -> Bool