KVNR

public struct KVNR

Represents a health insurance number (Krankenversicherungs Nummer)

Format should be a Letter followed by 9 digits, e.g. A123456785, where last digit is a checksum.

  • Initializes a KVNR with a given value.

    Declaration

    Swift

    public init(value: String)
  • Validates a KVNR and checks for format, length and checksum.

    Declaration

    Swift

    public var isValid: Bool { get }