MedicationDispense constructor
const
MedicationDispense({
- @Default(Dstu2ResourceType.MedicationDispense) @JsonKey(unknownEnumValue: Dstu2ResourceType.MedicationDispense) Dstu2ResourceType resourceType,
- @JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
- @JsonKey(name: 'id') FhirId? fhirId,
- FhirMeta? meta,
- FhirUri? implicitRules,
- @JsonKey(name: '_implicitRules') Element? implicitRulesElement,
- FhirCode? language,
- @JsonKey(name: '_language') Element? languageElement,
- Narrative? text,
- List<
Resource> ? contained, - @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - List<
FhirExtension> ? modifierExtension, - Identifier? identifier,
- @JsonKey(unknownEnumValue: MedicationDispenseStatus.unknown) MedicationDispenseStatus? status,
- @JsonKey(name: '_status') Element? statusElement,
- Reference? patient,
- Reference? dispenser,
- List<
Reference> ? authorizingPrescription, - CodeableConcept? type,
- Quantity? quantity,
- Quantity? daysSupply,
- CodeableConcept? medicationCodeableConcept,
- Reference? medicationReference,
- FhirDateTime? whenPrepared,
- @JsonKey(name: '_whenPrepared') Element? whenPreparedElement,
- FhirDateTime? whenHandedOver,
- @JsonKey(name: '_whenHandedOver') Element? whenHandedOverElement,
- Reference? destination,
- List<
Reference> ? receiver, - String? note,
- List<
MedicationDispenseDosageInstruction> ? dosageInstruction, - MedicationDispenseSubstitution? substitution,
Implementation
const factory MedicationDispense({
@Default(Dstu2ResourceType.MedicationDispense)
@JsonKey(unknownEnumValue: Dstu2ResourceType.MedicationDispense)
Dstu2ResourceType resourceType,
@JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
@JsonKey(name: 'id') FhirId? fhirId,
FhirMeta? meta,
FhirUri? implicitRules,
@JsonKey(name: '_implicitRules') Element? implicitRulesElement,
FhirCode? language,
@JsonKey(name: '_language') Element? languageElement,
Narrative? text,
List<Resource>? contained,
@JsonKey(name: 'extension') List<FhirExtension>? extension_,
List<FhirExtension>? modifierExtension,
Identifier? identifier,
@JsonKey(unknownEnumValue: MedicationDispenseStatus.unknown)
MedicationDispenseStatus? status,
@JsonKey(name: '_status') Element? statusElement,
Reference? patient,
Reference? dispenser,
List<Reference>? authorizingPrescription,
CodeableConcept? type,
Quantity? quantity,
Quantity? daysSupply,
CodeableConcept? medicationCodeableConcept,
Reference? medicationReference,
FhirDateTime? whenPrepared,
@JsonKey(name: '_whenPrepared') Element? whenPreparedElement,
FhirDateTime? whenHandedOver,
@JsonKey(name: '_whenHandedOver') Element? whenHandedOverElement,
Reference? destination,
List<Reference>? receiver,
String? note,
List<MedicationDispenseDosageInstruction>? dosageInstruction,
MedicationDispenseSubstitution? substitution,
}) = _MedicationDispense;