Name: PullMatches
Owner: Clinical Informatics Research Division
Description: Java app matching algorithms
Created: 2016-01-29 18:09:11.0
Updated: 2016-01-29 18:09:17.0
Pushed: 2016-04-14 23:34:22.0
Homepage:
null
Size: 85
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
PullMatches
Java app matching algorithms
Invocation:
java -jar PullPatientMatches.jar [1] [2] (-LS loadFile.txt -o matched.txt -i inclusionFile -m b)
- Sorted ascii file with no duplicates: pt to match one pt per line
- int number of matches to pull per patient
- (optional) “-L|-LS” “loadFile.txt” - ascii summary file from oracle sorted by ptNum, comma deliminated
this is used when you need to load a new patient set. Note that if it exists the level table is reused.
As a memory intensive, processing light option you can choose -L instead of -LS to not save the summary file.
To create this file, you can do
SELECT PATIENT_NUM, COUNT(*) , CONCEPT_CD||MODIFIER_CD FROM OBSERVATION_FACT GROUP BY PATIENT_NUM ORDER BY PATIENT_NUM
- (optional) “-o” “output file” - can be omitted. Default file is matched.txt
- (optional) “-i|e”“inclusion/exclusionFile” - Sorted ascii file with no duplicates: Can be omitted ascii list of ptIDs that should be included or excluded from the comparison.
- (optional) “-m” “e|b” e- euclidean distance b-binary distance - default binary