Skip to main content
Pick the format that matches your target system. All four preserve referential integrity across generated records.

SQL INSERT

FK-ordered INSERT statements ready for direct database seeding.

CSV

Flat files for import into any system.
Generates one CSV per table with headers matching your schema columns.

HL7 Streams

ADT and ORU messages for integration engine testing.
Generates ADT^A01 admission messages with linked ORU^R01 lab results for each patient.

FHIR Bundles

Transaction bundles for FHIR server seeding.
Generates FHIR Transaction Bundles with proper reference integrity across the same 137 spec-validated resource types Post generates, including Patient, Encounter, Condition, Observation, MedicationRequest, Procedure, DiagnosticReport, AllergyIntolerance, Immunization, Organization, Practitioner, Location, and Coverage.

Seeding and cleanup

Seed a target database directly, or point seed at a directory that generate -o wrote:
Cleanup is its own command. It removes the records Flock tagged as synthetic:
Cleanup removes every record tagged as synthetic. This cannot be undone.

Generation Analytics

After generating a population, Flock produces an analytics report with statistics on:
  • Record counts per table
  • Demographic distributions (age, gender, race)
  • Clinical distributions (conditions, medications)
  • Referential integrity validation
  • Seed plan validation (dry-run results)