Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


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)

ColumnSourceNotes
IDidAppLink → view
VersionlastVersion.versiondecorated
Titletitle (localized) → name
Publisherpublisherresolved via publisher VS (useValueSetExpand + resolveLocalizedDisplay), fallback raw
StatuslastVersion.statusAppTag (draft/active/retired)
ConceptslastVersion.snapshot.conceptsTotalexpansion size (from snapshot); blank when no snapshot

Search & filters

  • SearchtextContains (debounce ~400ms).
  • Filter panel (AppFilterBar, mirrors CS list): Publisher (TxConceptSelect publisher VS) · Status (TxConceptSelect publication-status → versionStatus) · Space (AppSelect from GET /spacesspaceId).
  • 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

  1. List renders live /ts/value-sets rows with the column order above.
  2. Search maps to textContains; filters map to publisher / versionStatus / spaceId.
  3. Publisher + status resolve via their value sets; concept count from lastVersion.snapshot.conceptsTotal.
  4. Row / ID opens TEDY.02.3; Add opens TEDY.02.2.