Closed Kasdejong closed 1 month ago
Haha. See, I had the same argument last year.
Yeah, and I think you are right. We should probably pick an interface that has memberOf() as well. Of course, it's just a matter of time before people want more, though. But that does not mean all termservices also implement it. That's the beauty of making it explicit.
Would it make sense to add a way for the ITerminologyService to report which methods are supported by the service?
Both ValueSetValidateCode (memberOf) and Subsumes are defined in ICodeValidationTerminologyService. It is just operations like Closure and Expand which are not in this interface.
Description
Changed the type of FhirEvaluationContext.TerminologyService to ICodeValidationTerminologyService
Related issues
Closes #2590