Age constructor
- @JsonKey(name: 'id') String? fhirId,
- @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - FhirDecimal? value,
- @JsonKey(name: '_value') Element? valueElement,
- @JsonKey(unknownEnumValue: AgeComparator.unknown) AgeComparator? comparator,
- @JsonKey(name: '_comparator') Element? comparatorElement,
- String? unit,
- @JsonKey(name: '_unit') Element? unitElement,
- FhirUri? system,
- @JsonKey(name: '_system') Element? systemElement,
- FhirCode? code,
- @JsonKey(name: '_code') Element? codeElement,
Age A duration of time during which an organism (or a process) has existed.
id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
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 manageable, 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.
value
The value of the measured amount. The value includes an implicit
precision in the presentation of the value.
valueElement
Extensions for value
comparator
How the value should be understood and represented - whether
the actual value is greater or less than the stated value due to
measurement issues; e.g. if the comparator is "<" , then the real value is
< stated value.
comparatorElement
Extensions for comparator
unit
A human-readable form of the unit.
unitElement
Extensions for unit
system
The identification of the system that provides the coded form of
the unit.
systemElement
Extensions for system
code
A computer processable form of the unit in some unit
representation system.
codeElement
Extensions for code
Implementation
const factory Age({
/// [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] 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 manageable, 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_,
/// [value] The value of the measured amount. The value includes an implicit
/// precision in the presentation of the value.
FhirDecimal? value,
/// [valueElement] Extensions for value
@JsonKey(name: '_value') Element? valueElement,
/// [comparator] How the value should be understood and represented - whether
/// the actual value is greater or less than the stated value due to
/// measurement issues; e.g. if the comparator is "<" , then the real value is
/// < stated value.
@JsonKey(unknownEnumValue: AgeComparator.unknown) AgeComparator? comparator,
/// [comparatorElement] Extensions for comparator
@JsonKey(name: '_comparator') Element? comparatorElement,
/// [unit] A human-readable form of the unit.
String? unit,
/// [unitElement] Extensions for unit
@JsonKey(name: '_unit') Element? unitElement,
/// [system] The identification of the system that provides the coded form of
/// the unit.
FhirUri? system,
/// [systemElement] Extensions for system
@JsonKey(name: '_system') Element? systemElement,
/// [code] A computer processable form of the unit in some unit
/// representation system.
FhirCode? code,
/// [codeElement] Extensions for code
@JsonKey(name: '_code') Element? codeElement,
}) = _Age;