diff --git a/apps/app/package.json b/apps/app/package.json index 4e352035..32ae0698 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -15,6 +15,8 @@ "scaffold:species": "node scripts/scaffold-species.mjs" }, "dependencies": { + "@faunosteo/anatomy": "workspace:*", + "@faunosteo/domain": "workspace:*", "@faunosteo/supabase": "workspace:*", "motion": "^11.11.17", "pdf-lib": "^1.17.1", diff --git a/packages/anatomy/package.json b/packages/anatomy/package.json index 97b3608e..8ab41a6b 100644 --- a/packages/anatomy/package.json +++ b/packages/anatomy/package.json @@ -2,13 +2,14 @@ "name": "@faunosteo/anatomy", "version": "0.1.0", "private": true, - "description": "Faunosteo anatomy tooling: deterministic legacy importer that turns the historical equine assets into the canonical anatomical sheet draft", + "description": "Faunosteo anatomy tooling: deterministic legacy importer, curation pipeline (changeset \u2192 draft, report migration map) and the pure annotation-layer renderer shared with the application", "license": "MIT", "type": "module", "main": "./src/index.ts", "types": "./src/index.ts", "exports": { - ".": "./src/index.ts" + ".": "./src/index.ts", + "./render": "./src/render/index.ts" }, "scripts": { "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/anatomy/src/curation/app-review.ts b/packages/anatomy/src/curation/app-review.ts new file mode 100644 index 00000000..7ff13708 --- /dev/null +++ b/packages/anatomy/src/curation/app-review.ts @@ -0,0 +1,36 @@ +import { DOMParser, XMLSerializer } from '@xmldom/xmldom' +import type { AnatomicalSheetDocumentInput } from '@faunosteo/domain' +import { createLayerElement } from '../render/dom' +import { renderAnnotationLayer, viewBoxOf } from '../render/layer' + +/** + * The drawing of one view exactly as the application renders it: the + * cleaned asset framed on the view's box plus the annotation layer the app + * generates from the document. Written under draft/review/app-.svg + * so the markers and the framing can be compared with the legacy files + * before and after a change, outside the browser. + */ + +export interface AppReviewInput { + cleanedSvg: string + document: AnatomicalSheetDocumentInput + viewId: string +} + +export function renderAppReviewDrawing(input: AppReviewInput): string { + const doc = new DOMParser().parseFromString(input.cleanedSvg, 'image/svg+xml') + const root = doc.documentElement + if (!root || root.tagName !== 'svg') throw new Error('not an SVG document') + const view = input.document.views.find((v) => v.id === input.viewId) + if (!view) throw new Error(`unknown view "${input.viewId}"`) + const box = viewBoxOf(view) + if (box) root.setAttribute('viewBox', box) + root.removeAttribute('width') + root.removeAttribute('height') + const layer = renderAnnotationLayer({ + document: input.document, + viewId: view.id, + }) + root.appendChild(createLayerElement(doc, layer) as never) + return new XMLSerializer().serializeToString(doc) +} diff --git a/packages/anatomy/src/curation/changelog.ts b/packages/anatomy/src/curation/changelog.ts index 3a1a5742..0381c6f7 100644 --- a/packages/anatomy/src/curation/changelog.ts +++ b/packages/anatomy/src/curation/changelog.ts @@ -3,6 +3,7 @@ import { KIND_LABELS, LEVEL_LABELS, LEVELS } from './labels' import { needsConfirmation, type ChangeLevel } from './schema' import { statRows, type DocumentStats } from './stats' import { isItem } from './targets' +import type { MigrationMapStats } from './migration-map' import type { ChangeRecord } from './types' /** @@ -94,14 +95,37 @@ function intro(): string { ].join('\n') } +/** Fate of the legacy finding nodes a Report v2 may cite (report-migration-map.json). */ +function migration(stats: MigrationMapStats): string { + const rows = [ + ['Nœuds du catalogue historique', String(stats.nodes)], + ['Chemin identique', String(stats.identical)], + [ + 'Chemin renommé ou déplacé (suivi des renommages)', + String(stats.remapped), + ], + [ + 'Relogé sous une autre catégorie (correspondance unique)', + String(stats.rehomed), + ], + [ + 'Retiré : le bilan garde le constat avec ses libellés figés', + String(stats.removed), + ], + ] + return `## Migration des bilans v2\n\n${table(['Nœuds', 'Nombre'], rows)}` +} + export function renderChangelog( result: { records: readonly ChangeRecord[] }, before: DocumentStats, after: DocumentStats, + migrationStats: MigrationMapStats, ): string { const sections = [ intro(), comparison(before, after), + migration(migrationStats), ...LEVELS.map((level) => levelSection(level, result.records)), ] return `${sections.join('\n\n')}\n` diff --git a/packages/anatomy/src/curation/fields.ts b/packages/anatomy/src/curation/fields.ts index ea96e5dc..d55569e1 100644 --- a/packages/anatomy/src/curation/fields.ts +++ b/packages/anatomy/src/curation/fields.ts @@ -23,6 +23,7 @@ const SETTABLE: Record = { 'finding_zone_id', 'vertebral_region_code', 'opens_view_id', + 'color', ], zone: ['name'], finding_category: [ diff --git a/packages/anatomy/src/curation/index.ts b/packages/anatomy/src/curation/index.ts index c7785472..71f8be4f 100644 --- a/packages/anatomy/src/curation/index.ts +++ b/packages/anatomy/src/curation/index.ts @@ -9,10 +9,18 @@ export { compactValue, renderChangelog } from './changelog' export { buildEquineDraft, DRAFT_SEED_SQL_FILE, + MIGRATION_MAP_FILE, + SHEET_REF_FILE, renderDraftArtifacts, type DraftInput, type DraftResult, } from './pipeline' +export { + buildReportMigrationMap, + type MigrationMapInput, + type MigrationMapStats, +} from './migration-map' +export { renderAppReviewDrawing, type AppReviewInput } from './app-review' export { REVIEW_OVERLAY_DIR, overlayMarkers, diff --git a/packages/anatomy/src/curation/migration-map.ts b/packages/anatomy/src/curation/migration-map.ts new file mode 100644 index 00000000..b6e20cf0 --- /dev/null +++ b/packages/anatomy/src/curation/migration-map.ts @@ -0,0 +1,178 @@ +import type { ReportMigrationMap, SheetRef } from '@faunosteo/domain' +import type { LegacyIdMap } from '../legacy/types' +import { allFindings, topCollection, type Item } from './targets' +import type { ChangeRecord } from './types' + +/** + * Report migration map: where every identifier a Report v2 may carry lands + * in the curated draft. Annotations come from the legacy id map (then + * follow annotation renames), finding paths from replaying the applier's + * rename, move and remove records over every node of the legacy baseline. + * A node removed with its category and re-added under another category at + * the same relative place (the sphenoid restructure) is re-homed when the + * match is unique; anything else stays null = "removed", and the report + * keeps the finding with its snapshots. + */ + +const FINDING = 'finding:' + +export interface MigrationMapInput { + baseline: Item + final: Item + legacyIdMap: LegacyIdMap + records: readonly ChangeRecord[] + sheet: SheetRef + mainViewId: string +} + +export interface MigrationMapStats { + nodes: number + identical: number + remapped: number + rehomed: number + removed: number +} + +interface PathEntry { + legacy: string + current: string | null + rehomed: boolean +} + +function strip(target: string): string { + return target.slice(FINDING.length) +} + +function lastSegment(path: string): string { + return path.slice(path.lastIndexOf('/') + 1) +} + +function withLastSegment(path: string, id: string): string { + const cut = path.lastIndexOf('/') + return cut < 0 ? id : `${path.slice(0, cut + 1)}${id}` +} + +function replacePrefix(entries: PathEntry[], from: string, to: string | null) { + for (const entry of entries) { + const current = entry.current + if (current === null) continue + if (current === from) entry.current = to + else if (current.startsWith(`${from}/`)) { + entry.current = to === null ? null : `${to}${current.slice(from.length)}` + } + } +} + +function applyRecord( + entries: PathEntry[], + ids: { annotations: Map; views: Map }, + record: ChangeRecord, +) { + const { op, target } = record + if (op.op !== 'rename' && op.op !== 'remove' && op.op !== 'move') return + if (target.startsWith(FINDING)) { + const from = strip(target) + if (op.op === 'rename') + replacePrefix(entries, from, withLastSegment(from, op.id)) + if (op.op === 'remove') replacePrefix(entries, from, null) + if (op.op === 'move') + replacePrefix(entries, from, `${strip(op.to)}/${lastSegment(from)}`) + return + } + const [kind, id] = target.split(':', 2) as [string, string] + if (kind === 'zone') { + for (const entry of entries) { + if (entry.current?.startsWith(`${id}/`)) { + entry.current = + op.op === 'remove' + ? null + : `${op.op === 'rename' ? op.id : id}${entry.current.slice(id.length)}` + } + } + return + } + if (op.op === 'rename' && (kind === 'annotation' || kind === 'view')) { + const map = kind === 'annotation' ? ids.annotations : ids.views + for (const [legacy, current] of map) + if (current === id) map.set(legacy, op.id) + } +} + +/** `zone//` present exactly once in the final document. */ +function rehome(entry: PathEntry, finalPaths: ReadonlySet): void { + const [zone, , ...rest] = entry.legacy.split('/') + if (rest.length === 0) return + const tail = `/${rest.join('/')}` + const matches = [...finalPaths].filter( + (p) => + p.startsWith(`${zone}/`) && + p.endsWith(tail) && + p.split('/').length === rest.length + 2, + ) + if (matches.length === 1) { + entry.current = matches[0]! + entry.rehomed = true + } +} + +function annotationNames(doc: Item): Map { + const names = new Map() + for (const a of topCollection(doc, 'annotation')) { + const name = a.name as { fr?: string; en?: string } | null + names.set(String(a.id), { fr: name?.fr ?? '', en: name?.en ?? '' }) + } + return names +} + +export function buildReportMigrationMap(input: MigrationMapInput): { + map: ReportMigrationMap + stats: MigrationMapStats +} { + const entries: PathEntry[] = allFindings(input.baseline).map((e) => ({ + legacy: strip(e.target), + current: strip(e.target), + rehomed: false, + })) + const ids = { + annotations: new Map(Object.entries(input.legacyIdMap.annotations)), + views: new Map(Object.entries(input.legacyIdMap.views)), + } + for (const record of input.records) applyRecord(entries, ids, record) + const finalPaths = new Set( + allFindings(input.final).map((e) => strip(e.target)), + ) + for (const entry of entries) { + if (entry.current !== null && !finalPaths.has(entry.current)) + entry.current = null + if (entry.current === null) rehome(entry, finalPaths) + } + const legacyNames = annotationNames(input.baseline) + const importIds = new Map(Object.entries(input.legacyIdMap.annotations)) + const annotations: ReportMigrationMap['annotations'] = {} + for (const [legacy, finalId] of ids.annotations) { + annotations[legacy] = { + id: finalId, + name: legacyNames.get(importIds.get(legacy)!) ?? { fr: '', en: '' }, + } + } + const finding_paths: Record = {} + for (const entry of entries) finding_paths[entry.legacy] = entry.current + const map: ReportMigrationMap = { + schema_version: 1, + sheet: input.sheet, + main_view_id: input.mainViewId, + views: Object.fromEntries(ids.views), + annotations, + finding_paths, + } + const stats: MigrationMapStats = { + nodes: entries.length, + identical: entries.filter((e) => e.current === e.legacy).length, + remapped: entries.filter( + (e) => e.current !== null && e.current !== e.legacy && !e.rehomed, + ).length, + rehomed: entries.filter((e) => e.rehomed).length, + removed: entries.filter((e) => e.current === null).length, + } + return { map, stats } +} diff --git a/packages/anatomy/src/curation/pipeline.ts b/packages/anatomy/src/curation/pipeline.ts index fab5116e..80792972 100644 --- a/packages/anatomy/src/curation/pipeline.ts +++ b/packages/anatomy/src/curation/pipeline.ts @@ -6,11 +6,19 @@ import type { } from '@faunosteo/domain' import { formatJson, formatMarkdown } from '../format' import { HEAD_VIEW_ID, MAIN_VIEW_ID } from '../legacy/importer' -import type { Anomaly, AssetRecord, ImportResult } from '../legacy/types' +import type { + Anomaly, + AssetRecord, + ImportResult, + LegacyIdMap, +} from '../legacy/types' import { applyChangeset, curatedIssues } from './apply' import { cleanedAsset, stripLegacyAnnotations } from './assets' import { renderChangelog } from './changelog' import { REVIEW_OVERLAY_DIR, renderReviewOverlay } from './overlay' +import { buildReportMigrationMap } from './migration-map' +import { renderAppReviewDrawing } from './app-review' +import { sha256Hex } from '../legacy/ids' import { renderReviewReport } from './review-report' import { ASSET_CHANGE_ID, @@ -44,6 +52,7 @@ export interface DraftResult { document: AnatomicalSheetDocumentInput /** Legacy import the changeset was applied to. */ baseline: AnatomicalSheetDocumentInput + legacyIdMap: LegacyIdMap records: ChangeRecord[] changes: ChangeSummary[] assets: AssetRecord[] @@ -116,6 +125,7 @@ export function buildEquineDraft(input: DraftInput): DraftResult { return { document: result.document, baseline, + legacyIdMap: input.importResult.legacyIdMap, records: result.records, changes: changes.map(changeSummary), assets: [asset], @@ -142,18 +152,66 @@ function reviewOverlays(draft: DraftResult): Record { return files } +export const SHEET_REF_FILE = 'sheet-ref.json' +export const MIGRATION_MAP_FILE = 'report-migration-map.json' + +/** What a report references: the sheet and the exact document bytes. */ +function sheetRef(draft: DraftResult, documentJson: string) { + return { + sheetId: draft.sheetId, + versionId: null, + documentSha256: sha256Hex(documentJson), + } +} + +/** The application's own rendering of each view, for the visual check. */ +function appReviewDrawings(draft: DraftResult): Record { + const files: Record = {} + for (const view of draft.document.views) { + files[`${REVIEW_OVERLAY_DIR}/app-${view.id}.svg`] = renderAppReviewDrawing({ + cleanedSvg: draft.cleanedSvg, + document: draft.document, + viewId: view.id, + }) + } + return files +} + /** Text artifacts of the draft folder, keyed by file name. */ export async function renderDraftArtifacts( draft: DraftResult, legacyAnomalies: readonly Anomaly[], ): Promise> { const documentJson = await formatJson(draft.document) - const changelog = renderChangelog(draft, draft.statsBefore, draft.statsAfter) + const ref = sheetRef(draft, documentJson) + const migration = buildReportMigrationMap({ + baseline: draft.baseline as Record, + final: draft.document as Record, + legacyIdMap: draft.legacyIdMap, + records: draft.records, + sheet: ref, + mainViewId: MAIN_VIEW_ID, + }) + const changelog = renderChangelog( + draft, + draft.statsBefore, + draft.statsAfter, + migration.stats, + ) const review = renderReviewReport({ ...draft, legacyAnomalies }) return { 'document.json': documentJson, 'assets.json': await formatJson(draft.assets), + [SHEET_REF_FILE]: await formatJson({ + sheet_id: ref.sheetId, + version_id: ref.versionId, + document_sha256: ref.documentSha256, + schema_version: draft.document.schema_version, + species_id: draft.document.species_id, + }), + [MIGRATION_MAP_FILE]: await formatJson(migration.map), ...reviewOverlays(draft), + ...appReviewDrawings(draft), 'CHANGELOG.md': await formatMarkdown(changelog), 'REVIEW-REPORT.md': await formatMarkdown(review), [DRAFT_SEED_SQL_FILE]: renderDraftSeedSql({ diff --git a/packages/anatomy/src/index.ts b/packages/anatomy/src/index.ts index 71ee5d44..a1c19c8f 100644 --- a/packages/anatomy/src/index.ts +++ b/packages/anatomy/src/index.ts @@ -1,2 +1,3 @@ export * from './legacy' export * from './curation' +export * from './render' diff --git a/packages/anatomy/src/render/dom.ts b/packages/anatomy/src/render/dom.ts new file mode 100644 index 00000000..bce792cc --- /dev/null +++ b/packages/anatomy/src/render/dom.ts @@ -0,0 +1,38 @@ +import type { LayerElement } from './layer' + +/** + * Materialises a layer tree with any DOM implementation (browser document, + * xmldom in the pipeline). Only the handful of methods used are required, + * so this module compiles without the DOM lib. + */ + +export const SVG_NS = 'http://www.w3.org/2000/svg' + +export interface MinimalNode { + appendChild(child: MinimalNode): unknown +} + +export interface MinimalElement extends MinimalNode { + setAttribute(name: string, value: string): void +} + +export interface MinimalDocument { + createElementNS(ns: string, tag: string): MinimalElement + createTextNode(text: string): MinimalNode +} + +export function createLayerElement( + doc: MinimalDocument, + node: LayerElement, +): MinimalElement { + const element = doc.createElementNS(SVG_NS, node.tag) + for (const [name, value] of Object.entries(node.attrs)) { + element.setAttribute(name, value) + } + if (node.text !== undefined) + element.appendChild(doc.createTextNode(node.text)) + for (const child of node.children) { + element.appendChild(createLayerElement(doc, child)) + } + return element +} diff --git a/packages/anatomy/src/render/index.ts b/packages/anatomy/src/render/index.ts new file mode 100644 index 00000000..96b61d67 --- /dev/null +++ b/packages/anatomy/src/render/index.ts @@ -0,0 +1,22 @@ +export { + DETAIL_VIEW_STYLE, + FALLBACK_COLOR, + LAYER_ATTRIBUTE, + LAYER_NAME, + MAIN_VIEW_STYLE, + renderAnnotationLayer, + styleForView, + viewBoxOf, + type AnnotationState, + type LayerElement, + type LayerInput, + type MarkerStyle, +} from './layer' +export { + createLayerElement, + SVG_NS, + type MinimalDocument, + type MinimalElement, + type MinimalNode, +} from './dom' +export { serializeLayer } from './serialize' diff --git a/packages/anatomy/src/render/layer.ts b/packages/anatomy/src/render/layer.ts new file mode 100644 index 00000000..a561d17d --- /dev/null +++ b/packages/anatomy/src/render/layer.ts @@ -0,0 +1,261 @@ +import type { + AnatomicalSheetDocumentInput, + Geometry, + SheetView, +} from '@faunosteo/domain' + +/** + * Annotation layer of one view, as pure data: the SVG elements the + * application draws over the sheet's drawing, reproducing the legacy + * markers (transparent hitbox + visible twin per point, filled polygon per + * spine zone, dashed outline per detail trigger). The elements carry the + * `data-anno-*` attributes the click delegation, the tooltip and the CSS + * states read, so the drawing itself needs no annotation element at all. + * No DOM here: `dom.ts` materialises the tree, `serialize.ts` prints it. + */ + +export interface LayerElement { + tag: 'g' | 'circle' | 'polygon' | 'path' | 'title' + attrs: Record + children: LayerElement[] + text?: string +} + +/** Visual constants of the legacy markers, per view kind. */ +export interface MarkerStyle { + /** Visible circle radius = hitbox radius − inset (34→22, 30→18, 27→15). */ + visibleInset: number + visibleFillOpacity: number + visibleStroke: string + visibleStrokeWidth: number + zoneFillOpacity: number + zoneStrokeWidth: number + triggerFillOpacity: number + triggerStrokeWidth: number + triggerDash: string +} + +const BASE_STYLE: Omit = { + visibleInset: 12, + visibleStroke: '#000', + visibleStrokeWidth: 1.5, + zoneFillOpacity: 0.3, + zoneStrokeWidth: 2, + triggerFillOpacity: 0.06, + triggerStrokeWidth: 2, + triggerDash: '8,4', +} + +export const MAIN_VIEW_STYLE: MarkerStyle = { + ...BASE_STYLE, + visibleFillOpacity: 0.65, +} +export const DETAIL_VIEW_STYLE: MarkerStyle = { + ...BASE_STYLE, + visibleFillOpacity: 0.5, +} + +/** When neither the annotation nor its category names a colour. */ +export const FALLBACK_COLOR = '#888888' + +export const LAYER_ATTRIBUTE = 'data-layer' +export const LAYER_NAME = 'annotations' + +export type AnnotationState = 'current' + +export interface LayerInput { + document: AnatomicalSheetDocumentInput + viewId: string + /** Annotation id → state, applied as `data-state`. */ + states?: ReadonlyMap +} + +type Annotation = AnatomicalSheetDocumentInput['annotations'][number] + +export function styleForView(view: Pick): MarkerStyle { + return view.kind === 'main' ? MAIN_VIEW_STYLE : DETAIL_VIEW_STYLE +} + +function el( + tag: LayerElement['tag'], + attrs: Record, + children: LayerElement[] = [], +): LayerElement { + return { tag, attrs, children } +} + +function title(text: string): LayerElement { + return { tag: 'title', attrs: {}, children: [], text } +} + +function geometryAttrs( + geometry: Geometry, +): [LayerElement['tag'], Record] { + switch (geometry.type) { + case 'circle': + return [ + 'circle', + { + cx: String(geometry.cx), + cy: String(geometry.cy), + r: String(geometry.r), + }, + ] + case 'polygon': + return [ + 'polygon', + { points: geometry.points.map(([x, y]) => `${x},${y}`).join(' ') }, + ] + case 'path': + return ['path', { d: geometry.d }] + } +} + +function colorOf( + a: Annotation, + categories: Map, +): string { + return a.color ?? categories.get(a.category_id) ?? FALLBACK_COLOR +} + +/** Attributes shared by every element of one annotation. */ +function dataAttrs( + a: Annotation, + input: LayerInput, + viewName: string, +): Record { + const attrs: Record = { + 'data-anno-id': a.id, + 'data-anno-kind': a.kind, + 'data-anno-lateral': a.laterality, + } + if (a.kind === 'detail_trigger') { + attrs['data-anno-opens-view'] = a.opens_view_id + attrs['data-anno-name-fr'] = a.name?.fr ?? viewName + attrs['data-anno-name-en'] = a.name?.en ?? viewName + } else { + attrs['data-anno-name-fr'] = a.name.fr + attrs['data-anno-name-en'] = a.name.en + if (a.finding_zone_id) attrs['data-anno-zone'] = a.finding_zone_id + if (a.vertebral_region_code) + attrs['data-anno-region'] = a.vertebral_region_code + } + const state = input.states?.get(a.id) + if (state) attrs['data-state'] = state + return attrs +} + +function pointElements( + geometry: Extract, + color: string, + style: MarkerStyle, + data: Record, + label: string, +): LayerElement[] { + const hitbox = el( + 'circle', + { + ...geometryAttrs(geometry)[1], + fill: 'transparent', + 'pointer-events': 'all', + style: 'cursor:pointer', + ...data, + }, + [title(label)], + ) + const visible = el( + 'circle', + { + cx: String(geometry.cx), + cy: String(geometry.cy), + r: String(Math.max(2, geometry.r - style.visibleInset)), + fill: color, + 'fill-opacity': String(style.visibleFillOpacity), + stroke: style.visibleStroke, + 'stroke-width': String(style.visibleStrokeWidth), + 'pointer-events': 'none', + ...data, + }, + [title(label)], + ) + return [hitbox, visible] +} + +function shapeElement( + geometry: Geometry, + color: string, + visual: Record, + data: Record, + label: string, +): LayerElement { + const [tag, attrs] = geometryAttrs(geometry) + return el(tag, { ...attrs, fill: color, stroke: color, ...visual, ...data }, [ + title(label), + ]) +} + +function annotationElements( + a: Annotation, + input: LayerInput, + style: MarkerStyle, + categories: Map, + viewName: string, +): LayerElement[] { + if (!a.geometry) return [] + const color = colorOf(a, categories) + const data = dataAttrs(a, input, viewName) + const label = `${data['data-anno-name-fr']} / ${data['data-anno-name-en']}` + if (a.kind === 'detail_trigger') { + const visual = { + 'fill-opacity': String(style.triggerFillOpacity), + 'stroke-width': String(style.triggerStrokeWidth), + 'stroke-dasharray': style.triggerDash, + 'pointer-events': 'all', + style: 'cursor:pointer', + class: 'detail-zone', + } + return [shapeElement(a.geometry, color, visual, data, label)] + } + if (a.geometry.type === 'circle') { + return pointElements(a.geometry, color, style, data, label) + } + const visual = { + 'fill-opacity': String(style.zoneFillOpacity), + 'stroke-width': String(style.zoneStrokeWidth), + 'pointer-events': 'all', + style: 'cursor:pointer', + } + return [shapeElement(a.geometry, color, visual, data, label)] +} + +/** The layer `` of one view: every annotation of that view, in document order. */ +export function renderAnnotationLayer(input: LayerInput): LayerElement { + const { document, viewId } = input + const view = document.views.find((v) => v.id === viewId) + if (!view) throw new Error(`unknown view "${viewId}"`) + const style = styleForView(view) + const categories = new Map( + document.categories.map((c) => [c.id, c.color ?? null]), + ) + const viewNames = new Map(document.views.map((v) => [v.id, v.name.fr])) + const children = document.annotations + .filter((a) => a.view_id === viewId) + .flatMap((a) => { + const opened = + a.kind === 'detail_trigger' + ? (viewNames.get(a.opens_view_id) ?? '') + : '' + return annotationElements(a, input, style, categories, opened) + }) + return el( + 'g', + { [LAYER_ATTRIBUTE]: LAYER_NAME, 'data-view-id': viewId }, + children, + ) +} + +/** `viewBox` attribute value the view renders with, or null for the asset's own. */ +export function viewBoxOf(view: SheetView): string | null { + const box = view.view_box + return box ? `${box.min_x} ${box.min_y} ${box.width} ${box.height}` : null +} diff --git a/packages/anatomy/src/render/serialize.ts b/packages/anatomy/src/render/serialize.ts new file mode 100644 index 00000000..a17600e4 --- /dev/null +++ b/packages/anatomy/src/render/serialize.ts @@ -0,0 +1,25 @@ +import type { LayerElement } from './layer' + +/** Serialises a layer tree to SVG text (review drawings, tests). */ + +function escape(value: string): string { + return value + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"') +} + +export function serializeLayer(node: LayerElement, indent = ''): string { + const attrs = Object.entries(node.attrs) + .map(([k, v]) => ` ${k}="${escape(v)}"`) + .join('') + if (node.text !== undefined) { + return `${indent}<${node.tag}${attrs}>${escape(node.text)}` + } + if (node.children.length === 0) return `${indent}<${node.tag}${attrs}/>` + const inner = node.children + .map((child) => serializeLayer(child, `${indent} `)) + .join('\n') + return `${indent}<${node.tag}${attrs}>\n${inner}\n${indent}` +} diff --git a/packages/anatomy/tests/curation.migration-map.test.ts b/packages/anatomy/tests/curation.migration-map.test.ts new file mode 100644 index 00000000..49d3dd45 --- /dev/null +++ b/packages/anatomy/tests/curation.migration-map.test.ts @@ -0,0 +1,183 @@ +import { ReportMigrationMapSchema } from '@faunosteo/domain' +import { beforeAll, describe, expect, it } from 'vitest' +import { + applyChangeset, + buildReportMigrationMap, + type DraftResult, + type ImportResult, +} from '../src' +import { changesetOf, MINI_REFERENCES, miniSheet } from './fixtures/mini-sheet' +import { runDraft } from './helpers' + +const SHEET = { + sheetId: 'sheet', + versionId: null, + documentSha256: 'f'.repeat(64), +} + +describe('report migration map on the real draft', () => { + let result: ImportResult + let draft: DraftResult + let map: ReturnType['map'] + let stats: ReturnType['stats'] + + beforeAll(async () => { + ;({ result, draft } = await runDraft()) + ;({ map, stats } = buildReportMigrationMap({ + baseline: draft.baseline as Record, + final: draft.document as Record, + legacyIdMap: draft.legacyIdMap, + records: draft.records, + sheet: SHEET, + mainViewId: 'main', + })) + }) + + it('is a valid map covering every legacy node, with the expected fates', () => { + expect(ReportMigrationMapSchema.parse(map)).toBeTruthy() + expect(stats).toEqual({ + nodes: 792, + identical: 571, + remapped: 180, + rehomed: 7, + removed: 34, + }) + expect(Object.keys(map.finding_paths)).toHaveLength(792) + }) + + it('maps every legacy annotation with its legacy labels and the views', () => { + expect(Object.keys(map.annotations)).toHaveLength(27) + expect(map.annotations['point-mpbwtst0']).toEqual({ + id: 'hip', + name: { fr: 'Hanche (coxo-fémorale)', en: 'Hip joint' }, + }) + expect(map.annotations['zone-mpby55kd']).toEqual({ + id: 'head-trigger', + name: { fr: '', en: '' }, + }) + expect(map.views).toEqual({ head: 'head' }) + expect(map.main_view_id).toBe('main') + expect(result.legacyIdMap.annotations['point-mpbwtst0']).toBe('hip') + }) + + it('every target path exists in the draft; identical, renamed, re-homed and removed cases', () => { + const final = new Set() + for (const zone of draft.document.finding_zones) { + const walk = ( + nodes: readonly { id: string; children?: readonly unknown[] }[], + prefix: string, + ) => { + for (const n of nodes) { + final.add(`${prefix}/${n.id}`) + walk((n.children ?? []) as never, `${prefix}/${n.id}`) + } + } + walk(zone.categories as never, zone.id) + } + for (const target of Object.values(map.finding_paths)) { + if (target !== null) expect(final.has(target), target).toBe(true) + } + expect( + map.finding_paths['hip/hip-dysfunctions/articular/restriction-flexion'], + ).toBe('hip/hip-dysfunctions/articular/restriction-flexion') + expect( + map.finding_paths[ + 'cervical/cervical-observations/stumbling-proprioceptive' + ], + ).toBe('cervical/cervical-consultation-reasons/stumbling-proprioceptive') + expect( + map.finding_paths[ + 'sacroiliac/sacroiliac-dysfunctions/muscular/sacrotuberous-tension' + ], + ).toBe('sacroiliac/sacroiliac-dysfunctions/muscular/sacrotuberous-ligament') + expect( + map.finding_paths['sphenoid/ssb-dysfunctions/sutures/sphenopetrosal'], + ).toBe('sphenoid/sphenoid-dysfunctions/sutures/sphenopetrosal') + expect( + map.finding_paths['ssb/ssb-dysfunctions/sutures/sphenozygomatic'], + ).toBeNull() + expect( + map.finding_paths['frontal/frontal-dysfunctions/sutures/frontozygomatic'], + ).toBeNull() + }) +}) + +describe('report migration map replay on a synthetic changeset', () => { + function mapOf(ops: Parameters[0]) { + const baseline = miniSheet() + const result = applyChangeset(baseline, MINI_REFERENCES, changesetOf(ops)) + return buildReportMigrationMap({ + baseline: miniSheet() as never, + final: result.document as never, + legacyIdMap: { + views: { head: 'head' }, + annotations: { 'legacy-hip': 'hip' }, + categories: {}, + finding_nodes: {}, + assets: {}, + }, + records: result.records, + sheet: SHEET, + mainViewId: 'main', + }) + } + + it('follows a rename, a move and a removal, and a renamed annotation', () => { + const { map, stats } = mapOf([ + { + op: 'rename', + target: 'finding:hip/hip-dysfunctions/mobility', + id: 'motion', + }, + { + op: 'move', + target: 'finding:hip/hip-dysfunctions/motion/flexion', + to: 'finding:hip/anamnesis', + }, + { op: 'remove', target: 'finding:neck/neck-dysfunctions/vet' }, + { op: 'rename', target: 'annotation:hip', id: 'coxofemoral' }, + ]) + expect(map.finding_paths['hip/hip-dysfunctions/mobility/extension']).toBe( + 'hip/hip-dysfunctions/motion/extension', + ) + expect(map.finding_paths['hip/hip-dysfunctions/mobility/flexion']).toBe( + 'hip/anamnesis/flexion', + ) + expect(map.finding_paths['neck/neck-dysfunctions/vet']).toBeNull() + expect(map.finding_paths['neck/neck-dysfunctions/stiffness']).toBe( + 'neck/neck-dysfunctions/stiffness', + ) + expect(map.annotations['legacy-hip']!.id).toBe('coxofemoral') + expect(stats.removed).toBe(1) + }) + + it('re-homes a node whose category was replaced by another one holding the same path', () => { + const { map, stats } = mapOf([ + { + op: 'add', + target: 'zone:hip', + value: { + id: 'hip-new', + kind: 'dysfunction', + name: { fr: 'N', en: 'N' }, + children: [ + { + id: 'mobility', + name: { fr: 'M', en: 'M' }, + children: [{ id: 'flexion', name: { fr: 'F', en: 'F' } }], + }, + ], + }, + }, + { op: 'remove', target: 'finding:hip/hip-dysfunctions' }, + ]) + expect(map.finding_paths['hip/hip-dysfunctions/mobility/flexion']).toBe( + 'hip/hip-new/mobility/flexion', + ) + expect( + map.finding_paths['hip/hip-dysfunctions/mobility/extension'], + ).toBeNull() + expect(map.finding_paths['hip/hip-dysfunctions']).toBeNull() + expect(stats.rehomed).toBe(2) + }) +}) diff --git a/packages/anatomy/tests/render.layer.test.ts b/packages/anatomy/tests/render.layer.test.ts new file mode 100644 index 00000000..b3b91d73 --- /dev/null +++ b/packages/anatomy/tests/render.layer.test.ts @@ -0,0 +1,158 @@ +import { DOMParser } from '@xmldom/xmldom' +import { beforeAll, describe, expect, it } from 'vitest' +import { + createLayerElement, + renderAnnotationLayer, + serializeLayer, + styleForView, + type DraftResult, + type LayerElement, +} from '../src' +import { miniSheet } from './fixtures/mini-sheet' +import { runDraft } from './helpers' + +function flatten(node: LayerElement): LayerElement[] { + return [node, ...node.children.flatMap(flatten)] +} + +function byId(layer: LayerElement, id: string): LayerElement[] { + return flatten(layer).filter((n) => n.attrs['data-anno-id'] === id) +} + +describe('annotation layer on the real draft', () => { + let draft: DraftResult + beforeAll(async () => { + ;({ draft } = await runDraft()) + }) + + it('draws every annotation of the main view as the legacy pair, zone or trigger', () => { + const layer = renderAnnotationLayer({ + document: draft.document, + viewId: 'main', + }) + expect(layer.attrs).toEqual({ + 'data-layer': 'annotations', + 'data-view-id': 'main', + }) + const main = draft.document.annotations.filter((a) => a.view_id === 'main') + for (const a of main) { + const els = byId(layer, a.id) + if (a.kind === 'point') + expect(els.map((e) => e.tag)).toEqual(['circle', 'circle']) + else expect(els).toHaveLength(1) + } + const [hitbox, visible] = byId(layer, 'hip') + expect(hitbox!.attrs).toMatchObject({ + r: '34', + fill: 'transparent', + 'pointer-events': 'all', + 'data-anno-lateral': 'bilateral', + 'data-anno-zone': 'hip', + }) + expect(visible!.attrs).toMatchObject({ + r: '22', + fill: '#ff9500', + 'fill-opacity': '0.65', + stroke: '#000', + 'stroke-width': '1.5', + 'pointer-events': 'none', + }) + expect(hitbox!.children[0]).toMatchObject({ + tag: 'title', + text: 'Hanche (coxo-fémorale) / Hip joint', + }) + const [spine] = byId(layer, 'cervical') + expect(spine!.tag).toBe('polygon') + expect(spine!.attrs).toMatchObject({ + fill: '#e100ff', + 'fill-opacity': '0.3', + 'stroke-width': '2', + 'data-anno-region': 'C', + }) + const [trigger] = byId(layer, 'head-trigger') + expect(trigger!.attrs).toMatchObject({ + 'data-anno-kind': 'detail_trigger', + 'data-anno-opens-view': 'head', + 'stroke-dasharray': '8,4', + 'fill-opacity': '0.06', + class: 'detail-zone', + }) + expect(trigger!.attrs['data-anno-name-fr']).toBe( + 'Tête (vue latérale gauche)', + ) + }) + + it('uses the detail style, the annotation colour override and the view box on the head view', () => { + const layer = renderAnnotationLayer({ + document: draft.document, + viewId: 'head', + }) + const [c0c1Hit, c0c1Vis] = byId(layer, 'c0-c1') + expect(c0c1Hit!.attrs.r).toBe('27') + expect(c0c1Vis!.attrs).toMatchObject({ + r: '15', + fill: '#ff0000', + 'fill-opacity': '0.5', + }) + expect(byId(layer, 'atm')[1]!.attrs.fill).toBe('#ff8800') + expect(byId(layer, 'hyoid')[1]!.attrs.fill).toBe('#d507c4') + expect(byId(layer, 'parietal')[1]!.attrs.fill).toBe('#1baa08') + expect(styleForView(draft.document.views[1]!).visibleFillOpacity).toBe(0.5) + expect(flatten(layer).some((n) => n.attrs['data-anno-id'] === 'hip')).toBe( + false, + ) + }) + + it('applies states as data-state on both elements of a point', () => { + const states = new Map([['hip', 'current' as const]]) + const layer = renderAnnotationLayer({ + document: draft.document, + viewId: 'main', + states, + }) + expect( + byId(layer, 'hip').every((e) => e.attrs['data-state'] === 'current'), + ).toBe(true) + expect( + byId(layer, 'stifle').every((e) => e.attrs['data-state'] === undefined), + ).toBe(true) + }) + + it('materialises through a DOM and serialises to the same markup', () => { + const layer = renderAnnotationLayer({ + document: draft.document, + viewId: 'head', + }) + const doc = new DOMParser().parseFromString( + '', + 'image/svg+xml', + ) + const element = createLayerElement( + doc as never, + layer, + ) as unknown as Element + expect(element.getAttribute('data-layer')).toBe('annotations') + expect(element.getElementsByTagName('circle')).toHaveLength(18) + const text = serializeLayer(layer) + expect(text).toContain('') + expect(text).toContain('Appareil hyoïdien / Hyoid apparatus') + expect(text).not.toContain(' { + it('skips annotations without geometry and falls back to grey without any colour', () => { + const sheet = miniSheet() + const layer = renderAnnotationLayer({ document: sheet, viewId: 'main' }) + const ids = new Set( + flatten(layer) + .map((n) => n.attrs['data-anno-id']) + .filter(Boolean), + ) + expect(ids.has('hip')).toBe(true) + expect(byId(layer, 'hip')[1]!.attrs.fill).toBe('#888888') + expect(() => + renderAnnotationLayer({ document: sheet, viewId: 'nope' }), + ).toThrow('unknown view') + }) +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e3886774..61fdf406 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,12 @@ importers: apps/app: dependencies: + '@faunosteo/anatomy': + specifier: workspace:* + version: link:../../packages/anatomy + '@faunosteo/domain': + specifier: workspace:* + version: link:../../packages/domain '@faunosteo/supabase': specifier: workspace:* version: link:../../packages/supabase diff --git a/supabase/seed/anatomical-sheets/equine/curation/changes.json b/supabase/seed/anatomical-sheets/equine/curation/changes.json index 9318802f..5e3ebb22 100644 --- a/supabase/seed/anatomical-sheets/equine/curation/changes.json +++ b/supabase/seed/anatomical-sheets/equine/curation/changes.json @@ -5597,6 +5597,69 @@ "value": "to_confirm" } ] + }, + { + "id": "CHG-045", + "level": "A", + "kind": "technical", + "title": { + "fr": "Couleurs des marqueurs portées par le document", + "en": "Marker colours carried by the document" + }, + "rationale": "Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence.", + "reference_ids": [ + "legacy-catalog" + ], + "ops": [ + { + "op": "set", + "target": "category:articulations", + "field": "color", + "value": "#ff9500" + }, + { + "op": "set", + "target": "category:os", + "field": "color", + "value": "#a41e65" + }, + { + "op": "set", + "target": "category:charnieres-vertebrales", + "field": "color", + "value": "#ff0000" + }, + { + "op": "set", + "target": "category:zone-colonne", + "field": "color", + "value": "#e100ff" + }, + { + "op": "set", + "target": "category:cadrans-du-crane", + "field": "color", + "value": "#1baa08" + }, + { + "op": "set", + "target": "annotation:atm", + "field": "color", + "value": "#ff8800" + }, + { + "op": "set", + "target": "annotation:ssb", + "field": "color", + "value": "#ff8800" + }, + { + "op": "set", + "target": "annotation:hyoid", + "field": "color", + "value": "#d507c4" + } + ] } ] } \ No newline at end of file diff --git a/supabase/seed/anatomical-sheets/equine/draft/CHANGELOG.md b/supabase/seed/anatomical-sheets/equine/draft/CHANGELOG.md index 3572963b..2f60acc1 100644 --- a/supabase/seed/anatomical-sheets/equine/draft/CHANGELOG.md +++ b/supabase/seed/anatomical-sheets/equine/draft/CHANGELOG.md @@ -32,6 +32,16 @@ Niveaux : A = erreur démontrée, B = amélioration étayée, C = point incertai | Nœuds cités | 0 | 83 | | Régions vertébrales avec plage documentée | 0 | 3 | +## Migration des bilans v2 + +| Nœuds | Nombre | +| ---------------------------------------------------------- | ------ | +| Nœuds du catalogue historique | 792 | +| Chemin identique | 571 | +| Chemin renommé ou déplacé (suivi des renommages) | 180 | +| Relogé sous une autre catégorie (correspondance unique) | 7 | +| Retiré : le bilan garde le constat avec ses libellés figés | 34 | + ## Niveau A : erreurs démontrées | Changement | Objet | Avant | Après | Nature | Justification | Références | Confirmation requise | @@ -354,6 +364,14 @@ Niveaux : A = erreur démontrée, B = amélioration étayée, C = point incertai | `CHG-028` Noms de muscles alignés sur la NAV | `finding:elbow/elbow-dysfunctions/muscular/biceps-brachialis-tension.name.en` | Biceps / brachialis tension | Biceps brachii / brachialis tension | Terminologie | « Sus-épineux / sous-épineux » est l'ancienne nomenclature (OQLF) : M. supraspinatus / infraspinatus. Les multifides sont pluriels (Mm. multifidi). La NAV écrit M. fibularis [peron(a)eus] tertius, « fibularis » en premier ; « péronier tiers » est un calque. L'anglais « cranial tibial » devient « tibialis cranialis » comme les autres libellés latins. Au coude, « biceps / brachial » désigne deux muscles (biceps brachii, brachialis) : le libellé le dit. Les ischio-jambiers du cheval sont le biceps fémoral, le semi-tendineux et le semi-membraneux. | `nav-2017`, `oqlf-supraepineux`, `imaios-fibularis` | non | | `CHG-028` Noms de muscles alignés sur la NAV | `finding:stifle/stifle-dysfunctions/muscular/hamstrings-tension.name.fr` | Tension des ischio-jambiers | Tension des ischio-jambiers (biceps fémoral, semi-tendineux, semi-membraneux) | Terminologie | « Sus-épineux / sous-épineux » est l'ancienne nomenclature (OQLF) : M. supraspinatus / infraspinatus. Les multifides sont pluriels (Mm. multifidi). La NAV écrit M. fibularis [peron(a)eus] tertius, « fibularis » en premier ; « péronier tiers » est un calque. L'anglais « cranial tibial » devient « tibialis cranialis » comme les autres libellés latins. Au coude, « biceps / brachial » désigne deux muscles (biceps brachii, brachialis) : le libellé le dit. Les ischio-jambiers du cheval sont le biceps fémoral, le semi-tendineux et le semi-membraneux. | `nav-2017`, `oqlf-supraepineux`, `imaios-fibularis` | non | | `CHG-028` Noms de muscles alignés sur la NAV | `finding:stifle/stifle-dysfunctions/muscular/hamstrings-tension.name.en` | Hamstring tension | Hamstrings tension (biceps femoris, semitendinosus, semimembranosus) | Terminologie | « Sus-épineux / sous-épineux » est l'ancienne nomenclature (OQLF) : M. supraspinatus / infraspinatus. Les multifides sont pluriels (Mm. multifidi). La NAV écrit M. fibularis [peron(a)eus] tertius, « fibularis » en premier ; « péronier tiers » est un calque. L'anglais « cranial tibial » devient « tibialis cranialis » comme les autres libellés latins. Au coude, « biceps / brachial » désigne deux muscles (biceps brachii, brachialis) : le libellé le dit. Les ischio-jambiers du cheval sont le biceps fémoral, le semi-tendineux et le semi-membraneux. | `nav-2017`, `oqlf-supraepineux`, `imaios-fibularis` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `category:articulations.color` | null | #ff9500 | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `category:os.color` | null | #a41e65 | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `category:charnieres-vertebrales.color` | null | #ff0000 | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `category:zone-colonne.color` | null | #e100ff | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `category:cadrans-du-crane.color` | null | #1baa08 | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `annotation:atm.color` | null | #ff8800 | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `annotation:ssb.color` | null | #ff8800 | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | +| `CHG-045` Couleurs des marqueurs portées par le document | `annotation:hyoid.color` | null | #d507c4 | Technique | Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. | `legacy-catalog` | non | ## Niveau B : améliorations étayées (confirmation requise) diff --git a/supabase/seed/anatomical-sheets/equine/draft/REVIEW-REPORT.md b/supabase/seed/anatomical-sheets/equine/draft/REVIEW-REPORT.md index 44ed227d..eeaa4814 100644 --- a/supabase/seed/anatomical-sheets/equine/draft/REVIEW-REPORT.md +++ b/supabase/seed/anatomical-sheets/equine/draft/REVIEW-REPORT.md @@ -57,6 +57,7 @@ L'import historique signale 27 anomalies, dont 21 à valider (détail dans `lega - `CHG-021` Termes NAV sur la colonne : vertèbres caudales, jonction thoraco-lombaire (niveau A, Terminologie, confirmation requise : non). La NAV 2017 nomme « Vertebrae caudales [coccygeae] » : le terme premier est « caudales », l'anglais « Coccygeal » devient « Caudal vertebrae » (le français l'était déjà). « Dorso-lombaire » vient de l'ancienne appellation « vertèbres dorsales » ; le terme courant est « thoraco-lombaire ». Les libellés anglais des charnières reçoivent le mot « junction » (usage vétérinaire anglophone courant) ; « hinge » est un calque. Seules C0-C1 (Articulatio atlantooccipitalis) et L6-S1 (Articulatio lumbosacralis) sont des articulations nommées par la NAV, C7-T1 et T18-L1 sont des descripteurs régionaux. Casse de phrase uniforme sur les libellés anglais des segments. Objets : `zone:caudal.name.en`, `annotation:caudal.name.en`, `zone:t18-l1.name.fr`, `annotation:t18-l1.name.fr`, `zone:t18-l1.name.en`, `annotation:t18-l1.name.en`, `zone:c7-t1.name.en`, `annotation:c7-t1.name.en`, `zone:l6-s1.name.en`, `annotation:l6-s1.name.en`, `category:charnieres-vertebrales.name.en`, `zone:cervical.name.en`, `annotation:cervical.name.en`, `zone:thoracic.name.en`, `annotation:thoracic.name.en`, `zone:lumbar.name.en`, `annotation:lumbar.name.en`, `zone:sacral.name.en`, `annotation:sacral.name.en`. Références : `nav-2017`, `imaios-caudal`, `sisson-1910`. - `CHG-027` Libellés du document et des vues (niveau A, Correction, confirmation requise : non). La vue principale est un profil gauche du cheval (tête à gauche, flanc gauche visible) ; « Vue générale » ne le disait pas. La vue tête est le recadrage de ce même dessin. La description du document nomme l'espèce. Objets : `document.description.fr`, `document.description.en`, `view:main.name.fr`, `view:main.name.en`, `view:head.name.fr`, `view:head.name.en`, `category:zone-colonne.name.fr`, `category:zone-colonne.name.en`. Références : `legacy-catalog`. - `CHG-028` Noms de muscles alignés sur la NAV (niveau A, Terminologie, confirmation requise : non). « Sus-épineux / sous-épineux » est l'ancienne nomenclature (OQLF) : M. supraspinatus / infraspinatus. Les multifides sont pluriels (Mm. multifidi). La NAV écrit M. fibularis [peron(a)eus] tertius, « fibularis » en premier ; « péronier tiers » est un calque. L'anglais « cranial tibial » devient « tibialis cranialis » comme les autres libellés latins. Au coude, « biceps / brachial » désigne deux muscles (biceps brachii, brachialis) : le libellé le dit. Les ischio-jambiers du cheval sont le biceps fémoral, le semi-tendineux et le semi-membraneux. Objets : `finding:shoulder/shoulder-dysfunctions/muscular/supraspinatus-infraspinatus.name.fr`, `finding:cervical/cervical-dysfunctions/muscular/multifidus-cervicis.name.fr`, `finding:cervical/cervical-dysfunctions/muscular/multifidus-cervicis.name.en`, `finding:hock/hock-dysfunctions/muscular/peroneus-tertius.name.fr`, `finding:hock/hock-dysfunctions/muscular/peroneus-tertius.name.en`, `finding:hock/hock-dysfunctions/muscular/tibialis-cranialis.name.en`, `finding:elbow/elbow-dysfunctions/muscular/biceps-brachialis-tension.name.fr`, `finding:elbow/elbow-dysfunctions/muscular/biceps-brachialis-tension.name.en`, `finding:stifle/stifle-dysfunctions/muscular/hamstrings-tension.name.fr`, `finding:stifle/stifle-dysfunctions/muscular/hamstrings-tension.name.en`. Références : `nav-2017`, `oqlf-supraepineux`, `imaios-fibularis`. +- `CHG-045` Couleurs des marqueurs portées par le document (niveau A, Technique, confirmation requise : non). Les marqueurs étaient des éléments des fichiers SVG historiques, colorés un par un. L'application les dessine désormais à partir du document : chaque catégorie reçoit la couleur que les fichiers lui donnaient (articulations #ff9500, os #a41e65, charnières #ff0000, os du crâne #1baa08, segments vertébraux #e100ff) ; les trois nuances propres à la vue tête (ATM et SSB #ff8800, hyoïde #d507c4) restent des surcharges d'annotation. Aucun changement d'apparence. Objets : `category:articulations.color`, `category:os.color`, `category:charnieres-vertebrales.color`, `category:zone-colonne.color`, `category:cadrans-du-crane.color`, `annotation:atm.color`, `annotation:ssb.color`, `annotation:hyoid.color`. Références : `legacy-catalog`. ## 4. Ajouts diff --git a/supabase/seed/anatomical-sheets/equine/draft/document.json b/supabase/seed/anatomical-sheets/equine/draft/document.json index 02bb25f9..97cc4d87 100644 --- a/supabase/seed/anatomical-sheets/equine/draft/document.json +++ b/supabase/seed/anatomical-sheets/equine/draft/document.json @@ -419,7 +419,7 @@ "fr": "Articulations", "en": "Joints" }, - "color": null + "color": "#ff9500" }, { "id": "os", @@ -427,7 +427,7 @@ "fr": "Os", "en": "Bones" }, - "color": null + "color": "#a41e65" }, { "id": "charnieres-vertebrales", @@ -435,7 +435,7 @@ "fr": "Charnières vertébrales", "en": "Vertebral junctions" }, - "color": null + "color": "#ff0000" }, { "id": "zone-colonne", @@ -443,7 +443,7 @@ "fr": "Segments vertébraux", "en": "Vertebral segments" }, - "color": null + "color": "#e100ff" }, { "id": "cadrans-du-crane", @@ -451,7 +451,7 @@ "fr": "Os du crâne", "en": "Cranial bones" }, - "color": null + "color": "#1baa08" } ], "views": [ @@ -1025,7 +1025,8 @@ }, "finding_zone_id": "atm", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#ff8800" }, { "id": "ssb", @@ -1045,7 +1046,8 @@ }, "finding_zone_id": "ssb", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#ff8800" }, { "id": "hyoid", @@ -1065,7 +1067,8 @@ }, "finding_zone_id": "hyoid", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#d507c4" }, { "id": "c0-c1", diff --git a/supabase/seed/anatomical-sheets/equine/draft/equine_draft.sql b/supabase/seed/anatomical-sheets/equine/draft/equine_draft.sql index e3f277a5..209ddf37 100644 --- a/supabase/seed/anatomical-sheets/equine/draft/equine_draft.sql +++ b/supabase/seed/anatomical-sheets/equine/draft/equine_draft.sql @@ -442,7 +442,7 @@ select private.insert_sheet_draft( "fr": "Articulations", "en": "Joints" }, - "color": null + "color": "#ff9500" }, { "id": "os", @@ -450,7 +450,7 @@ select private.insert_sheet_draft( "fr": "Os", "en": "Bones" }, - "color": null + "color": "#a41e65" }, { "id": "charnieres-vertebrales", @@ -458,7 +458,7 @@ select private.insert_sheet_draft( "fr": "Charnières vertébrales", "en": "Vertebral junctions" }, - "color": null + "color": "#ff0000" }, { "id": "zone-colonne", @@ -466,7 +466,7 @@ select private.insert_sheet_draft( "fr": "Segments vertébraux", "en": "Vertebral segments" }, - "color": null + "color": "#e100ff" }, { "id": "cadrans-du-crane", @@ -474,7 +474,7 @@ select private.insert_sheet_draft( "fr": "Os du crâne", "en": "Cranial bones" }, - "color": null + "color": "#1baa08" } ], "views": [ @@ -1048,7 +1048,8 @@ select private.insert_sheet_draft( }, "finding_zone_id": "atm", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#ff8800" }, { "id": "ssb", @@ -1068,7 +1069,8 @@ select private.insert_sheet_draft( }, "finding_zone_id": "ssb", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#ff8800" }, { "id": "hyoid", @@ -1088,7 +1090,8 @@ select private.insert_sheet_draft( }, "finding_zone_id": "hyoid", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#d507c4" }, { "id": "c0-c1", @@ -8731,7 +8734,7 @@ from (select $equine_doc${ "fr": "Articulations", "en": "Joints" }, - "color": null + "color": "#ff9500" }, { "id": "os", @@ -8739,7 +8742,7 @@ from (select $equine_doc${ "fr": "Os", "en": "Bones" }, - "color": null + "color": "#a41e65" }, { "id": "charnieres-vertebrales", @@ -8747,7 +8750,7 @@ from (select $equine_doc${ "fr": "Charnières vertébrales", "en": "Vertebral junctions" }, - "color": null + "color": "#ff0000" }, { "id": "zone-colonne", @@ -8755,7 +8758,7 @@ from (select $equine_doc${ "fr": "Segments vertébraux", "en": "Vertebral segments" }, - "color": null + "color": "#e100ff" }, { "id": "cadrans-du-crane", @@ -8763,7 +8766,7 @@ from (select $equine_doc${ "fr": "Os du crâne", "en": "Cranial bones" }, - "color": null + "color": "#1baa08" } ], "views": [ @@ -9337,7 +9340,8 @@ from (select $equine_doc${ }, "finding_zone_id": "atm", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#ff8800" }, { "id": "ssb", @@ -9357,7 +9361,8 @@ from (select $equine_doc${ }, "finding_zone_id": "ssb", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#ff8800" }, { "id": "hyoid", @@ -9377,7 +9382,8 @@ from (select $equine_doc${ }, "finding_zone_id": "hyoid", "vertebral_region_code": null, - "review_status": "to_confirm" + "review_status": "to_confirm", + "color": "#d507c4" }, { "id": "c0-c1", diff --git a/supabase/seed/anatomical-sheets/equine/draft/report-migration-map.json b/supabase/seed/anatomical-sheets/equine/draft/report-migration-map.json new file mode 100644 index 00000000..c199d71f --- /dev/null +++ b/supabase/seed/anatomical-sheets/equine/draft/report-migration-map.json @@ -0,0 +1,997 @@ +{ + "schema_version": 1, + "sheet": { + "sheetId": "503dc301-a8b1-50d4-9e44-0919b2fc2916", + "versionId": null, + "documentSha256": "27c7383c445c73dc2001ebf4794a3ea63d416910bbbaa0d7848dd720de7c2660" + }, + "main_view_id": "main", + "views": { + "head": "head" + }, + "annotations": { + "point-mpbwrkp0": { + "id": "hind-fetlock", + "name": { + "fr": "Boulet post. (métatarso-phalangien)", + "en": "Hind fetlock" + } + }, + "point-mpbwsi9q": { + "id": "hock", + "name": { + "fr": "Jarret (tarsien)", + "en": "Hock" + } + }, + "point-mpbwt4fa": { + "id": "stifle", + "name": { + "fr": "Grasset (fémoro-tibial)", + "en": "Stifle" + } + }, + "point-mpbwtst0": { + "id": "hip", + "name": { + "fr": "Hanche (coxo-fémorale)", + "en": "Hip joint" + } + }, + "point-mpbwugty": { + "id": "sacroiliac", + "name": { + "fr": "Articulation Sacro-Iliaque", + "en": "Sacroiliac Joint" + } + }, + "point-mpbwv4xy": { + "id": "shoulder", + "name": { + "fr": "Épaule (scapulo-humérale)", + "en": "Shoulder joint" + } + }, + "point-mpbwvpvt": { + "id": "elbow", + "name": { + "fr": "Coude (huméro-radial)", + "en": "Elbow joint" + } + }, + "point-mpbwwaru": { + "id": "fore-fetlock", + "name": { + "fr": "Boulet ant. (métacarpo-phalangien)", + "en": "Fore fetlock" + } + }, + "point-mpbwwxvn": { + "id": "fore-sesamoids", + "name": { + "fr": "Sésamoïdes ant. (boulet)", + "en": "Forelimb Sesamoids" + } + }, + "point-mpbwxnb4": { + "id": "l6-s1", + "name": { + "fr": "Charnière L6-S1 (lombo-sacrée)", + "en": "L6-S1 (Lumbosacral)" + } + }, + "point-mpbwyd9i": { + "id": "t18-l1", + "name": { + "fr": "Charnière T18-L1 (dorso-lombaire)", + "en": "T18-L1 (Thoracolumbar)" + } + }, + "point-mpbwyyc9": { + "id": "c7-t1", + "name": { + "fr": "Charnière C7-T1 (cervico-thoracique)", + "en": "C7-T1 (Cervicothoracic)" + } + }, + "zone-mpbx00jq": { + "id": "caudal", + "name": { + "fr": "Vertèbres caudales", + "en": "Coccygeal Vertebrae" + } + }, + "zone-mpbx0xnp": { + "id": "sacral", + "name": { + "fr": "Vertèbres sacrales", + "en": "Sacral Vertebrae" + } + }, + "zone-mpbx1rm9": { + "id": "lumbar", + "name": { + "fr": "Vertèbres lombaires", + "en": "Lumbar Vertebrae" + } + }, + "zone-mpbx2rpe": { + "id": "thoracic", + "name": { + "fr": "Vertèbres thoraciques", + "en": "Thoracic Vertebrae" + } + }, + "zone-mpbx5hx2": { + "id": "cervical", + "name": { + "fr": "Vertèbres cervicales", + "en": "Cervical Vertebrae" + } + }, + "zone-mpby55kd": { + "id": "head-trigger", + "name": { + "fr": "", + "en": "" + } + }, + "point-mpbykomv": { + "id": "parietal", + "name": { + "fr": "Pariétal", + "en": "Parietal bone" + } + }, + "point-mpbylh35": { + "id": "frontal", + "name": { + "fr": "Frontal", + "en": "Frontal bone" + } + }, + "point-mpbymcln": { + "id": "sphenoid", + "name": { + "fr": "Sphénoïde", + "en": "Sphenoid" + } + }, + "point-mpbyn2k3": { + "id": "temporal", + "name": { + "fr": "Temporel", + "en": "Temporal" + } + }, + "point-mpbynls5": { + "id": "occipital", + "name": { + "fr": "Occipital", + "en": "Occipital" + } + }, + "point-mpbyo7zq": { + "id": "atm", + "name": { + "fr": "Articulation Temporo-Mandibulaire (ATM)", + "en": "Temporomandibular Joint (TMJ)" + } + }, + "point-mpbyphay": { + "id": "ssb", + "name": { + "fr": "Synchondrose Sphéno-Basilaire (SSB)", + "en": "Spheno-Basilar Synchondrosis (SBS)" + } + }, + "point-mpbyq841": { + "id": "hyoid", + "name": { + "fr": "Hyoïde", + "en": "Hyoid" + } + }, + "point-mpbyqxbg": { + "id": "c0-c1", + "name": { + "fr": "Charnière C0-C1 (occipito-atloïdienne)", + "en": "C0-C1 (Occipito-atlantal)" + } + } + }, + "finding_paths": { + "parietal/parietal-dysfunctions": "parietal/parietal-dysfunctions", + "parietal/parietal-dysfunctions/mobility": "parietal/parietal-dysfunctions/mobility", + "parietal/parietal-dysfunctions/mobility/flexion-external-rotation": "parietal/parietal-dysfunctions/mobility/flexion-external-rotation", + "parietal/parietal-dysfunctions/mobility/extension-internal-rotation": "parietal/parietal-dysfunctions/mobility/extension-internal-rotation", + "parietal/parietal-dysfunctions/mobility/global-restriction": "parietal/parietal-dysfunctions/mobility/global-restriction", + "parietal/parietal-dysfunctions/intraosseous": "parietal/parietal-dysfunctions/intraosseous", + "parietal/parietal-dysfunctions/intraosseous/squama-deformation": "parietal/parietal-dysfunctions/intraosseous/squama-deformation", + "parietal/parietal-dysfunctions/intraosseous/interparietal-compression": "parietal/parietal-dysfunctions/intraosseous/interparietal-compression", + "parietal/parietal-dysfunctions/sutures": "parietal/parietal-dysfunctions/sutures", + "parietal/parietal-dysfunctions/sutures/frontoparietal": "parietal/parietal-dysfunctions/sutures/frontoparietal", + "parietal/parietal-dysfunctions/sutures/parieto-occipital": "parietal/parietal-dysfunctions/sutures/parieto-occipital", + "parietal/parietal-dysfunctions/sutures/parieto-temporal": "parietal/parietal-dysfunctions/sutures/parieto-temporal", + "parietal/parietal-dysfunctions/sutures/sphenoparietal": "parietal/parietal-dysfunctions/sutures/sphenoparietal", + "parietal/parietal-dysfunctions/sutures/interparietal": "parietal/parietal-dysfunctions/sutures/sagittal", + "parietal/parietal-observations": "parietal/parietal-consultation-reasons", + "parietal/parietal-observations/behavior-change": "parietal/parietal-consultation-reasons/behavior-change", + "parietal/parietal-observations/behavior-change/head-touch-hypersensitivity": "parietal/parietal-consultation-reasons/behavior-change/head-touch-hypersensitivity", + "parietal/parietal-observations/behavior-change/new-irritability": "parietal/parietal-consultation-reasons/behavior-change/new-irritability", + "parietal/parietal-observations/post-trauma-head": "parietal/parietal-consultation-reasons/post-trauma-head", + "parietal/anamnesis": "parietal/anamnesis", + "parietal/anamnesis/trauma-direct": "parietal/anamnesis/trauma-direct", + "parietal/anamnesis/stress-context": "parietal/anamnesis/stress-context", + "parietal/anamnesis/posture-context": "parietal/anamnesis/posture-context", + "parietal/anamnesis/dental-context": "parietal/anamnesis/dental-context", + "parietal/anamnesis/post-veterinary": "parietal/anamnesis/post-veterinary", + "parietal/anamnesis/no-identified-cause": "parietal/anamnesis/no-identified-cause", + "frontal/frontal-dysfunctions": "frontal/frontal-dysfunctions", + "frontal/frontal-dysfunctions/mobility": "frontal/frontal-dysfunctions/mobility", + "frontal/frontal-dysfunctions/mobility/flexion-external-rotation": "frontal/frontal-dysfunctions/mobility/flexion-external-rotation", + "frontal/frontal-dysfunctions/mobility/extension-internal-rotation": "frontal/frontal-dysfunctions/mobility/extension-internal-rotation", + "frontal/frontal-dysfunctions/mobility/global-restriction": "frontal/frontal-dysfunctions/mobility/global-restriction", + "frontal/frontal-dysfunctions/intraosseous": "frontal/frontal-dysfunctions/intraosseous", + "frontal/frontal-dysfunctions/intraosseous/metopic-compression": "frontal/frontal-dysfunctions/intraosseous/interfrontal-compression", + "frontal/frontal-dysfunctions/intraosseous/squama-deformation": "frontal/frontal-dysfunctions/intraosseous/squama-deformation", + "frontal/frontal-dysfunctions/sutures": "frontal/frontal-dysfunctions/sutures", + "frontal/frontal-dysfunctions/sutures/frontoparietal": "frontal/frontal-dysfunctions/sutures/frontoparietal", + "frontal/frontal-dysfunctions/sutures/frontosphenoidal": "frontal/frontal-dysfunctions/sutures/frontosphenoidal", + "frontal/frontal-dysfunctions/sutures/frontonasal": "frontal/frontal-dysfunctions/sutures/frontonasal", + "frontal/frontal-dysfunctions/sutures/frontolacrimal": "frontal/frontal-dysfunctions/sutures/frontolacrimal", + "frontal/frontal-dysfunctions/sutures/frontozygomatic": null, + "frontal/frontal-dysfunctions/sutures/interfrontal": "frontal/frontal-dysfunctions/sutures/interfrontal", + "frontal/frontal-observations": "frontal/frontal-consultation-reasons", + "frontal/frontal-observations/behavior-change": "frontal/frontal-consultation-reasons/behavior-change", + "frontal/frontal-observations/behavior-change/head-touch-hypersensitivity": "frontal/frontal-consultation-reasons/behavior-change/head-touch-hypersensitivity", + "frontal/frontal-observations/behavior-change/new-irritability": "frontal/frontal-consultation-reasons/behavior-change/new-irritability", + "frontal/frontal-observations/head-rubbing": "frontal/frontal-consultation-reasons/head-rubbing", + "frontal/frontal-observations/frontal-relief-asymmetry": "frontal/frontal-consultation-reasons/frontal-relief-asymmetry", + "frontal/frontal-observations/post-trauma-head": "frontal/frontal-consultation-reasons/post-trauma-head", + "frontal/anamnesis": "frontal/anamnesis", + "frontal/anamnesis/trauma-direct": "frontal/anamnesis/trauma-direct", + "frontal/anamnesis/stress-context": "frontal/anamnesis/stress-context", + "frontal/anamnesis/posture-context": "frontal/anamnesis/posture-context", + "frontal/anamnesis/dental-context": "frontal/anamnesis/dental-context", + "frontal/anamnesis/post-veterinary": "frontal/anamnesis/post-veterinary", + "frontal/anamnesis/no-identified-cause": "frontal/anamnesis/no-identified-cause", + "sphenoid/ssb-dysfunctions": null, + "sphenoid/ssb-dysfunctions/physiological": null, + "sphenoid/ssb-dysfunctions/physiological/flexion": null, + "sphenoid/ssb-dysfunctions/physiological/extension": null, + "sphenoid/ssb-dysfunctions/physiological/torsion-right": null, + "sphenoid/ssb-dysfunctions/physiological/torsion-left": null, + "sphenoid/ssb-dysfunctions/physiological/sidebending-rotation-right": null, + "sphenoid/ssb-dysfunctions/physiological/sidebending-rotation-left": null, + "sphenoid/ssb-dysfunctions/traumatic": null, + "sphenoid/ssb-dysfunctions/traumatic/vertical-strain-superior": null, + "sphenoid/ssb-dysfunctions/traumatic/vertical-strain-inferior": null, + "sphenoid/ssb-dysfunctions/traumatic/lateral-strain-right": null, + "sphenoid/ssb-dysfunctions/traumatic/lateral-strain-left": null, + "sphenoid/ssb-dysfunctions/traumatic/compression": null, + "sphenoid/ssb-dysfunctions/intraosseous": "sphenoid/sphenoid-dysfunctions/intraosseous", + "sphenoid/ssb-dysfunctions/intraosseous/pre-post-sphenoid": null, + "sphenoid/ssb-dysfunctions/intraosseous/lesser-wings": null, + "sphenoid/ssb-dysfunctions/intraosseous/greater-wings": null, + "sphenoid/ssb-dysfunctions/sutures": "sphenoid/sphenoid-dysfunctions/sutures", + "sphenoid/ssb-dysfunctions/sutures/sphenopetrosal": "sphenoid/sphenoid-dysfunctions/sutures/sphenopetrosal", + "sphenoid/ssb-dysfunctions/sutures/sphenosquamous": "sphenoid/sphenoid-dysfunctions/sutures/sphenosquamous", + "sphenoid/ssb-dysfunctions/sutures/sphenoparietal": "sphenoid/sphenoid-dysfunctions/sutures/sphenoparietal", + "sphenoid/ssb-dysfunctions/sutures/frontosphenoidal": null, + "sphenoid/ssb-dysfunctions/sutures/sphenozygomatic": null, + "sphenoid/ssb-dysfunctions/sutures/sphenomaxillary": "sphenoid/sphenoid-dysfunctions/sutures/sphenomaxillary", + "sphenoid/ssb-dysfunctions/sutures/sphenovomerian": null, + "sphenoid/ssb-dysfunctions/sutures/sphenopalatine": "sphenoid/sphenoid-dysfunctions/sutures/sphenopalatine", + "sphenoid/sphenoid-observations": "sphenoid/sphenoid-consultation-reasons", + "sphenoid/sphenoid-observations/behavior-change": "sphenoid/sphenoid-consultation-reasons/behavior-change", + "sphenoid/sphenoid-observations/behavior-change/irritability": "sphenoid/sphenoid-consultation-reasons/behavior-change/irritability", + "sphenoid/sphenoid-observations/behavior-change/withdrawal": "sphenoid/sphenoid-consultation-reasons/behavior-change/withdrawal", + "sphenoid/sphenoid-observations/behavior-change/hypersensitivity": "sphenoid/sphenoid-consultation-reasons/behavior-change/head-touch-hypersensitivity", + "sphenoid/sphenoid-observations/performance-drop": "sphenoid/sphenoid-consultation-reasons/performance-drop", + "sphenoid/sphenoid-observations/cycle-irregularity": "sphenoid/sphenoid-consultation-reasons/cycle-irregularity", + "sphenoid/sphenoid-observations/post-trauma-head": "sphenoid/sphenoid-consultation-reasons/post-trauma-head", + "sphenoid/anamnesis": "sphenoid/anamnesis", + "sphenoid/anamnesis/trauma-direct": "sphenoid/anamnesis/trauma-direct", + "sphenoid/anamnesis/stress-context": "sphenoid/anamnesis/stress-context", + "sphenoid/anamnesis/posture-context": "sphenoid/anamnesis/posture-context", + "sphenoid/anamnesis/dental-context": "sphenoid/anamnesis/dental-context", + "sphenoid/anamnesis/post-veterinary": "sphenoid/anamnesis/post-veterinary", + "sphenoid/anamnesis/no-identified-cause": "sphenoid/anamnesis/no-identified-cause", + "temporal/temporal-dysfunctions": "temporal/temporal-dysfunctions", + "temporal/temporal-dysfunctions/mobility": "temporal/temporal-dysfunctions/mobility", + "temporal/temporal-dysfunctions/mobility/temporal-anteriority": "temporal/temporal-dysfunctions/mobility/temporal-anteriority", + "temporal/temporal-dysfunctions/mobility/flexion-external-rotation": "temporal/temporal-dysfunctions/mobility/flexion-external-rotation", + "temporal/temporal-dysfunctions/mobility/extension-internal-rotation": "temporal/temporal-dysfunctions/mobility/extension-internal-rotation", + "temporal/temporal-dysfunctions/mobility/global-restriction": "temporal/temporal-dysfunctions/mobility/global-restriction", + "temporal/temporal-dysfunctions/intraosseous": "temporal/temporal-dysfunctions/intraosseous", + "temporal/temporal-dysfunctions/intraosseous/petrosquamous": "temporal/temporal-dysfunctions/intraosseous/petrosquamous", + "temporal/temporal-dysfunctions/intraosseous/tympanic-part": "temporal/temporal-dysfunctions/intraosseous/tympanic-part", + "temporal/temporal-dysfunctions/sutures": "temporal/temporal-dysfunctions/sutures", + "temporal/temporal-dysfunctions/sutures/parieto-temporal": "temporal/temporal-dysfunctions/sutures/parieto-temporal", + "temporal/temporal-dysfunctions/sutures/sphenosquamous": "temporal/temporal-dysfunctions/sutures/sphenosquamous", + "temporal/temporal-dysfunctions/sutures/occipitomastoid": "temporal/temporal-dysfunctions/sutures/occipitomastoid", + "temporal/temporal-dysfunctions/sutures/temporozygomatic": "temporal/temporal-dysfunctions/sutures/temporozygomatic", + "temporal/temporal-dysfunctions/sutures/petro-occipital": "temporal/temporal-dysfunctions/sutures/petro-occipital", + "temporal/temporal-observations": "temporal/temporal-consultation-reasons", + "temporal/temporal-observations/behavior-change": "temporal/temporal-consultation-reasons/behavior-change", + "temporal/temporal-observations/behavior-change/head-touch-hypersensitivity": "temporal/temporal-consultation-reasons/behavior-change/head-touch-hypersensitivity", + "temporal/temporal-observations/behavior-change/new-irritability": "temporal/temporal-consultation-reasons/behavior-change/new-irritability", + "temporal/temporal-observations/post-trauma-head": "temporal/temporal-consultation-reasons/post-trauma-head", + "temporal/anamnesis": "temporal/anamnesis", + "temporal/anamnesis/trauma-direct": "temporal/anamnesis/trauma-direct", + "temporal/anamnesis/stress-context": "temporal/anamnesis/stress-context", + "temporal/anamnesis/posture-context": "temporal/anamnesis/posture-context", + "temporal/anamnesis/dental-context": "temporal/anamnesis/dental-context", + "temporal/anamnesis/post-veterinary": "temporal/anamnesis/post-veterinary", + "temporal/anamnesis/no-identified-cause": "temporal/anamnesis/no-identified-cause", + "occipital/occipital-dysfunctions": "occipital/occipital-dysfunctions", + "occipital/occipital-dysfunctions/mobility": "occipital/occipital-dysfunctions/mobility", + "occipital/occipital-dysfunctions/mobility/condylar-compression": "occipital/occipital-dysfunctions/mobility/condylar-compression", + "occipital/occipital-dysfunctions/mobility/flexion-external-rotation": "occipital/occipital-dysfunctions/mobility/flexion-external-rotation", + "occipital/occipital-dysfunctions/mobility/extension-internal-rotation": "occipital/occipital-dysfunctions/mobility/extension-internal-rotation", + "occipital/occipital-dysfunctions/mobility/global-restriction": "occipital/occipital-dysfunctions/mobility/global-restriction", + "occipital/occipital-dysfunctions/intraosseous": "occipital/occipital-dysfunctions/intraosseous", + "occipital/occipital-dysfunctions/intraosseous/squama-part": "occipital/occipital-dysfunctions/intraosseous/squama-part", + "occipital/occipital-dysfunctions/intraosseous/condylar-parts": "occipital/occipital-dysfunctions/intraosseous/condylar-parts", + "occipital/occipital-dysfunctions/intraosseous/basilar-part": "occipital/occipital-dysfunctions/intraosseous/basilar-part", + "occipital/occipital-dysfunctions/sutures": "occipital/occipital-dysfunctions/sutures", + "occipital/occipital-dysfunctions/sutures/parieto-occipital": "occipital/occipital-dysfunctions/sutures/parieto-occipital", + "occipital/occipital-dysfunctions/sutures/occipitomastoid": "occipital/occipital-dysfunctions/sutures/occipitomastoid", + "occipital/occipital-dysfunctions/sutures/petro-occipital": "occipital/occipital-dysfunctions/sutures/petro-occipital", + "occipital/occipital-observations": "occipital/occipital-consultation-reasons", + "occipital/occipital-observations/behavior-change": "occipital/occipital-consultation-reasons/behavior-change", + "occipital/occipital-observations/behavior-change/head-touch-hypersensitivity": "occipital/occipital-consultation-reasons/behavior-change/head-touch-hypersensitivity", + "occipital/occipital-observations/behavior-change/new-irritability": "occipital/occipital-consultation-reasons/behavior-change/new-irritability", + "occipital/occipital-observations/post-trauma-head": "occipital/occipital-consultation-reasons/post-trauma-head", + "occipital/anamnesis": "occipital/anamnesis", + "occipital/anamnesis/trauma-direct": "occipital/anamnesis/trauma-direct", + "occipital/anamnesis/stress-context": "occipital/anamnesis/stress-context", + "occipital/anamnesis/posture-context": "occipital/anamnesis/posture-context", + "occipital/anamnesis/dental-context": "occipital/anamnesis/dental-context", + "occipital/anamnesis/post-veterinary": "occipital/anamnesis/post-veterinary", + "occipital/anamnesis/no-identified-cause": "occipital/anamnesis/no-identified-cause", + "ssb/ssb-dysfunctions": "ssb/ssb-dysfunctions", + "ssb/ssb-dysfunctions/physiological": "ssb/ssb-dysfunctions/physiological", + "ssb/ssb-dysfunctions/physiological/flexion": "ssb/ssb-dysfunctions/physiological/flexion", + "ssb/ssb-dysfunctions/physiological/extension": "ssb/ssb-dysfunctions/physiological/extension", + "ssb/ssb-dysfunctions/physiological/torsion-right": "ssb/ssb-dysfunctions/physiological/torsion-right", + "ssb/ssb-dysfunctions/physiological/torsion-left": "ssb/ssb-dysfunctions/physiological/torsion-left", + "ssb/ssb-dysfunctions/physiological/sidebending-rotation-right": "ssb/ssb-dysfunctions/physiological/sidebending-rotation-right", + "ssb/ssb-dysfunctions/physiological/sidebending-rotation-left": "ssb/ssb-dysfunctions/physiological/sidebending-rotation-left", + "ssb/ssb-dysfunctions/traumatic": "ssb/ssb-dysfunctions/traumatic", + "ssb/ssb-dysfunctions/traumatic/vertical-strain-superior": "ssb/ssb-dysfunctions/traumatic/vertical-strain-superior", + "ssb/ssb-dysfunctions/traumatic/vertical-strain-inferior": "ssb/ssb-dysfunctions/traumatic/vertical-strain-inferior", + "ssb/ssb-dysfunctions/traumatic/lateral-strain-right": "ssb/ssb-dysfunctions/traumatic/lateral-strain-right", + "ssb/ssb-dysfunctions/traumatic/lateral-strain-left": "ssb/ssb-dysfunctions/traumatic/lateral-strain-left", + "ssb/ssb-dysfunctions/traumatic/compression": "ssb/ssb-dysfunctions/traumatic/compression", + "ssb/ssb-dysfunctions/intraosseous": null, + "ssb/ssb-dysfunctions/intraosseous/pre-post-sphenoid": null, + "ssb/ssb-dysfunctions/intraosseous/lesser-wings": null, + "ssb/ssb-dysfunctions/intraosseous/greater-wings": null, + "ssb/ssb-dysfunctions/sutures": null, + "ssb/ssb-dysfunctions/sutures/sphenopetrosal": null, + "ssb/ssb-dysfunctions/sutures/sphenosquamous": null, + "ssb/ssb-dysfunctions/sutures/sphenoparietal": null, + "ssb/ssb-dysfunctions/sutures/frontosphenoidal": null, + "ssb/ssb-dysfunctions/sutures/sphenozygomatic": null, + "ssb/ssb-dysfunctions/sutures/sphenomaxillary": null, + "ssb/ssb-dysfunctions/sutures/sphenovomerian": null, + "ssb/ssb-dysfunctions/sutures/sphenopalatine": null, + "ssb/ssb-observations": "ssb/ssb-consultation-reasons", + "ssb/ssb-observations/behavior-change": "ssb/ssb-consultation-reasons/behavior-change", + "ssb/ssb-observations/behavior-change/irritability": "ssb/ssb-consultation-reasons/behavior-change/irritability", + "ssb/ssb-observations/behavior-change/withdrawal": "ssb/ssb-consultation-reasons/behavior-change/withdrawal", + "ssb/ssb-observations/behavior-change/hypersensitivity": "ssb/ssb-consultation-reasons/behavior-change/head-touch-hypersensitivity", + "ssb/ssb-observations/performance-drop": "ssb/ssb-consultation-reasons/performance-drop", + "ssb/ssb-observations/cycle-irregularity": "ssb/ssb-consultation-reasons/cycle-irregularity", + "ssb/ssb-observations/post-trauma-head": "ssb/ssb-consultation-reasons/post-trauma-head", + "ssb/anamnesis": "ssb/anamnesis", + "ssb/anamnesis/trauma-direct": "ssb/anamnesis/trauma-direct", + "ssb/anamnesis/stress-context": "ssb/anamnesis/stress-context", + "ssb/anamnesis/posture-context": "ssb/anamnesis/posture-context", + "ssb/anamnesis/dental-context": "ssb/anamnesis/dental-context", + "ssb/anamnesis/post-veterinary": "ssb/anamnesis/post-veterinary", + "ssb/anamnesis/no-identified-cause": "ssb/anamnesis/no-identified-cause", + "atm/atm-dysfunctions": "atm/atm-dysfunctions", + "atm/atm-dysfunctions/articular": "atm/atm-dysfunctions/articular", + "atm/atm-dysfunctions/articular/restriction-opening": "atm/atm-dysfunctions/articular/restriction-opening", + "atm/atm-dysfunctions/articular/restriction-closing": "atm/atm-dysfunctions/articular/restriction-closing", + "atm/atm-dysfunctions/articular/restriction-lateral": "atm/atm-dysfunctions/articular/restriction-lateral", + "atm/atm-dysfunctions/articular/restriction-protrusion": "atm/atm-dysfunctions/articular/restriction-protrusion", + "atm/atm-dysfunctions/articular/hypomobility": "atm/atm-dysfunctions/articular/hypomobility", + "atm/atm-dysfunctions/articular/hypermobility": "atm/atm-dysfunctions/articular/hypermobility", + "atm/atm-dysfunctions/muscular": "atm/atm-dysfunctions/muscular", + "atm/atm-dysfunctions/muscular/masseter-tension": "atm/atm-dysfunctions/muscular/masseter-tension", + "atm/atm-dysfunctions/muscular/temporalis-tension": "atm/atm-dysfunctions/muscular/temporalis-tension", + "atm/atm-dysfunctions/muscular/pterygoid-tension": "atm/atm-dysfunctions/muscular/pterygoid-tension", + "atm/atm-dysfunctions/muscular/trigger-points": "atm/atm-dysfunctions/muscular/trigger-points", + "atm/atm-dysfunctions/mechanical": "atm/atm-dysfunctions/mechanical", + "atm/atm-dysfunctions/mechanical/lateral-deviation-jaw": "atm/atm-dysfunctions/mechanical/lateral-deviation-jaw", + "atm/atm-dysfunctions/mechanical/asymmetric-dental-wear": "atm/atm-dysfunctions/mechanical/asymmetric-dental-wear", + "atm/atm-dysfunctions/mechanical/opening-deviation": "atm/atm-dysfunctions/mechanical/opening-deviation", + "atm/atm-dysfunctions/mechanical/asymmetric-amplitude": "atm/atm-dysfunctions/mechanical/asymmetric-amplitude", + "atm/atm-observations": "atm/atm-consultation-reasons", + "atm/atm-observations/bit-defense": "atm/atm-consultation-reasons/bit-defense", + "atm/atm-observations/headshaking": "atm/atm-consultation-reasons/headshaking", + "atm/atm-observations/head-tilt-saddle": "atm/atm-consultation-reasons/head-tilt-saddle", + "atm/atm-observations/slow-eating": "atm/atm-consultation-reasons/slow-eating", + "atm/atm-observations/drops-food": "atm/atm-consultation-reasons/drops-food", + "atm/atm-observations/hand-contact-refusal": "atm/atm-consultation-reasons/hand-contact-refusal", + "atm/atm-observations/false-bend": "atm/atm-consultation-reasons/false-bend", + "atm/atm-observations/post-dental-care": "atm/atm-consultation-reasons/post-dental-care", + "atm/anamnesis": "atm/anamnesis", + "atm/anamnesis/trauma-direct": "atm/anamnesis/trauma-direct", + "atm/anamnesis/stress-context": "atm/anamnesis/stress-context", + "atm/anamnesis/posture-context": "atm/anamnesis/posture-context", + "atm/anamnesis/dental-context": "atm/anamnesis/dental-context", + "atm/anamnesis/post-veterinary": "atm/anamnesis/post-veterinary", + "atm/anamnesis/no-identified-cause": "atm/anamnesis/no-identified-cause", + "hyoid/hyoid-dysfunctions": "hyoid/hyoid-dysfunctions", + "hyoid/hyoid-dysfunctions/mobility": "hyoid/hyoid-dysfunctions/mobility", + "hyoid/hyoid-dysfunctions/mobility/global-restriction": "hyoid/hyoid-dysfunctions/mobility/global-restriction", + "hyoid/hyoid-dysfunctions/mobility/lateral-deviation": "hyoid/hyoid-dysfunctions/mobility/lateral-deviation", + "hyoid/hyoid-dysfunctions/mobility/swing-restriction": "hyoid/hyoid-dysfunctions/mobility/retraction-protraction-restriction", + "hyoid/hyoid-dysfunctions/muscular": "hyoid/hyoid-dysfunctions/muscular", + "hyoid/hyoid-dysfunctions/muscular/suprahyoid-tension": "hyoid/hyoid-dysfunctions/muscular/suprahyoid-tension", + "hyoid/hyoid-dysfunctions/muscular/infrahyoid-tension": "hyoid/hyoid-dysfunctions/muscular/infrahyoid-tension", + "hyoid/hyoid-dysfunctions/muscular/stylohyoid-tension": "hyoid/hyoid-dysfunctions/muscular/stylohyoid-tension", + "hyoid/hyoid-dysfunctions/muscular/tongue-base-tension": "hyoid/hyoid-dysfunctions/muscular/tongue-base-tension", + "hyoid/hyoid-dysfunctions/intraosseous": "hyoid/hyoid-dysfunctions/intraosseous", + "hyoid/hyoid-dysfunctions/intraosseous/stylohyoid-bone": "hyoid/hyoid-dysfunctions/intraosseous/stylohyoid-bone", + "hyoid/hyoid-dysfunctions/intraosseous/basihyoid": "hyoid/hyoid-dysfunctions/intraosseous/basihyoid", + "hyoid/hyoid-observations": "hyoid/hyoid-consultation-reasons", + "hyoid/hyoid-observations/bit-defense": "hyoid/hyoid-consultation-reasons/bit-defense", + "hyoid/hyoid-observations/tongue-over-bit": "hyoid/hyoid-consultation-reasons/tongue-over-bit", + "hyoid/hyoid-observations/swallowing-difficulty": "hyoid/hyoid-consultation-reasons/swallowing-difficulty", + "hyoid/hyoid-observations/head-carriage-resistance": "hyoid/hyoid-consultation-reasons/head-carriage-resistance", + "hyoid/hyoid-observations/post-dental-care": "hyoid/hyoid-consultation-reasons/post-dental-care", + "hyoid/anamnesis": "hyoid/anamnesis", + "hyoid/anamnesis/trauma-direct": "hyoid/anamnesis/trauma-direct", + "hyoid/anamnesis/stress-context": "hyoid/anamnesis/stress-context", + "hyoid/anamnesis/posture-context": "hyoid/anamnesis/posture-context", + "hyoid/anamnesis/dental-context": "hyoid/anamnesis/dental-context", + "hyoid/anamnesis/post-veterinary": "hyoid/anamnesis/post-veterinary", + "hyoid/anamnesis/no-identified-cause": "hyoid/anamnesis/no-identified-cause", + "c0-c1/c0-c1-dysfunctions": "c0-c1/c0-c1-dysfunctions", + "c0-c1/c0-c1-dysfunctions/segmental": "c0-c1/c0-c1-dysfunctions/segmental", + "c0-c1/c0-c1-dysfunctions/segmental/restriction-flexion": "c0-c1/c0-c1-dysfunctions/segmental/restriction-flexion", + "c0-c1/c0-c1-dysfunctions/segmental/restriction-extension": "c0-c1/c0-c1-dysfunctions/segmental/restriction-extension", + "c0-c1/c0-c1-dysfunctions/segmental/restriction-lateroflexion": "c0-c1/c0-c1-dysfunctions/segmental/restriction-lateroflexion", + "c0-c1/c0-c1-dysfunctions/segmental/restriction-rotation": "c0-c1/c0-c1-dysfunctions/segmental/restriction-rotation", + "c0-c1/c0-c1-dysfunctions/segmental/fixation": "c0-c1/c0-c1-dysfunctions/segmental/fixation", + "c0-c1/c0-c1-dysfunctions/muscular": "c0-c1/c0-c1-dysfunctions/muscular", + "c0-c1/c0-c1-dysfunctions/muscular/rectus-capitis-tension": "c0-c1/c0-c1-dysfunctions/muscular/rectus-capitis-tension", + "c0-c1/c0-c1-dysfunctions/muscular/obliquus-capitis-tension": "c0-c1/c0-c1-dysfunctions/muscular/obliquus-capitis-tension", + "c0-c1/c0-c1-dysfunctions/muscular/splenius-tension": "c0-c1/c0-c1-dysfunctions/muscular/splenius-tension", + "c0-c1/c0-c1-dysfunctions/muscular/trigger-points": "c0-c1/c0-c1-dysfunctions/muscular/trigger-points", + "c0-c1/c0-c1-dysfunctions/mechanical": "c0-c1/c0-c1-dysfunctions/mechanical", + "c0-c1/c0-c1-dysfunctions/mechanical/amplitude-asymmetry": "c0-c1/c0-c1-dysfunctions/mechanical/amplitude-asymmetry", + "c0-c1/c0-c1-dysfunctions/mechanical/alignment-asymmetry": "c0-c1/c0-c1-dysfunctions/mechanical/alignment-asymmetry", + "c0-c1/c0-c1-observations": "c0-c1/c0-c1-consultation-reasons", + "c0-c1/c0-c1-observations/poll-sensitivity": "c0-c1/c0-c1-consultation-reasons/poll-sensitivity", + "c0-c1/c0-c1-observations/head-carriage": "c0-c1/c0-c1-consultation-reasons/head-carriage", + "c0-c1/c0-c1-observations/headshaking": "c0-c1/c0-c1-consultation-reasons/headshaking", + "c0-c1/c0-c1-observations/bridle-resistance": "c0-c1/c0-c1-consultation-reasons/bridle-resistance", + "c0-c1/c0-c1-observations/palpation-sensitivity": "c0-c1/c0-c1-consultation-reasons/palpation-sensitivity", + "c0-c1/anamnesis": "c0-c1/anamnesis", + "c0-c1/anamnesis/trauma-direct": "c0-c1/anamnesis/trauma-direct", + "c0-c1/anamnesis/saddle-context": "c0-c1/anamnesis/saddle-context", + "c0-c1/anamnesis/posture-context": "c0-c1/anamnesis/posture-context", + "c0-c1/anamnesis/stress-context": "c0-c1/anamnesis/stress-context", + "c0-c1/anamnesis/post-veterinary": "c0-c1/anamnesis/post-veterinary", + "c0-c1/anamnesis/no-identified-cause": "c0-c1/anamnesis/no-identified-cause", + "cervical/cervical-dysfunctions": "cervical/cervical-dysfunctions", + "cervical/cervical-dysfunctions/segmental": "cervical/cervical-dysfunctions/segmental", + "cervical/cervical-dysfunctions/segmental/restriction-flexion": "cervical/cervical-dysfunctions/segmental/restriction-flexion", + "cervical/cervical-dysfunctions/segmental/restriction-extension": "cervical/cervical-dysfunctions/segmental/restriction-extension", + "cervical/cervical-dysfunctions/segmental/restriction-lateroflexion": "cervical/cervical-dysfunctions/segmental/restriction-lateroflexion", + "cervical/cervical-dysfunctions/segmental/restriction-rotation": "cervical/cervical-dysfunctions/segmental/restriction-rotation", + "cervical/cervical-dysfunctions/segmental/localized-fixation": "cervical/cervical-dysfunctions/segmental/localized-fixation", + "cervical/cervical-dysfunctions/group": "cervical/cervical-dysfunctions/group", + "cervical/cervical-dysfunctions/group/nsr-group": "cervical/cervical-dysfunctions/group/nsr-group", + "cervical/cervical-dysfunctions/group/functional-scoliotic-attitude": "cervical/cervical-dysfunctions/group/functional-scoliotic-attitude", + "cervical/cervical-dysfunctions/muscular": "cervical/cervical-dysfunctions/muscular", + "cervical/cervical-dysfunctions/muscular/splenius-tension": "cervical/cervical-dysfunctions/muscular/splenius-tension", + "cervical/cervical-dysfunctions/muscular/longissimus-capitis-cervicis": "cervical/cervical-dysfunctions/muscular/longissimus-capitis-cervicis", + "cervical/cervical-dysfunctions/muscular/scalenus-tension": "cervical/cervical-dysfunctions/muscular/scalenus-tension", + "cervical/cervical-dysfunctions/muscular/brachiocephalicus-tension": "cervical/cervical-dysfunctions/muscular/brachiocephalicus-tension", + "cervical/cervical-dysfunctions/muscular/multifidus-cervicis": "cervical/cervical-dysfunctions/muscular/multifidus-cervicis", + "cervical/cervical-dysfunctions/mechanical": "cervical/cervical-dysfunctions/mechanical", + "cervical/cervical-dysfunctions/mechanical/lateral-bend-asymmetry": "cervical/cervical-dysfunctions/mechanical/lateral-bend-asymmetry", + "cervical/cervical-dysfunctions/mechanical/muscle-relief-asymmetry": "cervical/cervical-dysfunctions/mechanical/muscle-relief-asymmetry", + "cervical/cervical-observations": "cervical/cervical-consultation-reasons", + "cervical/cervical-observations/ridden-work": "cervical/cervical-consultation-reasons/ridden-work", + "cervical/cervical-observations/ridden-work/bend-asymmetry-work": "cervical/cervical-consultation-reasons/ridden-work/bend-asymmetry-work", + "cervical/cervical-observations/ridden-work/head-carriage": "cervical/cervical-consultation-reasons/ridden-work/head-carriage", + "cervical/cervical-observations/ridden-work/contact-resistance": "cervical/cervical-consultation-reasons/ridden-work/contact-resistance", + "cervical/cervical-observations/stumbling-proprioceptive": "cervical/cervical-consultation-reasons/stumbling-proprioceptive", + "cervical/cervical-observations/palpation-sensitivity": "cervical/cervical-consultation-reasons/palpation-sensitivity", + "cervical/cervical-observations/new-stiffness": "cervical/cervical-consultation-reasons/new-stiffness", + "cervical/anamnesis": "cervical/anamnesis", + "cervical/anamnesis/trauma-direct": "cervical/anamnesis/trauma-direct", + "cervical/anamnesis/saddle-context": "cervical/anamnesis/saddle-context", + "cervical/anamnesis/posture-context": "cervical/anamnesis/posture-context", + "cervical/anamnesis/stress-context": "cervical/anamnesis/stress-context", + "cervical/anamnesis/post-veterinary": "cervical/anamnesis/post-veterinary", + "cervical/anamnesis/no-identified-cause": "cervical/anamnesis/no-identified-cause", + "c7-t1/c7-t1-dysfunctions": "c7-t1/c7-t1-dysfunctions", + "c7-t1/c7-t1-dysfunctions/segmental": "c7-t1/c7-t1-dysfunctions/segmental", + "c7-t1/c7-t1-dysfunctions/segmental/restriction-flexion": "c7-t1/c7-t1-dysfunctions/segmental/restriction-flexion", + "c7-t1/c7-t1-dysfunctions/segmental/restriction-extension": "c7-t1/c7-t1-dysfunctions/segmental/restriction-extension", + "c7-t1/c7-t1-dysfunctions/segmental/restriction-lateroflexion": "c7-t1/c7-t1-dysfunctions/segmental/restriction-lateroflexion", + "c7-t1/c7-t1-dysfunctions/segmental/restriction-rotation": "c7-t1/c7-t1-dysfunctions/segmental/restriction-rotation", + "c7-t1/c7-t1-dysfunctions/segmental/fixation": "c7-t1/c7-t1-dysfunctions/segmental/fixation", + "c7-t1/c7-t1-dysfunctions/muscular": "c7-t1/c7-t1-dysfunctions/muscular", + "c7-t1/c7-t1-dysfunctions/muscular/scalenus-tension": "c7-t1/c7-t1-dysfunctions/muscular/scalenus-tension", + "c7-t1/c7-t1-dysfunctions/muscular/serratus-tension": "c7-t1/c7-t1-dysfunctions/muscular/serratus-tension", + "c7-t1/c7-t1-dysfunctions/muscular/brachiocephalicus-tension": "c7-t1/c7-t1-dysfunctions/muscular/brachiocephalicus-tension", + "c7-t1/c7-t1-dysfunctions/muscular/deep-cervical-tension": "c7-t1/c7-t1-dysfunctions/muscular/deep-cervical-tension", + "c7-t1/c7-t1-dysfunctions/mechanical": "c7-t1/c7-t1-dysfunctions/mechanical", + "c7-t1/c7-t1-dysfunctions/mechanical/amplitude-asymmetry": "c7-t1/c7-t1-dysfunctions/mechanical/amplitude-asymmetry", + "c7-t1/c7-t1-dysfunctions/mechanical/alignment-asymmetry": "c7-t1/c7-t1-dysfunctions/mechanical/alignment-asymmetry", + "c7-t1/c7-t1-observations": "c7-t1/c7-t1-consultation-reasons", + "c7-t1/c7-t1-observations/base-neck-stiffness": "c7-t1/c7-t1-consultation-reasons/base-neck-stiffness", + "c7-t1/c7-t1-observations/forelimb-engagement": "c7-t1/c7-t1-consultation-reasons/forelimb-engagement", + "c7-t1/c7-t1-observations/ewe-neck-posture": "c7-t1/c7-t1-consultation-reasons/ewe-neck-posture", + "c7-t1/c7-t1-observations/forelimb-lameness": "c7-t1/c7-t1-consultation-reasons/forelimb-lameness", + "c7-t1/anamnesis": "c7-t1/anamnesis", + "c7-t1/anamnesis/trauma-direct": "c7-t1/anamnesis/trauma-direct", + "c7-t1/anamnesis/saddle-context": "c7-t1/anamnesis/saddle-context", + "c7-t1/anamnesis/posture-context": "c7-t1/anamnesis/posture-context", + "c7-t1/anamnesis/stress-context": "c7-t1/anamnesis/stress-context", + "c7-t1/anamnesis/post-veterinary": "c7-t1/anamnesis/post-veterinary", + "c7-t1/anamnesis/no-identified-cause": "c7-t1/anamnesis/no-identified-cause", + "shoulder/shoulder-dysfunctions": "shoulder/shoulder-dysfunctions", + "shoulder/shoulder-dysfunctions/articular": "shoulder/shoulder-dysfunctions/articular", + "shoulder/shoulder-dysfunctions/articular/restriction-flexion": "shoulder/shoulder-dysfunctions/articular/restriction-flexion", + "shoulder/shoulder-dysfunctions/articular/restriction-extension": "shoulder/shoulder-dysfunctions/articular/restriction-extension", + "shoulder/shoulder-dysfunctions/articular/restriction-abduction-adduction": "shoulder/shoulder-dysfunctions/articular/restriction-abduction-adduction", + "shoulder/shoulder-dysfunctions/articular/restriction-glide": "shoulder/shoulder-dysfunctions/articular/restriction-glide", + "shoulder/shoulder-dysfunctions/articular/hypomobility": "shoulder/shoulder-dysfunctions/articular/hypomobility", + "shoulder/shoulder-dysfunctions/articular/hypermobility": "shoulder/shoulder-dysfunctions/articular/hypermobility", + "shoulder/shoulder-dysfunctions/muscular": "shoulder/shoulder-dysfunctions/muscular", + "shoulder/shoulder-dysfunctions/muscular/supraspinatus-infraspinatus": "shoulder/shoulder-dysfunctions/muscular/supraspinatus-infraspinatus", + "shoulder/shoulder-dysfunctions/muscular/subscapularis-tension": "shoulder/shoulder-dysfunctions/muscular/subscapularis-tension", + "shoulder/shoulder-dysfunctions/muscular/deltoid-tension": "shoulder/shoulder-dysfunctions/muscular/deltoid-tension", + "shoulder/shoulder-dysfunctions/muscular/biceps-brachii-tension": "shoulder/shoulder-dysfunctions/muscular/biceps-brachii-tension", + "shoulder/shoulder-dysfunctions/muscular/trigger-points": "shoulder/shoulder-dysfunctions/muscular/trigger-points", + "shoulder/shoulder-dysfunctions/mechanical": "shoulder/shoulder-dysfunctions/mechanical", + "shoulder/shoulder-dysfunctions/mechanical/weight-bearing-asymmetry": "shoulder/shoulder-dysfunctions/mechanical/weight-bearing-asymmetry", + "shoulder/shoulder-dysfunctions/mechanical/amplitude-asymmetry": "shoulder/shoulder-dysfunctions/mechanical/amplitude-asymmetry", + "shoulder/shoulder-dysfunctions/mechanical/scapula-position-asymmetry": "shoulder/shoulder-dysfunctions/mechanical/scapula-position-asymmetry", + "shoulder/shoulder-observations": "shoulder/shoulder-consultation-reasons", + "shoulder/shoulder-observations/ridden-work": "shoulder/shoulder-consultation-reasons/ridden-work", + "shoulder/shoulder-observations/ridden-work/canter-difficulty": "shoulder/shoulder-consultation-reasons/ridden-work/canter-difficulty", + "shoulder/shoulder-observations/ridden-work/backing-difficulty": "shoulder/shoulder-consultation-reasons/ridden-work/backing-difficulty", + "shoulder/shoulder-observations/ridden-work/limb-engagement": "shoulder/shoulder-consultation-reasons/ridden-work/limb-engagement", + "shoulder/shoulder-observations/ridden-work/jumping-difficulty": "shoulder/shoulder-consultation-reasons/ridden-work/jumping-difficulty", + "shoulder/shoulder-observations/shortened-cranial-phase": "shoulder/shoulder-consultation-reasons/shortened-cranial-phase", + "shoulder/shoulder-observations/limb-lameness": "shoulder/shoulder-consultation-reasons/limb-lameness", + "shoulder/anamnesis": "shoulder/anamnesis", + "shoulder/anamnesis/trauma-direct": "shoulder/anamnesis/trauma-direct", + "shoulder/anamnesis/sport-context": "shoulder/anamnesis/sport-context", + "shoulder/anamnesis/posture-context": "shoulder/anamnesis/posture-context", + "shoulder/anamnesis/stress-context": "shoulder/anamnesis/stress-context", + "shoulder/anamnesis/post-veterinary": "shoulder/anamnesis/post-veterinary", + "shoulder/anamnesis/no-identified-cause": "shoulder/anamnesis/no-identified-cause", + "elbow/elbow-dysfunctions": "elbow/elbow-dysfunctions", + "elbow/elbow-dysfunctions/articular": "elbow/elbow-dysfunctions/articular", + "elbow/elbow-dysfunctions/articular/restriction-flexion": "elbow/elbow-dysfunctions/articular/restriction-flexion", + "elbow/elbow-dysfunctions/articular/restriction-extension": "elbow/elbow-dysfunctions/articular/restriction-extension", + "elbow/elbow-dysfunctions/articular/restriction-lateromedial": "elbow/elbow-dysfunctions/articular/restriction-lateromedial", + "elbow/elbow-dysfunctions/articular/hypomobility": "elbow/elbow-dysfunctions/articular/hypomobility", + "elbow/elbow-dysfunctions/articular/hypermobility": "elbow/elbow-dysfunctions/articular/hypermobility", + "elbow/elbow-dysfunctions/muscular": "elbow/elbow-dysfunctions/muscular", + "elbow/elbow-dysfunctions/muscular/triceps-tension": "elbow/elbow-dysfunctions/muscular/triceps-tension", + "elbow/elbow-dysfunctions/muscular/biceps-brachialis-tension": "elbow/elbow-dysfunctions/muscular/biceps-brachialis-tension", + "elbow/elbow-dysfunctions/muscular/carpal-extensors-origin": "elbow/elbow-dysfunctions/muscular/carpal-extensors-origin", + "elbow/elbow-dysfunctions/muscular/carpal-flexors-origin": "elbow/elbow-dysfunctions/muscular/carpal-flexors-origin", + "elbow/elbow-dysfunctions/muscular/trigger-points": "elbow/elbow-dysfunctions/muscular/trigger-points", + "elbow/elbow-dysfunctions/mechanical": "elbow/elbow-dysfunctions/mechanical", + "elbow/elbow-dysfunctions/mechanical/weight-bearing-asymmetry": "elbow/elbow-dysfunctions/mechanical/weight-bearing-asymmetry", + "elbow/elbow-dysfunctions/mechanical/amplitude-asymmetry": "elbow/elbow-dysfunctions/mechanical/amplitude-asymmetry", + "elbow/elbow-observations": "elbow/elbow-consultation-reasons", + "elbow/elbow-observations/ridden-work": "elbow/elbow-consultation-reasons/ridden-work", + "elbow/elbow-observations/ridden-work/canter-difficulty": "elbow/elbow-consultation-reasons/ridden-work/canter-difficulty", + "elbow/elbow-observations/ridden-work/backing-difficulty": "elbow/elbow-consultation-reasons/ridden-work/backing-difficulty", + "elbow/elbow-observations/ridden-work/limb-engagement": "elbow/elbow-consultation-reasons/ridden-work/limb-engagement", + "elbow/elbow-observations/ridden-work/jumping-difficulty": "elbow/elbow-consultation-reasons/ridden-work/jumping-difficulty", + "elbow/elbow-observations/limb-lameness": "elbow/elbow-consultation-reasons/limb-lameness", + "elbow/anamnesis": "elbow/anamnesis", + "elbow/anamnesis/trauma-direct": "elbow/anamnesis/trauma-direct", + "elbow/anamnesis/sport-context": "elbow/anamnesis/sport-context", + "elbow/anamnesis/posture-context": "elbow/anamnesis/posture-context", + "elbow/anamnesis/stress-context": "elbow/anamnesis/stress-context", + "elbow/anamnesis/post-veterinary": "elbow/anamnesis/post-veterinary", + "elbow/anamnesis/no-identified-cause": "elbow/anamnesis/no-identified-cause", + "fore-fetlock/fore-fetlock-dysfunctions": "fore-fetlock/fore-fetlock-dysfunctions", + "fore-fetlock/fore-fetlock-dysfunctions/articular": "fore-fetlock/fore-fetlock-dysfunctions/articular", + "fore-fetlock/fore-fetlock-dysfunctions/articular/restriction-flexion": "fore-fetlock/fore-fetlock-dysfunctions/articular/restriction-flexion", + "fore-fetlock/fore-fetlock-dysfunctions/articular/restriction-extension": "fore-fetlock/fore-fetlock-dysfunctions/articular/restriction-extension", + "fore-fetlock/fore-fetlock-dysfunctions/articular/restriction-lateromedial": "fore-fetlock/fore-fetlock-dysfunctions/articular/restriction-lateromedial", + "fore-fetlock/fore-fetlock-dysfunctions/articular/hypomobility": "fore-fetlock/fore-fetlock-dysfunctions/articular/hypomobility", + "fore-fetlock/fore-fetlock-dysfunctions/articular/hypermobility": "fore-fetlock/fore-fetlock-dysfunctions/articular/hypermobility", + "fore-fetlock/fore-fetlock-dysfunctions/muscular": "fore-fetlock/fore-fetlock-dysfunctions/muscular", + "fore-fetlock/fore-fetlock-dysfunctions/muscular/digital-flexors-tendon": "fore-fetlock/fore-fetlock-dysfunctions/muscular/digital-flexors-tendon", + "fore-fetlock/fore-fetlock-dysfunctions/muscular/digital-extensor-tendon": "fore-fetlock/fore-fetlock-dysfunctions/muscular/digital-extensor-tendon", + "fore-fetlock/fore-fetlock-dysfunctions/muscular/palmar-fascia": "fore-fetlock/fore-fetlock-dysfunctions/muscular/palmar-fascia", + "fore-fetlock/fore-fetlock-dysfunctions/mechanical": "fore-fetlock/fore-fetlock-dysfunctions/mechanical", + "fore-fetlock/fore-fetlock-dysfunctions/mechanical/weight-bearing-asymmetry": "fore-fetlock/fore-fetlock-dysfunctions/mechanical/weight-bearing-asymmetry", + "fore-fetlock/fore-fetlock-dysfunctions/mechanical/amplitude-asymmetry": "fore-fetlock/fore-fetlock-dysfunctions/mechanical/amplitude-asymmetry", + "fore-fetlock/fore-fetlock-dysfunctions/mechanical/fetlock-axis-asymmetry": "fore-fetlock/fore-fetlock-dysfunctions/mechanical/fetlock-axis-asymmetry", + "fore-fetlock/fore-fetlock-observations": "fore-fetlock/fore-fetlock-consultation-reasons", + "fore-fetlock/fore-fetlock-observations/ridden-work": "fore-fetlock/fore-fetlock-consultation-reasons/ridden-work", + "fore-fetlock/fore-fetlock-observations/ridden-work/canter-difficulty": "fore-fetlock/fore-fetlock-consultation-reasons/ridden-work/canter-difficulty", + "fore-fetlock/fore-fetlock-observations/ridden-work/backing-difficulty": "fore-fetlock/fore-fetlock-consultation-reasons/ridden-work/backing-difficulty", + "fore-fetlock/fore-fetlock-observations/ridden-work/limb-engagement": "fore-fetlock/fore-fetlock-consultation-reasons/ridden-work/limb-engagement", + "fore-fetlock/fore-fetlock-observations/ridden-work/jumping-difficulty": "fore-fetlock/fore-fetlock-consultation-reasons/ridden-work/jumping-difficulty", + "fore-fetlock/fore-fetlock-observations/limb-lameness": "fore-fetlock/fore-fetlock-consultation-reasons/limb-lameness", + "fore-fetlock/anamnesis": "fore-fetlock/anamnesis", + "fore-fetlock/anamnesis/trauma-direct": "fore-fetlock/anamnesis/trauma-direct", + "fore-fetlock/anamnesis/sport-context": "fore-fetlock/anamnesis/sport-context", + "fore-fetlock/anamnesis/posture-context": "fore-fetlock/anamnesis/posture-context", + "fore-fetlock/anamnesis/stress-context": "fore-fetlock/anamnesis/stress-context", + "fore-fetlock/anamnesis/post-veterinary": "fore-fetlock/anamnesis/post-veterinary", + "fore-fetlock/anamnesis/no-identified-cause": "fore-fetlock/anamnesis/no-identified-cause", + "fore-sesamoids/fore-sesamoids-dysfunctions": "fore-sesamoids/fore-sesamoids-dysfunctions", + "fore-sesamoids/fore-sesamoids-dysfunctions/mobility": "fore-sesamoids/fore-sesamoids-dysfunctions/mobility", + "fore-sesamoids/fore-sesamoids-dysfunctions/mobility/sesamoid-glide-restriction": "fore-sesamoids/fore-sesamoids-dysfunctions/mobility/sesamoid-glide-restriction", + "fore-sesamoids/fore-sesamoids-dysfunctions/mobility/medial-sesamoid": "fore-sesamoids/fore-sesamoids-dysfunctions/mobility/medial-sesamoid", + "fore-sesamoids/fore-sesamoids-dysfunctions/mobility/lateral-sesamoid": "fore-sesamoids/fore-sesamoids-dysfunctions/mobility/lateral-sesamoid", + "fore-sesamoids/fore-sesamoids-dysfunctions/ligamentous": "fore-sesamoids/fore-sesamoids-dysfunctions/ligamentous", + "fore-sesamoids/fore-sesamoids-dysfunctions/ligamentous/intersesamoidean": "fore-sesamoids/fore-sesamoids-dysfunctions/ligamentous/intersesamoidean", + "fore-sesamoids/fore-sesamoids-dysfunctions/ligamentous/flexor-tendon-glide": "fore-sesamoids/fore-sesamoids-dysfunctions/ligamentous/flexor-tendon-glide", + "fore-sesamoids/fore-sesamoids-dysfunctions/mechanical": "fore-sesamoids/fore-sesamoids-dysfunctions/mechanical", + "fore-sesamoids/fore-sesamoids-dysfunctions/mechanical/sesamoid-asymmetry": "fore-sesamoids/fore-sesamoids-dysfunctions/mechanical/sesamoid-asymmetry", + "fore-sesamoids/fore-sesamoids-dysfunctions/mechanical/weight-bearing-asymmetry": "fore-sesamoids/fore-sesamoids-dysfunctions/mechanical/weight-bearing-asymmetry", + "fore-sesamoids/fore-sesamoids-observations": "fore-sesamoids/fore-sesamoids-consultation-reasons", + "fore-sesamoids/fore-sesamoids-observations/local-sensitivity": "fore-sesamoids/fore-sesamoids-consultation-reasons/local-sensitivity", + "fore-sesamoids/fore-sesamoids-observations/shortened-stride": "fore-sesamoids/fore-sesamoids-consultation-reasons/shortened-stride", + "fore-sesamoids/fore-sesamoids-observations/forelimb-lameness": "fore-sesamoids/fore-sesamoids-consultation-reasons/forelimb-lameness", + "fore-sesamoids/anamnesis": "fore-sesamoids/anamnesis", + "fore-sesamoids/anamnesis/trauma-direct": "fore-sesamoids/anamnesis/trauma-direct", + "fore-sesamoids/anamnesis/sport-context": "fore-sesamoids/anamnesis/sport-context", + "fore-sesamoids/anamnesis/posture-context": "fore-sesamoids/anamnesis/posture-context", + "fore-sesamoids/anamnesis/stress-context": "fore-sesamoids/anamnesis/stress-context", + "fore-sesamoids/anamnesis/post-veterinary": "fore-sesamoids/anamnesis/post-veterinary", + "fore-sesamoids/anamnesis/no-identified-cause": "fore-sesamoids/anamnesis/no-identified-cause", + "thoracic/thoracic-dysfunctions": "thoracic/thoracic-dysfunctions", + "thoracic/thoracic-dysfunctions/segmental": "thoracic/thoracic-dysfunctions/segmental", + "thoracic/thoracic-dysfunctions/segmental/restriction-flexion": "thoracic/thoracic-dysfunctions/segmental/restriction-flexion", + "thoracic/thoracic-dysfunctions/segmental/restriction-extension": "thoracic/thoracic-dysfunctions/segmental/restriction-extension", + "thoracic/thoracic-dysfunctions/segmental/restriction-lateroflexion": "thoracic/thoracic-dysfunctions/segmental/restriction-lateroflexion", + "thoracic/thoracic-dysfunctions/segmental/restriction-rotation": "thoracic/thoracic-dysfunctions/segmental/restriction-rotation", + "thoracic/thoracic-dysfunctions/segmental/localized-fixation": "thoracic/thoracic-dysfunctions/segmental/localized-fixation", + "thoracic/thoracic-dysfunctions/costovertebral": "thoracic/thoracic-dysfunctions/costovertebral", + "thoracic/thoracic-dysfunctions/costovertebral/rib-head-restriction": "thoracic/thoracic-dysfunctions/costovertebral/rib-head-restriction", + "thoracic/thoracic-dysfunctions/costovertebral/rib-respiratory-restriction": "thoracic/thoracic-dysfunctions/costovertebral/rib-respiratory-restriction", + "thoracic/thoracic-dysfunctions/group": "thoracic/thoracic-dysfunctions/group", + "thoracic/thoracic-dysfunctions/group/nsr-group": "thoracic/thoracic-dysfunctions/group/nsr-group", + "thoracic/thoracic-dysfunctions/group/functional-scoliotic-attitude": "thoracic/thoracic-dysfunctions/group/functional-scoliotic-attitude", + "thoracic/thoracic-dysfunctions/muscular": "thoracic/thoracic-dysfunctions/muscular", + "thoracic/thoracic-dysfunctions/muscular/longissimus-tension": "thoracic/thoracic-dysfunctions/muscular/longissimus-tension", + "thoracic/thoracic-dysfunctions/muscular/iliocostalis-tension": "thoracic/thoracic-dysfunctions/muscular/iliocostalis-tension", + "thoracic/thoracic-dysfunctions/muscular/trapezius-tension": "thoracic/thoracic-dysfunctions/muscular/trapezius-tension", + "thoracic/thoracic-dysfunctions/muscular/latissimus-tension": "thoracic/thoracic-dysfunctions/muscular/latissimus-tension", + "thoracic/thoracic-dysfunctions/muscular/trigger-points": "thoracic/thoracic-dysfunctions/muscular/trigger-points", + "thoracic/thoracic-dysfunctions/mechanical": "thoracic/thoracic-dysfunctions/mechanical", + "thoracic/thoracic-dysfunctions/mechanical/muscle-relief-asymmetry": "thoracic/thoracic-dysfunctions/mechanical/muscle-relief-asymmetry", + "thoracic/thoracic-dysfunctions/mechanical/withers-asymmetry": "thoracic/thoracic-dysfunctions/mechanical/withers-asymmetry", + "thoracic/thoracic-observations": "thoracic/thoracic-consultation-reasons", + "thoracic/thoracic-observations/ridden-work": "thoracic/thoracic-consultation-reasons/ridden-work", + "thoracic/thoracic-observations/ridden-work/saddle-region-sensitivity": "thoracic/thoracic-consultation-reasons/ridden-work/saddle-region-sensitivity", + "thoracic/thoracic-observations/ridden-work/cold-backed": "thoracic/thoracic-consultation-reasons/ridden-work/cold-backed", + "thoracic/thoracic-observations/ridden-work/hindquarter-engagement": "thoracic/thoracic-consultation-reasons/ridden-work/back-transmission", + "thoracic/thoracic-observations/ridden-work/bucking": "thoracic/thoracic-consultation-reasons/ridden-work/bucking", + "thoracic/thoracic-observations/girthing-defense": "thoracic/thoracic-consultation-reasons/girthing-defense", + "thoracic/thoracic-observations/palpation-sensitivity": "thoracic/thoracic-consultation-reasons/palpation-sensitivity", + "thoracic/thoracic-observations/new-stiffness": "thoracic/thoracic-consultation-reasons/new-stiffness", + "thoracic/anamnesis": "thoracic/anamnesis", + "thoracic/anamnesis/trauma-direct": "thoracic/anamnesis/trauma-direct", + "thoracic/anamnesis/saddle-context": "thoracic/anamnesis/saddle-context", + "thoracic/anamnesis/posture-context": "thoracic/anamnesis/posture-context", + "thoracic/anamnesis/stress-context": "thoracic/anamnesis/stress-context", + "thoracic/anamnesis/post-veterinary": "thoracic/anamnesis/post-veterinary", + "thoracic/anamnesis/no-identified-cause": "thoracic/anamnesis/no-identified-cause", + "t18-l1/t18-l1-dysfunctions": "t18-l1/t18-l1-dysfunctions", + "t18-l1/t18-l1-dysfunctions/segmental": "t18-l1/t18-l1-dysfunctions/segmental", + "t18-l1/t18-l1-dysfunctions/segmental/restriction-flexion": "t18-l1/t18-l1-dysfunctions/segmental/restriction-flexion", + "t18-l1/t18-l1-dysfunctions/segmental/restriction-extension": "t18-l1/t18-l1-dysfunctions/segmental/restriction-extension", + "t18-l1/t18-l1-dysfunctions/segmental/restriction-lateroflexion": "t18-l1/t18-l1-dysfunctions/segmental/restriction-lateroflexion", + "t18-l1/t18-l1-dysfunctions/segmental/restriction-rotation": "t18-l1/t18-l1-dysfunctions/segmental/restriction-rotation", + "t18-l1/t18-l1-dysfunctions/segmental/fixation": "t18-l1/t18-l1-dysfunctions/segmental/fixation", + "t18-l1/t18-l1-dysfunctions/muscular": "t18-l1/t18-l1-dysfunctions/muscular", + "t18-l1/t18-l1-dysfunctions/muscular/longissimus-tension": "t18-l1/t18-l1-dysfunctions/muscular/longissimus-tension", + "t18-l1/t18-l1-dysfunctions/muscular/iliocostalis-tension": "t18-l1/t18-l1-dysfunctions/muscular/iliocostalis-tension", + "t18-l1/t18-l1-dysfunctions/muscular/thoracolumbar-fascia": "t18-l1/t18-l1-dysfunctions/muscular/thoracolumbar-fascia", + "t18-l1/t18-l1-dysfunctions/muscular/trigger-points": "t18-l1/t18-l1-dysfunctions/muscular/trigger-points", + "t18-l1/t18-l1-dysfunctions/mechanical": "t18-l1/t18-l1-dysfunctions/mechanical", + "t18-l1/t18-l1-dysfunctions/mechanical/amplitude-asymmetry": "t18-l1/t18-l1-dysfunctions/mechanical/amplitude-asymmetry", + "t18-l1/t18-l1-dysfunctions/mechanical/alignment-asymmetry": "t18-l1/t18-l1-dysfunctions/mechanical/alignment-asymmetry", + "t18-l1/t18-l1-observations": "t18-l1/t18-l1-consultation-reasons", + "t18-l1/t18-l1-observations/back-mobility-loss": "t18-l1/t18-l1-consultation-reasons/back-mobility-loss", + "t18-l1/t18-l1-observations/saddle-rear-sensitivity": "t18-l1/t18-l1-consultation-reasons/saddle-rear-sensitivity", + "t18-l1/t18-l1-observations/transmission-defect": "t18-l1/t18-l1-consultation-reasons/transmission-defect", + "t18-l1/t18-l1-observations/palpation-sensitivity": "t18-l1/t18-l1-consultation-reasons/palpation-sensitivity", + "t18-l1/anamnesis": "t18-l1/anamnesis", + "t18-l1/anamnesis/trauma-direct": "t18-l1/anamnesis/trauma-direct", + "t18-l1/anamnesis/saddle-context": "t18-l1/anamnesis/saddle-context", + "t18-l1/anamnesis/posture-context": "t18-l1/anamnesis/posture-context", + "t18-l1/anamnesis/stress-context": "t18-l1/anamnesis/stress-context", + "t18-l1/anamnesis/post-veterinary": "t18-l1/anamnesis/post-veterinary", + "t18-l1/anamnesis/no-identified-cause": "t18-l1/anamnesis/no-identified-cause", + "lumbar/lumbar-dysfunctions": "lumbar/lumbar-dysfunctions", + "lumbar/lumbar-dysfunctions/segmental": "lumbar/lumbar-dysfunctions/segmental", + "lumbar/lumbar-dysfunctions/segmental/restriction-flexion": "lumbar/lumbar-dysfunctions/segmental/restriction-flexion", + "lumbar/lumbar-dysfunctions/segmental/restriction-extension": "lumbar/lumbar-dysfunctions/segmental/restriction-extension", + "lumbar/lumbar-dysfunctions/segmental/restriction-lateroflexion": "lumbar/lumbar-dysfunctions/segmental/restriction-lateroflexion", + "lumbar/lumbar-dysfunctions/segmental/restriction-rotation": "lumbar/lumbar-dysfunctions/segmental/restriction-rotation", + "lumbar/lumbar-dysfunctions/segmental/localized-fixation": "lumbar/lumbar-dysfunctions/segmental/localized-fixation", + "lumbar/lumbar-dysfunctions/group": "lumbar/lumbar-dysfunctions/group", + "lumbar/lumbar-dysfunctions/group/nsr-group": "lumbar/lumbar-dysfunctions/group/nsr-group", + "lumbar/lumbar-dysfunctions/group/functional-scoliotic-attitude": "lumbar/lumbar-dysfunctions/group/functional-scoliotic-attitude", + "lumbar/lumbar-dysfunctions/muscular": "lumbar/lumbar-dysfunctions/muscular", + "lumbar/lumbar-dysfunctions/muscular/longissimus-tension": "lumbar/lumbar-dysfunctions/muscular/longissimus-tension", + "lumbar/lumbar-dysfunctions/muscular/iliocostalis-tension": "lumbar/lumbar-dysfunctions/muscular/iliocostalis-tension", + "lumbar/lumbar-dysfunctions/muscular/psoas-tension": "lumbar/lumbar-dysfunctions/muscular/psoas-tension", + "lumbar/lumbar-dysfunctions/muscular/trigger-points": "lumbar/lumbar-dysfunctions/muscular/trigger-points", + "lumbar/lumbar-dysfunctions/mechanical": "lumbar/lumbar-dysfunctions/mechanical", + "lumbar/lumbar-dysfunctions/mechanical/muscle-relief-asymmetry": "lumbar/lumbar-dysfunctions/mechanical/muscle-relief-asymmetry", + "lumbar/lumbar-dysfunctions/mechanical/pelvic-tilt-asymmetry": "lumbar/lumbar-dysfunctions/mechanical/pelvic-tilt-asymmetry", + "lumbar/lumbar-observations": "lumbar/lumbar-consultation-reasons", + "lumbar/lumbar-observations/ridden-work": "lumbar/lumbar-consultation-reasons/ridden-work", + "lumbar/lumbar-observations/ridden-work/hollow-back-under-rider": "lumbar/lumbar-consultation-reasons/ridden-work/hollow-back-under-rider", + "lumbar/lumbar-observations/ridden-work/hindlimb-engagement": "lumbar/lumbar-consultation-reasons/ridden-work/hindlimb-engagement", + "lumbar/lumbar-observations/ridden-work/jumping-difficulty": "lumbar/lumbar-consultation-reasons/ridden-work/jumping-difficulty", + "lumbar/lumbar-observations/ridden-work/blocking-at-work": "lumbar/lumbar-consultation-reasons/ridden-work/blocking-at-work", + "lumbar/lumbar-observations/girthing-defense": "lumbar/lumbar-consultation-reasons/girthing-defense", + "lumbar/lumbar-observations/palpation-sensitivity": "lumbar/lumbar-consultation-reasons/palpation-sensitivity", + "lumbar/lumbar-observations/new-stiffness": "lumbar/lumbar-consultation-reasons/new-stiffness", + "lumbar/anamnesis": "lumbar/anamnesis", + "lumbar/anamnesis/trauma-direct": "lumbar/anamnesis/trauma-direct", + "lumbar/anamnesis/saddle-context": "lumbar/anamnesis/saddle-context", + "lumbar/anamnesis/posture-context": "lumbar/anamnesis/posture-context", + "lumbar/anamnesis/stress-context": "lumbar/anamnesis/stress-context", + "lumbar/anamnesis/post-veterinary": "lumbar/anamnesis/post-veterinary", + "lumbar/anamnesis/no-identified-cause": "lumbar/anamnesis/no-identified-cause", + "l6-s1/l6-s1-dysfunctions": "l6-s1/l6-s1-dysfunctions", + "l6-s1/l6-s1-dysfunctions/segmental": "l6-s1/l6-s1-dysfunctions/segmental", + "l6-s1/l6-s1-dysfunctions/segmental/restriction-flexion": "l6-s1/l6-s1-dysfunctions/segmental/restriction-flexion", + "l6-s1/l6-s1-dysfunctions/segmental/restriction-extension": "l6-s1/l6-s1-dysfunctions/segmental/restriction-extension", + "l6-s1/l6-s1-dysfunctions/segmental/restriction-lateroflexion": "l6-s1/l6-s1-dysfunctions/segmental/restriction-lateroflexion", + "l6-s1/l6-s1-dysfunctions/segmental/restriction-rotation": "l6-s1/l6-s1-dysfunctions/segmental/restriction-rotation", + "l6-s1/l6-s1-dysfunctions/segmental/fixation": "l6-s1/l6-s1-dysfunctions/segmental/fixation", + "l6-s1/l6-s1-dysfunctions/muscular": "l6-s1/l6-s1-dysfunctions/muscular", + "l6-s1/l6-s1-dysfunctions/muscular/psoas-tension": "l6-s1/l6-s1-dysfunctions/muscular/psoas-tension", + "l6-s1/l6-s1-dysfunctions/muscular/longissimus-tension": "l6-s1/l6-s1-dysfunctions/muscular/longissimus-tension", + "l6-s1/l6-s1-dysfunctions/muscular/gluteal-tension": "l6-s1/l6-s1-dysfunctions/muscular/gluteal-tension", + "l6-s1/l6-s1-dysfunctions/muscular/trigger-points": "l6-s1/l6-s1-dysfunctions/muscular/trigger-points", + "l6-s1/l6-s1-dysfunctions/mechanical": "l6-s1/l6-s1-dysfunctions/mechanical", + "l6-s1/l6-s1-dysfunctions/mechanical/amplitude-asymmetry": "l6-s1/l6-s1-dysfunctions/mechanical/amplitude-asymmetry", + "l6-s1/l6-s1-dysfunctions/mechanical/alignment-asymmetry": "l6-s1/l6-s1-dysfunctions/mechanical/alignment-asymmetry", + "l6-s1/l6-s1-observations": "l6-s1/l6-s1-consultation-reasons", + "l6-s1/l6-s1-observations/hindlimb-engagement": "l6-s1/l6-s1-consultation-reasons/hindlimb-engagement", + "l6-s1/l6-s1-observations/canter-quality": "l6-s1/l6-s1-consultation-reasons/canter-quality", + "l6-s1/l6-s1-observations/jumping-propulsion": "l6-s1/l6-s1-consultation-reasons/jumping-propulsion", + "l6-s1/l6-s1-observations/palpation-sensitivity": "l6-s1/l6-s1-consultation-reasons/palpation-sensitivity", + "l6-s1/anamnesis": "l6-s1/anamnesis", + "l6-s1/anamnesis/trauma-direct": "l6-s1/anamnesis/trauma-direct", + "l6-s1/anamnesis/saddle-context": "l6-s1/anamnesis/saddle-context", + "l6-s1/anamnesis/posture-context": "l6-s1/anamnesis/posture-context", + "l6-s1/anamnesis/stress-context": "l6-s1/anamnesis/stress-context", + "l6-s1/anamnesis/post-veterinary": "l6-s1/anamnesis/post-veterinary", + "l6-s1/anamnesis/no-identified-cause": "l6-s1/anamnesis/no-identified-cause", + "sacral/sacral-dysfunctions": "sacral/sacral-dysfunctions", + "sacral/sacral-dysfunctions/mobility": "sacral/sacral-dysfunctions/mobility", + "sacral/sacral-dysfunctions/mobility/nutation-restriction": "sacral/sacral-dysfunctions/mobility/nutation-restriction", + "sacral/sacral-dysfunctions/mobility/counternutation-restriction": "sacral/sacral-dysfunctions/mobility/counternutation-restriction", + "sacral/sacral-dysfunctions/mobility/sacral-torsion": "sacral/sacral-dysfunctions/mobility/sacral-torsion", + "sacral/sacral-dysfunctions/mobility/lateralisation": "sacral/sacral-dysfunctions/mobility/lateralisation", + "sacral/sacral-dysfunctions/muscular": "sacral/sacral-dysfunctions/muscular", + "sacral/sacral-dysfunctions/muscular/gluteal-tension": "sacral/sacral-dysfunctions/muscular/gluteal-tension", + "sacral/sacral-dysfunctions/muscular/longissimus-tension": "sacral/sacral-dysfunctions/muscular/longissimus-tension", + "sacral/sacral-dysfunctions/muscular/sacrocaudalis-tension": "sacral/sacral-dysfunctions/muscular/sacrocaudalis-tension", + "sacral/sacral-dysfunctions/muscular/trigger-points": "sacral/sacral-dysfunctions/muscular/trigger-points", + "sacral/sacral-dysfunctions/mechanical": "sacral/sacral-dysfunctions/mechanical", + "sacral/sacral-dysfunctions/mechanical/tuber-sacrale-asymmetry": "sacral/sacral-dysfunctions/mechanical/tuber-sacrale-asymmetry", + "sacral/sacral-dysfunctions/mechanical/pelvic-obliquity": "sacral/sacral-dysfunctions/mechanical/pelvic-obliquity", + "sacral/sacral-observations": "sacral/sacral-consultation-reasons", + "sacral/sacral-observations/ridden-work": "sacral/sacral-consultation-reasons/ridden-work", + "sacral/sacral-observations/ridden-work/hindlimb-propulsion": "sacral/sacral-consultation-reasons/ridden-work/hindlimb-propulsion", + "sacral/sacral-observations/ridden-work/canter-quality": "sacral/sacral-consultation-reasons/ridden-work/canter-quality", + "sacral/sacral-observations/ridden-work/bunny-hopping": "sacral/sacral-consultation-reasons/ridden-work/bunny-hopping", + "sacral/sacral-observations/tail-carriage": "sacral/sacral-consultation-reasons/tail-carriage", + "sacral/sacral-observations/palpation-sensitivity": "sacral/sacral-consultation-reasons/palpation-sensitivity", + "sacral/sacral-observations/new-stiffness": "sacral/sacral-consultation-reasons/new-stiffness", + "sacral/anamnesis": "sacral/anamnesis", + "sacral/anamnesis/trauma-direct": "sacral/anamnesis/trauma-direct", + "sacral/anamnesis/saddle-context": "sacral/anamnesis/saddle-context", + "sacral/anamnesis/posture-context": "sacral/anamnesis/posture-context", + "sacral/anamnesis/stress-context": "sacral/anamnesis/stress-context", + "sacral/anamnesis/post-veterinary": "sacral/anamnesis/post-veterinary", + "sacral/anamnesis/no-identified-cause": "sacral/anamnesis/no-identified-cause", + "sacroiliac/sacroiliac-dysfunctions": "sacroiliac/sacroiliac-dysfunctions", + "sacroiliac/sacroiliac-dysfunctions/articular": "sacroiliac/sacroiliac-dysfunctions/articular", + "sacroiliac/sacroiliac-dysfunctions/articular/nutation-restriction": "sacroiliac/sacroiliac-dysfunctions/articular/nutation-restriction", + "sacroiliac/sacroiliac-dysfunctions/articular/counternutation-restriction": "sacroiliac/sacroiliac-dysfunctions/articular/counternutation-restriction", + "sacroiliac/sacroiliac-dysfunctions/articular/iliac-rotation": "sacroiliac/sacroiliac-dysfunctions/articular/iliac-rotation", + "sacroiliac/sacroiliac-dysfunctions/articular/shear-restriction": "sacroiliac/sacroiliac-dysfunctions/articular/shear-restriction", + "sacroiliac/sacroiliac-dysfunctions/articular/hypomobility": "sacroiliac/sacroiliac-dysfunctions/articular/hypomobility", + "sacroiliac/sacroiliac-dysfunctions/articular/hypermobility": "sacroiliac/sacroiliac-dysfunctions/articular/hypermobility", + "sacroiliac/sacroiliac-dysfunctions/muscular": "sacroiliac/sacroiliac-dysfunctions/muscular", + "sacroiliac/sacroiliac-dysfunctions/muscular/gluteus-medius-tension": "sacroiliac/sacroiliac-dysfunctions/muscular/gluteus-medius-tension", + "sacroiliac/sacroiliac-dysfunctions/muscular/longissimus-tension": "sacroiliac/sacroiliac-dysfunctions/muscular/longissimus-tension", + "sacroiliac/sacroiliac-dysfunctions/muscular/biceps-femoris-tension": "sacroiliac/sacroiliac-dysfunctions/muscular/biceps-femoris-tension", + "sacroiliac/sacroiliac-dysfunctions/muscular/sacrotuberous-tension": "sacroiliac/sacroiliac-dysfunctions/muscular/sacrotuberous-ligament", + "sacroiliac/sacroiliac-dysfunctions/muscular/trigger-points": "sacroiliac/sacroiliac-dysfunctions/muscular/trigger-points", + "sacroiliac/sacroiliac-dysfunctions/mechanical": "sacroiliac/sacroiliac-dysfunctions/mechanical", + "sacroiliac/sacroiliac-dysfunctions/mechanical/tuber-sacrale-asymmetry": "sacroiliac/sacroiliac-dysfunctions/mechanical/tuber-sacrale-asymmetry", + "sacroiliac/sacroiliac-dysfunctions/mechanical/tuber-coxae-asymmetry": "sacroiliac/sacroiliac-dysfunctions/mechanical/tuber-coxae-asymmetry", + "sacroiliac/sacroiliac-dysfunctions/mechanical/pelvic-obliquity": "sacroiliac/sacroiliac-dysfunctions/mechanical/pelvic-obliquity", + "sacroiliac/sacroiliac-observations": "sacroiliac/sacroiliac-consultation-reasons", + "sacroiliac/sacroiliac-observations/ridden-work": "sacroiliac/sacroiliac-consultation-reasons/ridden-work", + "sacroiliac/sacroiliac-observations/ridden-work/hindlimb-engagement": "sacroiliac/sacroiliac-consultation-reasons/ridden-work/hindlimb-engagement", + "sacroiliac/sacroiliac-observations/ridden-work/canter-disunited": "sacroiliac/sacroiliac-consultation-reasons/ridden-work/canter-disunited", + "sacroiliac/sacroiliac-observations/ridden-work/bunny-hopping": "sacroiliac/sacroiliac-consultation-reasons/ridden-work/bunny-hopping", + "sacroiliac/sacroiliac-observations/ridden-work/jumping-difficulty": "sacroiliac/sacroiliac-consultation-reasons/ridden-work/jumping-difficulty", + "sacroiliac/sacroiliac-observations/croup-asymmetry": "sacroiliac/sacroiliac-consultation-reasons/croup-asymmetry", + "sacroiliac/sacroiliac-observations/hindlimb-lameness": "sacroiliac/sacroiliac-consultation-reasons/hindlimb-lameness", + "sacroiliac/anamnesis": "sacroiliac/anamnesis", + "sacroiliac/anamnesis/trauma-direct": "sacroiliac/anamnesis/trauma-direct", + "sacroiliac/anamnesis/sport-context": "sacroiliac/anamnesis/sport-context", + "sacroiliac/anamnesis/posture-context": "sacroiliac/anamnesis/posture-context", + "sacroiliac/anamnesis/stress-context": "sacroiliac/anamnesis/stress-context", + "sacroiliac/anamnesis/post-veterinary": "sacroiliac/anamnesis/post-veterinary", + "sacroiliac/anamnesis/no-identified-cause": "sacroiliac/anamnesis/no-identified-cause", + "hip/hip-dysfunctions": "hip/hip-dysfunctions", + "hip/hip-dysfunctions/articular": "hip/hip-dysfunctions/articular", + "hip/hip-dysfunctions/articular/restriction-flexion": "hip/hip-dysfunctions/articular/restriction-flexion", + "hip/hip-dysfunctions/articular/restriction-extension": "hip/hip-dysfunctions/articular/restriction-extension", + "hip/hip-dysfunctions/articular/restriction-abduction-adduction": "hip/hip-dysfunctions/articular/restriction-abduction-adduction", + "hip/hip-dysfunctions/articular/restriction-rotation": "hip/hip-dysfunctions/articular/restriction-rotation", + "hip/hip-dysfunctions/articular/hypomobility": "hip/hip-dysfunctions/articular/hypomobility", + "hip/hip-dysfunctions/articular/hypermobility": "hip/hip-dysfunctions/articular/hypermobility", + "hip/hip-dysfunctions/muscular": "hip/hip-dysfunctions/muscular", + "hip/hip-dysfunctions/muscular/gluteal-group-tension": "hip/hip-dysfunctions/muscular/gluteal-group-tension", + "hip/hip-dysfunctions/muscular/iliopsoas-tension": "hip/hip-dysfunctions/muscular/iliopsoas-tension", + "hip/hip-dysfunctions/muscular/adductors-tension": "hip/hip-dysfunctions/muscular/adductors-tension", + "hip/hip-dysfunctions/muscular/biceps-femoris-tension": "hip/hip-dysfunctions/muscular/biceps-femoris-tension", + "hip/hip-dysfunctions/muscular/trigger-points": "hip/hip-dysfunctions/muscular/trigger-points", + "hip/hip-dysfunctions/mechanical": "hip/hip-dysfunctions/mechanical", + "hip/hip-dysfunctions/mechanical/weight-bearing-asymmetry": "hip/hip-dysfunctions/mechanical/weight-bearing-asymmetry", + "hip/hip-dysfunctions/mechanical/amplitude-asymmetry": "hip/hip-dysfunctions/mechanical/amplitude-asymmetry", + "hip/hip-dysfunctions/mechanical/croup-asymmetry": "hip/hip-dysfunctions/mechanical/croup-asymmetry", + "hip/hip-observations": "hip/hip-consultation-reasons", + "hip/hip-observations/ridden-work": "hip/hip-consultation-reasons/ridden-work", + "hip/hip-observations/ridden-work/canter-difficulty": "hip/hip-consultation-reasons/ridden-work/canter-difficulty", + "hip/hip-observations/ridden-work/backing-difficulty": "hip/hip-consultation-reasons/ridden-work/backing-difficulty", + "hip/hip-observations/ridden-work/limb-engagement": "hip/hip-consultation-reasons/ridden-work/limb-engagement", + "hip/hip-observations/ridden-work/jumping-difficulty": "hip/hip-consultation-reasons/ridden-work/jumping-difficulty", + "hip/hip-observations/limb-lameness": "hip/hip-consultation-reasons/limb-lameness", + "hip/anamnesis": "hip/anamnesis", + "hip/anamnesis/trauma-direct": "hip/anamnesis/trauma-direct", + "hip/anamnesis/sport-context": "hip/anamnesis/sport-context", + "hip/anamnesis/posture-context": "hip/anamnesis/posture-context", + "hip/anamnesis/stress-context": "hip/anamnesis/stress-context", + "hip/anamnesis/post-veterinary": "hip/anamnesis/post-veterinary", + "hip/anamnesis/no-identified-cause": "hip/anamnesis/no-identified-cause", + "stifle/stifle-dysfunctions": "stifle/stifle-dysfunctions", + "stifle/stifle-dysfunctions/articular": "stifle/stifle-dysfunctions/articular", + "stifle/stifle-dysfunctions/articular/restriction-flexion": "stifle/stifle-dysfunctions/articular/restriction-flexion", + "stifle/stifle-dysfunctions/articular/restriction-extension": "stifle/stifle-dysfunctions/articular/restriction-extension", + "stifle/stifle-dysfunctions/articular/restriction-patellar-glide": "stifle/stifle-dysfunctions/articular/restriction-patellar-glide", + "stifle/stifle-dysfunctions/articular/restriction-tibial-rotation": "stifle/stifle-dysfunctions/articular/restriction-tibial-rotation", + "stifle/stifle-dysfunctions/articular/hypomobility": "stifle/stifle-dysfunctions/articular/hypomobility", + "stifle/stifle-dysfunctions/articular/hypermobility": "stifle/stifle-dysfunctions/articular/hypermobility", + "stifle/stifle-dysfunctions/muscular": "stifle/stifle-dysfunctions/muscular", + "stifle/stifle-dysfunctions/muscular/quadriceps-tension": "stifle/stifle-dysfunctions/muscular/quadriceps-tension", + "stifle/stifle-dysfunctions/muscular/hamstrings-tension": "stifle/stifle-dysfunctions/muscular/hamstrings-tension", + "stifle/stifle-dysfunctions/muscular/tfl-tension": "stifle/stifle-dysfunctions/muscular/tfl-tension", + "stifle/stifle-dysfunctions/muscular/trigger-points": "stifle/stifle-dysfunctions/muscular/trigger-points", + "stifle/stifle-dysfunctions/mechanical": "stifle/stifle-dysfunctions/mechanical", + "stifle/stifle-dysfunctions/mechanical/weight-bearing-asymmetry": "stifle/stifle-dysfunctions/mechanical/weight-bearing-asymmetry", + "stifle/stifle-dysfunctions/mechanical/amplitude-asymmetry": "stifle/stifle-dysfunctions/mechanical/amplitude-asymmetry", + "stifle/stifle-dysfunctions/mechanical/patellar-lateral-deviation": "stifle/stifle-dysfunctions/mechanical/patellar-lateral-deviation", + "stifle/stifle-observations": "stifle/stifle-consultation-reasons", + "stifle/stifle-observations/ridden-work": "stifle/stifle-consultation-reasons/ridden-work", + "stifle/stifle-observations/ridden-work/canter-difficulty": "stifle/stifle-consultation-reasons/ridden-work/canter-difficulty", + "stifle/stifle-observations/ridden-work/backing-difficulty": "stifle/stifle-consultation-reasons/ridden-work/backing-difficulty", + "stifle/stifle-observations/ridden-work/limb-engagement": "stifle/stifle-consultation-reasons/ridden-work/limb-engagement", + "stifle/stifle-observations/ridden-work/jumping-difficulty": "stifle/stifle-consultation-reasons/ridden-work/jumping-difficulty", + "stifle/stifle-observations/patellar-catching": "stifle/stifle-consultation-reasons/patellar-catching", + "stifle/stifle-observations/limb-lameness": "stifle/stifle-consultation-reasons/limb-lameness", + "stifle/anamnesis": "stifle/anamnesis", + "stifle/anamnesis/trauma-direct": "stifle/anamnesis/trauma-direct", + "stifle/anamnesis/sport-context": "stifle/anamnesis/sport-context", + "stifle/anamnesis/posture-context": "stifle/anamnesis/posture-context", + "stifle/anamnesis/stress-context": "stifle/anamnesis/stress-context", + "stifle/anamnesis/post-veterinary": "stifle/anamnesis/post-veterinary", + "stifle/anamnesis/no-identified-cause": "stifle/anamnesis/no-identified-cause", + "hock/hock-dysfunctions": "hock/hock-dysfunctions", + "hock/hock-dysfunctions/articular": "hock/hock-dysfunctions/articular", + "hock/hock-dysfunctions/articular/restriction-flexion": "hock/hock-dysfunctions/articular/restriction-flexion", + "hock/hock-dysfunctions/articular/restriction-extension": "hock/hock-dysfunctions/articular/restriction-extension", + "hock/hock-dysfunctions/articular/restriction-rotation": "hock/hock-dysfunctions/articular/restriction-rotation", + "hock/hock-dysfunctions/articular/restriction-small-joints": "hock/hock-dysfunctions/articular/restriction-small-joints", + "hock/hock-dysfunctions/articular/hypomobility": "hock/hock-dysfunctions/articular/hypomobility", + "hock/hock-dysfunctions/articular/hypermobility": "hock/hock-dysfunctions/articular/hypermobility", + "hock/hock-dysfunctions/muscular": "hock/hock-dysfunctions/muscular", + "hock/hock-dysfunctions/muscular/gastrocnemius-tension": "hock/hock-dysfunctions/muscular/gastrocnemius-tension", + "hock/hock-dysfunctions/muscular/peroneus-tertius": "hock/hock-dysfunctions/muscular/peroneus-tertius", + "hock/hock-dysfunctions/muscular/deep-digital-flexor": "hock/hock-dysfunctions/muscular/deep-digital-flexor", + "hock/hock-dysfunctions/muscular/tibialis-cranialis": "hock/hock-dysfunctions/muscular/tibialis-cranialis", + "hock/hock-dysfunctions/muscular/trigger-points": "hock/hock-dysfunctions/muscular/trigger-points", + "hock/hock-dysfunctions/mechanical": "hock/hock-dysfunctions/mechanical", + "hock/hock-dysfunctions/mechanical/weight-bearing-asymmetry": "hock/hock-dysfunctions/mechanical/weight-bearing-asymmetry", + "hock/hock-dysfunctions/mechanical/amplitude-asymmetry": "hock/hock-dysfunctions/mechanical/amplitude-asymmetry", + "hock/hock-dysfunctions/mechanical/hock-axis-asymmetry": "hock/hock-dysfunctions/mechanical/hock-axis-asymmetry", + "hock/hock-observations": "hock/hock-consultation-reasons", + "hock/hock-observations/ridden-work": "hock/hock-consultation-reasons/ridden-work", + "hock/hock-observations/ridden-work/canter-difficulty": "hock/hock-consultation-reasons/ridden-work/canter-difficulty", + "hock/hock-observations/ridden-work/backing-difficulty": "hock/hock-consultation-reasons/ridden-work/backing-difficulty", + "hock/hock-observations/ridden-work/limb-engagement": "hock/hock-consultation-reasons/ridden-work/limb-engagement", + "hock/hock-observations/ridden-work/jumping-difficulty": "hock/hock-consultation-reasons/ridden-work/jumping-difficulty", + "hock/hock-observations/limb-lameness": "hock/hock-consultation-reasons/limb-lameness", + "hock/anamnesis": "hock/anamnesis", + "hock/anamnesis/trauma-direct": "hock/anamnesis/trauma-direct", + "hock/anamnesis/sport-context": "hock/anamnesis/sport-context", + "hock/anamnesis/posture-context": "hock/anamnesis/posture-context", + "hock/anamnesis/stress-context": "hock/anamnesis/stress-context", + "hock/anamnesis/post-veterinary": "hock/anamnesis/post-veterinary", + "hock/anamnesis/no-identified-cause": "hock/anamnesis/no-identified-cause", + "hind-fetlock/hind-fetlock-dysfunctions": "hind-fetlock/hind-fetlock-dysfunctions", + "hind-fetlock/hind-fetlock-dysfunctions/articular": "hind-fetlock/hind-fetlock-dysfunctions/articular", + "hind-fetlock/hind-fetlock-dysfunctions/articular/restriction-flexion": "hind-fetlock/hind-fetlock-dysfunctions/articular/restriction-flexion", + "hind-fetlock/hind-fetlock-dysfunctions/articular/restriction-extension": "hind-fetlock/hind-fetlock-dysfunctions/articular/restriction-extension", + "hind-fetlock/hind-fetlock-dysfunctions/articular/restriction-lateromedial": "hind-fetlock/hind-fetlock-dysfunctions/articular/restriction-lateromedial", + "hind-fetlock/hind-fetlock-dysfunctions/articular/hypomobility": "hind-fetlock/hind-fetlock-dysfunctions/articular/hypomobility", + "hind-fetlock/hind-fetlock-dysfunctions/articular/hypermobility": "hind-fetlock/hind-fetlock-dysfunctions/articular/hypermobility", + "hind-fetlock/hind-fetlock-dysfunctions/muscular": "hind-fetlock/hind-fetlock-dysfunctions/muscular", + "hind-fetlock/hind-fetlock-dysfunctions/muscular/digital-flexors-tendon": "hind-fetlock/hind-fetlock-dysfunctions/muscular/digital-flexors-tendon", + "hind-fetlock/hind-fetlock-dysfunctions/muscular/digital-extensor-tendon": "hind-fetlock/hind-fetlock-dysfunctions/muscular/digital-extensor-tendon", + "hind-fetlock/hind-fetlock-dysfunctions/muscular/plantar-fascia": "hind-fetlock/hind-fetlock-dysfunctions/muscular/plantar-fascia", + "hind-fetlock/hind-fetlock-dysfunctions/mechanical": "hind-fetlock/hind-fetlock-dysfunctions/mechanical", + "hind-fetlock/hind-fetlock-dysfunctions/mechanical/weight-bearing-asymmetry": "hind-fetlock/hind-fetlock-dysfunctions/mechanical/weight-bearing-asymmetry", + "hind-fetlock/hind-fetlock-dysfunctions/mechanical/amplitude-asymmetry": "hind-fetlock/hind-fetlock-dysfunctions/mechanical/amplitude-asymmetry", + "hind-fetlock/hind-fetlock-dysfunctions/mechanical/fetlock-axis-asymmetry": "hind-fetlock/hind-fetlock-dysfunctions/mechanical/fetlock-axis-asymmetry", + "hind-fetlock/hind-fetlock-observations": "hind-fetlock/hind-fetlock-consultation-reasons", + "hind-fetlock/hind-fetlock-observations/ridden-work": "hind-fetlock/hind-fetlock-consultation-reasons/ridden-work", + "hind-fetlock/hind-fetlock-observations/ridden-work/canter-difficulty": "hind-fetlock/hind-fetlock-consultation-reasons/ridden-work/canter-difficulty", + "hind-fetlock/hind-fetlock-observations/ridden-work/backing-difficulty": "hind-fetlock/hind-fetlock-consultation-reasons/ridden-work/backing-difficulty", + "hind-fetlock/hind-fetlock-observations/ridden-work/limb-engagement": "hind-fetlock/hind-fetlock-consultation-reasons/ridden-work/limb-engagement", + "hind-fetlock/hind-fetlock-observations/ridden-work/jumping-difficulty": "hind-fetlock/hind-fetlock-consultation-reasons/ridden-work/jumping-difficulty", + "hind-fetlock/hind-fetlock-observations/limb-lameness": "hind-fetlock/hind-fetlock-consultation-reasons/limb-lameness", + "hind-fetlock/anamnesis": "hind-fetlock/anamnesis", + "hind-fetlock/anamnesis/trauma-direct": "hind-fetlock/anamnesis/trauma-direct", + "hind-fetlock/anamnesis/sport-context": "hind-fetlock/anamnesis/sport-context", + "hind-fetlock/anamnesis/posture-context": "hind-fetlock/anamnesis/posture-context", + "hind-fetlock/anamnesis/stress-context": "hind-fetlock/anamnesis/stress-context", + "hind-fetlock/anamnesis/post-veterinary": "hind-fetlock/anamnesis/post-veterinary", + "hind-fetlock/anamnesis/no-identified-cause": "hind-fetlock/anamnesis/no-identified-cause", + "caudal/caudal-dysfunctions": "caudal/caudal-dysfunctions", + "caudal/caudal-dysfunctions/segmental": "caudal/caudal-dysfunctions/segmental", + "caudal/caudal-dysfunctions/segmental/restriction-lateroflexion": "caudal/caudal-dysfunctions/segmental/restriction-lateroflexion", + "caudal/caudal-dysfunctions/segmental/restriction-dorsoventral": "caudal/caudal-dysfunctions/segmental/restriction-dorsoventral", + "caudal/caudal-dysfunctions/segmental/localized-fixation": "caudal/caudal-dysfunctions/segmental/localized-fixation", + "caudal/caudal-dysfunctions/muscular": "caudal/caudal-dysfunctions/muscular", + "caudal/caudal-dysfunctions/muscular/sacrocaudalis-dorsalis": "caudal/caudal-dysfunctions/muscular/sacrocaudalis-dorsalis", + "caudal/caudal-dysfunctions/muscular/sacrocaudalis-ventralis": "caudal/caudal-dysfunctions/muscular/sacrocaudalis-ventralis", + "caudal/caudal-dysfunctions/muscular/coccygeus-tension": "caudal/caudal-dysfunctions/muscular/coccygeus-tension", + "caudal/caudal-dysfunctions/mechanical": "caudal/caudal-dysfunctions/mechanical", + "caudal/caudal-dysfunctions/mechanical/tail-deviation": "caudal/caudal-dysfunctions/mechanical/tail-deviation", + "caudal/caudal-dysfunctions/mechanical/tail-carriage-asymmetry": "caudal/caudal-dysfunctions/mechanical/tail-carriage-asymmetry", + "caudal/caudal-observations": "caudal/caudal-consultation-reasons", + "caudal/caudal-observations/tail-clamped": "caudal/caudal-consultation-reasons/tail-clamped", + "caudal/caudal-observations/tail-swishing": "caudal/caudal-consultation-reasons/tail-swishing", + "caudal/caudal-observations/tail-deviation-new": "caudal/caudal-consultation-reasons/tail-deviation-new", + "caudal/caudal-observations/tail-handling-sensitivity": "caudal/caudal-consultation-reasons/tail-handling-sensitivity", + "caudal/anamnesis": "caudal/anamnesis", + "caudal/anamnesis/trauma-direct": "caudal/anamnesis/trauma-direct", + "caudal/anamnesis/saddle-context": "caudal/anamnesis/saddle-context", + "caudal/anamnesis/posture-context": "caudal/anamnesis/posture-context", + "caudal/anamnesis/stress-context": "caudal/anamnesis/stress-context", + "caudal/anamnesis/post-veterinary": "caudal/anamnesis/post-veterinary", + "caudal/anamnesis/no-identified-cause": "caudal/anamnesis/no-identified-cause" + } +} diff --git a/supabase/seed/anatomical-sheets/equine/draft/review/app-head.svg b/supabase/seed/anatomical-sheets/equine/draft/review/app-head.svg new file mode 100644 index 00000000..ba0113f5 --- /dev/null +++ b/supabase/seed/anatomical-sheets/equine/draft/review/app-head.svg @@ -0,0 +1,704 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Pariétal / Parietal bonePariétal / Parietal boneFrontal / Frontal boneFrontal / Frontal boneSphénoïde / Sphenoid boneSphénoïde / Sphenoid boneTemporal / Temporal boneTemporal / Temporal boneOccipital / Occipital boneOccipital / Occipital boneArticulation temporo-mandibulaire (ATM) / Temporomandibular joint (TMJ)Articulation temporo-mandibulaire (ATM) / Temporomandibular joint (TMJ)Synchondrose sphéno-occipitale (SSB) / Spheno-occipital synchondrosis (SBS)Synchondrose sphéno-occipitale (SSB) / Spheno-occipital synchondrosis (SBS)Appareil hyoïdien / Hyoid apparatusAppareil hyoïdien / Hyoid apparatusCharnière C0-C1 (atlanto-occipitale) / C0-C1 junction (atlanto-occipital joint)Charnière C0-C1 (atlanto-occipitale) / C0-C1 junction (atlanto-occipital joint) \ No newline at end of file diff --git a/supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg b/supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg new file mode 100644 index 00000000..0dddae59 --- /dev/null +++ b/supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg @@ -0,0 +1,704 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Boulet postérieur (métatarso-phalangien) / Hind fetlockBoulet postérieur (métatarso-phalangien) / Hind fetlockJarret (tarso-crurale et intertarsiennes) / Hock (tarsal joints)Jarret (tarso-crurale et intertarsiennes) / Hock (tarsal joints)Grasset (fémoro-tibiale et fémoro-patellaire) / Stifle jointGrasset (fémoro-tibiale et fémoro-patellaire) / Stifle jointHanche (coxo-fémorale) / Hip jointHanche (coxo-fémorale) / Hip jointArticulation sacro-iliaque / Sacroiliac jointArticulation sacro-iliaque / Sacroiliac jointÉpaule (scapulo-humérale) / Shoulder jointÉpaule (scapulo-humérale) / Shoulder jointCoude (huméro-radio-ulnaire) / Elbow jointCoude (huméro-radio-ulnaire) / Elbow jointCarpe (antébrachio-carpienne, médio-carpienne) / Carpus (carpal joints)Carpe (antébrachio-carpienne, médio-carpienne) / Carpus (carpal joints)Boulet antérieur (métacarpo-phalangien) / Fore fetlockBoulet antérieur (métacarpo-phalangien) / Fore fetlockSésamoïdes antérieurs (boulet) / Forelimb sesamoidsSésamoïdes antérieurs (boulet) / Forelimb sesamoidsCharnière L6-S1 (lombo-sacrée) / L6-S1 junction (lumbosacral joint)Charnière L6-S1 (lombo-sacrée) / L6-S1 junction (lumbosacral joint)Charnière T18-L1 (thoraco-lombaire) / T18-L1 junction (thoracolumbar)Charnière T18-L1 (thoraco-lombaire) / T18-L1 junction (thoracolumbar)Charnière C7-T1 (cervico-thoracique) / C7-T1 junction (cervicothoracic)Charnière C7-T1 (cervico-thoracique) / C7-T1 junction (cervicothoracic)Vertèbres caudales / Caudal vertebraeVertèbres sacrales / Sacral vertebraeVertèbres lombaires / Lumbar vertebraeVertèbres thoraciques / Thoracic vertebraeVertèbres cervicales / Cervical vertebraeTête (vue latérale gauche) / Tête (vue latérale gauche) \ No newline at end of file diff --git a/supabase/seed/anatomical-sheets/equine/draft/sheet-ref.json b/supabase/seed/anatomical-sheets/equine/draft/sheet-ref.json new file mode 100644 index 00000000..5633394d --- /dev/null +++ b/supabase/seed/anatomical-sheets/equine/draft/sheet-ref.json @@ -0,0 +1,7 @@ +{ + "sheet_id": "503dc301-a8b1-50d4-9e44-0919b2fc2916", + "version_id": null, + "document_sha256": "27c7383c445c73dc2001ebf4794a3ea63d416910bbbaa0d7848dd720de7c2660", + "schema_version": 2, + "species_id": "equine" +}