EncryptedPatient constructor
EncryptedPatient(
- String 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< ? parameters,String> > - Set<
EncryptedPropertyStub> ? properties, - Map<
String, List< ? hcPartyKeys,HexString> > - Map<
SpkiHexString, Map< ? aesExchangeKeys,String, Map< >AesExchangeKeyEncryptionKeypairIdentifier, HexString> > - Map<
AesExchangeKeyEncryptionKeypairIdentifier, Map< ? transferKeys,AesExchangeKeyEncryptionKeypairIdentifier, HexString> > - Map<
String, HexString> ? privateKeyShamirPartitions, - SpkiHexString? publicKey,
- Set<
SpkiHexString> ? publicKeysForOaepWithSha256, - Set<
String> ? secretForeignKeys, - Map<
String, Set< ? cryptedForeignKeys,Delegation> > - Map<
String, Set< ? delegations,Delegation> > - Map<
String, Set< ? encryptionKeys,Delegation> > - 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,
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;