Skip to main content

rapid-elastic

Disease Synonyms Curation

  • Disease names and synonyms were HUMAN expert curated and assisted via ChatGPT with additional checks within NLM GeneReviews, OrphaNet, and Google searches.
  • disease_names_expanded.json is pre-built and recommended for use without modification.
  • disease_names.py assists curation if changes need to be made: read spreadsheet CSV, write disease names JSON, recommend GPT4 prompts, find duplicates, and merges curated JSON.

Quickstart

  1. configure ENV variables query your Elasticsearch server (within your VPN/firewall)

    1. ELASTIC_HOST : default http://localhost:9200
    2. ELASTIC_USER : basic auth
    3. ELASTIC_PASS : basic auth
  2. pipx install rapid-elastic

  3. rapid-elastic

Elasticsearch server

Read the server setup docs.

KQL (Kibana Query Language)

  • By default, synonyms used to match any "exact phrase" in the note.
  • see kql_syntax.py for alternate methods of building Elasticsearch queries.

Each Elasticsearch hit is saved to "output" folder

  • subject_ref (FHIR Patient.id)
  • encounter_ref (FHIR Encounter.id)
  • document_ref (FHIR DocumentReference.id)
  • group_name (optional)
  • document_title (optional)

SQL Athena

SQL tables are generated from spreadsheet CSV files

  • disease_name
  • orpha_code
  • icd10_code

FHIR resources are referenced using

  • subject_ref (FHIR Patient.id)
  • encounter_ref (FHIR Encounter.id)
  • documentreference_ref (FHIR DocumentReference.id)

FHIR Condition.code is selected using

  • icd10_code

Metadata

Release files for rapid-elastic 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rapid-elastic 1.0.1
File Size Uploaded
rapid_elastic-1.0.1.tar.gz 32.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rapid-elastic 1.0.1
File Interpreter ABI Platform
rapid_elastic-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 61.9 kB

Release files / rapid_elastic-1.0.1.tar.gz

Download URL rapid_elastic-1.0.1.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e37c20bd233c7356c21be72c880fff21cc8d76c7d3265b26de3020b018750ae1
BLAKE2b-256 checksum
How to use checksums
f2f89e682f42bd977e1638b68a0d5d11411fc10ddad202b026815b0f1f082155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 16, 2025.

Transparency log

Release files / rapid_elastic-1.0.1-py3-none-any.whl

Download URL rapid_elastic-1.0.1-py3-none-any.whl
Size 29.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73333c691f1775cb4c6768a972336cff10dcbfc60b48a322e204b2f7ccbf97e6
BLAKE2b-256 checksum
How to use checksums
347ece7885f3aa340da2f185f9abd00321b2d9aa34757e53b8d9eb3be8beb5ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 16, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page