Some resource types have title and name elements that are strings or similar datatypes. If present, these can be used to set the name in the IG resource list.
For package resources, only the title element value is used for this purpose. A title set with a keyword will have higher precedence than a title set by assigning to an element.
For predefined resources, the name element can be used for this purpose as well. The title element has a higher precedence than the name element. Note that the name element will only be used for predefined resources, not package resources. This change applies to both example and non-example predefined resources.
As expected, this change affects many IGs using FSH. It can change the order of resources in the IG if they are being sorted by name, which also changes the order of generated link references. The link references themselves are unchanged. It will also change the titles shown on pages in the IG, since many artifacts will now have a name based on something other than their id.
Fixes #1296 and completes task CIMPL-1138.
Some resource types have title and name elements that are strings or similar datatypes. If present, these can be used to set the name in the IG resource list.
For package resources, only the title element value is used for this purpose. A title set with a keyword will have higher precedence than a title set by assigning to an element.
For predefined resources, the name element can be used for this purpose as well. The title element has a higher precedence than the name element. Note that the name element will only be used for predefined resources, not package resources. This change applies to both example and non-example predefined resources.
As expected, this change affects many IGs using FSH. It can change the order of resources in the IG if they are being sorted by name, which also changes the order of generated link references. The link references themselves are unchanged. It will also change the titles shown on pages in the IG, since many artifacts will now have a name based on something other than their
id
.