Patient constructor
Patient({
- String? id,
- String? rev,
- List<
Identifier> identifiers = const [], - int? created,
- int? modified,
- String? author,
- String? responsible,
- Set<
CodingReference> labels = const {}, - Set<
CodingReference> codes = const {}, - int? endOfLife,
- int? deletionDate,
- String? firstName,
- String? lastName,
- List<
PersonName> names = const [], - String? companyName,
- List<
String> languages = const [], - List<
Address> addresses = const [], - String? civility,
- PatientGenderEnum? gender,
- PatientBirthSexEnum? birthSex,
- String? mergeToPatientId,
- Set<
String> mergedIds = const {}, - String? alias,
- bool active = true,
- PatientDeactivationReasonEnum deactivationReason = const PatientDeactivationReasonEnum._('DeactivationReason.none'),
- String? ssin,
- String? maidenName,
- String? spouseName,
- String? partnerName,
- PatientPersonalStatusEnum? personalStatus,
- int? dateOfBirth,
- int? dateOfDeath,
- String? placeOfBirth,
- String? placeOfDeath,
- bool? deceased,
- String? education,
- String? profession,
- String? note,
- String? administrativeNote,
- String? nationality,
- String? race,
- String? ethnicity,
- String? picture,
- String? externalId,
- List<
Partnership> partnerships = const [], - List<
PatientHealthCareParty> patientHealthCareParties = const [], - List<
CodingReference> patientProfessions = const [], - Map<
String, List< parameters = const {},String> > - Set<
Property> properties = const {}, - SystemMetaDataOwnerEncrypted? systemMetaData,
Returns a new Patient instance.
Implementation
Patient({
this.id,
this.rev,
this.identifiers = const [],
this.created,
this.modified,
this.author,
this.responsible,
this.labels = const {},
this.codes = const {},
this.endOfLife,
this.deletionDate,
this.firstName,
this.lastName,
this.names = const [],
this.companyName,
this.languages = const [],
this.addresses = const [],
this.civility,
this.gender,
this.birthSex,
this.mergeToPatientId,
this.mergedIds = const {},
this.alias,
this.active = true,
this.deactivationReason = const PatientDeactivationReasonEnum._('DeactivationReason.none'),
this.ssin,
this.maidenName,
this.spouseName,
this.partnerName,
this.personalStatus,
this.dateOfBirth,
this.dateOfDeath,
this.placeOfBirth,
this.placeOfDeath,
this.deceased,
this.education,
this.profession,
this.note,
this.administrativeNote,
this.nationality,
this.race,
this.ethnicity,
this.picture,
this.externalId,
this.partnerships = const [],
this.patientHealthCareParties = const [],
this.patientProfessions = const [],
this.parameters = const {},
this.properties = const {},
this.systemMetaData,
});