Patient constructor
const
Patient({
- @Default(Stu3ResourceType.Patient) @JsonKey(unknownEnumValue: Stu3ResourceType.Patient) 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, - FhirBoolean? active,
- @JsonKey(name: '_active') Element? activeElement,
- List<
HumanName> ? name, - List<
ContactPoint> ? telecom, - PatientGender? gender,
- @JsonKey(name: '_gender') Element? genderElement,
- FhirDate? birthDate,
- @JsonKey(name: '_birthDate') Element? birthDateElement,
- FhirBoolean? deceasedBoolean,
- @JsonKey(name: '_deceasedBoolean') Element? deceasedBooleanElement,
- FhirDateTime? deceasedDateTime,
- @JsonKey(name: '_deceasedDateTime') Element? deceasedDateTimeElement,
- List<
Address> ? address, - CodeableConcept? maritalStatus,
- FhirBoolean? multipleBirthBoolean,
- @JsonKey(name: '_multipleBirthBoolean') Element? multipleBirthBooleanElement,
- FhirDecimal? multipleBirthInteger,
- @JsonKey(name: '_multipleBirthInteger') Element? multipleBirthIntegerElement,
- List<
Attachment> ? photo, - List<
PatientContact> ? contact, - PatientAnimal? animal,
- List<
PatientCommunication> ? communication, - List<
Reference> ? generalPractitioner, - Reference? managingOrganization,
- List<
PatientLink> ? link,
Implementation
const factory Patient({
@Default(Stu3ResourceType.Patient)
@JsonKey(unknownEnumValue: Stu3ResourceType.Patient)
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,
FhirBoolean? active,
@JsonKey(name: '_active') Element? activeElement,
List<HumanName>? name,
List<ContactPoint>? telecom,
PatientGender? gender,
@JsonKey(name: '_gender') Element? genderElement,
FhirDate? birthDate,
@JsonKey(name: '_birthDate') Element? birthDateElement,
FhirBoolean? deceasedBoolean,
@JsonKey(name: '_deceasedBoolean') Element? deceasedBooleanElement,
FhirDateTime? deceasedDateTime,
@JsonKey(name: '_deceasedDateTime') Element? deceasedDateTimeElement,
List<Address>? address,
CodeableConcept? maritalStatus,
FhirBoolean? multipleBirthBoolean,
@JsonKey(name: '_multipleBirthBoolean')
Element? multipleBirthBooleanElement,
FhirDecimal? multipleBirthInteger,
@JsonKey(name: '_multipleBirthInteger')
Element? multipleBirthIntegerElement,
List<Attachment>? photo,
List<PatientContact>? contact,
PatientAnimal? animal,
List<PatientCommunication>? communication,
List<Reference>? generalPractitioner,
Reference? managingOrganization,
List<PatientLink>? link,
}) = _Patient;