LinuxForHealth / FHIR

The LinuxForHealth FHIR® Server and related projects
https://linuxforhealth.github.io/FHIR
Apache License 2.0
333 stars 156 forks source link

Support property parameter for CodeSystem/$lookup #4205

Open paulolaup opened 1 year ago

paulolaup commented 1 year ago

Is your feature request related to a problem? Please describe. Since the CodeSystem/$lookup operation implementation already returns all properties associated with a given concept, providing the possibility of deciding what properties to return via the property parameter should be implemented.

Describe the solution you'd like This could be achieved by just filtering the properties already retrieved using provided property parameters.

paulolaup commented 1 year ago

I already wrote an additional method to address this feature (mostly) and can create a pull request. However, I would like to hear your input on how to handle certain errors (properties not supported by the code system, wrong language codes etc.), as I currently don't what your general approach is regarding this.