Hello
I am implementing a FHIR-based webservice and I have a problem with the POST QuestionnaireResponse endpoint. Specifically, when a questionnaire response is received, the server should provide the client with the ID of the questionnaire response ( for that, I send the QuestionnaireResponse resource back with the ID field completed ), along with a list of warnings ( OperationOutcome ). What is the standard way to do this ? Should I send both types in the same reply, or should I return just the ID but provide a separate endpoint where the client can request the OperationOutcome list of warnings ?
Thank you