cqframework / cqframework/clinical-reasoning

Support intended usageContext for included artifacts

Open
#799 0 comments 0 reactions 1 assignee View on GitHub

@sliver007 is already working on this.

Since Oct 27, 2025.

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

Description

This issue is related to and implements the CRMI specification change described here: https://jira.hl7.org/browse/FHIR-53237

There is a need to establish context-specific usage context information for specification libraries. For example, value sets included in a public health reporting specification need to be able to specify the priority and focus of the value set. However, this information cannot always be provided on the value set itself because a) it is context-specific (i.e. it is an aspect of the appearance of the value set in the specification, rather than intrinsic to the value set itself) and b) it needs to be specified for value sets that are outside the authoring control of the specification editors.

To support this use case, consider defining:

  1. An "intended usage context" extension:
    crmi-intendedUsageContext 0..* UsageContext, usable on relatedArtifact
    Definition: An intended usage context associated with the dependency on which it appears. When the dependency is packaged, this usageContext will be applied to the packaged artifact.
  2. Add this extension as allowed on dependencies in the Manifest Library profile.
  3. Document this use case and feature as a new section in the Packaging topic.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.