EncryptedPatient constructor

EncryptedPatient(
  1. String id, {
  2. int? deactivationDate,
  3. int? dateOfBirth,
  4. int? dateOfDeath,
  5. List<Identifier>? identifier,
  6. String? rev,
  7. int? created,
  8. int? modified,
  9. String? author,
  10. String? responsible,
  11. Set<CodeStub>? tags,
  12. Set<CodeStub>? codes,
  13. int? endOfLife,
  14. int? deletionDate,
  15. String? firstName,
  16. String? lastName,
  17. List<PersonName>? names,
  18. String? companyName,
  19. List<String>? languages,
  20. List<EncryptedAddress>? addresses,
  21. String? civility,
  22. Gender? gender,
  23. Gender? birthSex,
  24. String? mergeToPatientId,
  25. Set<String>? mergedIds,
  26. String? alias,
  27. bool? active,
  28. DeactivationReason? deactivationReason,
  29. String? ssin,
  30. String? maidenName,
  31. String? spouseName,
  32. String? partnerName,
  33. PersonalStatus? personalStatus,
  34. int? timestampOfLatestEidReading,
  35. String? placeOfBirth,
  36. String? placeOfDeath,
  37. bool? deceased,
  38. String? education,
  39. String? profession,
  40. List<Annotation>? notes,
  41. String? note,
  42. String? administrativeNote,
  43. String? nationality,
  44. String? race,
  45. String? ethnicity,
  46. String? preferredUserId,
  47. Uint8List? picture,
  48. String? externalId,
  49. List<EncryptedInsurability>? insurabilities,
  50. List<Partnership>? partnerships,
  51. List<EncryptedPatientHealthCareParty>? patientHealthCareParties,
  52. List<EncryptedFinancialInstitutionInformation>? financialInstitutionInformation,
  53. List<EncryptedMedicalHouseContract>? medicalHouseContracts,
  54. List<CodeStub>? patientProfessions,
  55. Map<String, List<String>>? parameters,
  56. Set<EncryptedPropertyStub>? properties,
  57. Map<String, List<HexString>>? hcPartyKeys,
  58. Map<SpkiHexString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>>? aesExchangeKeys,
  59. Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>? transferKeys,
  60. Map<String, HexString>? privateKeyShamirPartitions,
  61. SpkiHexString? publicKey,
  62. Set<SpkiHexString>? publicKeysForOaepWithSha256,
  63. Set<String>? secretForeignKeys,
  64. Map<String, Set<Delegation>>? cryptedForeignKeys,
  65. Map<String, Set<Delegation>>? delegations,
  66. Map<String, Set<Delegation>>? encryptionKeys,
  67. Base64String? encryptedSelf,
  68. SecurityMetadata? securityMetadata,
  69. String? medicalLocationId,
  70. Set<String>? nonDuplicateIds,
  71. Set<String>? encryptedAdministrativesDocuments,
  72. String? comment,
  73. String? warning,
  74. CodeStub? fatherBirthCountry,
  75. CodeStub? birthCountry,
  76. CodeStub? nativeCountry,
  77. CodeStub? socialStatus,
  78. CodeStub? mainSourceOfIncome,
  79. List<SchoolingInfo>? schoolingInfos,
  80. List<EmploymentInfo>? employementInfos,
})

Implementation

EncryptedPatient(
	this.id,
	{
		int? deactivationDate,
		int? dateOfBirth,
		int? dateOfDeath,
		List<Identifier>? identifier,
		String? rev,
		int? created,
		int? modified,
		String? author,
		String? responsible,
		Set<CodeStub>? tags,
		Set<CodeStub>? codes,
		int? endOfLife,
		int? deletionDate,
		String? firstName,
		String? lastName,
		List<PersonName>? names,
		String? companyName,
		List<String>? languages,
		List<EncryptedAddress>? addresses,
		String? civility,
		Gender? gender,
		Gender? birthSex,
		String? mergeToPatientId,
		Set<String>? mergedIds,
		String? alias,
		bool? active,
		DeactivationReason? deactivationReason,
		String? ssin,
		String? maidenName,
		String? spouseName,
		String? partnerName,
		PersonalStatus? personalStatus,
		int? timestampOfLatestEidReading,
		String? placeOfBirth,
		String? placeOfDeath,
		bool? deceased,
		String? education,
		String? profession,
		List<Annotation>? notes,
		String? note,
		String? administrativeNote,
		String? nationality,
		String? race,
		String? ethnicity,
		String? preferredUserId,
		Uint8List? picture,
		String? externalId,
		List<EncryptedInsurability>? insurabilities,
		List<Partnership>? partnerships,
		List<EncryptedPatientHealthCareParty>? patientHealthCareParties,
		List<EncryptedFinancialInstitutionInformation>? financialInstitutionInformation,
		List<EncryptedMedicalHouseContract>? medicalHouseContracts,
		List<CodeStub>? patientProfessions,
		Map<String, List<String>>? parameters,
		Set<EncryptedPropertyStub>? properties,
		Map<String, List<HexString>>? hcPartyKeys,
		Map<SpkiHexString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>>? aesExchangeKeys,
		Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>? transferKeys,
		Map<String, HexString>? privateKeyShamirPartitions,
		SpkiHexString? publicKey,
		Set<SpkiHexString>? publicKeysForOaepWithSha256,
		Set<String>? secretForeignKeys,
		Map<String, Set<Delegation>>? cryptedForeignKeys,
		Map<String, Set<Delegation>>? delegations,
		Map<String, Set<Delegation>>? encryptionKeys,
		Base64String? encryptedSelf,
		SecurityMetadata? securityMetadata,
		String? medicalLocationId,
		Set<String>? nonDuplicateIds,
		Set<String>? encryptedAdministrativesDocuments,
		String? comment,
		String? warning,
		CodeStub? fatherBirthCountry,
		CodeStub? birthCountry,
		CodeStub? nativeCountry,
		CodeStub? socialStatus,
		CodeStub? mainSourceOfIncome,
		List<SchoolingInfo>? schoolingInfos,
		List<EmploymentInfo>? employementInfos
	}) : identifier = identifier ?? [],
	rev = rev ?? null,
	created = created ?? null,
	modified = modified ?? null,
	author = author ?? null,
	responsible = responsible ?? null,
	tags = tags ?? {},
	codes = codes ?? {},
	endOfLife = endOfLife ?? null,
	deletionDate = deletionDate ?? null,
	firstName = firstName ?? null,
	lastName = lastName ?? null,
	names = names ?? [],
	companyName = companyName ?? null,
	languages = languages ?? [],
	addresses = addresses ?? [],
	civility = civility ?? null,
	gender = gender ?? Gender.unknown,
	birthSex = birthSex ?? Gender.unknown,
	mergeToPatientId = mergeToPatientId ?? null,
	mergedIds = mergedIds ?? {},
	alias = alias ?? null,
	active = active ?? true,
	deactivationReason = deactivationReason ?? DeactivationReason.none,
	ssin = ssin ?? null,
	maidenName = maidenName ?? null,
	spouseName = spouseName ?? null,
	partnerName = partnerName ?? null,
	personalStatus = personalStatus ?? PersonalStatus.unknown,
	timestampOfLatestEidReading = timestampOfLatestEidReading ?? null,
	placeOfBirth = placeOfBirth ?? null,
	placeOfDeath = placeOfDeath ?? null,
	deceased = deceased ?? null,
	education = education ?? null,
	profession = profession ?? null,
	notes = notes ?? [],
	note = note ?? null,
	administrativeNote = administrativeNote ?? null,
	nationality = nationality ?? null,
	race = race ?? null,
	ethnicity = ethnicity ?? null,
	preferredUserId = preferredUserId ?? null,
	picture = picture ?? null,
	externalId = externalId ?? null,
	insurabilities = insurabilities ?? [],
	partnerships = partnerships ?? [],
	patientHealthCareParties = patientHealthCareParties ?? [],
	financialInstitutionInformation = financialInstitutionInformation ?? [],
	medicalHouseContracts = medicalHouseContracts ?? [],
	patientProfessions = patientProfessions ?? [],
	parameters = parameters ?? {},
	properties = properties ?? {},
	hcPartyKeys = hcPartyKeys ?? {},
	aesExchangeKeys = aesExchangeKeys ?? {},
	transferKeys = transferKeys ?? {},
	privateKeyShamirPartitions = privateKeyShamirPartitions ?? {},
	publicKey = publicKey ?? null,
	publicKeysForOaepWithSha256 = publicKeysForOaepWithSha256 ?? {},
	secretForeignKeys = secretForeignKeys ?? {},
	cryptedForeignKeys = cryptedForeignKeys ?? {},
	delegations = delegations ?? {},
	encryptionKeys = encryptionKeys ?? {},
	encryptedSelf = encryptedSelf ?? null,
	securityMetadata = securityMetadata ?? null,
	medicalLocationId = medicalLocationId ?? null,
	nonDuplicateIds = nonDuplicateIds ?? {},
	encryptedAdministrativesDocuments = encryptedAdministrativesDocuments ?? {},
	comment = comment ?? null,
	warning = warning ?? null,
	fatherBirthCountry = fatherBirthCountry ?? null,
	birthCountry = birthCountry ?? null,
	nativeCountry = nativeCountry ?? null,
	socialStatus = socialStatus ?? null,
	mainSourceOfIncome = mainSourceOfIncome ?? null,
	schoolingInfos = schoolingInfos ?? [],
	employementInfos = employementInfos ?? [],
	_deactivationDate = deactivationDate ?? null,
	_dateOfBirth = dateOfBirth ?? null,
	_dateOfDeath = dateOfDeath ?? null;