# openEHR documentation for LLMs

**URL:** <https://discourse.openehr.org/t/openehr-documentation-for-llms/6564>\
**Category:** General Discussion\
**Created:** [17 March 2025 17:58 UTC](https://discourse.openehr.org/t/openehr-documentation-for-llms/6564 "2025-03-17T17:58:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik.sundvall](https://discourse.openehr.org/user_avatar/discourse.openehr.org/erik.sundvall/32/1961_2.png) [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Post date:** [17 March 2025 17:58 UTC](https://discourse.openehr.org/t/openehr-documentation-for-llms/6564/1 "2025-03-17T17:58:22Z")

</div>

I saw that e.g. Svelte has a specific version of their documentation optimized for LLMs: [https://svelte.dev/docs/llms](https://svelte.dev/docs/llms) (using the llms.txt convention [https://llmstxt.org/](https://llmstxt.org/))

Perhaps somebody e.g. looking for a cool student project could consider how to transform and publish e.g. the openEHR archetypes, templates etc. from CKM and the openEHR specifications into chunks of suitable size and structure optimized for LLMs? And then check if the LLMs perform better.

(If we do want our future AI overlords to understand our EHRs properly… what could possibly go wrong…)

---

<div class="post-metadata">

**Author:** ![errazuriz](https://discourse.openehr.org/user_avatar/discourse.openehr.org/errazuriz/32/4325_2.png) [@errazuriz](https://discourse.openehr.org/u/errazuriz)\
**Post date:** [25 March 2025 14:03 UTC](https://discourse.openehr.org/t/openehr-documentation-for-llms/6564/2 "2025-03-25T14:03:42Z")

</div>

It would also be useful to be able to use this discourse forum conversations as context for an LLM. currently the scraping of content here is not allowed, but there is higher level knowledge that could be useful for a clinical modeling helper agent

---

<div class="post-metadata">

**Author:** ![erik.sundvall](https://discourse.openehr.org/user_avatar/discourse.openehr.org/erik.sundvall/32/1961_2.png) [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Post date:** [26 March 2025 06:05 UTC](https://discourse.openehr.org/t/openehr-documentation-for-llms/6564/3 "2025-03-26T06:05:47Z")

</div>

Welcome as poster in the forum @errazuriz!

I agree that the forum is a great source, but not sure I understand what you mean by “scraping of content here is not allowed”, could you explain more? The [https://discourse.openehr.org/robots.txt](https://discourse.openehr.org/robots.txt) file seems to allow most agents/robots to scrape posts etc. There is no llms.txt here yet, is that what you mean?

---

<div class="post-metadata">

**Author:** ![marcusbaw](https://discourse.openehr.org/user_avatar/discourse.openehr.org/marcusbaw/32/4792_2.png) [@marcusbaw](https://discourse.openehr.org/u/marcusbaw)\
**Post date:** [8 April 2026 14:09 UTC](https://discourse.openehr.org/t/openehr-documentation-for-llms/6564/4 "2026-04-08T14:09:30Z")

</div>

> [@erik.sundvall](#):
>
> There is no llms.txt here yet, is that what you mean?

There is now! 🎉 I found an LLMs.TXT plugin for Discourse which creates `llms-full.txt` and sitemaps. For some reason `llms.txt` is not working yet but the `sitemaps.txt` and `llms-full.txt` work fine. I will figure out and debug what is going wrong with the `llms.txt` path, but I thought worth sharing with you that it is now in place.

working [https://discourse.openehr.org/llms-full.txt](https://discourse.openehr.org/llms-full.txt)  
working [https://discourse.openehr.org/sitemaps.txt](https://discourse.openehr.org/sitemaps.txt)  
working (with a workaround) [https://discourse.openehr.org/llms.txt](https://discourse.openehr.org/llms.txt)

### References

[Enabling native LLMs.txt support in Discourse - #7 by pacharanero - Site Management - Discourse Meta](https://meta.discourse.org/t/enabling-native-llms-txt-support-in-discourse/383088/7)  
[🤖 Discourse llms.txt Generator Plugin - #2 by Ivan\_Rapekas - Plugin - Discourse Meta](https://meta.discourse.org/t/discourse-llms-txt-generator-plugin/388170/2)  
[Title: /llms.txt returns 404 on Discourse v2026.1.0+ due to route conflict with native Discourse implementation · Issue #1 · kaktaknet/discourse-llms-txt-generator · GitHub](https://github.com/kaktaknet/discourse-llms-txt-generator/issues/1)

---

<div class="post-metadata">

**Author:** ![sebastian.iancu](https://discourse.openehr.org/user_avatar/discourse.openehr.org/sebastian.iancu/32/31_2.png) [@sebastian.iancu](https://discourse.openehr.org/u/sebastian.iancu)\
**Post date:** [20 April 2026 16:57 UTC](https://discourse.openehr.org/t/openehr-documentation-for-llms/6564/5 "2026-04-20T16:57:39Z")

</div>

I did also some changes on specifications for an improved LLM support - see [AI support on specifications.openehr.org](https://discourse.openehr.org/t/ai-support-on-specifications-openehr-org/11967)
