cqframework / cqframework/clinical-reasoning

Support returning child library expressions

Open
#660 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
49
Forks
43
Avg merge
2d 19h
Merged PRs (30d)
13

Description

There is a need to be able to identify and return child library expressions with the Library/$evaluate (i.e. not just the expressions defined in the library, but expressions defined in referenced libraries as well).

Propose that the list of expressions be allowed to include qualified identifiers. If the expression identifier is qualified, it refers to the name of an expression in a library, whereas an unqualified identifier still refers to an expression in the library being evaluated.

The tracker to support this is here: https://jira.hl7.org/browse/FHIR-46559

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Library/$evaluate operation and review the FHIR-46559 tracker for the intended qualified-identifier behavior. Trace how the current expression list is resolved for local and referenced libraries, then verify that unqualified names still resolve locally while qualified names return expressions from referenced libraries.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.