MonetaryComponent constructor
- @JsonKey(name: 'id') String? fhirId,
- @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - FhirCode? type,
- @JsonKey(name: '_type') Element? typeElement,
- CodeableConcept? code,
- FhirDecimal? factor,
- @JsonKey(name: '_factor') Element? factorElement,
- Money? amount,
MonetaryComponent Availability data for an {item}.
id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension_
("extension") May be used to represent additional
information that is not part of the basic definition of the element. To
make the use of extensions safe and managable, there is a strict set of
governance applied to the definition and use of extensions. Though any
implementer can define an extension, there is a set of requirements that
SHALL be met as part of the definition of the extension.
type
base | surcharge | deduction | discount | tax | informational.
typeElement
("_type") Extensions for type
code
Codes may be used to differentiate between kinds of taxes,
surcharges, discounts etc.
factor
Factor used for calculating this component.
factorElement
("_factor") Extensions for factor
amount
Explicit value amount to be used.
Implementation
const factory MonetaryComponent({
/// [id] Unique id for the element within a resource (for internal
/// references). This may be any string value that does not contain spaces.
@JsonKey(name: 'id') String? fhirId,
/// [extension_] ("extension") May be used to represent additional
/// information that is not part of the basic definition of the element.
/// To make the use of extensions safe and managable, there is a strict
/// set of governance applied to the definition and use of extensions.
/// Though any implementer can define an extension, there is a set of
/// requirements that SHALL be met as part of the definition of the
/// extension.
@JsonKey(name: 'extension') List<FhirExtension>? extension_,
/// [type] base | surcharge | deduction | discount | tax | informational.
FhirCode? type,
/// [typeElement] ("_type") Extensions for type
@JsonKey(name: '_type') Element? typeElement,
/// [code] Codes may be used to differentiate between kinds of taxes,
/// surcharges, discounts etc.
CodeableConcept? code,
/// [factor] Factor used for calculating this component.
FhirDecimal? factor,
/// [factorElement] ("_factor") Extensions for factor
@JsonKey(name: '_factor') Element? factorElement,
/// [amount] Explicit value amount to be used.
Money? amount,
}) = _MonetaryComponent;