SubstanceDefinitionMoiety class

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

Implemented types
Annotations
  • @freezed

Constructors

SubstanceDefinitionMoiety.new({String? id, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, CodeableConcept? role, Identifier? identifier, String? name, @JsonKey(name: '_name') PrimitiveElement? nameElement, CodeableConcept? stereochemistry, CodeableConcept? opticalActivity, String? molecularFormula, @JsonKey(name: '_molecularFormula') PrimitiveElement? molecularFormulaElement, Quantity? amountQuantity, String? amountString, @JsonKey(name: '_amountString') PrimitiveElement? 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 PrimitiveElement?
amountStringElement ("_amountString") Extensions for amountString
no setterinherited
children List<FhirBase>
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
fhirType String
no setteroverride
formatCommentsPost List<String>
no setterinherited
formatCommentsPre List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id 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
identifier Identifier?
identifier Identifier by which this moiety substance is known.
no setterinherited
isPrimitive bool
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 PrimitiveElement?
molecularFormulaElement ("_molecularFormula") Extensions for molecularFormula
no setterinherited
name String?
name Textual name for this moiety substance.
no setterinherited
namedChildren Map<String, FhirBase>
no setterinherited
nameElement PrimitiveElement?
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

addAnnotation(dynamic annotation) → void
inherited
addPropertyChangedListener(String property, void listener()) → void
inherited
annotations(Type type) Iterable
inherited
clearUserData(String name) → void
inherited
clone() FhirBase
inherited
deepCopy() FhirBase
inherited
getUserData(String name) → dynamic
inherited
getUserInt(String name) int
inherited
getUserString(String name) String?
inherited
hasFormatComment() bool
inherited
hasUserData(String name) bool
inherited
isEmpty() bool
inherited
isExactly(FhirBase other) bool
inherited
matches(FhirBase other) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyPropertyChanged(String property) → void
inherited
primitiveValue() String?
inherited
removeAnnotations(Type type) → void
inherited
removePropertyChangedListener(String property, void listener()) → void
inherited
setUserData(String name, dynamic value) → void
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
override
toJsonWithType() → dynamic
inherited
toString() String
A string representation of this object.
inherited
toYaml() String
Returns a YAML representation of the FHIR primitive.
override
tryGetValue(String key, dynamic value) bool
inherited
validate() List<String>
inherited

Operators

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