Stream: implementers
Topic: Extending an operation with new parameters?
Paul Lynch (Dec 14 2021 at 00:21):
There seems to be some inconsistency in the documentation about Observation.base. https://www.hl7.org/fhir/operations.html#extending says it is possible to extend an operation definition and add new parameters. However, the details for Observation.base say "Indicates that this operation definition is a constraining profile on the base" and "A constrained profile can make optional parameters required or not used and clarify documentation" which sounds like 1) new parameters are not allowed and 2) if new parameters were added, they could not add additional functionality. Is that really the case or is that documentation out of date?
Josh Mandel (Dec 14 2021 at 01:40):
I think we should find a way to allow additional parameters as long as their defaults are consistent with the behavior of the original
Grahame Grieve (Dec 14 2021 at 04:03):
I think they are allowed with those rules - that's the intent, any way
Last updated: Apr 12 2022 at 19:14 UTC