FHIR Chat · Registering Hook Service with FHIR · implementers

Stream: implementers

Topic: Registering Hook Service with FHIR


view this post on Zulip Sanjay Chadha (Oct 25 2017 at 21:35):

How does a CDS Hooks Service provide,. register their URL as a CDS-Hook service provider to the FHiR server?

i.e. "Developers of CDS Services must provide a well-known endpoint allowing the EHR to discover all available CDS Services".
How?


Discovery of CDS- Service (http://cds-hooks.org/#discovery)

Developers of CDS Services must provide a well-known endpoint allowing the EHR to discover all available CDS Services, including information such as the purpose of the CDS Service, when it should be invoked, and any data that is requested to be prefetched.
HTTP Request

The discovery endpoint is always available at {baseUrl}/cds-services. For example, if the baseUrl is https://example.com, the EHR would invoke:

GET https://example.com/cds-services

view this post on Zulip Bryn Rhodes (Oct 25 2017 at 21:55):

I'm not sure I understand if this is a question, it looks like you've answered it already?

view this post on Zulip Christopher Schuler (Oct 25 2017 at 22:10):

Hi Sanjay,

view this post on Zulip Christopher Schuler (Oct 25 2017 at 22:10):

There are a couple of ways to do this...

view this post on Zulip Christopher Schuler (Oct 25 2017 at 22:11):

It can be handled with a POST to the discovery endpoint with the new hook.

view this post on Zulip Christopher Schuler (Oct 25 2017 at 22:13):

Also, you could use naming conventions so that the services do not need to be registered with discovery. I do this, although it may not work for your implementation.

view this post on Zulip Christopher Schuler (Oct 25 2017 at 22:13):

I can explain more if interested.

view this post on Zulip Sanjay Chadha (Oct 26 2017 at 17:21):

Hello Christopher,

"It can be handled with a POST to the discovery endpoint with the new hook." - I could not find how. I am looking for how to do this. See myquery with more clarity and with an hypothetical example:

There are two servers
1) FHIR fhir.ourserver.org.
2) CDS Hook server- otherserver.org/cds-services and fhir

How do we tell server 1 - fhir.ourserver.org to go look for hook services at server 2: otherserver.org/cds-services?
i.e. how do we tell FHIR the existence of a specific hook server?

view this post on Zulip Kevin Shekleton (Oct 26 2017 at 18:59):

@Sanjay Chadha - Can you move this discussion to the cds-hooks stream? That is where are all of our CDS Hooks community discusses CDS Hooks


Last updated: Apr 12 2022 at 19:14 UTC