SubstanceDefinitionMoiety class

SubstanceDefinitionMoiety The detailed description of a substance, typically at a level beyond what is used for prescribing.

Annotations
  • @freezed

Constructors

SubstanceDefinitionMoiety({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, CodeableConcept? role, Identifier? identifier, String? name, @JsonKey(name: '_name') Element? nameElement, CodeableConcept? stereochemistry, CodeableConcept? opticalActivity, String? molecularFormula, @JsonKey(name: '_molecularFormula') Element? molecularFormulaElement, Quantity? amountQuantity, String? amountString, @JsonKey(name: '_amountString') Element? amountStringElement, CodeableConcept? measurementType})
SubstanceDefinitionMoiety The detailed description of a substance, typically at a level beyond what is used for prescribing.
const
factory
SubstanceDefinitionMoiety.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
SubstanceDefinitionMoiety.fromJsonString(String source)
Acts like a constructor, returns a SubstanceDefinitionMoiety, accepts a String as an argument, mostly because I got tired of typing it out
factory
SubstanceDefinitionMoiety.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

amountQuantity Quantity?
amountQuantity Quantitative value for this moiety.
no setterinherited
amountString String?
amountString Quantitative value for this moiety.
no setterinherited
amountStringElement Element?
amountStringElement ("_amountString") Extensions for amountString
no setterinherited
copyWith → $SubstanceDefinitionMoietyCopyWith<SubstanceDefinitionMoiety>
no setterinherited
extension_ List<FhirExtension>?
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.
no setterinherited
fhirId String?
id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
identifier Identifier?
identifier Identifier by which this moiety substance is known.
no setterinherited
measurementType CodeableConcept?
measurementType The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio.
no setterinherited
modifierExtension List<FhirExtension>?
modifierExtension May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
no setterinherited
molecularFormula String?
molecularFormula Molecular formula for this moiety of this substance, typically using the Hill system.
no setterinherited
molecularFormulaElement Element?
molecularFormulaElement ("_molecularFormula") Extensions for molecularFormula
no setterinherited
name String?
name Textual name for this moiety substance.
no setterinherited
nameElement Element?
nameElement ("_name") Extensions for name
no setterinherited
opticalActivity CodeableConcept?
opticalActivity Optical activity type.
no setterinherited
role CodeableConcept?
role Role that the moiety is playing.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stereochemistry CodeableConcept?
stereochemistry Stereochemistry type.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
toString() String
A string representation of this object.
inherited
toYaml() String
Produces a Yaml formatted String version of the object

Operators

operator ==(Object other) bool
The equality operator.
inherited