DecryptedHealthElement constructor

DecryptedHealthElement(
  1. String id, {
  2. int? status,
  3. List<Identifier>? identifiers,
  4. String? rev,
  5. int? created,
  6. int? modified,
  7. String? author,
  8. String? responsible,
  9. String? medicalLocationId,
  10. Set<CodeStub>? tags,
  11. Set<CodeStub>? codes,
  12. int? endOfLife,
  13. int? deletionDate,
  14. String? healthElementId,
  15. int? valueDate,
  16. int? openingDate,
  17. int? closingDate,
  18. String? descr,
  19. String? note,
  20. List<Annotation>? notes,
  21. bool? relevant,
  22. String? idOpeningContact,
  23. String? idClosingContact,
  24. String? idService,
  25. Laterality? laterality,
  26. List<DecryptedPlanOfAction>? plansOfAction,
  27. List<DecryptedEpisode>? episodes,
  28. List<DecryptedCareTeamMember>? careTeam,
  29. Set<String>? secretForeignKeys,
  30. Map<String, Set<Delegation>>? cryptedForeignKeys,
  31. Map<String, Set<Delegation>>? delegations,
  32. Map<String, Set<Delegation>>? encryptionKeys,
  33. Base64String? encryptedSelf,
  34. 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;