using adas_core.Domain.Models; using adas_core.Domain.Models.Pumps; namespace adas_core.Application.Services.Interfaces; public interface IConfigUnitsService { /// /// Maps a patient observation of type to a corresponding output representation. /// /// The specific patient observation type, constrained to . /// The patient observation instance to be mapped. /// A task that represents the asynchronous mapping operation, yielding the mapped patient observation. Task Map(T obs) where T : BasePatientObservation; /// /// Asynchronously maps the specified to a resulting . /// /// The pump observation to be mapped. /// A task that represents the asynchronous mapping operation, containing the resulting . Task Map(PumpObservation obs); }