The RecordLinker is a service that links records from two datasets based on a set of common attributes. The service is designed to be used in a variety of public health contexts, such as linking patient records from different sources or linking records from different public health surveillance systems.
In models.py add new classes for storing data related to the available algorithms to run.
Acceptance Criteria
[x] ORM classes to describe the below classes
[x] Alembic migrations to create the new tables
Details / Tasks
erDiagram
Algorithm {
int id
bool is_default "a check should be added to guarentee that only 1 row in the table is marked as the default"
string label "should be unique"
string description
}
AlgorithmPass {
int id
int algorithm_id
int[] blockingkeys "a list of values from the BlockingKey table"
string[] evaluators "a list of matching functions and values to use"
string rule "the evaluation rule function"
float cluster_ratio
json kwargs "extra parameters to pass to the evalator functions"
}
Algorithm ||--o{ AlgorithmPass: "has"
Dependencies
8 is adding the Alembic dependency and laying the groundwork for database migrations
Summary
In
models.py
add new classes for storing data related to the available algorithms to run.Acceptance Criteria
Details / Tasks
Dependencies
8 is adding the Alembic dependency and laying the groundwork for database migrations