Hi! I'm using a simple Questionnaire (accessed by ...
# general
m
Hi! I'm using a simple Questionnaire (accessed by patients) onSubmit handler function: > function handleQsnResponse(qsnResponse: QuestionnaireResponse) { > medplum.createResource(qsnResponse).catch(console.log) > } Which leads to a 403 Forbidden error. I suspect the issue might be with the Access Policy configuration, in the screenshot is what I have for now. Did I miss something that would allow the patient to create a QuestionnaireResponse resource?
r
Me again! Could you make sure to set QuestionnaireResponse.subject to be a reference to the patient?
m
Thanks again Reshma, that does help 🙂
183 Views