samschifman / RAG_on_FHIR

Work on using Retrieval-Augmented Generation (RAG) to combine Fast Healthcare Interoperable Resources (FHIR) with Generative AI.
MIT License
73 stars 29 forks source link

may you clarify from where to get this data working bundles .json #3

Open Sandy4321 opened 6 months ago

Sandy4321 commented 6 months ago

may you clarify from where to get this data working bundles .json as written in code synthea_bundles = glob.glob("./working/bundles/*.json") https://github.com/samschifman/RAG_on_FHIR/blob/main/RAG_on_FHIR_with_KG/FHIR_GRAPHS.ipynb

samschifman commented 6 months ago

For the "working" directory. I manually create that directory structure and copy the files from the Synthea zip.

As you mentioned to me, the zip you get from the link today is not the one I got several weeks ago. The fun of using "latest". This link should take you to the one I download, but the code should work on any set of one patient and the hospitalxxx + practicxxx files.

Link to older zip: https://github.com/synthetichealth/synthea-sample-data/blob/167e701ac736cc2d79df1d5570bbafbfc4ab30b4/downloads/latest/synthea_sample_data_fhir_latest.zip

samschifman commented 5 months ago

Correction, it was even a slightly older version: https://github.com/synthetichealth/synthea-sample-data/blob/1fe1beaa80a8fbe7b64c0c135bcbb8b1346ef38a/downloads/latest/synthea_sample_data_fhir_latest.zip