DecryptedPatientDto constructor

DecryptedPatientDto({
  1. required String id,
  2. List<IdentifierDto> identifier = const [],
  3. String? rev,
  4. int? created,
  5. int? modified,
  6. String? author,
  7. String? responsible,
  8. Set<CodeStubDto> tags = const {},
  9. Set<CodeStubDto> codes = const {},
  10. int? endOfLife,
  11. int? deletionDate,
  12. String? firstName,
  13. String? lastName,
  14. List<PersonNameDto> names = const [],
  15. String? companyName,
  16. List<String> languages = const [],
  17. List<AddressDto> addresses = const [],
  18. String? civility,
  19. PatientDtoGenderEnum? gender,
  20. PatientDtoBirthSexEnum? birthSex,
  21. String? mergeToPatientId,
  22. Set<String> mergedIds = const {},
  23. String? alias,
  24. bool active = true,
  25. PatientDtoDeactivationReasonEnum deactivationReason = const PatientDtoDeactivationReasonEnum._('DeactivationReason.none'),
  26. String? ssin,
  27. String? maidenName,
  28. String? spouseName,
  29. String? partnerName,
  30. PatientDtoPersonalStatusEnum? personalStatus,
  31. int? dateOfBirth,
  32. int? dateOfDeath,
  33. int? timestampOfLatestEidReading,
  34. String? placeOfBirth,
  35. String? placeOfDeath,
  36. bool? deceased,
  37. String? education,
  38. String? profession,
  39. String? note,
  40. String? administrativeNote,
  41. String? nationality,
  42. String? race,
  43. String? ethnicity,
  44. String? preferredUserId,
  45. String? picture,
  46. String? externalId,
  47. List<InsurabilityDto> insurabilities = const [],
  48. List<PartnershipDto> partnerships = const [],
  49. List<PatientHealthCarePartyDto> patientHealthCareParties = const [],
  50. List<FinancialInstitutionInformationDto> financialInstitutionInformation = const [],
  51. List<MedicalHouseContractDto> medicalHouseContracts = const [],
  52. List<CodeStubDto> patientProfessions = const [],
  53. Map<String, List<String>> parameters = const {},
  54. Set<PropertyStubDto> properties = const {},
  55. Map<String, List<String>> hcPartyKeys = const {},
  56. Map<String, Map<String, Map<String, String>>> aesExchangeKeys = const {},
  57. Map<String, Map<String, String>> transferKeys = const {},
  58. Map<String, String> privateKeyShamirPartitions = const {},
  59. String? publicKey,
  60. Set<String> secretForeignKeys = const {},
  61. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  62. Map<String, Set<DelegationDto>> delegations = const {},
  63. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  64. String? encryptedSelf,
  65. String? medicalLocationId,
  66. Set<String> nonDuplicateIds = const {},
  67. Set<String> encryptedAdministrativesDocuments = const {},
  68. String? comment,
  69. String? warning,
  70. CodeStubDto? fatherBirthCountry,
  71. CodeStubDto? birthCountry,
  72. CodeStubDto? nativeCountry,
  73. CodeStubDto? socialStatus,
  74. CodeStubDto? mainSourceOfIncome,
  75. List<SchoolingInfoDto> schoolingInfos = const [],
  76. List<EmploymentInfoDto> employementInfos = const [],
})

Returns a new DecryptedPatientDto instance.

Implementation

DecryptedPatientDto({
  required this.id,
  this.identifier = const [],
  this.rev,
  this.created,
  this.modified,
  this.author,
  this.responsible,
  this.tags = 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 PatientDtoDeactivationReasonEnum._('DeactivationReason.none'),
  this.ssin,
  this.maidenName,
  this.spouseName,
  this.partnerName,
  this.personalStatus,
  this.dateOfBirth,
  this.dateOfDeath,
  this.timestampOfLatestEidReading,
  this.placeOfBirth,
  this.placeOfDeath,
  this.deceased,
  this.education,
  this.profession,
  this.note,
  this.administrativeNote,
  this.nationality,
  this.race,
  this.ethnicity,
  this.preferredUserId,
  this.picture,
  this.externalId,
  this.insurabilities = const [],
  this.partnerships = const [],
  this.patientHealthCareParties = const [],
  this.financialInstitutionInformation = const [],
  this.medicalHouseContracts = const [],
  this.patientProfessions = const [],
  this.parameters = const {},
  this.properties = const {},
  this.hcPartyKeys = const {},
  this.aesExchangeKeys = const {},
  this.transferKeys = const {},
  this.privateKeyShamirPartitions = const {},
  this.publicKey,
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
  this.medicalLocationId,
  this.nonDuplicateIds = const {},
  this.encryptedAdministrativesDocuments = const {},
  this.comment,
  this.warning,
  this.fatherBirthCountry,
  this.birthCountry,
  this.nativeCountry,
  this.socialStatus,
  this.mainSourceOfIncome,
  this.schoolingInfos = const [],
  this.employementInfos = const [],
});