ErxConsent
public struct ErxConsent : Identifiable, Hashable, Codable
Represents a record of a healthcare consumer’s choices, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.
-
Id of the consent
Declaration
Swift
public var id: String { get } -
Identifier of the consent
Declaration
Swift
public let identifier: String -
Health card insurance identifier a.k.a. kvnr (e.g: X764228533)
Declaration
Swift
public let insuranceId: String -
Timestamp of the consent
Declaration
Swift
public let timestamp: String -
A selector of the type of consent being presented
Declaration
Swift
public let scope: Scope -
The associated category of a consent
Declaration
Swift
public let category: Category -
Declaration
Swift
public let policyRule: Act -
Declaration
Swift
public enum Category : String, Equatable, Codable -
Declaration
Swift
public enum Scope : String, Equatable, Codable -
A code specifying the particular kind of Act
See moreDeclaration
Swift
public enum Act : String, Equatable, Codable -
Declaration
Swift
public enum Error : Swift.Error
View on GitHub
ErxConsent Structure Reference