Healthcare Test Data

Test health CSV imports
with synthetic fixtures

Synthetic fixtures for checking required values, types, dates, CSV syntax, and duplicate examination keys in your importer.

Compliance disclaimer

Synthetic test data only. Clinical abnormality is not an input error. No diagnosis, health-guidance, legal-compliance, real-world-distribution, or vendor-import guarantee. There is no patient-data upload feature.

Health CSV import QA: normal data and 12 cases

Synthetic fixtures for checking required values, types, dates, CSV syntax, and duplicate examination keys in your importer.

Generate normal CSV

Open the generator with health-lod selected. CSV has 26 business fields plus 3 metadata fields: 29 columns. Generation starts only when you request it.

Generate normal health CSV

QA pack with expected results v1.0.0

A ZIP with 4 accepted and 8 rejected CSV cases, expected results JSON, a 29-column dictionary, and README. Fixed fixtures make tests repeatable.

Shared profile: datagen-health-lod-csv-v1. Normal generation and the pack use the same 29 columns. UTF-8, optional BOM, LF/CRLF. CSV syntax and header errors apply to the file; value and duplicate errors apply to logical records.

Synthetic test data only. Clinical abnormality is not an input error. No diagnosis, health-guidance, legal-compliance, real-world-distribution, or vendor-import guarantee. There is no patient-data upload feature.

A download action indicates saving was initiated, not that disk saving or an import test was completed.

What to check in your importer

Use DataGen’s own QA profile. This is not a statutory submission format or vendor-specific specification.

CSV syntax and headers

  • Accept quoted commas and newlines
  • Reject unclosed quotes
  • Detect missing, duplicated, or unknown columns

Field validation

  • Detect empty required values
  • Check types, finite numbers, and calendar dates
  • Check enumerated values

Duplicates and regression tests

  • Detect duplicate employee_id + examination_date keys
  • Compare fixed cases with expected results
  • Separate clinical abnormality from input errors

The same 29 columns in normal generation and the QA pack

health-lod has 26 business fields and 3 dummy metadata fields. Column order is flexible. The dictionary defines every field type and allowed value.

FieldDescriptionProfile
dataStatus / dataStatusMessage / dummySchemaIdThree synthetic-data metadata fields retained in CSVDataGen QA profile v1
employee_idRequired synthetic employee IDDataGen QA profile v1
examination_dateValid calendar date, YYYY-MM-DDDataGen QA profile v1
height_cm / weight_kg / bmiFinite numbers; no clinical threshold evaluationDataGen QA profile v1
departmentString; accepted cases include quoted commas and newlinesDataGen QA profile v1
follow_up_requiredtrue / false; for input-format checksDataGen QA profile v1

Shared profile: datagen-health-lod-csv-v1. Normal generation and the pack use the same 29 columns. UTF-8, optional BOM, LF/CRLF. CSV syntax and header errors apply to the file; value and duplicate errors apply to logical records.

Validation order

1

CSV syntax

Parse UTF-8, optional BOM, LF/CRLF, and quotes. Unclosed quotes or inconsistent record widths stop validation with a file-level error.

2

Headers

Missing, duplicate, or unknown columns are file-level errors. No fixed physical line number is promised.

3

Values and duplicates

Check required values, types, dates, and enums, then duplicates among valid examination keys. record_index is a 1-based logical data record after the header.

4

Compare expected results

Run the 12 cases separately and compare acceptance and phase with expected.json. Do not use real patient data or production imports.

FAQ

Q. Does normal generation use the same profile?

A. Shared profile: datagen-health-lod-csv-v1. Normal generation and the pack use the same 29 columns. UTF-8, optional BOM, LF/CRLF. CSV syntax and header errors apply to the file; value and duplicate errors apply to logical records.

Q. Are all abnormal readings input errors?

A. No. Clinical abnormality and malformed CSV input are different. This pack does not assess diagnosis or health-guidance accuracy.

Q. Does this work unchanged with other health CSV formats?

A. This pack targets DataGen’s health-lod profile. health-tokutei and vendor formats require their own mappings and importer requirements.

Q. Can I upload patient CSV files?

A. No upload validator is provided. Use the synthetic fixtures in your own isolated test environment.

Start import QA with normal data

Shared profile: datagen-health-lod-csv-v1. Normal generation and the pack use the same 29 columns. UTF-8, optional BOM, LF/CRLF. CSV syntax and header errors apply to the file; value and duplicate errors apply to logical records.

Sample CSV/JSON

Download a ready-made sample for each schema to check the format before touching the generator.

100-row sample with dummy watermark