File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
src/main/kotlin/usecase/repository Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2023. Smart Operating Block
3+ *
4+ * Use of this source code is governed by an MIT-style
5+ * license that can be found in the LICENSE file or at
6+ * https://opensource.org/licenses/MIT.
7+ */
8+
9+ package usecase.repository
10+
11+ import entity.tracking.HealthProfessionalTrackingInfo
12+ import io.vertx.core.Future
13+
14+ /* *
15+ * Interface that model tracking repository.
16+ */
17+ interface TrackingRepository {
18+
19+ /* *
20+ * Get the info about health professionals tracking given the [preOperatingRoomId] and the [operatingRoomId].
21+ */
22+ fun getZoneHealthProfessionalTrackingInfo (
23+ preOperatingRoomId : String ,
24+ operatingRoomId : String ,
25+ ): Pair <Future <List <Future <HealthProfessionalTrackingInfo >>>, Future<List<Future<HealthProfessionalTrackingInfo>>>>
26+
27+ /* *
28+ * Get the info about health professionals tracking in the operating block.
29+ */
30+ fun getBlockHealthProfessionalTrackingInfo (): Future <List <Future <HealthProfessionalTrackingInfo >>>
31+ }
You can’t perform that action at this time.
0 commit comments