Ignixa.FhirFakes.Cli
0.0.163
dotnet tool install --global Ignixa.FhirFakes.Cli --version 0.0.163
dotnet new tool-manifest
dotnet tool install --local Ignixa.FhirFakes.Cli --version 0.0.163
#tool dotnet:?package=Ignixa.FhirFakes.Cli&version=0.0.163
nuke :add-package Ignixa.FhirFakes.Cli --version 0.0.163
FHIR Fakes CLI
A command-line tool for generating and modeling FHIR test data.
Installation
Install as a .NET global tool:
dotnet tool install --global Ignixa.FhirFakes.Cli
Or install locally in a project:
dotnet tool install Ignixa.FhirFakes.Cli
Getting Help
Use the built-in help command to discover available options:
# General help
ignixa-fakes help
# List all available scenarios
ignixa-fakes help scenarios
# List all available observation states
ignixa-fakes help states
# List all available cities
ignixa-fakes help cities
# Show supported FHIR versions
ignixa-fakes help versions
# Command-specific help
ignixa-fakes r4 resource --help
ignixa-fakes r4 scenario --help
ignixa-fakes r4 population --help
Usage
All commands start with a FHIR version and require an output folder:
ignixa-fakes <version> <command> --out <folder> [options]
Available FHIR versions: stu3, r4, r4b, r5, r6
Generate Single Resources
Generate a Patient resource with specific attributes:
ignixa-fakes r4 resource Patient --out ./output --firstname Bob --surname Smith --from Seattle
Generate an Observation using a predefined state:
ignixa-fakes r4 resource Observation BloodGlucose --out ./output
Generate Predefined Scenarios
Generate a complete patient scenario with related resources:
ignixa-fakes r4 scenario DiabeticPatient --out ./output --resolved-references
Available scenarios include:
DiabeticPatient- Type 2 diabetes with medication escalationWellnessVisit- Routine wellness visit with observationsUrinaryTractInfection- UTI diagnosis and treatmentAsthmaticChild- Pediatric asthma management- And many more...
Generate Populations
Generate multiple patients from a specific location:
ignixa-fakes r4 population --out ./output --from Seattle --count 100 --resolved-references
Generate populations in ndjson format (useful for $import operations):
ignixa-fakes r4 population --out ./output --from Seattle --count 100 --ndjson
Options
--out <folder>- Required - Output folder for generated files (will be created if it doesn't exist)--resolved-references- Creates a batch bundle instead of references (for scenario and population commands)--ndjson- Write ndjson files instead of bundles (implies --resolved-references, only available for population command)--firstname <name>- Set patient first name--surname <name>- Set patient surname--from <city>- Generate from a specific city--count <number>- Number of resources/patients to generate
Output
All commands generate JSON files in the specified output directory with the format:
- Single resources:
{resource}-{name}-{id}.jsonorpatient-{id}.json - Scenarios:
bundle-{scenario}-{id}.json - Populations (bundles):
bundle-population-{city}-{count}-{id}.json - Populations (ndjson):
{version}-population-{city}-{ResourceType}-{count}-{id}.ndjson
Examples
# Generate a single patient from R4
ignixa-fakes r4 resource Patient --out ./output --firstname Alice --surname Johnson
# Generate a diabetic patient scenario using R4
ignixa-fakes r4 scenario DiabeticPatient --out ./output --resolved-references
# Generate 50 patients from Boston using R4 as bundles
ignixa-fakes r4 population --out ./output --from Boston --count 50 --resolved-references
# Generate 50 patients from Boston using R4 as ndjson files (for $import)
ignixa-fakes r4 population --out ./output --from Boston --count 50 --ndjson
# Generate a blood glucose observation using R4
ignixa-fakes r4 resource Observation BloodGlucose --out ./output
FHIR Versions
Supported FHIR versions:
- stu3 - FHIR STU3 (v3.0.2)
- r4 - FHIR R4 (v4.0.1)
- r4b - FHIR R4B (v4.3.0)
- r5 - FHIR R5 (v5.0.0)
- r6 - FHIR R6 (v6.0.0)
More Information
Visit the Ignixa FHIR repository for more information.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.163 | 134 | 2/11/2026 |
| 0.0.160 | 122 | 2/9/2026 |
| 0.0.155 | 130 | 1/24/2026 |
| 0.0.151 | 129 | 1/21/2026 |
| 0.0.150 | 121 | 1/20/2026 |
| 0.0.149 | 120 | 1/19/2026 |
| 0.0.148 | 117 | 1/18/2026 |
| 0.0.142 | 126 | 1/12/2026 |
| 0.0.137 | 122 | 1/9/2026 |
| 0.0.127 | 131 | 12/29/2025 |
| 0.0.109 | 302 | 12/18/2025 |
| 0.0.101 | 291 | 12/16/2025 |
| 0.0.96 | 445 | 12/10/2025 |
| 0.0.87 | 456 | 12/8/2025 |