MedicationAdministration constructor
const
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,
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;