Ingredient
public struct Ingredient : Equatable, Hashable, Codable
-
Declaration
Swift
public init( text: String? = nil, number: String? = nil, form: String? = nil, strength: Ratio? = nil, strengthFreeText: String? = nil )
-
Can be name of item
Declaration
Swift
public let text: String?
-
Number of the item
Declaration
Swift
public let number: String?
-
Describes the form of the item. E.g.: Powder, tablets, capsule. (Darreichungsform) (only available for
.compounding
medications)Declaration
Swift
public let form: String?
-
Amount/ strength of the ingredient related to the entire medication
Declaration
Swift
public let strength: Ratio?
-
Amount/ strength of the ingredient related to the entire medication in text (only available for
.compounding
medications)Declaration
Swift
public let strengthFreeText: String?