MedicationDispense constructor

const MedicationDispense({
  1. @Default(Dstu2ResourceType.MedicationDispense) @JsonKey(unknownEnumValue: Dstu2ResourceType.MedicationDispense) Dstu2ResourceType resourceType,
  2. @JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
  3. @JsonKey(name: 'id') FhirId? fhirId,
  4. FhirMeta? meta,
  5. FhirUri? implicitRules,
  6. @JsonKey(name: '_implicitRules') Element? implicitRulesElement,
  7. FhirCode? language,
  8. @JsonKey(name: '_language') Element? languageElement,
  9. Narrative? text,
  10. List<Resource>? contained,
  11. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  12. List<FhirExtension>? modifierExtension,
  13. Identifier? identifier,
  14. @JsonKey(unknownEnumValue: MedicationDispenseStatus.unknown) MedicationDispenseStatus? status,
  15. @JsonKey(name: '_status') Element? statusElement,
  16. Reference? patient,
  17. Reference? dispenser,
  18. List<Reference>? authorizingPrescription,
  19. CodeableConcept? type,
  20. Quantity? quantity,
  21. Quantity? daysSupply,
  22. CodeableConcept? medicationCodeableConcept,
  23. Reference? medicationReference,
  24. FhirDateTime? whenPrepared,
  25. @JsonKey(name: '_whenPrepared') Element? whenPreparedElement,
  26. FhirDateTime? whenHandedOver,
  27. @JsonKey(name: '_whenHandedOver') Element? whenHandedOverElement,
  28. Reference? destination,
  29. List<Reference>? receiver,
  30. String? note,
  31. List<MedicationDispenseDosageInstruction>? dosageInstruction,
  32. 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;