Warming the kiln…
Loading the FHIR R4 definitions
What it checks
Structure and cardinality against the StructureDefinition snapshot, data types and their formats, choice types, fixed and pattern values, slicing, extensions and where they may be used, FHIRPath invariants, required and extensible bindings, references and Bundle rules, narrative XHTML and QuestionnaireResponses against their Questionnaire.
Profiles without snapshots get one generated. Terminology that isn't in the loaded packages, like SNOMED CT and LOINC, is checked through a terminology server when you use the command line; this page validates offline against the packages it has loaded.
How it is measured
Kiln is scored against HL7's own validator test suite. On 898 R4 test steps it reaches the same valid/invalid verdict as the reference Java validator in 83.1% of steps (84.9% with a terminology server) and passes 95.5% of the official R4 FHIRPath tests. The full tables are in the README.
On the command line
kiln validate patient.json kiln validate bundle.json --ig hl7.fhir.us.core#7.0.0 kiln serve --port 8080
One static binary for Linux, macOS and Windows. It starts in about 30 milliseconds and validates a typical resource in a few. Download a release.