cqframework/cqf-tooling

Add the ability to identify key elements in the ModelInfo

brynrhodes opened this issue · 1 comments

In addition to "mustSupport", FHIR Implementation Guides now include the concept of "Key Elements", which are defined here:

https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#sdviews

We should add to the ModelInfo a reflection of whether an element is a "Key Element"

We should also change the ModelInfo generation so that it drives off of StructureDefinition extensions for model info information, rather than pulling from a configuration:

ModelInfoSettings:

And for each type, we need to be able to set:

  • Retrievable (defaults to true for Classes, false for Types)
  • Label (defaults to StructureDefinition.Title without Model Prefix if present)
  • PrimaryCodePath

Related #217