Patient constructor

Patient({
  1. String? id,
  2. String? rev,
  3. List<Identifier> identifiers = const [],
  4. int? created,
  5. int? modified,
  6. String? author,
  7. String? responsible,
  8. Set<CodingReference> labels = const {},
  9. Set<CodingReference> codes = const {},
  10. int? endOfLife,
  11. int? deletionDate,
  12. String? firstName,
  13. String? lastName,
  14. List<PersonName> names = const [],
  15. String? companyName,
  16. List<String> languages = const [],
  17. List<Address> addresses = const [],
  18. String? civility,
  19. PatientGenderEnum? gender,
  20. PatientBirthSexEnum? birthSex,
  21. String? mergeToPatientId,
  22. Set<String> mergedIds = const {},
  23. String? alias,
  24. bool active = true,
  25. PatientDeactivationReasonEnum deactivationReason = const PatientDeactivationReasonEnum._('DeactivationReason.none'),
  26. String? ssin,
  27. String? maidenName,
  28. String? spouseName,
  29. String? partnerName,
  30. PatientPersonalStatusEnum? personalStatus,
  31. int? dateOfBirth,
  32. int? dateOfDeath,
  33. String? placeOfBirth,
  34. String? placeOfDeath,
  35. bool? deceased,
  36. String? education,
  37. String? profession,
  38. String? note,
  39. String? administrativeNote,
  40. String? nationality,
  41. String? race,
  42. String? ethnicity,
  43. String? picture,
  44. String? externalId,
  45. List<Partnership> partnerships = const [],
  46. List<PatientHealthCareParty> patientHealthCareParties = const [],
  47. List<CodingReference> patientProfessions = const [],
  48. Map<String, List<String>> parameters = const {},
  49. Set<Property> properties = const {},
  50. 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,
});