Skip to content

Add CodeSystem $lookup operation to Frontend UI#3618

Open
xmyno wants to merge 1 commit into
mainfrom
3521-fe-codesystem-lookup
Open

Add CodeSystem $lookup operation to Frontend UI#3618
xmyno wants to merge 1 commit into
mainfrom
3521-fe-codesystem-lookup

Conversation

@xmyno
Copy link
Copy Markdown
Collaborator

@xmyno xmyno commented May 6, 2026

Closes #3521

@xmyno xmyno requested a review from alexanderkiel as a code owner May 6, 2026 14:30
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.11%. Comparing base (47fef99) to head (bbe88c4).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3618      +/-   ##
==========================================
- Coverage   96.12%   96.11%   -0.01%     
==========================================
  Files         414      414              
  Lines       25855    25879      +24     
  Branches      643      643              
==========================================
+ Hits        24852    24874      +22     
  Misses        476      476              
- Partials      527      529       +2     
Files with missing lines Coverage Δ
...cal/src/blaze/terminology_service/local/lookup.clj 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xmyno xmyno force-pushed the 3521-fe-codesystem-lookup branch from e3d55e6 to bbe88c4 Compare May 6, 2026 15:30
if (!res.ok) {
const error: OperationOutcome = await res.json();
return fail(400, {
code,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please deduplicate like in $validate-code/+page.server.ts

if (!res.ok) {
const error: OperationOutcome = await res.json();
return fail(400, {
system,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please deduplicate like in $validate-code/+page.server.ts

<Row title={'Property[' + i + ']'}>
<DescriptionList>
{#each property.part as part}
<Row title={part.name}>{parameterValue(part)}</Row>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please look if you can use src/lib/resource/property.svelte here. Otherwise complex types like Coding are not rendered to text.

display,
displayLanguage,
incorrect: true,
msg: error.issue[0]?.diagnostics ?? error.issue[0]?.details?.text
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error.issue can be missing, so error.issue?.[0] would be better. Please also replace that everywhere else.

"value" value
"description" description
"source" source])
(def ^:private concept-properties
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dead :display keys in concept-properties (terminology_service/local/lookup.clj:11–63). Only :description is read by standard-property-description. Either drop :display from every
entry, or wire it up — currently it's misleading dead data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CodeSystem $lookup operation to Frontend UI

2 participants