EHRbase Documentation in Context7 - Worth Experimenting With!
Hey everyone!
I wanted to share something I’ve been working on that might be useful for those using AI assistants in openEHR development.
What I did:
I integrated EHRbase documentation from GitHub into Context7 (a tool that feeds docs to LLMs). You can check it out at: Context7 - Up-to-date documentation for LLMs and AI code editors
What Context7 does:
It’s basically a way to give your AI assistant (Claude, GPT, etc.) access to documentation instead of relying on potentially outdated training data. When you add “use context7” to your prompts, it fetches info from the GitHub repository.
Important source limitation:
The Context7 integration pulls from the EHRbase GitHub repository documentation, which according to the official site is no longer being updated since October 2024. The current official documentation is at: https://docs.ehrbase.org/
Potential benefits I’ve noticed:
- Better suggestions for EHRbase REST API calls
- More accurate Docker setup commands
- Current AQL query syntax
- Up-to-date JSON schemas and examples
How to try it:
- Install the Context7 MCP server in your IDE (works with Cursor, VS Code, Claude Desktop)
- Add “use context7” to your development questions
- Example: “How do I create a composition in EHRbase? use context7”
Important disclaimers:
Please remember:
- This is still an experimental tool - always verify against the official documentation
- The Context7 integration uses GitHub docs that may be outdated (last updated October 2024)
- Always cross-reference with the current official docs before implementing anything
- Be extra careful with AQL queries and any database operations
- Don’t blindly trust AI-generated code, especially for production systems
- Watch out for potential injection vulnerabilities when building queries
I think it could be helpful for getting unstuck or exploring basic EHRbase concepts, but given the documentation source limitations, it’s essential to verify everything against the current official docs before using in any real project.
Has anyone else been experimenting with AI assistants for openEHR development? Would love to hear your experiences!
Setup details: Available as @upstash/context7-mcp
if you want to give it a shot.
Happy coding!