MedicationRequestSubstitution constructor
- @JsonKey(name: 'id') FhirId? fhirId,
- @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - List<
FhirExtension> ? modifierExtension, - FhirBoolean? allowedBoolean,
- @JsonKey(name: '_allowedBoolean') Element? allowedBooleanElement,
- CodeableConcept? allowedCodeableConcept,
- CodeableConcept? reason,
MedicationRequestSubstitution An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.
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.
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 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. 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).
allowedBoolean
True if the prescriber allows a different drug to be
dispensed from what was prescribed.
allowedBooleanElement
Extensions for allowedBoolean
allowedCodeableConcept
True if the prescriber allows a different drug
to be dispensed from what was prescribed.
reason
Indicates the reason for the substitution, or why substitution
must or must not be performed.
Implementation
const factory MedicationRequestSubstitution({
/// [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') FhirId? 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_,
/// [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 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. 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,
/// [allowedBoolean] True if the prescriber allows a different drug to be
/// dispensed from what was prescribed.
FhirBoolean? allowedBoolean,
/// [allowedBooleanElement] Extensions for allowedBoolean
@JsonKey(name: '_allowedBoolean') Element? allowedBooleanElement,
/// [allowedCodeableConcept] True if the prescriber allows a different drug
/// to be dispensed from what was prescribed.
CodeableConcept? allowedCodeableConcept,
/// [reason] Indicates the reason for the substitution, or why substitution
/// must or must not be performed.
CodeableConcept? reason,
}) = _MedicationRequestSubstitution;