MedicationStatement constructor
const
MedicationStatement({
- @Default(Dstu2ResourceType.MedicationStatement) @JsonKey(unknownEnumValue: Dstu2ResourceType.MedicationStatement) 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, - List<
Identifier> ? identifier, - required Reference patient,
- Reference? informationSource,
- FhirDateTime? dateAsserted,
- @JsonKey(name: '_dateAsserted') Element? dateAssertedElement,
- @JsonKey(required: true, unknownEnumValue: MedicationStatementStatus.unknown) required MedicationStatementStatus status,
- @JsonKey(name: '_status') Element? statusElement,
- FhirBoolean? wasNotTaken,
- List<
CodeableConcept> ? reasonNotTaken, - CodeableConcept? reasonForUseCodeableConcept,
- Reference? reasonForUseReference,
- FhirDateTime? effectiveDateTime,
- @JsonKey(name: '_effectiveDateTime') Element? effectiveDateTimeElement,
- Period? effectivePeriod,
- String? note,
- List<
Reference> ? supportingInformation, - CodeableConcept? medicationCodeableConcept,
- Reference? medicationReference,
- List<
MedicationStatementDosage> ? dosage,
Implementation
const factory MedicationStatement({
@Default(Dstu2ResourceType.MedicationStatement)
@JsonKey(unknownEnumValue: Dstu2ResourceType.MedicationStatement)
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,
List<Identifier>? identifier,
required Reference patient,
Reference? informationSource,
FhirDateTime? dateAsserted,
@JsonKey(name: '_dateAsserted') Element? dateAssertedElement,
@JsonKey(
required: true, unknownEnumValue: MedicationStatementStatus.unknown)
required MedicationStatementStatus status,
@JsonKey(name: '_status') Element? statusElement,
FhirBoolean? wasNotTaken,
List<CodeableConcept>? reasonNotTaken,
CodeableConcept? reasonForUseCodeableConcept,
Reference? reasonForUseReference,
FhirDateTime? effectiveDateTime,
@JsonKey(name: '_effectiveDateTime') Element? effectiveDateTimeElement,
Period? effectivePeriod,
String? note,
List<Reference>? supportingInformation,
CodeableConcept? medicationCodeableConcept,
Reference? medicationReference,
List<MedicationStatementDosage>? dosage,
}) = _MedicationStatement;