begin: PHI Column Encryption

This commit is contained in:
voltsrage
2026-06-22 21:18:36 +08:00
parent 518cc5b99a
commit 46db694820
21 changed files with 3177 additions and 6 deletions
@@ -0,0 +1,7 @@
public interface IPhiAccessLogService
{
Task LogViewAsync(Guid patientId, string resourcePath);
Task LogListAsync(string resourcePath, int resultCount, string? searchQuery = null);
Task LogCreateAsync(Guid patientId, string resourcePath);
Task LogUpdateAsync(Guid patientId, string resourcePath);
}
@@ -0,0 +1,7 @@
public interface IPhiEncryptionService
{
string Encrypt(string plaintext);
string Decrypt(string ciphertext);
string ComputeNameSearchToken(string firstName, string lastName);
bool IsEncrypted(string value);
}