Stream: implementers
Topic: conditional support in capability
Brian Reinhold (Oct 27 2018 at 11:53):
In my capabilitystatement for a server how can I specify that a server MAY support uploading of a given resource but if it does it must support this, that, and the other thing? In the Continua use case, a server may not allow the client to upload a Patient resource. In that situation the service provider gives the uploader a logical id of the Patient resource that the uploader then uses in the Observation resources that reference the patient. This is to allow protection of PHI. In this manner the patient's name is not exposed anywhere from the device, gateway, and even server.
On the other hand, if a Patient resource is uploaded, I need to specify that certain transactions must be allowed. I don't see a way to do that in the CapabilityStatement.
Lloyd McKenzie (Oct 27 2018 at 14:50):
Textual description. CapabilityStatement isn't designed to handle exposing complex business rules in a computable fashion. (It's complicated enough as it is...)
Last updated: Apr 12 2022 at 19:14 UTC