Class KpaPatientDataMapper
- java.lang.Object
-
- dev.pcvolkmer.mv64e.datamapper.mapper.KpaPatientDataMapper
-
- All Implemented Interfaces:
DataMapper<dev.pcvolkmer.mv64e.mtb.Patient>
@NullMarked public class KpaPatientDataMapper extends java.lang.Object implements DataMapper<dev.pcvolkmer.mv64e.mtb.Patient>
Mapper class to load and map patient data from database table 'dk_dnpm_kpa'- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description KpaPatientDataMapper(KpaCatalogue kpaCatalogue, PropertyCatalogue propertyCatalogue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description dev.pcvolkmer.mv64e.mtb.PatientgetById(int id)Loads and maps a patient using the kpa procedures database id
-
-
-
Constructor Detail
-
KpaPatientDataMapper
public KpaPatientDataMapper(KpaCatalogue kpaCatalogue, PropertyCatalogue propertyCatalogue)
-
-
Method Detail
-
getById
public dev.pcvolkmer.mv64e.mtb.Patient getById(int id)
Loads and maps a patient using the kpa procedures database id- Specified by:
getByIdin interfaceDataMapper<dev.pcvolkmer.mv64e.mtb.Patient>- Parameters:
id- The database id of the procedure data set- Returns:
- The loaded Patient data
-
-