Class PoCMappingService
- Namespace
- adas_core.Application.Services
- Assembly
- adas-core.Application.dll
Provides a proof-of-concept implementation of the IPoCMappingService interface, delivering the mapping functionality defined by that contract.
public class PoCMappingService : IPoCMappingService
- Inheritance
-
PoCMappingService
- Implements
- Inherited Members
- Extension Methods
Constructors
PoCMappingService(IPoCMappingRepository, IOptions<ApiSettings>)
public PoCMappingService(IPoCMappingRepository pocMappingRepository, IOptions<ApiSettings> apiSettings)
Parameters
pocMappingRepositoryIPoCMappingRepositoryapiSettingsIOptions<ApiSettings>
Methods
Map(PatientLocation)
Maps a received location with bed and pointOfCare to the equivalence in the PocMapping table if it finds the value, otherwise it returns null
public Task<PatientLocation?> Map(PatientLocation original)
Parameters
originalPatientLocationlocation
Returns
- Task<PatientLocation>
mapped location