-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shouldn't aliases expand inside other alias definitions #356
Comments
As another example of how Alias expansion might work, see this thread: https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/Bug.20when.20using.20SNOMED.20Version.20URLs. The example below does not work, because the individual Aliases do not resolve within the rule. The whole sequence is resolves as one alias
|
This is an interesting question. I was initially a little concerned about unintentional expansion of aliases (e.g., if the value of an alias just happens to have another alias as a substring) but I think we can avoid that by smart implementation and rules. Using
So... imagining Keith's example (but without the
Then the alias
but it would not be expanded in these situations:
@markkramerus -- what do you think? (BTW: This doesn't address the issue @ngfreiter pointed out for using aliases as a CS version). |
1 similar comment
This is an interesting question. I was initially a little concerned about unintentional expansion of aliases (e.g., if the value of an alias just happens to have another alias as a substring) but I think we can avoid that by smart implementation and rules. Using
So... imagining Keith's example (but without the
Then the alias
but it would not be expanded in these situations:
@markkramerus -- what do you think? (BTW: This doesn't address the issue @ngfreiter pointed out for using aliases as a CS version). |
Added to ballot comments. |
Alias: $Base = http://hl7.org/fhir/us/saner
ValueSet: Populations
Title: "Measure Populations"
Description: "Measure Populations defined by The SANER Project"
Alias: Populations = $Base/ValueSet/Populations
Doesn't seem to work the way I expect. I have to expand to:
ValueSet: Populations
Title: "Measure Populations"
Description: "Measure Populations defined by The SANER Project"
Alias: Populations = http://hl7.org/fhir/us/saner/ValueSet/Populations
The text was updated successfully, but these errors were encountered: