fhir-test-cases
reference corpus · status live · domain HEALTH (Health and clinical reference) · lane A · refresh pinned · tags GLOBAL · FHIR · HL7 · EXAMPLES · CONFORMANCE · INTEROPERABILITY
What an agent uses it for
An agent implementing a FHIR server or validator queries this for canonical example resources and conformance test cases across FHIR R3/R4/R5.
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/fhir-test-cases.jsonxerj corpus add --from ./fhir-test-cases.jsonxerj corpus index fhir-test-cases then xerj code fhir-test-cases "your question"Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "fhir-test-cases", once the corpus is indexed on the node.
Sources and pins
| source | pin | licence | size | review note |
|---|---|---|---|---|
| fhir-test-cases | 4e3b24804e4e | Apache-2.0 | 191.9 MB / 7,297 files | licence host-verified (ok-spdx): Apache-2.0 |
191.9 MB across 7,297 files. Added 2026-10-13.
Rights
Apache-2.0. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.
Retrieval spot-check (G7)
Not yet spot-checked. Queries are pre-registered in the registry before grading.