SubstanceDefinitionMoiety constructor

const SubstanceDefinitionMoiety({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. CodeableConcept? role,
  5. Identifier? identifier,
  6. String? name,
  7. @JsonKey(name: '_name') Element? nameElement,
  8. CodeableConcept? stereochemistry,
  9. CodeableConcept? opticalActivity,
  10. String? molecularFormula,
  11. @JsonKey(name: '_molecularFormula') Element? molecularFormulaElement,
  12. Quantity? amountQuantity,
  13. String? amountString,
  14. @JsonKey(name: '_amountString') Element? amountStringElement,
  15. CodeableConcept? measurementType,
})

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

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.

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).

role Role that the moiety is playing.

identifier Identifier by which this moiety substance is known.

name Textual name for this moiety substance.

nameElement ("_name") Extensions for name

stereochemistry Stereochemistry type.

opticalActivity Optical activity type.

molecularFormula Molecular formula for this moiety of this substance, typically using the Hill system.

molecularFormulaElement ("_molecularFormula") Extensions for molecularFormula

amountQuantity Quantitative value for this moiety.

amountString Quantitative value for this moiety.

amountStringElement ("_amountString") Extensions for amountString

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.

Implementation

const factory SubstanceDefinitionMoiety({
  /// [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_,

  /// [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).
  List<FhirExtension>? modifierExtension,

  /// [role] Role that the moiety is playing.
  CodeableConcept? role,

  /// [identifier] Identifier by which this moiety substance is known.
  Identifier? identifier,

  /// [name] Textual name for this moiety substance.
  String? name,

  /// [nameElement] ("_name") Extensions for name
  @JsonKey(name: '_name') Element? nameElement,

  /// [stereochemistry] Stereochemistry type.
  CodeableConcept? stereochemistry,

  /// [opticalActivity] Optical activity type.
  CodeableConcept? opticalActivity,

  /// [molecularFormula] Molecular formula for this moiety of this substance,
  ///  typically using the Hill system.
  String? molecularFormula,

  /// [molecularFormulaElement] ("_molecularFormula") Extensions for
  ///  molecularFormula
  @JsonKey(name: '_molecularFormula') Element? molecularFormulaElement,

  /// [amountQuantity] Quantitative value for this moiety.
  Quantity? amountQuantity,

  /// [amountString] Quantitative value for this moiety.
  String? amountString,

  /// [amountStringElement] ("_amountString") Extensions for amountString
  @JsonKey(name: '_amountString') Element? amountStringElement,

  /// [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.
  CodeableConcept? measurementType,
}) = _SubstanceDefinitionMoiety;