MedicationAdministration constructor

const MedicationAdministration({
  1. @Default(Stu3ResourceType.MedicationAdministration) @JsonKey(unknownEnumValue: Stu3ResourceType.MedicationAdministration) Stu3ResourceType 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. List<Identifier>? identifier,
  14. List<Reference>? definition,
  15. List<Reference>? partOf,
  16. MedicationAdministrationStatus? status,
  17. @JsonKey(name: '_status') Element? statusElement,
  18. CodeableConcept? category,
  19. CodeableConcept? medicationCodeableConcept,
  20. Reference? medicationReference,
  21. required Reference subject,
  22. Reference? context,
  23. List<Reference>? supportingInformation,
  24. FhirDateTime? effectiveDateTime,
  25. @JsonKey(name: '_effectiveDateTime') Element? effectiveDateTimeElement,
  26. Period? effectivePeriod,
  27. List<MedicationAdministrationPerformer>? performer,
  28. FhirBoolean? notGiven,
  29. @JsonKey(name: '_notGiven') Element? notGivenElement,
  30. List<CodeableConcept>? reasonNotGiven,
  31. List<CodeableConcept>? reasonCode,
  32. List<Reference>? reasonReference,
  33. Reference? prescription,
  34. List<Reference>? device,
  35. List<Annotation>? note,
  36. MedicationAdministrationDosage? dosage,
  37. List<Reference>? eventHistory,
})

Implementation

const factory MedicationAdministration({
  @Default(Stu3ResourceType.MedicationAdministration)
  @JsonKey(unknownEnumValue: Stu3ResourceType.MedicationAdministration)
  Stu3ResourceType 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,
  List<Identifier>? identifier,
  List<Reference>? definition,
  List<Reference>? partOf,
  MedicationAdministrationStatus? status,
  @JsonKey(name: '_status') Element? statusElement,
  CodeableConcept? category,
  CodeableConcept? medicationCodeableConcept,
  Reference? medicationReference,
  required Reference subject,
  Reference? context,
  List<Reference>? supportingInformation,
  FhirDateTime? effectiveDateTime,
  @JsonKey(name: '_effectiveDateTime') Element? effectiveDateTimeElement,
  Period? effectivePeriod,
  List<MedicationAdministrationPerformer>? performer,
  FhirBoolean? notGiven,
  @JsonKey(name: '_notGiven') Element? notGivenElement,
  List<CodeableConcept>? reasonNotGiven,
  List<CodeableConcept>? reasonCode,
  List<Reference>? reasonReference,
  Reference? prescription,
  List<Reference>? device,
  List<Annotation>? note,
  MedicationAdministrationDosage? dosage,
  List<Reference>? eventHistory,
}) = _MedicationAdministration;