Open rpeys opened 5 years ago
there shouldn't be a need to preprocess data for OMOP. do the lines in patients.txt match the patient IDs in your table? is this issue related to #62 ? I'll have a closer look in a bit
Thanks for responding! I don't believe this is related to issue #62 . patients.txt contains text like
json/1.0.json
json/100.0.json
json/101.0.json
json/102.0.json
json/103.0.json
json/104.0.json
json/105.0.json
json/106.0.json
json/107.0.json
json/108.0.json
whereas the person_id field in my OMOP person table contains integers. The integer version of the id's in patients.txt do appear in my person table.
I don't think this is a bug: I think patients.txt is set to record 'persons_source_value' -- as per 'show_old_ids' argument in line 60 of server.py omop.list_patients(patients, prefix=json_dir, limit=max_num, show_old_ids=True)
-- and these do match those
Hi! I am trying to use this tool to visualize OMOP data in Postgres.
Set up seemed to have gone well, but then I run server.py:
When I open a browser window and type![image](https://user-images.githubusercontent.com/19732554/53054415-44ff2a00-3472-11e9-955d-2d48dc246264.png)
http://localhost:2222/patient-viz/
I seeNo file list found
my patients.txt file contains a list of 100 json files listed (1 per row), starting with
json/1.0.json
and the json directory only contains one file calleddictionary.json
that has{}
written inside it.