=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -11,34 +11,40 @@ public interface IPatientCarePlanService
/// </summary>
/// <param name="patientId">The unique identifier of the patient whose care plans are being retrieved.</param>
/// <returns>A task that represents the asynchronous operation, containing a list of <see cref="PatientCarePlan"/> records for the given patient.</returns>
/// <!-- aidoc:v1 sig=6525ef9 -->
Task<List<PatientCarePlan>> FindByPatientId(ObjectId patientId);
/// <summary>
/// Retrieves a list of patient care plans associated with the specified user identifier.
/// </summary>
/// <param name="userId">The unique identifier of the user whose patient care plans are being retrieved.</param>
/// <returns>A task that represents the asynchronous operation. The task result contains a list of patient care plans associated with the user.</returns>
/// <!-- aidoc:v1 sig=150426f -->
Task<List<PatientCarePlan>> FindByUserId(ObjectId userId);
/// <summary>
/// Retrieves all patient care plans from the system.
/// </summary>
/// <returns>A task containing a list of all <see cref="PatientCarePlan"/> records.</returns>
/// <!-- aidoc:v1 sig=83af170 -->
Task<List<PatientCarePlan>> FindAll();
/// <summary>
/// Asynchronously inserts a single patient care plan into the underlying data store.
/// </summary>
/// <param name="patientCarePlan">The patient care plan to insert.</param>
/// <!-- aidoc:v1 sig=0e9c8f0 -->
Task InsertOneAsync(PatientCarePlan patientCarePlan);
/// <summary>
/// Archives the care plan associated with a finished procedure for the specified patient, processing the provided list of items to be archived.
/// </summary>
/// <param name="patientWithFinishedProcedure">The patient whose procedure has been completed and whose care plan should be archived.</param>
/// <param name="itemsToArchive">The collection of option list items to be archived as part of the care plan archival process.</param>
/// <!-- aidoc:v1 sig=7ddd7f6 -->
Task ArchiveCarePlanFromJob(Patient patientWithFinishedProcedure, List<OptionList> itemsToArchive);
/// <summary>
/// Asynchronously archives records associated with the specified patient identifier.
/// </summary>
/// <param name="patientid">The unique identifier of the patient whose records are to be archived.</param>
/// <!-- aidoc:v1 sig=af2b0d3 -->
Task ArchiveByPatientId(ObjectId patientid);
/// <summary>
/// Updates the ObjectId references from the specified old identifier to a new one across multiple records associated with the given patient.
@@ -46,5 +52,7 @@ public interface IPatientCarePlanService
/// <param name="patientid">The string identifier of the patient whose related records will be updated.</param>
/// <param name="patientId">The ObjectId of the patient used to locate the records to update.</param>
/// <param name="oldId">The existing ObjectId value to be replaced in the matched records.</param>
/// <!-- aidoc-review:v1 severity=medium kind=stale_summary
/// "Summary states the method updates references 'to a new one', but the method signature has no parameter for a new ObjectId value; only an oldId is provided for replacement." -->
Task UpdateManyObjectId(string patientid, ObjectId patientId, ObjectId oldId);
}