This project contains the plain language summaries for published HL7 implementation guides, and also AI based scripts to fetch, analyze, and summarize HL7 FHIR Implementation Guides (IGs).
# General# General is the version independent plain language summary for the IG (up to the next line starting with “# “)# {ver} where ver is the version.As an example, https://fhir.org/guides/acme/HotBeverage/1.4.2022/ has a plain language summary:

This is authored by the file summaries/fhir.acme.hotbeverage.md:
# General
This (fake) standard was published on 1st April 2022 as an insider's April Fools Joke. No further versions are planned (unless/until someone else *likes* the joke)
# 1.4.2022
This (fake) version of the standard was published on 1st April 2022 as an insider's April Fools Joke. No further versions are planned (unless/until someone else *likes* the joke)
If it matters, the markdown syntax is commonmark
git clone <repository-url>
cd <repository-name>
bun install
gcloud auth application-default login
export ANTHROPIC_API_KEY=your_api_key_here
Run the hl7repo.ts script to fetch HL7 repositories:
bun run hl7repo.ts
This script will:
repos directoryrepos directoryAfter fetching the repositories, you can process them using the process_repo.ts script:
bun run process_repo.ts repos/<repository-name>
Replace <repository-name> with the name of the repository you want to process.
This script will:
input directoryprompts: Contains the prompts used for AI analysisanalysis: Contains the initial AI analysissummaries: Contains the final refined summariesrepos/: Contains the cloned HL7 repositoriesprompts/: Contains the prompts used for AI analysisanalysis/: Contains the initial AI analysis for each IGsummaries/: Contains the final refined summaries for each IGEach summary in the summaries/ directory is a markdown file named after the IG, containing a concise, plain-language description of the IG’s purpose, features, and relevance.
Contributions are welcome! Please feel free to submit a Pull Request.
The code in this project is licensed under the MIT License. The summaries themselves are Creative Commons Public Domain.