Interface IRecordingService
- Namespace
- adas_core.Application.Services.Interfaces
- Assembly
- adas-core.Application.dll
public interface IRecordingService : IApiRequestService
- Inherited Members
- Extension Methods
Methods
GetRecordings(int)
Retrieves the list of recordings associated with the specified room.
Task<List<RecordingData>?> GetRecordings(int roomName)
Parameters
roomNameintThe identifier of the room whose recordings are being requested.
Returns
- Task<List<RecordingData>>
A task that returns a list of RecordingData for the room, or
nullif no recordings are available.
SendAutoRecordingData(Patient, PointOfCare, RecordingData)
Asynchronously sends automatic recording data for a patient at the specified point of care.
Task<bool> SendAutoRecordingData(Patient patient, PointOfCare poc, RecordingData automaticRecording)
Parameters
patientPatientThe patient associated with the automatic recording data.
pocPointOfCareThe point of care where the recording was taken.
automaticRecordingRecordingDataThe automatic recording data to be sent.
Returns
- Task<bool>
A task that represents the asynchronous operation, containing a boolean indicating whether the data was sent successfully.
SendCancelRecordingToRecordingApi(Patient, PointOfCare)
Asynchronously sends a cancel recording request to the recording API for the specified patient and point of care.
Task<bool> SendCancelRecordingToRecordingApi(Patient patient, PointOfCare poc)
Parameters
patientPatientThe patient whose recording should be cancelled.
pocPointOfCareThe point of care associated with the recording to be cancelled.
Returns
- Task<bool>
A task that represents the asynchronous operation, containing a boolean value indicating the outcome of the cancel recording request.
SendRecordingData(Patient, PointOfCare, ManualRecording, bool)
Asynchronously sends manual recording data for the specified patient at the given point of care, using the provided manual recording and a flag indicating whether to start the recording.
Task SendRecordingData(Patient patient, PointOfCare poc, ManualRecording manualRecording, bool start)
Parameters
patientPatientThe patient whose recording data is being sent.
pocPointOfCareThe point of care associated with the recording.
manualRecordingManualRecordingThe manual recording payload to transmit.
startboolA flag indicating whether the recording is being started or stopped.
Returns
SendRecordingDataToQueue(Patient, PointOfCare, DateTime?, DateTime?, DateTime?, Name?, Severity, string?, bool, Type)
Queues alarm recording data for the specified patient at the given point of care, using the provided alarm details to be processed asynchronously.
Task SendRecordingDataToQueue(Patient patient, PointOfCare poc, DateTime? date, DateTime? endDate, DateTime? eventDate, AlarmEnum.Name? alarmName, AlarmEnum.Severity severity, string? alarmDescription, bool start = true, AlarmEnum.Type type = Type.Manual)
Parameters
patientPatientThe patient associated with the recording data.
pocPointOfCareThe point of care where the recording originated.
dateDateTime?The start date of the recording, if applicable.
endDateDateTime?The end date of the recording, if applicable.
eventDateDateTime?The date of the event, if applicable.
alarmNameAlarmEnum.Name?The name of the alarm, if applicable.
severityAlarmEnum.SeverityThe severity level of the alarm.
alarmDescriptionstringThe description of the alarm, if applicable.
startboolIndicates whether to start the recording (default is true).
typeAlarmEnum.TypeThe type of alarm (default is Manual).