├── .gitattributes ├── .gitignore ├── 1_generate_patient_graph.ipynb ├── 2_generate_lexical_graph.ipynb ├── 3_generate_entity_graph.ipynb ├── CHANGELOG.md ├── Makefile ├── README.md ├── agent.py ├── articles ├── pdf │ ├── Diabetic Medicine - 2023 - Brønden - Effects of DPP‐4 inhibitors GLP‐1 receptor agonists SGLT‐2 inhibitors and.pdf │ ├── fendo-11-00178.pdf │ ├── jama_rosenstock_2019_oi_190026_1655321720.77793.pdf │ ├── jciinsight-3-93936.pdf │ └── nihms-1852972.pdf └── text │ ├── pubmed_abstracts.txt │ └── pubmed_metadata.txt ├── assets ├── example_agent_conversation.md ├── images │ ├── domain-data-model-v1.png │ ├── entity-data-model.png │ ├── knowledge-graph-generation-flow-w-vector-store-v2.png │ ├── lexical-data-model.png │ ├── lexical-entity-data-model-h.png │ ├── lexical-entity-data-model.png │ └── patient-data-model.png └── mermaid │ ├── entity-data-model.mmd │ ├── lexical-data-model.mmd │ ├── lexical-entity-data-model.mmd │ └── patient-data-model.mmd ├── cypher ├── build_member_similarity_model.cypher ├── demo_load_patient_journey.cypher ├── link_ontology_concepts.cypher ├── load_extended_journey_csv.cypher ├── load_graph.cypher └── load_patient_journey_model.cypher ├── data ├── claims │ ├── care_gaps.csv │ ├── care_utilization_data.csv │ ├── claim_adjudication_data.csv │ ├── claims_with_all_codes.csv │ ├── conditions.csv │ ├── patient_journey_with_providers.csv │ ├── patients.csv │ ├── provider_contracts.csv │ ├── provider_demographics.csv │ ├── providers.csv │ └── risk_scores.csv └── protocol │ └── extended_patient_journey.csv ├── docs ├── Solara_ETG_Calibration.docx ├── graph_integration_overview.md └── project_plan.md ├── neo4j_graphrag ├── 2_generate_lexical_and_entity_graph.ipynb └── README.md ├── poetry.lock ├── pyneoinstance_config.yaml ├── pyproject.toml ├── requirements.txt ├── resources ├── Solara_PubMedKG.docx ├── clinical_requirements.md └── user_stories.md └── scripts ├── fetch_pmc_articles.py ├── fetch_pubmed_articles.py └── validate_entity_graph.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | __pycache__/ 3 | .env -------------------------------------------------------------------------------- /1_generate_patient_graph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/1_generate_patient_graph.ipynb -------------------------------------------------------------------------------- /2_generate_lexical_graph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/2_generate_lexical_graph.ipynb -------------------------------------------------------------------------------- /3_generate_entity_graph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/3_generate_entity_graph.ipynb -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/README.md -------------------------------------------------------------------------------- /agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/agent.py -------------------------------------------------------------------------------- /articles/pdf/Diabetic Medicine - 2023 - Brønden - Effects of DPP‐4 inhibitors GLP‐1 receptor agonists SGLT‐2 inhibitors and.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/articles/pdf/Diabetic Medicine - 2023 - Brønden - Effects of DPP‐4 inhibitors GLP‐1 receptor agonists SGLT‐2 inhibitors and.pdf -------------------------------------------------------------------------------- /articles/pdf/fendo-11-00178.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/articles/pdf/fendo-11-00178.pdf -------------------------------------------------------------------------------- /articles/pdf/jama_rosenstock_2019_oi_190026_1655321720.77793.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/articles/pdf/jama_rosenstock_2019_oi_190026_1655321720.77793.pdf -------------------------------------------------------------------------------- /articles/pdf/jciinsight-3-93936.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/articles/pdf/jciinsight-3-93936.pdf -------------------------------------------------------------------------------- /articles/pdf/nihms-1852972.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/articles/pdf/nihms-1852972.pdf -------------------------------------------------------------------------------- /articles/text/pubmed_abstracts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/articles/text/pubmed_abstracts.txt -------------------------------------------------------------------------------- /articles/text/pubmed_metadata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/articles/text/pubmed_metadata.txt -------------------------------------------------------------------------------- /assets/example_agent_conversation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/example_agent_conversation.md -------------------------------------------------------------------------------- /assets/images/domain-data-model-v1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/images/domain-data-model-v1.png -------------------------------------------------------------------------------- /assets/images/entity-data-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/images/entity-data-model.png -------------------------------------------------------------------------------- /assets/images/knowledge-graph-generation-flow-w-vector-store-v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/images/knowledge-graph-generation-flow-w-vector-store-v2.png -------------------------------------------------------------------------------- /assets/images/lexical-data-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/images/lexical-data-model.png -------------------------------------------------------------------------------- /assets/images/lexical-entity-data-model-h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/images/lexical-entity-data-model-h.png -------------------------------------------------------------------------------- /assets/images/lexical-entity-data-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/images/lexical-entity-data-model.png -------------------------------------------------------------------------------- /assets/images/patient-data-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/images/patient-data-model.png -------------------------------------------------------------------------------- /assets/mermaid/entity-data-model.mmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/mermaid/entity-data-model.mmd -------------------------------------------------------------------------------- /assets/mermaid/lexical-data-model.mmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/mermaid/lexical-data-model.mmd -------------------------------------------------------------------------------- /assets/mermaid/lexical-entity-data-model.mmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/mermaid/lexical-entity-data-model.mmd -------------------------------------------------------------------------------- /assets/mermaid/patient-data-model.mmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/assets/mermaid/patient-data-model.mmd -------------------------------------------------------------------------------- /cypher/build_member_similarity_model.cypher: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/cypher/build_member_similarity_model.cypher -------------------------------------------------------------------------------- /cypher/demo_load_patient_journey.cypher: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/cypher/demo_load_patient_journey.cypher -------------------------------------------------------------------------------- /cypher/link_ontology_concepts.cypher: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/cypher/link_ontology_concepts.cypher -------------------------------------------------------------------------------- /cypher/load_extended_journey_csv.cypher: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/cypher/load_extended_journey_csv.cypher -------------------------------------------------------------------------------- /cypher/load_graph.cypher: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cypher/load_patient_journey_model.cypher: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/cypher/load_patient_journey_model.cypher -------------------------------------------------------------------------------- /data/claims/care_gaps.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/care_gaps.csv -------------------------------------------------------------------------------- /data/claims/care_utilization_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/care_utilization_data.csv -------------------------------------------------------------------------------- /data/claims/claim_adjudication_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/claim_adjudication_data.csv -------------------------------------------------------------------------------- /data/claims/claims_with_all_codes.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/claims_with_all_codes.csv -------------------------------------------------------------------------------- /data/claims/conditions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/conditions.csv -------------------------------------------------------------------------------- /data/claims/patient_journey_with_providers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/patient_journey_with_providers.csv -------------------------------------------------------------------------------- /data/claims/patients.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/patients.csv -------------------------------------------------------------------------------- /data/claims/provider_contracts.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/provider_contracts.csv -------------------------------------------------------------------------------- /data/claims/provider_demographics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/provider_demographics.csv -------------------------------------------------------------------------------- /data/claims/providers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/providers.csv -------------------------------------------------------------------------------- /data/claims/risk_scores.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/claims/risk_scores.csv -------------------------------------------------------------------------------- /data/protocol/extended_patient_journey.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/data/protocol/extended_patient_journey.csv -------------------------------------------------------------------------------- /docs/Solara_ETG_Calibration.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/docs/Solara_ETG_Calibration.docx -------------------------------------------------------------------------------- /docs/graph_integration_overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/docs/graph_integration_overview.md -------------------------------------------------------------------------------- /docs/project_plan.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/docs/project_plan.md -------------------------------------------------------------------------------- /neo4j_graphrag/2_generate_lexical_and_entity_graph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/neo4j_graphrag/2_generate_lexical_and_entity_graph.ipynb -------------------------------------------------------------------------------- /neo4j_graphrag/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/neo4j_graphrag/README.md -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyneoinstance_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/pyneoinstance_config.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/requirements.txt -------------------------------------------------------------------------------- /resources/Solara_PubMedKG.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/resources/Solara_PubMedKG.docx -------------------------------------------------------------------------------- /resources/clinical_requirements.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/resources/clinical_requirements.md -------------------------------------------------------------------------------- /resources/user_stories.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/resources/user_stories.md -------------------------------------------------------------------------------- /scripts/fetch_pmc_articles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/scripts/fetch_pmc_articles.py -------------------------------------------------------------------------------- /scripts/fetch_pubmed_articles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/scripts/fetch_pubmed_articles.py -------------------------------------------------------------------------------- /scripts/validate_entity_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo4j-field/pubmed-knowledge-graph-generation/HEAD/scripts/validate_entity_graph.py --------------------------------------------------------------------------------