rama creada apartir de master en j
This commit is contained in:
@@ -8,6 +8,11 @@ namespace adas_core.Application.Services;
|
||||
public class ArchivedPatientTreatmentService(ITreatmentArchiveRepository archivedPatientTreatmentService)
|
||||
: IArchivedPatientTreatmentService
|
||||
{
|
||||
/// <summary>
|
||||
/// Retrieves all archived patient treatments associated with the specified patient by delegating to the archived patient treatment service.
|
||||
/// </summary>
|
||||
/// <param name="patientId">The unique identifier of the patient whose archived treatments are being retrieved.</param>
|
||||
/// <returns>A task that represents the asynchronous operation, containing a list of <see cref="PatientTreatment"/> records for the specified patient.</returns>
|
||||
public async Task<List<PatientTreatment>> FindAllPatientTreatmentsByPatient(ObjectId patientId)
|
||||
{
|
||||
return await archivedPatientTreatmentService.FindAllFromPatient(patientId);
|
||||
|
||||
Reference in New Issue
Block a user