id: TEDY.02.1 template: resource-list module: tedy state: Proposed traces-from: [] source-refs:
- reference-editor/app/src/app/resources/value-set/containers/value-set-list.component.ts
- reference-editor/app/src/app/resources/_lib/value-set/services/value-set-lib.service.ts # GET /ts/value-sets
- helex-tx/modules/tedy/frontend/src/pages/CodeSystemList.tsx # reference pattern author: TEDY bootstrap created: 2026-08-08 updated: 2026-08-08
TEDY.02.1 – Value Set List
Feature grouping
Child of TEDY.02 – Value Set (Common Spec). Siblings: TEDY.02.2 Add, TEDY.02.3 View.
Description
Paged, searchable, filterable list of Value Sets over GET /ts/value-sets, rendered with the canonical ResourceList (mirrors the Code System list, TEDY.01.1). Master-detail preview + row → view.
Columns (reference-editor order)
| Column | Source | Notes |
|---|---|---|
| ID | id | AppLink → view |
| Version | lastVersion.version | decorated |
| Title | title (localized) → name | |
| Publisher | publisher | resolved via publisher VS (useValueSetExpand + resolveLocalizedDisplay), fallback raw |
| Status | lastVersion.status | AppTag (draft/active/retired) |
| Concepts | lastVersion.snapshot.conceptsTotal | expansion size (from snapshot); blank when no snapshot |
Search & filters
- Search →
textContains(debounce ~400ms). - Filter panel (
AppFilterBar, mirrors CS list): Publisher (TxConceptSelectpublisher VS) · Status (TxConceptSelectpublication-status →versionStatus) · Space (AppSelectfromGET /spaces→spaceId). - Add value set primary action →
/tedy/value-sets/new(TEDY.02.2).
Query
GET /ts/value-sets?limit=&offset=&textContains=&publisher=&versionStatus=&spaceId=&lastVersionDecorated=true&lang=
→ { data: ValueSet[], meta: { total, offset } }.
API
Per TEDY.02 § Common API Surface: GET /ts/value-sets, GET /spaces, GET /fhir/ValueSet/$expand (publisher/status).
Business Tests
- List renders live
/ts/value-setsrows with the column order above. - Search maps to
textContains; filters map topublisher/versionStatus/spaceId. - Publisher + status resolve via their value sets; concept count from
lastVersion.snapshot.conceptsTotal. - Row / ID opens TEDY.02.3; Add opens TEDY.02.2.