HealthElementDto constructor

HealthElementDto({
  1. required String id,
  2. List<IdentifierDto> identifiers = const [],
  3. String? rev,
  4. int? created,
  5. int? modified,
  6. String? author,
  7. String? responsible,
  8. String? medicalLocationId,
  9. Set<CodeStubDto> tags = const {},
  10. Set<CodeStubDto> codes = const {},
  11. int? endOfLife,
  12. int? deletionDate,
  13. String? healthElementId,
  14. int? valueDate,
  15. int? openingDate,
  16. int? closingDate,
  17. String? descr,
  18. String? note,
  19. required bool relevant,
  20. String? idOpeningContact,
  21. String? idClosingContact,
  22. String? idService,
  23. required int status,
  24. HealthElementDtoLateralityEnum? laterality,
  25. List<PlanOfActionDto> plansOfAction = const [],
  26. List<EpisodeDto> episodes = const [],
  27. List<CareTeamMemberDto> careTeam = const [],
  28. Set<String> secretForeignKeys = const {},
  29. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  30. Map<String, Set<DelegationDto>> delegations = const {},
  31. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  32. String? encryptedSelf,
})

Returns a new HealthElementDto instance.

Implementation

HealthElementDto({
  required this.id,
  this.identifiers = const [],
  this.rev,
  this.created,
  this.modified,
  this.author,
  this.responsible,
  this.medicalLocationId,
  this.tags = const {},
  this.codes = const {},
  this.endOfLife,
  this.deletionDate,
  this.healthElementId,
  this.valueDate,
  this.openingDate,
  this.closingDate,
  this.descr,
  this.note,
  required this.relevant,
  this.idOpeningContact,
  this.idClosingContact,
  this.idService,
  required this.status,
  this.laterality,
  this.plansOfAction = const [],
  this.episodes = const [],
  this.careTeam = const [],
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});