id: TEDY.03.3 template: resource-management module: tedy state: Proposed traces-from: [] source-refs:
- reference-editor/app/src/app/resources/map-set/containers/summary
- reference-editor/app/src/app/resources/map-set/services/map-set-service.ts
- reference-editor/app/src/app/resources/_lib/map-set/services/map-set-lib.service.ts
- helex-tx/modules/tedy/frontend/src/pages/value-set/ValueSetShell.tsx # shared shell to reuse author: TEDY bootstrap created: 2026-08-08 updated: 2026-08-08
TEDY.03.3 – Map Set View
Feature grouping
Child of TEDY.03 – Map Set (Common Spec). Siblings: TEDY.03.1 List, TEDY.03.2 Add.
Description
Tabbed detail view for one Map Set, reusing the shared TedyResourceShell (header + tabs + version selector). Loads GET /ts/map-sets/{id}?decorate=true once and shares it via Outlet context.
Tabs
| Tab | Content | Source |
|---|---|---|
| Summary | Info card (icon-list) · Versions card · Scope (source→target) · Statistics · Tasks · Related artifacts | reuse TedyInfoCard/widgets; new MS scope + stats widgets |
| Metadata | Full field view + edit (ResourceForm) reusing the TEDY.03.2 field set | POST /ts/map-sets/transaction |
| Associations | The mappings grid (source → relationship → target · verified · no-map) with filter + verify/unmap/automap + add/edit | .../associations, .../versions/{v}/concepts, association write ops |
Summary — Scope + Statistics
- Scope (from the selected version): sourceType + source system(s)/value set → targetType + target system(s)/value set.
- Statistics (
version.statistics): sourceConcepts · equivalent · narrower · broader · noMap · unmapped · inactiveSources/Targets — with a Reload statistics action (reload-statistics-async).
Associations tab
- Grid columns: source (code · display · system) → relationship (concept-map-relationship) → target (code · display · system) · verified · no-map.
- Filter (
MapSetAssociationSearchParams): relationship · verified · no-map; server-paged via.../associations. - Row / bulk actions: Verify / Unverify (
.../associations/verify), Unmap (.../associations/unmap), Edit (PUT .../associations/{id}), Add association (POST .../associations), Automap (.../associations/automap→ job). - Association editor: source concept + target concept (
TxConceptSelectover the scope systems) + relationship (TxConceptSelectconcept-map-relationship) + no-map toggle.
API
Per TEDY.03 § Common API Surface: load (?decorate=true), versions + lifecycle, associations (search / concepts / create / update / batch / verify / unmap / automap), reload-statistics, provenances, change-id, delete.
Reuse note
Shell, version form, SemanticVersionSelect, info/versions/Tasks/Related-artifacts widgets, and the compact Tedy* UI are shared with TEDY.01/02 — this view adds MS-specific Scope, Statistics, and Associations surfaces. The associations grid + editor is the MS analogue of the ValueSet rule editor.
Business Tests
- View loads
/ts/map-sets/{id}?decorate=trueand renders Summary/Metadata/Associations. - Summary shows the version scope + statistics; Reload statistics triggers the async job.
- Associations grid lists mappings; filter by relationship/verified/no-map; verify/unmap/automap/add/edit hit the association endpoints.
- Version lifecycle + metadata edit require
MapSet.write.