Fhenix is a flexible and lightweight tool for generating content from a modeling of a FHIR IG's definitional entries.
This leverages packages as defined in the Simplifier registry, parses their relevant entities (StructureDefinition, CodeSystem, and ValueSet), constructs a model of these entities, and then feeds it into Go templates to generate content.
Check out our examples!
Fhenix generates content from FHIR Conformance Modules defined in registries like [Simplifier].
With Fhenix, you can do:
- Code generation, to create custom bindings and logic for handling your organization's profiles
- Documentation generation, to create custom documentation for your IGs
- Data generation, to create test data based on profiles
- Schema generation, to create SQL tables of FHIR resource data
Some practical projects leveraging this within Friendly FHIR:
- go-fhir: A Go library for working with FHIR resources
- rust-fhir: A Rust library for working with FHIR resources
- sqlite-fhir-server
A FHIR server that uses SQLite as a backend for storage and emitting
REST APIs. Generates SQLite tables from
StructureDefinition
resources.