Class MolekulargenetikCatalogue
- java.lang.Object
-
- dev.pcvolkmer.mv64e.datamapper.datacatalogues.AbstractDataCatalogue
-
- dev.pcvolkmer.mv64e.datamapper.datacatalogues.MolekulargenetikCatalogue
-
- All Implemented Interfaces:
DataCatalogue
public class MolekulargenetikCatalogue extends AbstractDataCatalogue
Load raw result sets from database table 'dk_molekulargenetik'- Since:
- 0.1
-
-
Field Summary
-
Fields inherited from class dev.pcvolkmer.mv64e.datamapper.datacatalogues.AbstractDataCatalogue
jdbcTemplate
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MolekulargenetikCataloguecreate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)ResultSetgetByEinsendenummer(java.lang.String einsendenummer)Get procedure result set by einsendenummerjava.util.List<java.lang.Integer>getByPatientId(int patientId)Retrieves a list of distinct molecular genetics record IDs associated with a given patient ID.java.util.List<java.lang.Integer>getByTherapieplanId(int therapieplanId)Get procedure IDs by related Therapieplan procedure id Related form references in Einzelempfehlung, Rebiopsie, Reevaluationjava.util.List<java.lang.Integer>getIdsByKpaId(int kpaId)Get procedure IDs used in related KPA/Therapieplan procedures Related form references in Einzelempfehlung, Rebiopsie, Reevaluationjava.lang.StringgetSampleConservationFromMgc(int molekulargenetikCatalogueId)protected java.lang.StringgetTableName()booleanisOfTypeSeqencing(int id)-
Methods inherited from class dev.pcvolkmer.mv64e.datamapper.datacatalogues.AbstractDataCatalogue
getById, getByIdList, getDiseases
-
-
-
-
Method Detail
-
getTableName
protected java.lang.String getTableName()
- Specified by:
getTableNamein classAbstractDataCatalogue
-
create
@NullMarked public static MolekulargenetikCatalogue create(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
getByPatientId
public java.util.List<java.lang.Integer> getByPatientId(int patientId)
Retrieves a list of distinct molecular genetics record IDs associated with a given patient ID. The query ensures uniqueness via DISTINCT and maps the result set to a list of Integer IDs representing a mg record each.- Parameters:
patientId- the internal database ID of the patient- Returns:
- a list of unique molecular genetics record IDs related to the patient
-
getByTherapieplanId
public java.util.List<java.lang.Integer> getByTherapieplanId(int therapieplanId)
Get procedure IDs by related Therapieplan procedure id Related form references in Einzelempfehlung, Rebiopsie, Reevaluation- Parameters:
therapieplanId- The procedure id- Returns:
- The procedure ids
-
getIdsByKpaId
public java.util.List<java.lang.Integer> getIdsByKpaId(int kpaId)
Get procedure IDs used in related KPA/Therapieplan procedures Related form references in Einzelempfehlung, Rebiopsie, Reevaluation- Parameters:
kpaId- The procedure id- Returns:
- The procedure ids
-
getByEinsendenummer
public ResultSet getByEinsendenummer(java.lang.String einsendenummer)
Get procedure result set by einsendenummer- Parameters:
einsendenummer- The case id related to this procedure- Returns:
- The procedure id
-
getSampleConservationFromMgc
public java.lang.String getSampleConservationFromMgc(int molekulargenetikCatalogueId)
-
isOfTypeSeqencing
public boolean isOfTypeSeqencing(int id)
-
-