-
Notifications
You must be signed in to change notification settings - Fork 8
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
Consider syntax to remove descriptive elements #153
Comments
Perhaps this is not needed if the elementdefinition-suppress extension is used to delete elements. In that case, we could get by with a RuleSet. Waiting on confirmation in zulip. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Profiling Descriptive Elements section of the spec states:
Questionable math aside, it appears that it should be possible to remove certain elements from an ED (e.g.,
code.coding
,comment
,alias
,example
,mapping
). We should determine an approach for doing this in FSH.Some off-the-cuff possibilities:
* delete subject ^example[1]
* subject delete ^example[1]
We could try using the assignment syntax for this as well, but it's not clear what the right-hand side should be.
Also note that when deleting a
0..*
ED element, the author may want to delete a single element in the array or the whole array. Something like* subject delete ^example
could be interpreted as deleting the whole array -- but it leads to inconsistency since leaving out the index is the same as[0]
in all other cases.The text was updated successfully, but these errors were encountered: