FHIR Chat · Does the CapabilityStatement at /metadata require an id? · implementers

Stream: implementers

Topic: Does the CapabilityStatement at /metadata require an id?


view this post on Zulip Cooper Thompson (Jul 17 2020 at 17:50):

The spec says that servers may choose not to implement the CapabilityStatement interactions, but must return a CapabilityStatement resource from /metadata. Is the "id" required on the resource returned from /metadata? It isn't clear to me either from the capabilities section of the REST API documentation, or the Logical ID section of the Resource documentation. Does /metadata count as "not associated with a location on a RESTful server"?

view this post on Zulip Grahame Grieve (Jul 17 2020 at 22:07):

we've actually never talked about this to my memory. And there's not technical requirement that it has an id. I populate it with a fixed value on mine. The applicable language in the spec appears to be:

The resource returned typically has an arbitrary id, and no meta element, though it is not prohibited

So it's not required .

view this post on Zulip PKumar (Jul 22 2020 at 08:29):

Good Morning/Good Evening.

I am looking to understand about the implementation of capability statement. I went through the HL7 FHIR documentation but in business use case stand point...when should we use capability statement? and does this solve the problem to restricting the users access to specific resource...

Trying to understand the workflow here....lets say client wants to access patient resource. Does this user/client request hits the capability statement resource data to validate the level of permissions defined for this user/client and then proceed with allowing access to the actual resource (lets say patient resource)?

Looking forward to hearing from you. Thanks in Advance.

view this post on Zulip Mareike Przysucha (Jul 22 2020 at 08:31):

Hello @PKumar, thanks for your question. But I noticed that you wrote the same text / question in two different streams (this and HAPI server - Capability Statement and security service). Could you either elaborate the differences of the two streams or tell us which stream we should answer to? Thanks in advance.

view this post on Zulip PKumar (Jul 22 2020 at 08:58):

Yes @Mareike Przysucha this stream is right group for the question. Although I was confused where it fits, so posted in both

view this post on Zulip Lloyd McKenzie (Jul 22 2020 at 14:30):

Best practice is to only post in one place and post elsewhere only if recommended to do so. Answer given in the other thread.

view this post on Zulip Vassil Peytchev (Jul 22 2020 at 15:26):

In addition, start a new topic - this way it helps others who may have similar questions.

view this post on Zulip PKumar (Jul 23 2020 at 13:20):

@Lloyd McKenzie and @Vassil Peytchev . Sure, I will follow the same. Thank You!


Last updated: Apr 12 2022 at 19:14 UTC