Interface IRecordingAlertService
- Namespace
- adas_core.Application.Services.Interfaces
- Assembly
- adas-core.Application.dll
public interface IRecordingAlertService : IApiRequestService
- Inherited Members
- Extension Methods
Methods
Archive(Patient)
Asynchronously archives the specified patient, moving their record out of the active set.
Task Archive(Patient patient)
Parameters
patientPatientThe patient to archive.
Returns
ArchiveByPatientId(ObjectId)
Archives the records associated with the specified patient identifier.
Task ArchiveByPatientId(ObjectId id)
Parameters
idObjectIdThe MongoDB.Bson.ObjectId identifying the patient whose related records should be archived.
Returns
DeleteByPatientId(ObjectId)
Deletes records associated with the specified patient identifier.
Task DeleteByPatientId(ObjectId id)
Parameters
idObjectIdThe unique identifier of the patient whose related records should be removed.
Returns
FindLastRecordingAlert(ObjectId, int)
Retrieves the most recent patient recording alerts for the specified patient.
Task<List<PatientRecordingAlert>> FindLastRecordingAlert(ObjectId patientId, int num = 2)
Parameters
patientIdObjectIdThe identifier of the patient whose recording alerts are being queried.
numintThe maximum number of most recent recording alerts to return. Defaults to 2.
Returns
- Task<List<PatientRecordingAlert>>
A task representing the asynchronous operation, containing a list of the patient's most recent recording alerts.
UpdateManyObjectId(string, ObjectId, ObjectId)
Updates multiple records by replacing the oldId with the new id
in entries identified by nameId.
Task UpdateManyObjectId(string nameId, ObjectId id, ObjectId oldId)
Parameters
nameIdstringThe identifier used to select the target records to update.
idObjectIdThe new ObjectId value to assign to the matching records.
oldIdObjectIdThe existing ObjectId value to be replaced in the matching records.