Skip to content
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

Using a Remote Terminology Server #778

Open
marceloabrumet opened this issue Feb 4, 2025 · 1 comment
Open

Using a Remote Terminology Server #778

marceloabrumet opened this issue Feb 4, 2025 · 1 comment

Comments

@marceloabrumet
Copy link

Hello,

In the HAPI documentation they show an example that uses a Remote Terminology Server to validate codes (https://hapifhir.io/hapi-fhir/docs/validation/validation_support_modules.html#recipe-using-a-remote-terminology-server) but I don't understand where am I supposed to put this block code.

Do I have to add it to an existing class? Do I have to create an interceptor and choose a hook?

Has anyone already done it?

Thanks,

Marcelo

@XcrigX
Copy link
Contributor

XcrigX commented Feb 4, 2025

Huh. I would have thought there was simply a property for the remote terminology server, and if it was non-null the existing code would set up the validator to use it. But that doesn't appear to be the case. Unless I'm missing something you'd have to alter the code to set it up.

I found this older issue that appears to show how you'd do it:
#575

If you, or anyone goes about implementing it, I would suggest doing as I mentioned. Make an optional property for the remote term server, and detect when it's populated so the server will auto-configure it. I'm sure a PR that does that would be welcome here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants