DecryptedPatient class abstract

Implemented types
Annotations
  • @freezed

Constructors

DecryptedPatient.new({required String id, @Default([]) List<Identifier> identifier, @Default(null) String? rev, @Default(null) int? created, @Default(null) int? modified, @Default(null) String? author, @Default(null) String? responsible, @Default({}) Set<CodeStub> tags, @Default({}) Set<CodeStub> codes, @Default(null) int? endOfLife, @Default(null) int? deletionDate, @Default(null) String? firstName, @Default(null) String? lastName, @Default([]) List<PersonName> names, @Default(null) String? companyName, @Default([]) List<String> languages, @Default([]) List<DecryptedAddress> addresses, @Default(null) String? civility, @Default(Gender.unknown) Gender? gender, @Default(Gender.unknown) Gender? birthSex, @Default(null) String? mergeToPatientId, @Default({}) Set<String> mergedIds, @Default(null) String? alias, @Default(true) bool active, @Default(DeactivationReason.none) DeactivationReason deactivationReason, @Default(null) int? deactivationDate, @Default(null) String? ssin, @Default(null) String? maidenName, @Default(null) String? spouseName, @Default(null) String? partnerName, @Default(PersonalStatus.unknown) PersonalStatus? personalStatus, @Default(null) int? dateOfBirth, @Default(null) int? dateOfDeath, @Default(null) int? timestampOfLatestEidReading, @Default(null) String? placeOfBirth, @Default(null) String? placeOfDeath, @Default(null) bool? deceased, @Default(null) String? education, @Default(null) String? profession, @Default([]) List<Annotation> notes, @Default(null) String? note, @Default(null) String? administrativeNote, @Default(null) String? nationality, @Default(null) String? race, @Default(null) String? ethnicity, @Default(null) String? preferredUserId, @Default(null) Uint8List? picture, @Default(null) String? externalId, @Default([]) List<DecryptedInsurability> insurabilities, @Default([]) List<Partnership> partnerships, @Default([]) List<DecryptedPatientHealthCareParty> patientHealthCareParties, @Default([]) List<DecryptedFinancialInstitutionInformation> financialInstitutionInformation, @Default([]) List<DecryptedMedicalHouseContract> medicalHouseContracts, @Default([]) List<CodeStub> patientProfessions, @Default({}) Map<String, List<String>> parameters, @Default({}) Set<DecryptedPropertyStub> properties, @Default({}) Map<String, List<HexString>> hcPartyKeys, @Default({}) Map<AesExchangeKeyEntryKeyString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>> aesExchangeKeys, @Default({}) Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>> transferKeys, @Default({}) Map<String, HexString> privateKeyShamirPartitions, @Default(null) CardinalRsaPublicKey? publicKey, @Default({}) Set<CardinalRsaPublicKey> publicKeysForOaepWithSha256, @Default({}) Set<String> secretForeignKeys, @Default({}) Map<String, Set<Delegation>> cryptedForeignKeys, @Default({}) Map<String, Set<Delegation>> delegations, @Default({}) Map<String, Set<Delegation>> encryptionKeys, @Default(null) Base64String? encryptedSelf, @Default(null) SecurityMetadata? securityMetadata, @Default(null) Set<DecryptedPropertyStub>? cryptoActorProperties, @Default(null) String? medicalLocationId, @Default({}) Set<String> nonDuplicateIds, @Default({}) Set<String> encryptedAdministrativesDocuments, @Default(null) String? comment, @Default(null) String? warning, @Default(null) CodeStub? fatherBirthCountry, @Default(null) CodeStub? birthCountry, @Default(null) CodeStub? nativeCountry, @Default(null) CodeStub? socialStatus, @Default(null) CodeStub? mainSourceOfIncome, @Default([]) List<DecryptedSchoolingInfo> schoolingInfos, @Default([]) List<DecryptedEmploymentInfo> employementInfos, @Default(null) Never parentId})
const
factory

Properties

active bool
no setterinherited
addresses List<DecryptedAddress>
no setterinherited
administrativeNote String?
no setterinherited
aesExchangeKeys Map<AesExchangeKeyEntryKeyString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>>
no setterinherited
alias String?
no setterinherited
author String?
no setterinherited
birthCountry CodeStub?
no setterinherited
birthSex Gender?
no setterinherited
civility String?
no setterinherited
codes Set<CodeStub>
no setterinherited
comment String?
no setterinherited
companyName String?
no setterinherited
copyWith → $DecryptedPatientCopyWith<DecryptedPatient>
Create a copy of DecryptedPatient with the given fields replaced by the non-null parameter values.
no setterinherited
created int?
no setterinherited
cryptedForeignKeys Map<String, Set<Delegation>>
no setterinherited
cryptoActorProperties Set<DecryptedPropertyStub>?
no setterinherited
dateOfBirth int?
no setterinherited
dateOfDeath int?
no setterinherited
deactivationDate int?
no setterinherited
deactivationReason DeactivationReason
no setterinherited
deceased bool?
no setterinherited
delegations Map<String, Set<Delegation>>
no setterinherited
deletionDate int?
no setterinherited
education String?
no setterinherited
employementInfos List<DecryptedEmploymentInfo>
no setterinherited
encryptedAdministrativesDocuments Set<String>
no setterinherited
encryptedSelf Base64String?
no setterinherited
encryptionKeys Map<String, Set<Delegation>>
no setterinherited
endOfLife int?
no setterinherited
ethnicity String?
no setterinherited
externalId String?
no setterinherited
fatherBirthCountry CodeStub?
no setterinherited
financialInstitutionInformation List<DecryptedFinancialInstitutionInformation>
no setterinherited
firstName String?
no setterinherited
gender Gender?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hcPartyKeys Map<String, List<HexString>>
no setterinherited
id String
no setterinherited
identifier List<Identifier>
no setterinherited
insurabilities List<DecryptedInsurability>
no setterinherited
languages List<String>
no setterinherited
lastName String?
no setterinherited
maidenName String?
no setterinherited
mainSourceOfIncome CodeStub?
no setterinherited
medicalHouseContracts List<DecryptedMedicalHouseContract>
no setterinherited
medicalLocationId String?
no setterinherited
mergedIds Set<String>
no setterinherited
mergeToPatientId String?
no setterinherited
modified int?
no setterinherited
names List<PersonName>
no setterinherited
nationality String?
no setterinherited
nativeCountry CodeStub?
no setterinherited
nonDuplicateIds Set<String>
no setterinherited
note String?
no setterinherited
notes List<Annotation>
no setterinherited
parameters Map<String, List<String>>
no setterinherited
parentId → Never
no setterinherited
partnerName String?
no setterinherited
partnerships List<Partnership>
no setterinherited
patientHealthCareParties List<DecryptedPatientHealthCareParty>
no setterinherited
patientProfessions List<CodeStub>
no setterinherited
personalStatus PersonalStatus?
no setterinherited
picture Uint8List?
no setterinherited
placeOfBirth String?
no setterinherited
placeOfDeath String?
no setterinherited
preferredUserId String?
no setterinherited
privateKeyShamirPartitions Map<String, HexString>
no setterinherited
profession String?
no setterinherited
properties Set<DecryptedPropertyStub>
no setterinherited
publicKey CardinalRsaPublicKey?
no setterinherited
publicKeysForOaepWithSha256 Set<CardinalRsaPublicKey>
no setterinherited
race String?
no setterinherited
responsible String?
no setterinherited
rev String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schoolingInfos List<DecryptedSchoolingInfo>
no setterinherited
secretForeignKeys Set<String>
no setterinherited
securityMetadata SecurityMetadata?
no setterinherited
socialStatus CodeStub?
no setterinherited
spouseName String?
no setterinherited
ssin String?
no setterinherited
tags Set<CodeStub>
no setterinherited
timestampOfLatestEidReading int?
no setterinherited
transferKeys Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>
no setterinherited
warning String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode(DecryptedPatient value) Map<String, dynamic>
override
fromJSON(Map<String, dynamic> data) DecryptedPatient
override