PharmacyLocation
public struct PharmacyLocation : Identifiable, Equatableextension PharmacyLocation: CodableRepresents all information needed for searching for pharmacies.
- 
                  init(id:status: telematikID: created: name: types: position: address: telecom: lastUsed: isFavorite: imagePath: countUsage: hoursOfOperation: avsEndpoints: avsCertificates: ) Pharmacy default initializer DeclarationSwift public init( id: String, status: Status? = nil, telematikID: String, created: Date = Date(), name: String? = nil, types: [PharmacyType], position: Position? = nil, address: Address? = nil, telecom: Telecom? = nil, lastUsed: Date? = nil, isFavorite: Bool = false, imagePath: String? = nil, countUsage: Int = 0, hoursOfOperation: [HoursOfOperation] = [], avsEndpoints: AVSEndpoints? = nil, avsCertificates: [X509] = [] )
- 
                  
                  Id of the FHIR Location DeclarationSwift public var id: String
- 
                  
                  LocationStatus NOTE: Is here used to indicate E-Rezept readiness DeclarationSwift public var status: Status?
- 
                  
                  Identifier of the pharmacy DeclarationSwift public var telematikID: String
- 
                  
                  date of local client creation DeclarationSwift public var created: Date
- 
                  
                  Name of pharmacy DeclarationSwift public var name: String?
- 
                  
                  A pharmacy can have multiple types. In FHIR the code are e.g. “PHARM” and “OUTPHARM” and “MOBL” DeclarationSwift public var types: [PharmacyType]
- 
                  
                  Position, i.e. Latitude and Longitude of the pharmacy’s address DeclarationSwift public var position: Position?
- 
                  
                  Address DeclarationSwift public var address: Address?
- 
                  
                  Telecom DeclarationSwift public var telecom: Telecom?
- 
                  
                  Bate of latest use for redeeming DeclarationSwift public var lastUsed: Date?
- 
                  
                  Bool indicating if user has marked this pharmacy as favorite DeclarationSwift public var isFavorite: Bool
- 
                  
                  Path to an image of the pharmacy DeclarationSwift public var imagePath: String?
- 
                  
                  Number of times this pharmacy has been used for redeeming DeclarationSwift public var countUsage: Int
- 
                  
                  HoursOfOperation (opening hours) DeclarationSwift public var hoursOfOperation: [HoursOfOperation]
- 
                  
                  Container that holds urls to the AVS Endpoints and their certificates to send requests with the AVSModul DeclarationSwift public var avsEndpoints: AVSEndpoints?
- 
                  
                  Array of certificates for all recipients DeclarationSwift public var avsCertificates: [X509]
- 
                  
                  DeclarationSwift public var canBeDisplayedInMap: Bool { get }
- 
                  
                  DeclarationSwift public var hasAVSEndpoints: Bool { get }
- 
                  
                  Indicates if the delivery service via the eRpRemoteStoragemodule (Fachdienst) is present Note: Authentication via “Fachdienst” is requiredDeclarationSwift public var hasDeliveryService: Bool { get }
- 
                  
                  Indicates if the shipment service via the eRpRemoteStoragemodule (Fachdienst) is present Note: Authentication via “Fachdienst” is requiredDeclarationSwift public var hasShipmentService: Bool { get }
- 
                  
                  Indicates if the reservation/onPremise service via the eRpRemoteStoragemodule (Fachdienst) is present Note: Authentication via “Fachdienst” is requiredDeclarationSwift public var hasReservationService: Bool { get }
- 
                  
                  Indicates if the emergency service via the eRpRemoteStoragemodule (Fachdienst) is present Note: Authentication via “Fachdienst” is requiredDeclarationSwift public var hasEmergencyService: Bool { get }
- 
                  
                  Indicates if the delivery service via the AVSmodule (ApothekenVerwaltunsSystem) is present Note: No authentication via “Fachdienst” is requiredDeclarationSwift public var hasDeliveryAVSService: Bool { get }
- 
                  
                  Indicates if the shipment service via the AVSmodule (ApothekenVerwaltunsSystem) is present Note: No authentication via “Fachdienst” is requiredDeclarationSwift public var hasShipmentAVSService: Bool { get }
- 
                  
                  Indicates if the reservation/onPremise service via the AVSmodule (ApothekenVerwaltunsSystem) is present Note: No authentication via “Fachdienst” is requiredDeclarationSwift public var hasReservationAVSService: Bool { get }
- 
                  
                  DeclarationSwift public var hasAnyAVSService: Bool { get }
- 
                  
                  DeclarationSwift public struct AVSEndpoints : Codable, Equatable
- 
                  
                  DeclarationSwift public mutating func updateLocalStoredProperties(with pharmacy: PharmacyLocation)
- 
                  
                  DeclarationSwift public enum Dummies
- 
                  
                  Mode of operation / eRx-readiness status See moreDeclarationSwift public enum Status : String, Codable
- 
                  
                  DeclarationSwift public enum PharmacyType : String, Codable, Hashable
- 
                  
                  DeclarationSwift public struct Position : Codable, Equatable, Hashable
- 
                  
                  DeclarationSwift public struct Address : Codable, Hashable
- 
                  
                  DeclarationSwift public struct Telecom : Codable, Hashable
- 
                  
                  DeclarationSwift public struct HoursOfOperation : Codable, Hashable
 View on GitHub
            View on GitHub
           PharmacyLocation Structure Reference
      PharmacyLocation Structure Reference