You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an author defines the same Alias with two different values, only one of them will be used -- but there is no error indicating what happened. We should log an error when we encounter a duplicate Alias definition with a different value than the previous one.
This came up in fsh-mcode. In CodeSystemAliases.fsh, it had:
I noticed this when reviewing this line in Examples.fsh, where the same alias is used twice: once to replace an Extension URL and once to replace a VS URL:
* extension[USCoreRace].extension[ombCategory].valueCoding = USCoreRace#2186-5 "Not Hispanic or Latino"
The text was updated successfully, but these errors were encountered:
* Report duplicate aliases w/ different values
If a FSHTank contains duplicate aliases with different values, only keep the first one and report the others as errors. Addresses #124.
* Fix test name
If an author defines the same
Alias
with two different values, only one of them will be used -- but there is no error indicating what happened. We should log an error when we encounter a duplicate Alias definition with a different value than the previous one.This came up in fsh-mcode. In
CodeSystemAliases.fsh
, it had:But in
USCoreAliases
andExamples.fsh
, it had:I noticed this when reviewing this line in
Examples.fsh
, where the same alias is used twice: once to replace an Extension URL and once to replace a VS URL:The text was updated successfully, but these errors were encountered: