← all corpora

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.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/fhir-test-cases.json
xerj corpus add --from ./fhir-test-cases.json
xerj 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

sourcepinlicencesizereview note
fhir-test-cases 4e3b24804e4eApache-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.