-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathConceptDrugDatabaseInterface.java
49 lines (38 loc) · 1.76 KB
/
ConceptDrugDatabaseInterface.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.learningmodule.association.conceptdrug;
import java.util.LinkedList;
import com.learningmodule.association.conceptdrug.model.ConceptNameModel;
import com.learningmodule.association.conceptdrug.model.ConceptWordModel;
import com.learningmodule.association.conceptdrug.model.EncounterIdConceptDrug;
import com.learningmodule.association.conceptdrug.multifeature.EncounterIdConceptFeaturesDrugModel;
public interface ConceptDrugDatabaseInterface {
/*
* get name of file that will contain the prediction matrix generated by
* algorithm
*/
public String getMatrixFileName();
/*
* Method to get all the medical records containing encounterId(integer that
* represent an id for prescriptions written for a patient),
* ConceptId(integer that represent a diagnosis/diseases/observation for
* patient has been treated), DrugId(integer representing a drug that was
* written in the prescription)
*/
public LinkedList<EncounterIdConceptDrug> getData();
/*
* Method to get the medical records with given list of concepts Ids contaning encounterId, conceptId, DrugId,
* and feature related to medical records like age of patient, location of doctor/patient etc.
*/
public LinkedList<EncounterIdConceptFeaturesDrugModel> getDataByConceptIds(LinkedList<String> ids);
/*
* Method to get the list of conceptId and concept_name for given list of conceptId(integer)
*/
public LinkedList<ConceptNameModel> getConceptIdNameByConceptIds(LinkedList<String> conceptIds);
/*
* Method to get the list of Drugs for given drugIds(integers)
*/
public LinkedList<AbstractDrugModel> getDrugInfoByDrugIds(LinkedList<String> conceptIds);
/*
* Method to get the list of all conceptId and concept_words
*/
public LinkedList<ConceptWordModel> getConceptWords();
}