DecryptedHealthElement constructor
DecryptedHealthElement(
- String id, {
- int? status,
- List<
Identifier> ? identifiers, - String? rev,
- int? created,
- int? modified,
- String? author,
- String? responsible,
- String? medicalLocationId,
- Set<
CodeStub> ? tags, - Set<
CodeStub> ? codes, - int? endOfLife,
- int? deletionDate,
- String? healthElementId,
- int? valueDate,
- int? openingDate,
- int? closingDate,
- String? descr,
- String? note,
- List<
Annotation> ? notes, - bool? relevant,
- String? idOpeningContact,
- String? idClosingContact,
- String? idService,
- Laterality? laterality,
- List<
DecryptedPlanOfAction> ? plansOfAction, - List<
DecryptedEpisode> ? episodes, - List<
DecryptedCareTeamMember> ? careTeam, - Set<
String> ? secretForeignKeys, - Map<
String, Set< ? cryptedForeignKeys,Delegation> > - Map<
String, Set< ? delegations,Delegation> > - Map<
String, Set< ? encryptionKeys,Delegation> > - Base64String? encryptedSelf,
- SecurityMetadata? securityMetadata,
Implementation
DecryptedHealthElement(
this.id,
{
int? status,
List<Identifier>? identifiers,
String? rev,
int? created,
int? modified,
String? author,
String? responsible,
String? medicalLocationId,
Set<CodeStub>? tags,
Set<CodeStub>? codes,
int? endOfLife,
int? deletionDate,
String? healthElementId,
int? valueDate,
int? openingDate,
int? closingDate,
String? descr,
String? note,
List<Annotation>? notes,
bool? relevant,
String? idOpeningContact,
String? idClosingContact,
String? idService,
Laterality? laterality,
List<DecryptedPlanOfAction>? plansOfAction,
List<DecryptedEpisode>? episodes,
List<DecryptedCareTeamMember>? careTeam,
Set<String>? secretForeignKeys,
Map<String, Set<Delegation>>? cryptedForeignKeys,
Map<String, Set<Delegation>>? delegations,
Map<String, Set<Delegation>>? encryptionKeys,
Base64String? encryptedSelf,
SecurityMetadata? securityMetadata
}) : identifiers = identifiers ?? [],
rev = rev ?? null,
created = created ?? null,
modified = modified ?? null,
author = author ?? null,
responsible = responsible ?? null,
medicalLocationId = medicalLocationId ?? null,
tags = tags ?? {},
codes = codes ?? {},
endOfLife = endOfLife ?? null,
deletionDate = deletionDate ?? null,
healthElementId = healthElementId ?? null,
valueDate = valueDate ?? null,
openingDate = openingDate ?? null,
closingDate = closingDate ?? null,
descr = descr ?? null,
note = note ?? null,
notes = notes ?? [],
relevant = relevant ?? true,
idOpeningContact = idOpeningContact ?? null,
idClosingContact = idClosingContact ?? null,
idService = idService ?? null,
laterality = laterality ?? null,
plansOfAction = plansOfAction ?? [],
episodes = episodes ?? [],
careTeam = careTeam ?? [],
secretForeignKeys = secretForeignKeys ?? {},
cryptedForeignKeys = cryptedForeignKeys ?? {},
delegations = delegations ?? {},
encryptionKeys = encryptionKeys ?? {},
encryptedSelf = encryptedSelf ?? null,
securityMetadata = securityMetadata ?? null,
_status = status ?? 0;