Stream: implementers
Topic: What exactly does the CapabilityStatement do?
Teun Pronk (Apr 26 2019 at 06:19):
Hi all,
So as the title says, what does the capability statement do?
Basicly, does it influence the FHIR server or does it serve as a piece of documentation?
Example: in the resource Patient there is the field conditionalCreate. With this set to true you can use an update to create an item if it doesnt exist yet.
So if I set this to false in my CabalityStatement, does that prevent conditionalCreate just like that?
Grahame Grieve (Apr 26 2019 at 06:21):
firstly, it documents the server. This may be used as documentation, to check what a client can do. or it may influence the client as to what it does. e.g. Quite commonly - building search forms on the fly from the conformance statement.
You could have a server that allows an uploaded CapabilityStatement to turn features on and off, but I don't know of one that does that
Teun Pronk (Apr 26 2019 at 06:23):
Alright, thanks, back to the drawing board then :)
Last updated: Apr 12 2022 at 19:14 UTC