ErxEpaMedication
public struct ErxEpaMedication : Hashable, Codable, SendableThis structure represents a medication derived from the profile GEM_ERP_PR_Medication
 which by itself is derived from EPA_MEDICATION https://simplifier.net/epa-medication/epamedication
For information on medication and it’s profiles go to:
https://simplifier.net/packages/de.gematik.erezept-workflow.r4/1.4.3/files/2550130
- 
                  init(epaMedicationType:drugCategory: code: status: isVaccine: amount: form: normSizeCode: batch: packaging: manufacturingInstructions: ingredients: ) DeclarationSwift public init( epaMedicationType: EpaMedicationType? = nil, drugCategory: EpaMedicationDrugCategory? = nil, code: EpaMedicationCodeCodableConcept? = nil, status: EpaMedicationStatus? = nil, isVaccine: Bool? = nil, amount: EpaMedicationRatio? = nil, form: EpaMedicationFormCodableConcept? = nil, normSizeCode: String? = nil, batch: EpaMedicationBatch? = nil, packaging: String? = nil, manufacturingInstructions: String? = nil, ingredients: [EpaMedicationIngredient] = [] )
- 
                  
                  Category of the drug DeclarationSwift public let drugCategory: EpaMedicationDrugCategory?
- 
                  
                  EPAMedicationType of the medication Note: Nil represents one of the former Freitext-, PZN- or Wirkstoff-Medications types DeclarationSwift public let epaMedicationType: EpaMedicationType?
- 
                  
                  Coded form of the medication (may contain medicationTextand IDs like pzn)DeclarationSwift public let code: EpaMedicationCodeCodableConcept?
- 
                  
                  A code to indicate if the medication is in active use. DeclarationSwift public let status: EpaMedicationStatus?
- 
                  
                  Specific amount of the drug in the packaged product. DeclarationSwift public let amount: EpaMedicationRatio?
- 
                  
                  Describes the form of the item. E.g.: Powder, tablets, capsule. DeclarationSwift public let form: EpaMedicationFormCodableConcept?
- 
                  
                  Describes the therapeutic size for the package (e.g. N1) / a.k.a. “Normgroesse” DeclarationSwift public let normSizeCode: String?
- 
                  
                  True if marked as vaccine, false if not DeclarationSwift public let isVaccine: Bool?
- 
                  
                  Informations about the packaging (only for . compoundingprofile types)DeclarationSwift public let packaging: String?
- 
                  
                  Instructions from the manufacturing company (only for compounding profile types) DeclarationSwift public let manufacturingInstructions: String?
- 
                  
                  Details about packaged medications (only available with medication dispense) DeclarationSwift public let batch: EpaMedicationBatch?
- 
                  
                  Ingredients of the medication DeclarationSwift public let ingredients: [EpaMedicationIngredient]
- 
                  
                  Shortcut for a name of the medication Note: This checks for the code.textfield first. If unavailable, it will return a first founddisplayNamein thecode.codingsarrayDeclarationSwift public var name: String? { get }
- 
                  
                  Number of the medication ( only for .pznprofile types)DeclarationSwift public var pzn: String? { get }
 View on GitHub
            View on GitHub
           ErxEpaMedication Structure Reference
      ErxEpaMedication Structure Reference