Communication
public struct Communication : Equatable, Identifiable, Codable, Sendableextension ErxTask.Communication: Comparable, HashableActs as the intermediate data model from a communication resource response and the local store representation
- 
                  
                  Identifier for this communication resource (e.g.: “16d2cfc8-2023-11b2-81e1-783a425d8e87”) DeclarationSwift public let identifier: String
- 
                  
                  Profile of the communication resource (e.g.: “ErxCommunicationReply”) DeclarationSwift public let profile: Profile
- 
                  
                  Id for the task this communication is related to (e.g.: “39c67d5b-1df3-11b2-80b4-783a425d8e87” DeclarationSwift public let taskId: String
- 
                  
                  KVNR of the user (e.g.: “X110461389”) DeclarationSwift public let insuranceId: String
- 
                  
                  Telematik id of the sender (e.g. “3-09.2.S.10.743”) DeclarationSwift public let telematikId: String
- 
                  
                  Id for every order of prescriptions DeclarationSwift public let orderId: String?
- 
                  
                  Date time string representing the time of sending the communication DeclarationSwift public let timestamp: String
- 
                  
                  trueif user has interacted with this communication, otherwise false if loaded from serverDeclarationSwift public var isRead: Bool
- 
                  
                  JSON string containing informations the actual message (to-do: parse into object) DeclarationSwift public let payloadJSON: String?
- 
                  
                  Parsed payloadJSONintoPayloador nil if format is wrongDeclarationSwift public let payload: Payload?
- 
                  
                  DeclarationSwift public var id: String { get }
- 
                  
                  Default initializer for a ErxTaskCommunication which represent a ModulesR4.Communication DeclarationSwift public init( identifier: String, profile: Profile, taskId: String, userId: String, telematikId: String, orderId: String? = nil, timestamp: String, payloadJSON: String?, isRead: Bool = false )ParametersidentifierIdentifier for this communication resource profilecommunication profile taskIdId for the task this communication is related to userIdKVNR of the use telematikIdTelematik id of the sender orderIdId for every order of prescriptions timestampDate time string representing the time of sending the communication payloadJSONPayload contains informations about the actual message isReadIndicates if the user has interacted (true) with this communication resource 
- 
                  
                  DeclarationSwift public struct Payload : Codable, Equatable, Sendable
- 
                  
                  DeclarationSwift public enum Profile : String, Codable, Sendable
- 
                  
                  DeclarationSwift public struct Unique : Equatable, Identifiable, Codable, Sendable
- 
                  
                  DeclarationSwift public func hash(into hasher: inout Hasher)
 View on GitHub
            View on GitHub
           Communication Structure Reference
      Communication Structure Reference