CoolFace
Datasetpublic

RootCauseAnalytics/synthetic-australian-medical-documents-sample

Synthetic Australian Medical Documents - Sample A 50-document free sample of a 5,000-document library of synthetic Australian medical PDFs. PHI-free. Modelled on Australian healthcare documentation. Pre-labelled with structured ground truth and pixel-precise bounding boxes. Released under CC-BY-NC 4.0 for evaluation and non-commercial research. See Pricing & licensing below. What's in this sample Field Value Documents 50 Document types 29 (of 45 in… See the full description on the dataset page: https://huggingface.co/datasets/RootCauseAnalytics/synthetic-australian-medical-documents-sample.

sourceHugging Facecc-by-nc-4.0updated 5mo agoView on Hugging Face
5likes174downloads
Dataset Card

Synthetic Australian Medical Documents - Sample

A 50-document free sample of a 5,000-document library of synthetic Australian medical PDFs. PHI-free. Modelled on Australian healthcare documentation. Pre-labelled with structured ground truth and pixel-precise bounding boxes. Released under CC-BY-NC 4.0 for evaluation and non-commercial research.

See Pricing & licensing below.

What's in this sample

FieldValue
Documents50
Document types29 (of 45 in full library)
Total field bboxes682 (avg 13.6 per doc)
Splits37 train / 13 test (stratified by doc type)
FormatClean PDFs + scanned variants
LicenceCC-BY-NC 4.0
DisclaimerEvery doc footer: "SYNTHETIC TRAINING DOCUMENT - NOT FOR CLINICAL USE"

50 documents is enough to:

  • Inspect the format and label schema
  • Run a sanity-check fine-tune on document classification or NER
  • Verify the ground-truth schema matches your downstream task
  • Decide whether the full 5,000-doc library is worth licensing

Why this library exists

The bottleneck for medical document AI in Australia is training data:

  • Real hospital PDFs are locked behind the Privacy Act
  • Generic synthetic medical text (LLM-generated) has no layout, no scans, no labels - useless for vision models like LayoutLMv3 / Donut / DocFormer
  • Public datasets like MIMIC are US-centric, doc-type-limited, and increasingly restricted

This library is the missing piece: visually realistic, fully-labelled, jurisdiction-specific synthetic PDFs. Modelled on real Australian hospital and GP-clinic document conventions; every entity is synthetic.

Document types in this sample (29 of 45)

Doc typeCount
ed_assessment4
discharge_summary4
prescription3
referral_letter3
progress_note3
medication_chart3
pathology_report2
physiotherapy_assessment2
imaging_report2
vascularultrasoundreport2
ecg_report2
fluid_order2
mentalhealthassessment2
anaesthetic_record1
ambulance_record1
audiology_assessment1
ophthalmology_assessment1
speechpathologyassessment1
endoscopy_report1
ecg_12lead1
pathology_request1
medical_certificate1
consentfortreatment1
admission_checklist1
patientsafetychecklist1
correctpatientchecklist1
infusionpumpchecklist1
internal_correspondence1
external_correspondence1

Specialty distribution: General Medicine (11), Cardiology (10), Gastroenterology (7), Psychiatry (6), Neurology (4), Respiratory (4), General Surgery (3), Renal (2), Endocrinology (2), Physiotherapy (1).

The full 5,000-doc library covers 45 document types with stratified balance across all of them.

Scan-quality variants

Real hospital PDFs aren't pristine digital files. They're faxed, scanned at low DPI, photocopied, and sent through multiple layers of email compression. Models trained only on clean digital PDFs collapse on first contact with reality.

In this sample, each document ships with one scanned variant drawn from four quality tiers:

Quality tierCount in sampleDescription
scanned27300 DPI scan with mild noise / skew
clean16Digital-native PDF
poor6150 DPI, heavier noise, slight rotation
fax1Binarised, dropouts, lowest fidelity

In the full 5,000-doc library every document is rendered in clean and lower quality scanned format, so you can train across the realistic scan-quality spectrum.

File layout

├── pdfs/                       # Clean reportlab PDFs (one per doc)
├── pdfs_scanned/               # Scanned variants (rotated, noisy, JPEG'd)
├── ground_truth.csv            # Per-doc structured labels
├── ground_truth.jsonl          # Same in JSONL
├── bboxes.jsonl                # Per-doc bbox layout annotations
├── splits.json                 # Train / test partitions
├── manifest.json               # library summary statistics
├── preview.png                 # Sample document thumbnail
└── README.md

Quick start

python
import json

# Load ground truth
with open("ground_truth.jsonl") as f:
    rows = [json.loads(line) for line in f]

# Load splits
with open("splits.json") as f:
    splits = json.load(f)

# Get train rows
train_filenames = set(splits["train"]["filenames"])
train_rows = [r for r in rows if r["pdf_filename"] in train_filenames]

# Index bboxes by doc
with open("bboxes.jsonl") as f:
    bboxes_index = {
        json.loads(l)["pdf_filename"]: json.loads(l)["bboxes"]
        for l in f
    }

print(f"{len(rows)} docs across {len(set(r['document_type'] for r in rows))} types")

Ground-truth schema

Each row in ground_truth.csv / ground_truth.jsonl includes:

  • Patient identifiers - patient_name, patient_dob, patient_age, patient_sex, patient_address, mrn, medicare, nok_name
  • Document metadata - document_type, document_id, pdf_filename, case_id, specialty
  • Clinical - principal_diagnosis, principal_icd, additional_diagnoses, medications, new_medications
  • Cross-references - hospital_name, hospital_lhd, ward, gp_name, gp_clinic, clinician names with provider numbers
  • Doc-type-specific fields - triage_category, accession_no, lab_ref, procedure, anaesthetic_type, moca_total, hads_anxiety, hads_depression, lvef_percent, etc.
  • Bounding boxes - bboxes_json column + per-doc records in bboxes.jsonl

Bounding-box layout annotations

Every labelled field has its location on the page recorded as (x, y, width, height, page) in PDF points.

  • 682 total field bboxes in this sample (13.6 average per doc)
  • Available in ground_truth.csv (bboxes_json column) and bboxes.jsonl
  • Compatible with LayoutLMv3, Donut, DocFormer, and DocVQA training pipelines

Because the library is generated programmatically, every field's exact pixel position is known. Labels are ground truth, not noisy OCR approximations.

Why this library vs alternatives

This libraryGeneric synthetic medical textReal medical PDFs
Visual fidelityHigh (NSW Health style)Plain text onlyHigh but legally restricted
PHI / privacy riskZeroZeroHigh (Privacy Act / HIPAA)
Doc type coverage45 (full) / 29 (sample)1-3 typicalWhatever partner has
Pre-labelled ground truthManual labelling required
BBox layout annotationsManual annotation required
Scanned variants4 tiers (full)N/AAlready scanned
Time to first modelTodayDaysMonths
Cost$0 sample / $2K–$25K fullFree / low$50K+ overhead

Tasks supported

  • Document classification (45 classes in full library)
  • Named-entity recognition (140+ entity types across full library)
  • Structured extraction (PDF - schema)
  • Layout-aware extraction (LayoutLMv3, Donut, DocFormer)
  • OCR robustness (scan-quality variants)
  • Document Q&A (DocVQA-style)
  • Document summarisation
  • De-identification benchmarking (every PHI-shaped field is known)
  • Continued pretraining for AU-clinical language models

Reproducibility

Generated from a deterministic Python pipeline. Same seed - identical library, byte-for-byte. The full library and generator licence include source code and seeds.

Ethics & compliance

  • No real patient data was used at any point in generation
  • Names, MRNs, Medicare numbers, addresses, dates, and clinical findings are entirely synthetic
  • Every document carries a footer disclaimer: "SYNTHETIC TRAINING DOCUMENT - NOT FOR CLINICAL USE"
  • Released under CC-BY-NC 4.0 for non-commercial use
⚠️ Important: This dataset is not a substitute for real-world clinical data. Models trained on this library alone should be validated on actual hospital data before clinical deployment. Any apparent resemblance to real individuals or events is purely coincidental.>

Full library & commercial licensing

This is a 50-document sample. The full library available for commercial licensing includes:

  • 5,000 documents across all 45 doc types
  • Four scan-quality tiers for every document (20,000 PDFs total)
  • Bounding-box annotations for every labelled field (~14 per doc)
  • Stratified 70 / 15 / 15 train / val / test splits
  • 12 months of email support
TierDocumentsPrice (USD)
Sample50This listing - free
Standard500$2,000 - $5,000
Large5,000$10,000 - $25,000
Mega50,000+Quote on request
Custom commissionTo spec$5,000 - $30,000
Generator licence (run yourself)-$25,000 - $50,000

Discounts: 3+ standard licences to same buyer = 10% off · Annual subscription, refreshed quarterly = 20% off · Academic researchers (proof of affiliation) = 50% off.

For commercial licensing, custom case mixes, specific document type subsets, or hospital-specific branding, email **jack.webb@rootcauseanalytics.com.au**. Response within 24 hours during AU business hours.

Citation

@dataset{webb_2026_synthetic_au_medical_sample,
  title    = {Synthetic Australian Medical Documents - Sample},
  author   = {Webb, Jack},
  year     = {2026},
  publisher = {Hugging Face},
  version  = {0.1.0},
  url      = {https://huggingface.co/datasets/RootCauseAnalytics/synthetic-australian-medical-documents-sample}
}

Versions

  • v0.1.0 - Initial release: 50 documents, 29 doc types, 682 bbox annotations, scanned variants

Maintainer

Jack Webb, Root Cause Analytics - Sydney, Australia · jack.webb@rootcauseanalytics.com.au