ErxChargeItem
public struct ErxChargeItem : Identifiable, Hashable, CodableThe resource ChargeItem describes the provision of healthcare provider products for a certain patient, therefore referring not only to the product, but containing in addition details of the provision, like date, time, amounts and participating organizations and persons. Main Usage of the ChargeItem is to enable the billing process and internal cost allocation.
- 
                  init(identifier:fhirData: taskId: enteredDate: accessCode: medication: medicationRequest: patient: practitioner: organization: pharmacy: invoice: medicationDispense: prescriptionSignature: receiptSignature: dispenseSignature: isRead: ) ErxChargeItem default initializer DeclarationSwift public init( identifier: String, fhirData: Data, taskId: String? = nil, enteredDate: String? = nil, accessCode: String? = nil, medication: ErxMedication? = nil, medicationRequest: ErxMedicationRequest = ErxMedicationRequest(quantity: nil), patient: ErxPatient? = nil, practitioner: ErxPractitioner? = nil, organization: ErxOrganization? = nil, pharmacy: DavOrganization? = nil, invoice: DavInvoice? = nil, medicationDispense: DavMedicationDispense? = nil, prescriptionSignature: ErxSignature? = nil, receiptSignature: ErxSignature? = nil, dispenseSignature: ErxSignature? = nil, isRead: Bool = false )
- 
                  
                  Id of the consent DeclarationSwift public var id: String { get }
- 
                  
                  Identifier of the charge item DeclarationSwift public let identifier: String
- 
                  
                  Complete FHIR bundle as json encoded data DeclarationSwift public let fhirData: Data
- 
                  
                  TaskId of the actual prescription DeclarationSwift public let taskId: String?
- 
                  
                  Date the charge item was entered DeclarationSwift public let enteredDate: String?
- 
                  
                  Access code authorising for the charge item DeclarationSwift public let accessCode: String?
- 
                  
                  Indicates if the message about the ChargeItem in the order section has been opened by the user DeclarationSwift public var isRead: Bool
- 
                  
                  The prescribed medication DeclarationSwift public let medication: ErxMedication?
- 
                  
                  Everything contained in a MedicationRequest resource DeclarationSwift public let medicationRequest: ErxMedicationRequest
- 
                  
                  Patient for whom the prescription is issued DeclarationSwift public let patient: ErxPatient?
- 
                  
                  Practitioner who issued the prescription DeclarationSwift public let practitioner: ErxPractitioner?
- 
                  
                  Organization that issued the prescription DeclarationSwift public let organization: ErxOrganization?
- 
                  
                  Pharmacy that issued the medication DeclarationSwift public let pharmacy: DavOrganization?
- 
                  
                  Invoice from an Account DeclarationSwift public let invoice: DavInvoice?
- 
                  
                  actual medication dispenses DeclarationSwift public let medicationDispense: DavMedicationDispense?
- 
                  
                  Prescription bundle signature DeclarationSwift public let prescriptionSignature: ErxSignature?
- 
                  
                  Receipt bundle signature DeclarationSwift public let receiptSignature: ErxSignature?
- 
                  
                  Dispense bundle signature DeclarationSwift public let dispenseSignature: ErxSignature?
- 
                  
                  ChargeItem with sparse data set The full ChargeItem information is held as fhirData value and can be extracted as a ErxChargeItemDeclarationSwift public var sparseChargeItem: ErxSparseChargeItem { get }
 View on GitHub
            View on GitHub
           ErxChargeItem Structure Reference
      ErxChargeItem Structure Reference