Ingredient
public struct Ingredient : Equatable, Hashable, Codable, Sendable
-
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
.compoundingmedications)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
.compoundingmedications)Declaration
Swift
public let strengthFreeText: String?
View on GitHub
Ingredient Structure Reference