test(pdf): step 6 phase 0 freeze — demo report, bare v3 PDF, 39 goldens (text, images, links, views) and route characterisation tests

This commit is contained in:
bchanot committed 2026-10-11 12:13:36 +02:00
1 parent 694092610d
commit 8b86b926c8
46 files changed
+18502 -5

No files matched your search

+30 -5
View File
@@ -3,11 +3,36 @@
Golden inputs frozen for the characterisation tests (plan Step 1). They describe
the Report v2 document as the current application produces it.
| File | Content |
|---|---|
| `report-v2.full.json` | One report exercising every zone kind the editor can produce: plain hinge point, bilateral joint with both sides, spine zone with vertebrae, detail-popup zone, catalog findings (with and without vet referral and side), free text, severity, comment, conclusion, recommendations, dated next appointment. `boneId` values are the real `data-anno-id` of the legacy `Horse.svg` / `Horse_head.svg` now kept under `supabase/seed/anatomical-sheets/equine/legacy-sources/`; `zoneId`/`path` values exist in `pathologies.json`. |
| `report-v2.minimal.json` | Smallest valid v2 report (no observations). |
| `report-v2.full.pdf`, `report-v2.minimal.pdf` | The two reports exported by the v2 pipeline (commit 199e328, Step 5.0, rasteriser stubbed to a 1×1 PNG, no logos): the archive-like PDFs the v3 importer must read and migrate. Synthetic data only. |
| File | Content |
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `report-v2.full.json` | One report exercising every zone kind the editor can produce: plain hinge point, bilateral joint with both sides, spine zone with vertebrae, detail-popup zone, catalog findings (with and without vet referral and side), free text, severity, comment, conclusion, recommendations, dated next appointment. `boneId` values are the real `data-anno-id` of the legacy `Horse.svg` / `Horse_head.svg` now kept under `supabase/seed/anatomical-sheets/equine/legacy-sources/`; `zoneId`/`path` values exist in `pathologies.json`. |
| `report-v2.minimal.json` | Smallest valid v2 report (no observations). |
| `report-v2.full.pdf`, `report-v2.minimal.pdf` | The two reports exported by the v2 pipeline (commit 199e328, Step 5.0, rasteriser stubbed to a 1×1 PNG, no logos): the archive-like PDFs the v3 importer must read and migrate. Synthetic data only. |
Do not edit these files to make a test pass: they are the behavioural oracle for
the Report v2 → v3 adapter and for PDF regression. Add a new fixture instead.
## Step 6 freeze (Phase 0, 2026-10-11)
What the PDF pipeline produced right before the Step 6 refactor, recorded by
`tests/unit/pdf.goldens.test.ts` on the bundled draft sheet
(`docs/development/STEP6_PDF_ARCHIVE_ANALYSIS.md` §17).
| File | Content |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `report-v3.demo.json` | Report v3 on the draft (ids from `draft/document.json`), 6 observations: main-view points, head-view points, spine zone with vertebrae, bilateral zone with both sides, a vet-referral leaf, a leaf whose label holds an en dash (U+2013), free-text findings, severities, comments, conclusion, recommendations, period next appointment; `sheet` = the draft ref at freeze time. |
| `report-v3.bare.pdf` | The demo report exported by the current code (rasteriser stubbed to a 1×1 PNG, no logos, FR): import fixture for the engine. |
| `goldens/step6/text.<report>.<locale>.<logos>.json` | Every `drawText` of the export, in drawing order: `{ page, text, x, y, size, font }`, numbers rounded to 2 decimals. |
| `goldens/step6/images.<report>.<locale>.<logos>.json` | Every `drawImage`: `{ page, x, y, width, height }`. Recorded per locale too: the footer centres the "powered by" block on the label width, so the ZenQuality logo shifts between FR and EN. |
| `goldens/step6/links.<report>.<locale>.<logos>.json` | Every `/Annot /Link` read back from the saved PDF: `{ page, rect, uri }`. Per locale for the same footer reason. |
| `goldens/step6/views.<report>.json` | Per `(observation, view)` of the report, the highlighted SVG parsed: `viewBox`, halo filter present, highlighted elements, visible non-highlighted markers, remaining `data-*` attributes, `<title>` count. |
Reports: `v2full` (`report-v2.full.json` migrated), `demo` (`report-v3.demo.json`),
`v2unresolved` (legacy `sphenoid` and `ssb` leaves plus one `frontal` leaf, migrated;
zone-less, so its `images` and `views` goldens are empty). Logo modes: `nologos`
(fetch 404, 1×1 rasteriser) and `logos` (fetch serves the four `public/` logo files,
rasteriser stubbed to a 2×1 PNG).
Never regenerate these files without a user decision; the Step 6 engine must
reproduce them. Generation, once: `MAKE_GOLDEN=1 corepack pnpm vitest run
tests/unit/pdf.goldens.test.ts` from `apps/app`.
@@ -0,0 +1,247 @@
[
{
"page": 0,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 1,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 1,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 2,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 2,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 3,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 3,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 4,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 4,
"x": 36,
"y": 547.07,
"width": 253.64,
"height": 126.82
},
{
"page": 4,
"x": 305.64,
"y": 547.07,
"width": 253.64,
"height": 126.82
},
{
"page": 5,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 5,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 6,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 0,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 0,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 1,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 1,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 1,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 2,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 2,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 2,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 3,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 3,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 3,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 4,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 4,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 4,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 5,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 5,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 5,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 6,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 6,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 6,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
}
]
@@ -0,0 +1,51 @@
[
{
"page": 0,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 1,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 2,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 3,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 4,
"x": 36,
"y": 420.25,
"width": 253.64,
"height": 253.64
},
{
"page": 4,
"x": 305.64,
"y": 420.25,
"width": 253.64,
"height": 253.64
},
{
"page": 5,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
}
]
@@ -0,0 +1,247 @@
[
{
"page": 0,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 1,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 1,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 2,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 2,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 3,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 3,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 4,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 4,
"x": 36,
"y": 547.07,
"width": 253.64,
"height": 126.82
},
{
"page": 4,
"x": 305.64,
"y": 547.07,
"width": 253.64,
"height": 126.82
},
{
"page": 5,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 5,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 6,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 0,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 0,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 1,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 1,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 1,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 2,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 2,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 2,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 3,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 3,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 3,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 4,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 4,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 4,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 5,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 5,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 5,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 6,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 6,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 6,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
}
]
@@ -0,0 +1,51 @@
[
{
"page": 0,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 1,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 2,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 3,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 4,
"x": 36,
"y": 420.25,
"width": 253.64,
"height": 253.64
},
{
"page": 4,
"x": 305.64,
"y": 420.25,
"width": 253.64,
"height": 253.64
},
{
"page": 5,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
}
]
@@ -0,0 +1,135 @@
[
{
"page": 0,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 1,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 1,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 2,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 2,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 3,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 0,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 0,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 1,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 1,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 1,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 2,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 2,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 2,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 3,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 3,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 3,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
}
]
@@ -0,0 +1,23 @@
[
{
"page": 0,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 1,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 2,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
}
]
@@ -0,0 +1,135 @@
[
{
"page": 0,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 1,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 1,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 2,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 2,
"x": 166.82,
"y": 543.07,
"width": 261.64,
"height": 130.82
},
{
"page": 3,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 0,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 0,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 1,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 1,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 1,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 2,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 2,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 2,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 3,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 3,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 3,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
}
]
@@ -0,0 +1,23 @@
[
{
"page": 0,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 1,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
},
{
"page": 2,
"x": 166.82,
"y": 412.25,
"width": 261.64,
"height": 261.64
}
]
@@ -0,0 +1,114 @@
[
{
"page": 0,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 1,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 2,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 3,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 0,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 0,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 1,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 1,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 1,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 2,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 2,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 2,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 3,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 3,
"x": 284.49,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 3,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
}
]
@@ -0,0 +1 @@
[]
@@ -0,0 +1,114 @@
[
{
"page": 0,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 1,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 2,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 3,
"x": 247.64,
"y": 772,
"width": 100,
"height": 38
},
{
"page": 0,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 0,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 0,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 1,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 1,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 1,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 2,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 2,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 2,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
},
{
"page": 3,
"x": 36,
"y": 34,
"width": 80,
"height": 30
},
{
"page": 3,
"x": 286.43,
"y": 36,
"width": 70,
"height": 16
},
{
"page": 3,
"x": 527.28,
"y": 36,
"width": 32,
"height": 16
}
]
@@ -0,0 +1 @@
[]
@@ -0,0 +1,282 @@
[
{
"page": 0,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 4,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 4,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 4,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 4,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 5,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 5,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 5,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 5,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 6,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 6,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 6,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 6,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,142 @@
[
{
"page": 0,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 4,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 4,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 5,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 5,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 6,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 6,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,282 @@
[
{
"page": 0,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 4,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 4,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 4,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 4,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 5,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 5,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 5,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 5,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 6,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 6,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 6,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 6,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,142 @@
[
{
"page": 0,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 4,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 4,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 5,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 5,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 6,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 6,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,162 @@
[
{
"page": 0,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,82 @@
[
{
"page": 0,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,162 @@
[
{
"page": 0,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,82 @@
[
{
"page": 0,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,162 @@
[
{
"page": 0,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
284.49,
36,
354.49,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,82 @@
[
{
"page": 0,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
298.39,
38,
340.6,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,162 @@
[
{
"page": 0,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 0,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 1,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 2,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
247.64,
772,
347.64,
810
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
36,
34,
116,
64
],
"uri": "https://faunosteo.com"
},
{
"page": 3,
"rect": [
286.43,
36,
356.43,
52
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
527.28,
36,
559.28,
52
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
@@ -0,0 +1,82 @@
[
{
"page": 0,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 0,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 1,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 1,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 2,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 2,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
},
{
"page": 3,
"rect": [
300.32,
38,
342.53,
50
],
"uri": "https://zenquality.fr"
},
{
"page": 3,
"rect": [
489.12,
38,
559.28,
50
],
"uri": "https://www.instagram.com/paws.iin.harmony"
}
]
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,698 @@
[
{
"page": 0,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "01",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 0,
"text": "MODERATE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "GENERAL VIEW",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "ZONES",
"x": 36,
"y": 519.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "C7-T1 junction (cervicothoracic)",
"x": 36,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 182.34,
"y": 504.87,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hip joint (Left)",
"x": 192.24,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 259.48,
"y": 504.87,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hip joint (Right)",
"x": 269.38,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "FINDINGS — C7-T1 JUNCTION (CERVICOTHORACIC)",
"x": 36,
"y": 483.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Junction fixation",
"x": 36,
"y": 470.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "FINDINGS — HIP JOINT (LEFT)",
"x": 36,
"y": 447.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Flexion restriction",
"x": 36,
"y": 434.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "FREE FINDINGS",
"x": 36,
"y": 411.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Sensibilité au garrot",
"x": 36,
"y": 398.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "SEVERITY",
"x": 36,
"y": 375.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "moderate",
"x": 36,
"y": 362.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "COMMENT",
"x": 36,
"y": 339.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Réagit à la palpation du garrot.",
"x": 36,
"y": 326.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "02",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 1,
"text": "SEVERE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "GENERAL VIEW",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "ZONES",
"x": 36,
"y": 519.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Cervical vertebrae (C3, C4)",
"x": 36,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "FINDINGS — CERVICAL VERTEBRAE",
"x": 36,
"y": 483.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "(!) Reported stumbling / proprioceptive deficit",
"x": 36,
"y": 470.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "SEVERITY",
"x": 36,
"y": 447.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "severe",
"x": 36,
"y": 434.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "03",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 2,
"text": "DETAIL VIEW — HEAD (LEFT LATERAL VIEW)",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "ZONES",
"x": 36,
"y": 519.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Temporomandibular joint (TMJ)",
"x": 36,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "FINDINGS — TEMPOROMANDIBULAR JOINT (TMJ)",
"x": 36,
"y": 483.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "(!) Headshaking",
"x": 36,
"y": 470.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "COMMENT",
"x": 36,
"y": 447.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Vue détail tête.",
"x": 36,
"y": 434.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 3,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SYNTHESIS",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Conclusion",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 3,
"text": "CONCLUSION",
"x": 36,
"y": 691.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Dysfonction cervico-thoracique avec compensation du bassin.",
"x": 36,
"y": 677.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "RECOMMENDATIONS",
"x": 36,
"y": 645.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Repos 3 jours puis reprise progressive.",
"x": 36,
"y": 631.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "NEXT APPOINTMENT",
"x": 36,
"y": 599.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "July 1, 2026",
"x": 36,
"y": 585.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 0,
"text": "Powered by ",
"x": 240.79,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "In partnership with ",
"x": 459.38,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "1 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "Powered by ",
"x": 240.79,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "In partnership with ",
"x": 459.38,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "2 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "Powered by ",
"x": 240.79,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "In partnership with ",
"x": 459.38,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "3 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "Powered by ",
"x": 240.79,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "In partnership with ",
"x": 459.38,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "4 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
}
]
@@ -0,0 +1,762 @@
[
{
"page": 0,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "01",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 0,
"text": "MODERATE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "GENERAL VIEW",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "ZONES",
"x": 36,
"y": 388.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "C7-T1 junction (cervicothoracic)",
"x": 36,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 182.34,
"y": 374.05,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hip joint (Left)",
"x": 192.24,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 259.48,
"y": 374.05,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hip joint (Right)",
"x": 269.38,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "FINDINGS — C7-T1 JUNCTION (CERVICOTHORACIC)",
"x": 36,
"y": 352.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Junction fixation",
"x": 36,
"y": 339.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "FINDINGS — HIP JOINT (LEFT)",
"x": 36,
"y": 316.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Flexion restriction",
"x": 36,
"y": 303.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "FREE FINDINGS",
"x": 36,
"y": 280.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Sensibilité au garrot",
"x": 36,
"y": 267.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "SEVERITY",
"x": 36,
"y": 244.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "moderate",
"x": 36,
"y": 231.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "COMMENT",
"x": 36,
"y": 208.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Réagit à la palpation du garrot.",
"x": 36,
"y": 195.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "02",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 1,
"text": "SEVERE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "GENERAL VIEW",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "ZONES",
"x": 36,
"y": 388.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Cervical vertebrae (C3, C4)",
"x": 36,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "FINDINGS — CERVICAL VERTEBRAE",
"x": 36,
"y": 352.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "(!) Reported stumbling / proprioceptive deficit",
"x": 36,
"y": 339.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "SEVERITY",
"x": 36,
"y": 316.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "severe",
"x": 36,
"y": 303.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "03",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 2,
"text": "DETAIL VIEW — HEAD (LEFT LATERAL VIEW)",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "ZONES",
"x": 36,
"y": 388.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Temporomandibular joint (TMJ)",
"x": 36,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "FINDINGS — TEMPOROMANDIBULAR JOINT (TMJ)",
"x": 36,
"y": 352.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "(!) Headshaking",
"x": 36,
"y": 339.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "COMMENT",
"x": 36,
"y": 316.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Vue détail tête.",
"x": 36,
"y": 303.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 3,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Owner: Jean Martin",
"x": 480.58,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "June 1, 2026",
"x": 507.42,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SYNTHESIS",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Conclusion",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 3,
"text": "CONCLUSION",
"x": 36,
"y": 691.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Dysfonction cervico-thoracique avec compensation du bassin.",
"x": 36,
"y": 677.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "RECOMMENDATIONS",
"x": 36,
"y": 645.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Repos 3 jours puis reprise progressive.",
"x": 36,
"y": 631.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "NEXT APPOINTMENT",
"x": 36,
"y": 599.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "July 1, 2026",
"x": 36,
"y": 585.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 0,
"text": "Powered by ",
"x": 254.68,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "zenquality.fr",
"x": 298.39,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "In partnership with ",
"x": 421.22,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "1 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "Powered by ",
"x": 254.68,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "zenquality.fr",
"x": 298.39,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "In partnership with ",
"x": 421.22,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "2 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "Powered by ",
"x": 254.68,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "zenquality.fr",
"x": 298.39,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "In partnership with ",
"x": 421.22,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "3 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "Powered by ",
"x": 254.68,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "zenquality.fr",
"x": 298.39,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "In partnership with ",
"x": 421.22,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "4 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
}
]
@@ -0,0 +1,698 @@
[
{
"page": 0,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "01",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 0,
"text": "MODÉRÉE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "VUE GÉNÉRALE",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "ZONES",
"x": 36,
"y": 519.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Charnière C7-T1 (cervico-thoracique)",
"x": 36,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 207.04,
"y": 504.87,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hanche (coxo-fémorale) (Gauche)",
"x": 216.94,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 372.95,
"y": 504.87,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hanche (coxo-fémorale) (Droite)",
"x": 382.85,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "CONSTATS — CHARNIÈRE C7-T1 (CERVICO-THORACIQUE)",
"x": 36,
"y": 483.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Fixation de la charnière",
"x": 36,
"y": 470.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "CONSTATS — HANCHE (COXO-FÉMORALE) (GAUCHE)",
"x": 36,
"y": 447.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Restriction en flexion",
"x": 36,
"y": 434.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "CONSTATS LIBRES",
"x": 36,
"y": 411.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Sensibilité au garrot",
"x": 36,
"y": 398.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "SÉVÉRITÉ",
"x": 36,
"y": 375.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "modérée",
"x": 36,
"y": 362.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "COMMENTAIRE",
"x": 36,
"y": 339.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Réagit à la palpation du garrot.",
"x": 36,
"y": 326.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "02",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 1,
"text": "SÉVÈRE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "VUE GÉNÉRALE",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "ZONES",
"x": 36,
"y": 519.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Vertèbres cervicales (C3, C4)",
"x": 36,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "CONSTATS — VERTÈBRES CERVICALES",
"x": 36,
"y": 483.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "(!) Trébuchements / déficit proprioceptif rapporté",
"x": 36,
"y": 470.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "SÉVÉRITÉ",
"x": 36,
"y": 447.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "sévère",
"x": 36,
"y": 434.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "03",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 2,
"text": "VUE DÉTAIL — TÊTE (VUE LATÉRALE GAUCHE)",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "ZONES",
"x": 36,
"y": 519.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Articulation temporo-mandibulaire (ATM)",
"x": 36,
"y": 506.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "CONSTATS — ARTICULATION TEMPORO-MANDIBULAIRE (ATM)",
"x": 36,
"y": 483.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "(!) Headshaking (secouement de tête)",
"x": 36,
"y": 470.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "COMMENTAIRE",
"x": 36,
"y": 447.07,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Vue détail tête.",
"x": 36,
"y": 434.07,
"size": 10,
"font": "Helvetica"
},
{
"page": 3,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SYNTHÈSE",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Conclusion",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 3,
"text": "CONCLUSION",
"x": 36,
"y": 691.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Dysfonction cervico-thoracique avec compensation du bassin.",
"x": 36,
"y": 677.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "RECOMMANDATIONS",
"x": 36,
"y": 645.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Repos 3 jours puis reprise progressive.",
"x": 36,
"y": 631.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "PROCHAIN RENDEZ-VOUS",
"x": 36,
"y": 599.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "1 juillet 2026",
"x": 36,
"y": 585.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 0,
"text": "Propulsé par ",
"x": 238.85,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "En partenariat avec ",
"x": 455.61,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "1 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "Propulsé par ",
"x": 238.85,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "En partenariat avec ",
"x": 455.61,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "2 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "Propulsé par ",
"x": 238.85,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "En partenariat avec ",
"x": 455.61,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "3 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "Propulsé par ",
"x": 238.85,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "En partenariat avec ",
"x": 455.61,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "4 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
}
]
@@ -0,0 +1,762 @@
[
{
"page": 0,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 0,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "01",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 0,
"text": "MODÉRÉE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "VUE GÉNÉRALE",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "ZONES",
"x": 36,
"y": 388.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Charnière C7-T1 (cervico-thoracique)",
"x": 36,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 207.04,
"y": 374.05,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hanche (coxo-fémorale) (Gauche)",
"x": 216.94,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "•",
"x": 372.95,
"y": 374.05,
"size": 14,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Hanche (coxo-fémorale) (Droite)",
"x": 382.85,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "CONSTATS — CHARNIÈRE C7-T1 (CERVICO-THORACIQUE)",
"x": 36,
"y": 352.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Fixation de la charnière",
"x": 36,
"y": 339.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "CONSTATS — HANCHE (COXO-FÉMORALE) (GAUCHE)",
"x": 36,
"y": 316.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Restriction en flexion",
"x": 36,
"y": 303.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "CONSTATS LIBRES",
"x": 36,
"y": 280.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Sensibilité au garrot",
"x": 36,
"y": 267.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "SÉVÉRITÉ",
"x": 36,
"y": 244.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "modérée",
"x": 36,
"y": 231.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 0,
"text": "COMMENTAIRE",
"x": 36,
"y": 208.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 0,
"text": "Réagit à la palpation du garrot.",
"x": 36,
"y": 195.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 1,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "02",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 1,
"text": "SÉVÈRE",
"x": 80,
"y": 727.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "VUE GÉNÉRALE",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "ZONES",
"x": 36,
"y": 388.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "Vertèbres cervicales (C3, C4)",
"x": 36,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "CONSTATS — VERTÈBRES CERVICALES",
"x": 36,
"y": 352.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "(!) Trébuchements / déficit proprioceptif rapporté",
"x": 36,
"y": 339.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 1,
"text": "SÉVÉRITÉ",
"x": 36,
"y": 316.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 1,
"text": "sévère",
"x": 36,
"y": 303.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 2,
"text": "OBSERVATION",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "03",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 2,
"text": "VUE DÉTAIL — TÊTE (VUE LATÉRALE GAUCHE)",
"x": 166.82,
"y": 687.89,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "ZONES",
"x": 36,
"y": 388.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Articulation temporo-mandibulaire (ATM)",
"x": 36,
"y": 375.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "CONSTATS — ARTICULATION TEMPORO-MANDIBULAIRE (ATM)",
"x": 36,
"y": 352.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "(!) Headshaking (secouement de tête)",
"x": 36,
"y": 339.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 2,
"text": "COMMENTAIRE",
"x": 36,
"y": 316.25,
"size": 8,
"font": "Helvetica-Bold"
},
{
"page": 2,
"text": "Vue détail tête.",
"x": 36,
"y": 303.25,
"size": 10,
"font": "Helvetica"
},
{
"page": 3,
"text": "Dr. Claire Dupont",
"x": 36,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Cabinet Équi-Ostéo",
"x": 36,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "claire@example.test",
"x": 36,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SIRET 12345678901234",
"x": 36,
"y": 764,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "Mistral (Selle Français) · 9 ans",
"x": 402.16,
"y": 800,
"size": 11,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Propriétaire : Jean Martin",
"x": 458.2,
"y": 788,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "1 juin 2026",
"x": 515.25,
"y": 776,
"size": 9,
"font": "Helvetica"
},
{
"page": 3,
"text": "SYNTHÈSE",
"x": 36,
"y": 746.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Conclusion",
"x": 36,
"y": 719.89,
"size": 22,
"font": "Times-Roman"
},
{
"page": 3,
"text": "CONCLUSION",
"x": 36,
"y": 691.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Dysfonction cervico-thoracique avec compensation du bassin.",
"x": 36,
"y": 677.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "RECOMMANDATIONS",
"x": 36,
"y": 645.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "Repos 3 jours puis reprise progressive.",
"x": 36,
"y": 631.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 3,
"text": "PROCHAIN RENDEZ-VOUS",
"x": 36,
"y": 599.89,
"size": 9,
"font": "Helvetica-Bold"
},
{
"page": 3,
"text": "1 juillet 2026",
"x": 36,
"y": 585.89,
"size": 11,
"font": "Helvetica"
},
{
"page": 0,
"text": "Propulsé par ",
"x": 252.75,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "zenquality.fr",
"x": 300.32,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "En partenariat avec ",
"x": 417.45,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 0,
"text": "1 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "Propulsé par ",
"x": 252.75,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "zenquality.fr",
"x": 300.32,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "En partenariat avec ",
"x": 417.45,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 1,
"text": "2 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "Propulsé par ",
"x": 252.75,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "zenquality.fr",
"x": 300.32,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "En partenariat avec ",
"x": 417.45,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 2,
"text": "3 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "Propulsé par ",
"x": 252.75,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "zenquality.fr",
"x": 300.32,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "En partenariat avec ",
"x": 417.45,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "@paws.iin.harmony",
"x": 489.12,
"y": 40,
"size": 8,
"font": "Helvetica"
},
{
"page": 3,
"text": "4 / 4",
"x": 289.86,
"y": 22,
"size": 8,
"font": "Helvetica"
}
]
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+277
View File
@@ -0,0 +1,277 @@
[
{
"observationId": "obs-demo-1",
"viewId": "main",
"viewBox": "0 0 2073.4 1629.4",
"halo": true,
"highlighted": [
{
"tag": "circle",
"cx": "1118",
"cy": "528",
"r": "30",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "1118",
"cy": "528",
"r": "18",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "865",
"cy": "528",
"r": "30",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "865",
"cy": "528",
"r": "18",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 32
},
{
"observationId": "obs-demo-2",
"viewId": "main",
"viewBox": "0 0 2073.4 1629.4",
"halo": true,
"highlighted": [
{
"tag": "circle",
"cx": "1585",
"cy": "612",
"r": "34",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "1585",
"cy": "612",
"r": "22",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 32
},
{
"observationId": "obs-demo-3",
"viewId": "main",
"viewBox": "0 0 2073.4 1629.4",
"halo": true,
"highlighted": [
{
"tag": "polygon",
"cx": null,
"cy": null,
"r": null,
"points": "468,276 489,216 558,248 586,339 607,401 625,447 649,510 695.1,528.4 728.9,520.1 765.3,472.8 816.8,453 796.5,543.7 730,600 646,604 593,565 552,461 524,370",
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 32
},
{
"observationId": "obs-demo-4",
"viewId": "head",
"viewBox": "60 100 500 380",
"halo": false,
"highlighted": [
{
"tag": "circle",
"cx": "277",
"cy": "214",
"r": "27",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
},
{
"tag": "circle",
"cx": "277",
"cy": "214",
"r": "15",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
},
{
"tag": "circle",
"cx": "400",
"cy": "258",
"r": "27",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
},
{
"tag": "circle",
"cx": "400",
"cy": "258",
"r": "15",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 18
},
{
"observationId": "obs-demo-5",
"viewId": "main",
"viewBox": "0 0 2073.4 1629.4",
"halo": true,
"highlighted": [
{
"tag": "circle",
"cx": "1450",
"cy": "578",
"r": "34",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "1450",
"cy": "578",
"r": "22",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 32
},
{
"observationId": "obs-demo-5",
"viewId": "head",
"viewBox": "60 100 500 380",
"halo": false,
"highlighted": [
{
"tag": "circle",
"cx": "441",
"cy": "190",
"r": "27",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
},
{
"tag": "circle",
"cx": "441",
"cy": "190",
"r": "15",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 18
},
{
"observationId": "obs-demo-6",
"viewId": "main",
"viewBox": "0 0 2073.4 1629.4",
"halo": true,
"highlighted": [
{
"tag": "circle",
"cx": "1424",
"cy": "515",
"r": "30",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "1424",
"cy": "515",
"r": "18",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "polygon",
"cx": null,
"cy": null,
"r": null,
"points": "1401.3,457.1 1386,562 1232,562 1130,552 1131.4,503.2 1260,475 1361,454.4",
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 32
}
]
+112
View File
@@ -0,0 +1,112 @@
[
{
"observationId": "obs-1",
"viewId": "main",
"viewBox": "0 0 2073.4 1629.4",
"halo": true,
"highlighted": [
{
"tag": "circle",
"cx": "1585",
"cy": "612",
"r": "34",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "1585",
"cy": "612",
"r": "22",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "865",
"cy": "528",
"r": "30",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
},
{
"tag": "circle",
"cx": "865",
"cy": "528",
"r": "18",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 32
},
{
"observationId": "obs-2",
"viewId": "main",
"viewBox": "0 0 2073.4 1629.4",
"halo": true,
"highlighted": [
{
"tag": "polygon",
"cx": null,
"cy": null,
"r": null,
"points": "468,276 489,216 558,248 586,339 607,401 625,447 649,510 695.1,528.4 728.9,520.1 765.3,472.8 816.8,453 796.5,543.7 730,600 646,604 593,565 552,461 524,370",
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": "url(#osteo-halo)"
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 32
},
{
"observationId": "obs-3",
"viewId": "head",
"viewBox": "60 100 500 380",
"halo": false,
"highlighted": [
{
"tag": "circle",
"cx": "400",
"cy": "258",
"r": "27",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
},
{
"tag": "circle",
"cx": "400",
"cy": "258",
"r": "15",
"points": null,
"d": null,
"fill": "#b85a3f",
"fillOpacity": "0.85",
"filter": null
}
],
"nonHighlightedVisible": 0,
"dataAttributes": 2,
"titles": 18
}
]
@@ -0,0 +1 @@
[]
Binary file not shown.
+239
View File
@@ -0,0 +1,239 @@
{
"version": 3,
"id": "fixture-demo-v3",
"createdAt": "2026-10-11T09:30:00.000Z",
"date": "2026-10-11",
"practitioner": {
"name": "Dr. Claire Dupont",
"cabinet": "Cabinet Équi-Ostéo",
"contact": "claire@example.test",
"siret": "12345678901234"
},
"animal": {
"speciesId": "equine",
"name": "Mistral",
"breed": "Selle Français",
"age": "9 ans"
},
"owner": {
"name": "Jean Martin"
},
"sheet": {
"sheetId": "503dc301-a8b1-50d4-9e44-0919b2fc2916",
"versionId": null,
"documentSha256": "27c7383c445c73dc2001ebf4794a3ea63d416910bbbaa0d7848dd720de7c2660"
},
"observations": [
{
"id": "obs-demo-1",
"zones": [
{
"annotationId": "c7-t1",
"viewId": "main",
"labelFrSnapshot": "Charnière C7-T1 (cervico-thoracique)",
"labelEnSnapshot": "C7-T1 junction (cervicothoracic)"
},
{
"annotationId": "t18-l1",
"viewId": "main",
"labelFrSnapshot": "Charnière T18-L1 (thoraco-lombaire)",
"labelEnSnapshot": "T18-L1 junction (thoracolumbar)"
}
],
"findings": [
{
"findingZoneId": "c7-t1",
"path": ["c7-t1-dysfunctions", "segmental", "restriction-flexion"],
"labelFrSnapshot": "Restriction en flexion",
"labelEnSnapshot": "Flexion restriction"
},
{
"findingZoneId": "c7-t1",
"path": ["c7-t1-dysfunctions", "segmental", "restriction-extension"],
"labelFrSnapshot": "Restriction en extension",
"labelEnSnapshot": "Extension restriction"
}
],
"freeTextFindings": [],
"severity": "mild",
"comment": "Réagit à la palpation de la charnière."
},
{
"id": "obs-demo-2",
"zones": [
{
"annotationId": "hip",
"viewId": "main",
"side": "left",
"labelFrSnapshot": "Hanche (coxo-fémorale)",
"labelEnSnapshot": "Hip joint"
},
{
"annotationId": "hip",
"viewId": "main",
"side": "right",
"labelFrSnapshot": "Hanche (coxo-fémorale)",
"labelEnSnapshot": "Hip joint"
}
],
"findings": [
{
"findingZoneId": "hip",
"path": ["hip-dysfunctions", "articular", "restriction-flexion"],
"labelFrSnapshot": "Restriction en flexion",
"labelEnSnapshot": "Flexion restriction",
"side": "left"
},
{
"findingZoneId": "hip",
"path": [
"hip-dysfunctions",
"articular",
"restriction-abduction-adduction"
],
"labelFrSnapshot": "Restriction en abduction / adduction",
"labelEnSnapshot": "Abduction / adduction restriction",
"side": "right"
}
],
"freeTextFindings": [],
"severity": "moderate",
"comment": ""
},
{
"id": "obs-demo-3",
"zones": [
{
"annotationId": "cervical",
"viewId": "main",
"vertebrae": [
{
"region": "C",
"index": 3
},
{
"region": "C",
"index": 4
}
],
"labelFrSnapshot": "Vertèbres cervicales",
"labelEnSnapshot": "Cervical vertebrae"
}
],
"findings": [
{
"findingZoneId": "cervical",
"path": ["cervical-dysfunctions", "segmental", "localized-fixation"],
"labelFrSnapshot": "Fixation segmentaire localisée (C2–C7)",
"labelEnSnapshot": "Localized segmental fixation (C2–C7)"
}
],
"freeTextFindings": [],
"severity": "severe",
"comment": "Fixation nette en latéroflexion droite."
},
{
"id": "obs-demo-4",
"zones": [
{
"annotationId": "atm",
"viewId": "head",
"labelFrSnapshot": "Articulation temporo-mandibulaire (ATM)",
"labelEnSnapshot": "Temporomandibular joint (TMJ)"
},
{
"annotationId": "frontal",
"viewId": "head",
"labelFrSnapshot": "Frontal",
"labelEnSnapshot": "Frontal bone"
}
],
"findings": [
{
"findingZoneId": "frontal",
"path": ["frontal-consultation-reasons", "head-rubbing"],
"labelFrSnapshot": "Frottements répétés de la tête rapportés",
"labelEnSnapshot": "Reported repeated head rubbing",
"requiresVetReferral": true
},
{
"findingZoneId": "atm",
"path": ["atm-dysfunctions", "articular", "restriction-opening"],
"labelFrSnapshot": "Restriction à l'ouverture",
"labelEnSnapshot": "Opening restriction"
}
],
"freeTextFindings": [],
"comment": ""
},
{
"id": "obs-demo-5",
"zones": [
{
"annotationId": "sacroiliac",
"viewId": "main",
"side": "right",
"labelFrSnapshot": "Articulation sacro-iliaque",
"labelEnSnapshot": "Sacroiliac joint"
},
{
"annotationId": "occipital",
"viewId": "head",
"labelFrSnapshot": "Occipital",
"labelEnSnapshot": "Occipital bone"
}
],
"findings": [],
"freeTextFindings": [
"Sensibilité au garrot",
"Tension du ligament nuchal"
],
"severity": "mild",
"comment": "Compensation probable."
},
{
"id": "obs-demo-6",
"zones": [
{
"annotationId": "lumbar",
"viewId": "main",
"vertebrae": [
{
"region": "L",
"index": 2
},
{
"region": "L",
"index": 3
}
],
"labelFrSnapshot": "Vertèbres lombaires",
"labelEnSnapshot": "Lumbar vertebrae"
},
{
"annotationId": "l6-s1",
"viewId": "main",
"labelFrSnapshot": "Charnière L6-S1 (lombo-sacrée)",
"labelEnSnapshot": "L6-S1 junction (lumbosacral joint)"
}
],
"findings": [
{
"findingZoneId": "lumbar",
"path": ["lumbar-dysfunctions", "segmental", "restriction-extension"],
"labelFrSnapshot": "Restriction en extension",
"labelEnSnapshot": "Extension restriction"
}
],
"freeTextFindings": ["Raideur lombaire au pas"],
"comment": ""
}
],
"conclusion": "Dysfonction cervico-thoracique avec compensation du bassin et tension crânienne associée.",
"recommendations": "Repos 3 jours puis reprise progressive ; contrôle vétérinaire pour les frottements de tête.",
"nextAppointment": {
"kind": "period",
"text": "6 à 8 semaines"
},
"localAnnotations": []
}
+296
View File
@@ -0,0 +1,296 @@
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'
import { fileURLToPath } from 'node:url'
import { dirname, resolve } from 'node:path'
import { expect, vi } from 'vitest'
import {
PDFArray,
PDFDict,
PDFDocument,
PDFHexString,
PDFName,
PDFNumber,
PDFPage,
PDFString,
} from 'pdf-lib'
import type { Observation, Report } from '@faunosteo/domain'
import type { SheetIndex } from '@/services/sheetIndex'
import { highlightedViewSvg } from '@/pdf/render/observationPage'
/**
* Step 6 Phase 0 freeze: what the current PDF pipeline draws, recorded as
* JSON goldens (docs/development/STEP6_PDF_ARCHIVE_ANALYSIS.md §17). The
* recorder spies on pdf-lib, the link reader parses the saved bytes, the
* view snapshot parses the highlighted SVG. Numbers are rounded to 2
* decimals; nothing ordered by drawing order is sorted.
*/
const HERE = dirname(fileURLToPath(import.meta.url))
export const FIXTURES_DIR = resolve(HERE, '../fixtures')
export const GOLDEN_DIR = resolve(FIXTURES_DIR, 'goldens/step6')
const PUBLIC_DIR = resolve(HERE, '../../public')
/** `MAKE_GOLDEN=1` writes the goldens instead of asserting them. */
export const MAKE_GOLDEN = process.env.MAKE_GOLDEN === '1'
export type LogoMode = 'nologos' | 'logos'
export interface TextEntry {
page: number
text: string
x: number | null
y: number | null
size: number | null
font: string | null
}
export interface ImageEntry {
page: number
x: number | null
y: number | null
width: number | null
height: number | null
}
export interface LinkEntry {
page: number
rect: number[]
uri: string
}
export interface HighlightedElement {
tag: string
cx: string | null
cy: string | null
r: string | null
points: string | null
d: string | null
fill: string | null
fillOpacity: string | null
filter: string | null
}
export interface ViewSnapshot {
observationId: string
viewId: string
viewBox: string | null
halo: boolean
highlighted: HighlightedElement[]
nonHighlightedVisible: number
dataAttributes: number
titles: number
}
export function round2(value: unknown): number | null {
return typeof value === 'number' ? Math.round(value * 100) / 100 : null
}
/** Pages are appended in order and never moved: the index at draw time is final. */
function pageIndex(page: PDFPage): number {
return page.doc.getPages().indexOf(page)
}
export interface DrawRecording {
texts: TextEntry[]
images: ImageEntry[]
stop(): void
}
/** Records every drawText / drawImage while letting pdf-lib draw for real. */
export function recordDrawing(): DrawRecording {
const texts: TextEntry[] = []
const images: ImageEntry[] = []
const drawText = PDFPage.prototype.drawText
const drawImage = PDFPage.prototype.drawImage
const textSpy = vi
.spyOn(PDFPage.prototype, 'drawText')
.mockImplementation(function (this: PDFPage, text, options) {
texts.push({
page: pageIndex(this),
text,
x: round2(options?.x),
y: round2(options?.y),
size: round2(options?.size),
font: options?.font?.name ?? null,
})
return drawText.call(this, text, options)
})
const imageSpy = vi
.spyOn(PDFPage.prototype, 'drawImage')
.mockImplementation(function (this: PDFPage, image, options) {
images.push({
page: pageIndex(this),
x: round2(options?.x),
y: round2(options?.y),
width: round2(options?.width),
height: round2(options?.height),
})
return drawImage.call(this, image, options)
})
return {
texts,
images,
stop: () => {
textSpy.mockRestore()
imageSpy.mockRestore()
},
}
}
function linkOf(dict: PDFDict, page: number): LinkEntry | null {
if (dict.get(PDFName.of('Subtype')) !== PDFName.of('Link')) return null
const rect = dict
.lookup(PDFName.of('Rect'), PDFArray)
.asArray()
.map((n) => round2((n as PDFNumber).asNumber()) ?? 0)
const uri = dict.lookup(PDFName.of('A'), PDFDict).lookup(PDFName.of('URI'))
const text =
uri instanceof PDFString || uri instanceof PDFHexString
? uri.decodeText()
: String(uri)
return { page, rect, uri: text }
}
/** Every `/Annot /Link` of the saved PDF, page by page, in annotation order. */
export async function readLinks(bytes: Uint8Array): Promise<LinkEntry[]> {
const doc = await PDFDocument.load(bytes)
const out: LinkEntry[] = []
doc.getPages().forEach((page, index) => {
const annots = page.node.Annots()
if (!annots) return
for (let i = 0; i < annots.size(); i += 1) {
const link = linkOf(annots.lookup(i, PDFDict), index)
if (link) out.push(link)
}
})
return out
}
const LOGO_FILES: Readonly<Record<string, string>> = {
'/assets/faunosteo_logo_horizontal-512.png':
'assets/faunosteo_logo_horizontal-512.png',
'/assets/faunosteo-horizontal-com-512.png':
'assets/faunosteo-horizontal-com-512.png',
'/brand/zenquality-logo-fr.png': 'brand/zenquality-logo-fr.png',
'/Paws_in_harmony.svg': 'Paws_in_harmony.svg',
}
function serveLogo(input: RequestInfo | URL): Response {
const path = new URL(String(input), 'http://localhost').pathname
const relative = LOGO_FILES[path]
const file = relative ? resolve(PUBLIC_DIR, relative) : null
if (!file || !existsSync(file))
return new Response('not found', { status: 404 })
return new Response(new Uint8Array(readFileSync(file)), { status: 200 })
}
/** Stubs fetch for one logo mode; returns the restore function. */
export function installLogoFetch(mode: LogoMode): () => void {
const real = globalThis.fetch
globalThis.fetch = (async (input: RequestInfo | URL) =>
mode === 'logos'
? serveLogo(input)
: new Response('not found', { status: 404 })) as typeof fetch
return () => {
globalThis.fetch = real
}
}
const HIGHLIGHT_FILL = '#b85a3f'
function highlightedOf(el: Element): HighlightedElement {
const attr = (name: string) => el.getAttribute(name)
return {
tag: el.tagName,
cx: attr('cx'),
cy: attr('cy'),
r: attr('r'),
points: attr('points'),
d: attr('d'),
fill: attr('fill'),
fillOpacity: attr('fill-opacity'),
filter: attr('filter'),
}
}
/** Children of the annotation layer (last `<g>` of the root) still visible and not highlighted. */
function countVisibleNonHighlighted(root: Element): number {
const layer = Array.from(root.children)
.filter((c) => c.tagName === 'g')
.at(-1)
if (!layer) return 0
return Array.from(layer.children).filter(
(el) =>
el.getAttribute('fill') !== HIGHLIGHT_FILL &&
el.getAttribute('display') !== 'none',
).length
}
function countDataAttributes(root: Element): number {
return [root, ...Array.from(root.querySelectorAll('*'))].reduce(
(count, el) =>
count +
Array.from(el.attributes).filter((a) => a.name.startsWith('data-'))
.length,
0,
)
}
export function snapshotView(
sheet: SheetIndex,
observation: Observation,
viewId: string,
): ViewSnapshot {
const svg = highlightedViewSvg(sheet, viewId, observation)
const root = new DOMParser().parseFromString(
svg,
'image/svg+xml',
).documentElement
return {
observationId: observation.id,
viewId,
viewBox: root.getAttribute('viewBox'),
halo: root.querySelector('filter#osteo-halo') !== null,
highlighted: Array.from(
root.querySelectorAll(`[fill="${HIGHLIGHT_FILL}"]`),
).map(highlightedOf),
nonHighlightedVisible: countVisibleNonHighlighted(root),
dataAttributes: countDataAttributes(root),
titles: root.getElementsByTagName('title').length,
}
}
/** The views an observation draws, in the pipeline's order: main first, then first appearance. */
export function viewIdsOf(
sheet: SheetIndex,
observation: Observation,
): string[] {
return [...new Set(observation.zones.map((z) => z.viewId))]
.filter((id) => sheet.view(id))
.sort(
(a, b) =>
Number(b === sheet.mainView.id) - Number(a === sheet.mainView.id),
)
}
export function snapshotViews(
sheet: SheetIndex,
report: Report,
): ViewSnapshot[] {
return report.observations.flatMap((observation) =>
viewIdsOf(sheet, observation).map((viewId) =>
snapshotView(sheet, observation, viewId),
),
)
}
/** Writes the golden under MAKE_GOLDEN, asserts deep equality otherwise. */
export function checkGolden(name: string, actual: unknown): void {
const path = resolve(GOLDEN_DIR, name)
if (MAKE_GOLDEN) {
mkdirSync(GOLDEN_DIR, { recursive: true })
writeFileSync(path, `${JSON.stringify(actual, null, 2)}\n`)
return
}
const golden: unknown = JSON.parse(readFileSync(path, 'utf8'))
expect(actual, name).toEqual(golden)
}
+203
View File
@@ -0,0 +1,203 @@
/**
* Step 6 Phase 0 freeze (STEP6_PDF_ARCHIVE_ANALYSIS.md §17): the current PDF
* pipeline recorded as goldens, per report × locale × logo mode. Generated
* once with `MAKE_GOLDEN=1`; without the flag the same file asserts them.
* Never regenerate without a user decision: the Step 6 engine must
* reproduce these files.
*/
import { describe, it, expect, vi, beforeAll, afterAll } from 'vitest'
import { PDFDocument } from 'pdf-lib'
import { readFileSync, writeFileSync } from 'node:fs'
import { resolve } from 'node:path'
import {
readReportDocument,
ReportSchema,
type Report,
} from '@faunosteo/domain'
import { exportReportToPdf } from '@/pdf/export'
import { importReportFromPdf } from '@/pdf/import'
import type { SheetIndex } from '@/services/sheetIndex'
import type { Locale } from '@/i18n/types'
import { loadTestSheet } from '../helpers/sheet'
import {
leavesAsV2Report,
legacyLeaves,
loadLegacyBaseline,
} from '../helpers/legacyLeaves'
import {
checkGolden,
FIXTURES_DIR,
installLogoFetch,
MAKE_GOLDEN,
readLinks,
recordDrawing,
snapshotViews,
type ImageEntry,
type LinkEntry,
type LogoMode,
type TextEntry,
} from '../helpers/goldens'
/** 1×1 PNG (nologos: the legacy stub) and 2×1 PNG (logos: deterministic partner logo width). */
const ONE_PX_PNG = Uint8Array.from(
Buffer.from(
'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==',
'base64',
),
)
const TWO_BY_ONE_PNG = Uint8Array.from(
Buffer.from(
'iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7QOjdAAAAD0lEQVR4nGPYEWX///9/AA0PBE/1T7nxAAAAAElFTkSuQmCC',
'base64',
),
)
const raster = vi.hoisted(() => ({ png: new Uint8Array() }))
vi.mock('@/pdf/render/svgToPng', () => ({
rasterizeSvg: vi.fn(async () => raster.png),
}))
const REPORTS = ['v2full', 'demo', 'v2unresolved'] as const
type ReportName = (typeof REPORTS)[number]
const MODES: readonly LogoMode[] = ['nologos', 'logos']
const BARE_PDF = resolve(FIXTURES_DIR, 'report-v3.bare.pdf')
const readJson = (name: string): unknown =>
JSON.parse(readFileSync(resolve(FIXTURES_DIR, name), 'utf8'))
let sheet: SheetIndex
let reports: Record<ReportName, Report>
let unresolvedOfV2Unresolved = 0
/** sphenoid + ssb (the families the migration cannot place) plus one leaf that resolves. */
function buildV2Unresolved(): Report {
const leaves = legacyLeaves(loadLegacyBaseline())
const unresolvedFamilies = leaves.filter(
(l) => l.zoneId === 'sphenoid' || l.zoneId === 'ssb',
)
const resolved = leaves.find((l) => l.zoneId === 'frontal')!
const outcome = readReportDocument(
leavesAsV2Report([...unresolvedFamilies, resolved]),
sheet.sheet.migrationMap,
)
unresolvedOfV2Unresolved = outcome.unresolvedFindings
return outcome.report
}
beforeAll(async () => {
sheet = await loadTestSheet()
reports = {
v2full: readReportDocument(
readJson('report-v2.full.json'),
sheet.sheet.migrationMap,
).report,
demo: ReportSchema.parse(readJson('report-v3.demo.json')),
v2unresolved: buildV2Unresolved(),
}
vi.spyOn(console, 'warn').mockImplementation(() => undefined)
})
afterAll(() => vi.restoreAllMocks())
interface Exported {
bytes: Uint8Array
texts: TextEntry[]
images: ImageEntry[]
links: LinkEntry[]
}
async function exportWith(
report: Report,
mode: LogoMode,
locale: Locale,
): Promise<Exported> {
raster.png = mode === 'logos' ? TWO_BY_ONE_PNG : ONE_PX_PNG
const restoreFetch = installLogoFetch(mode)
const recording = recordDrawing()
try {
const bytes = await exportReportToPdf(report, sheet, { locale })
const { texts, images } = recording
return { bytes, texts, images, links: await readLinks(bytes) }
} finally {
recording.stop()
restoreFetch()
}
}
const pagesOf = (entries: readonly { page: number }[]) =>
entries.map((e) => e.page)
describe('golden inputs', () => {
it('the 2×1 PNG decodes as 2×1 and the 1×1 as 1×1', async () => {
const doc = await PDFDocument.create()
const two = await doc.embedPng(TWO_BY_ONE_PNG)
expect([two.width, two.height]).toEqual([2, 1])
const one = await doc.embedPng(ONE_PX_PNG)
expect([one.width, one.height]).toEqual([1, 1])
})
it('the demo report covers the sheet features the goldens must freeze', () => {
const { demo } = reports
expect(demo.observations).toHaveLength(6)
const zones = demo.observations.flatMap((o) => o.zones)
const findings = demo.observations.flatMap((o) => o.findings)
expect(zones.some((z) => z.viewId === 'head')).toBe(true)
expect(zones.some((z) => z.vertebrae?.length)).toBe(true)
expect(
zones.filter((z) => z.annotationId === 'hip').map((z) => z.side),
).toEqual(['left', 'right'])
expect(findings.some((f) => f.requiresVetReferral)).toBe(true)
expect(findings.some((f) => f.labelFrSnapshot.includes('–'))).toBe(true)
expect(demo.observations.some((o) => o.freeTextFindings.length)).toBe(true)
expect(demo.nextAppointment).toBeDefined()
})
it('the v2unresolved report really carries unresolved findings', () => {
expect(unresolvedOfV2Unresolved).toBeGreaterThan(0)
const findings = reports.v2unresolved.observations.flatMap(
(o) => o.findings,
)
expect(findings.filter((f) => f.unresolved)).toHaveLength(
unresolvedOfV2Unresolved,
)
expect(findings.some((f) => !f.unresolved)).toBe(true)
})
})
describe.each(REPORTS)('goldens of %s', (name) => {
describe.each(MODES)('%s', (mode) => {
// Images and links are recorded per locale too: the footer centres the
// "powered by" block on the label width, so the ZenQuality link (and its
// logo) shift between FR and EN. Only the pagination is locale-free.
it('text, images and links per locale; same pagination across locales', async () => {
const fr = await exportWith(reports[name], mode, 'fr')
const en = await exportWith(reports[name], mode, 'en')
for (const [locale, out] of [
['fr', fr],
['en', en],
] as const) {
checkGolden(`text.${name}.${locale}.${mode}.json`, out.texts)
checkGolden(`images.${name}.${locale}.${mode}.json`, out.images)
checkGolden(`links.${name}.${locale}.${mode}.json`, out.links)
}
expect(pagesOf(en.images)).toEqual(pagesOf(fr.images))
expect(pagesOf(en.links)).toEqual(pagesOf(fr.links))
}, 30_000)
})
it('highlighted views', () => {
checkGolden(`views.${name}.json`, snapshotViews(sheet, reports[name]))
})
})
describe('report-v3.bare.pdf', () => {
it('is the demo report exported without logos and imports back unchanged', async () => {
if (MAKE_GOLDEN) {
const { bytes } = await exportWith(reports.demo, 'nologos', 'fr')
writeFileSync(BARE_PDF, bytes)
}
const bytes = new Uint8Array(readFileSync(BARE_PDF))
const outcome = await importReportFromPdf(bytes, sheet.sheet.migrationMap)
expect(outcome.migrated).toBe(false)
expect(outcome.report).toEqual(reports.demo)
})
})
@@ -0,0 +1,119 @@
/**
* Step 6 Phase 0 characterisation of the export flow on the editor route,
* with `exportReportToPdf` mocked: the call shape (store report, loaded
* index, locale), the download name and the failure alert. Phase 4 adapts
* only the mocked module path and the call-shape assertion.
*/
import {
describe,
it,
expect,
vi,
beforeAll,
beforeEach,
afterEach,
} from 'vitest'
import { cleanup, render, screen, waitFor } from '@testing-library/react'
import userEvent from '@testing-library/user-event'
import { MemoryRouter } from 'react-router-dom'
import EditorRoute from '@/app/routes/EditorRoute'
import { exportReportToPdf } from '@/pdf/export'
import { useReportStore } from '@/state/reportStore'
import { useLocaleStore } from '@/state/localeStore'
import { fr } from '@/i18n/fr'
import { en } from '@/i18n/en'
import type { SheetIndex } from '@/services/sheetIndex'
import { loadTestSheet, minimalReport } from '../helpers/sheet'
vi.mock('@/pdf/export', () => ({ exportReportToPdf: vi.fn() }))
const exportMock = vi.mocked(exportReportToPdf)
let sheet: SheetIndex
const downloads: string[] = []
const realCreateObjectURL = URL.createObjectURL
const realRevokeObjectURL = URL.revokeObjectURL
beforeAll(async () => {
sheet = await loadTestSheet()
})
beforeEach(() => {
useLocaleStore.setState({ locale: 'fr' })
sessionStorage.clear()
sessionStorage.setItem('osteo:disclaimer-shown', '1')
window.scrollTo = vi.fn() as unknown as typeof window.scrollTo
useReportStore.setState({ report: null, activeObservationIndex: 0 })
useReportStore.getState().hydrateReport(minimalReport(sheet))
exportMock.mockReset()
downloads.length = 0
URL.createObjectURL = vi.fn(() => 'blob:faunosteo-test')
URL.revokeObjectURL = vi.fn()
vi.spyOn(HTMLAnchorElement.prototype, 'click').mockImplementation(function (
this: HTMLAnchorElement,
) {
downloads.push(this.download)
})
vi.stubGlobal('alert', vi.fn())
})
afterEach(() => {
cleanup()
vi.restoreAllMocks()
vi.unstubAllGlobals()
URL.createObjectURL = realCreateObjectURL
URL.revokeObjectURL = realRevokeObjectURL
})
async function mountAndExport(label: string): Promise<void> {
render(
<MemoryRouter initialEntries={['/editor']}>
<EditorRoute />
</MemoryRouter>,
)
const button = await screen.findByRole('button', { name: label })
await userEvent.setup().click(button)
}
describe('EditorRoute export', () => {
it('calls exportReportToPdf with the store report, the loaded index and the FR locale', async () => {
exportMock.mockResolvedValue(new Uint8Array([37, 80, 68, 70]))
await mountAndExport(fr['editor.export']!)
await waitFor(() => expect(exportMock).toHaveBeenCalledTimes(1))
const [report, index, options] = exportMock.mock.calls[0]!
expect(report).toBe(useReportStore.getState().report)
expect(index).toBe(sheet)
expect(options).toEqual({ locale: 'fr' })
})
it('passes the active locale (EN)', async () => {
useLocaleStore.setState({ locale: 'en' })
exportMock.mockResolvedValue(new Uint8Array([37, 80, 68, 70]))
await mountAndExport(en['editor.export']!)
await waitFor(() => expect(exportMock).toHaveBeenCalledTimes(1))
expect(exportMock.mock.calls[0]![2]).toEqual({ locale: 'en' })
})
it('downloads bilan-<animal>-<date>.pdf through a blob URL it then revokes', async () => {
exportMock.mockResolvedValue(new Uint8Array([37, 80, 68, 70]))
await mountAndExport(fr['editor.export']!)
await waitFor(() => expect(downloads).toHaveLength(1))
expect(downloads[0]).toBe('bilan-Mistral-2026-10-10.pdf')
expect(URL.createObjectURL).toHaveBeenCalledTimes(1)
const blob = vi.mocked(URL.createObjectURL).mock.calls[0]![0] as Blob
expect(blob.type).toBe('application/pdf')
expect(URL.revokeObjectURL).toHaveBeenCalledWith('blob:faunosteo-test')
expect(window.alert).not.toHaveBeenCalled()
})
it('alerts editor.export_failed when the export rejects', async () => {
vi.spyOn(console, 'error').mockImplementation(() => undefined)
exportMock.mockRejectedValue(new Error('render exploded'))
await mountAndExport(fr['editor.export']!)
await waitFor(() => expect(window.alert).toHaveBeenCalledTimes(1))
expect(window.alert).toHaveBeenCalledWith(fr['editor.export_failed'])
expect(downloads).toHaveLength(0)
await waitFor(() =>
expect(
screen.getByRole('button', { name: fr['editor.export'] }),
).toBeEnabled(),
)
})
})
@@ -0,0 +1,155 @@
/**
* Step 6 Phase 0 characterisation of the import flow on the home route, with
* `importReportFromPdf` mocked: the migration alert with its count, the three
* ImportError kinds plus the generic error mapped to the FR messages, and
* the navigation to /editor on success. Kept green unchanged by Step 6.
*/
import {
describe,
it,
expect,
vi,
beforeAll,
beforeEach,
afterEach,
} from 'vitest'
import {
cleanup,
fireEvent,
render,
screen,
waitFor,
} from '@testing-library/react'
import { MemoryRouter, Route, Routes } from 'react-router-dom'
import HomeRoute from '@/app/routes/HomeRoute'
import { ImportError, importReportFromPdf } from '@/pdf/import'
import { useReportStore } from '@/state/reportStore'
import { useLocaleStore } from '@/state/localeStore'
import { fr } from '@/i18n/fr'
import type { SheetIndex } from '@/services/sheetIndex'
import { loadTestSheet, minimalReport } from '../helpers/sheet'
vi.mock('@/pdf/import', async (importOriginal) => ({
...(await importOriginal<typeof import('@/pdf/import')>()),
importReportFromPdf: vi.fn(),
}))
const importMock = vi.mocked(importReportFromPdf)
let sheet: SheetIndex
beforeAll(async () => {
sheet = await loadTestSheet()
})
beforeEach(() => {
useLocaleStore.setState({ locale: 'fr' })
useReportStore.setState({ report: null, activeObservationIndex: 0 })
vi.stubGlobal('alert', vi.fn())
importMock.mockReset()
})
afterEach(() => {
cleanup()
vi.unstubAllGlobals()
})
/** The outcome shape importReportFromPdf resolves with. */
function outcome(patch: {
migrated: boolean
unresolvedZones?: number
unresolvedFindings?: number
}) {
return {
report: minimalReport(sheet),
unresolvedZones: 0,
unresolvedFindings: 0,
...patch,
}
}
async function mountAndPickPdf(): Promise<void> {
render(
<MemoryRouter initialEntries={['/']}>
<Routes>
<Route path="/" element={<HomeRoute />} />
<Route path="/editor" element={<p data-testid="editor-route" />} />
</Routes>
</MemoryRouter>,
)
const button = screen.getByRole('button', { name: fr['home.import.cta'] })
await waitFor(() => expect(button).toBeEnabled())
const input = document.querySelector('input[type="file"]')!
const file = new File([new Uint8Array([37, 80, 68, 70])], 'bilan.pdf', {
type: 'application/pdf',
})
fireEvent.change(input, { target: { files: [file] } })
}
const alertMock = () => vi.mocked(window.alert)
const errorText = () => screen.queryByText(/./, { selector: 'p.text-red-700' })
describe('HomeRoute import: success paths', () => {
it('passes the file bytes and the sheet migration map, hydrates, navigates to /editor', async () => {
importMock.mockResolvedValue(outcome({ migrated: false }))
await mountAndPickPdf()
await screen.findByTestId('editor-route')
expect(importMock).toHaveBeenCalledTimes(1)
const [bytes, map] = importMock.mock.calls[0]!
expect(bytes).toBeInstanceOf(Uint8Array)
expect(map).toBe(sheet.sheet.migrationMap)
expect(useReportStore.getState().report?.id).toBe('r1')
expect(alertMock()).not.toHaveBeenCalled()
})
it('alerts with the unresolved count (zones + findings) after a lossy migration', async () => {
importMock.mockResolvedValue(
outcome({ migrated: true, unresolvedZones: 1, unresolvedFindings: 1 }),
)
await mountAndPickPdf()
await screen.findByTestId('editor-route')
expect(alertMock()).toHaveBeenCalledTimes(1)
const message = alertMock().mock.calls[0]![0] as string
expect(message).toBe(fr['home.import.migrated']!.replace('{count}', '2'))
expect(message).toContain('2')
})
it('stays silent on a migration that lost nothing', async () => {
importMock.mockResolvedValue(outcome({ migrated: true }))
await mountAndPickPdf()
await screen.findByTestId('editor-route')
expect(alertMock()).not.toHaveBeenCalled()
})
})
describe('HomeRoute import: error paths', () => {
const cases: Array<[string, Error, string]> = [
[
'incompatible_version → message with the found version',
new ImportError('incompatible_version', 7),
fr['home.import.error_incompatible_version']!.replace('{version}', '7'),
],
[
'invalid_pdf → unreadable PDF message',
new ImportError('invalid_pdf'),
fr['home.import.error_invalid_pdf']!,
],
[
'no_attachment → not a Faunosteo PDF message',
new ImportError('no_attachment'),
fr['home.import.error_no_attachment']!,
],
[
'generic Error → generic message',
new Error('disk on fire'),
fr['home.import.error_generic']!,
],
]
it.each(cases)('%s', async (_label, error, expected) => {
importMock.mockRejectedValue(error)
await mountAndPickPdf()
await waitFor(() => expect(errorText()).not.toBeNull())
expect(errorText()!.textContent).toBe(expected)
expect(screen.queryByTestId('editor-route')).toBeNull()
expect(useReportStore.getState().report).toBeNull()
expect(alertMock()).not.toHaveBeenCalled()
})
})