Questionnaires and Resources
# support
v
We've been working on an application that we would like to be highly configurable... We've been using the uniforms library build a component that can create or update resources based on a simple json configuration without the need to write additional CRUD code. Looking further into questionnaires I'm wondering if we are duplicating some capabilities... Do questionnaires within Medplum have the ability to update/create resources without needing to write specific code via bots or the submit callback? I know we could add our own fields to map each input to a fhir path and build something similar to what we are working on with the uniforms library, but I'm curious if there is a better way or something we've overlooked.
r
Questionnaires can only create QuestionnaireResponses, and other than that you would need specific bot level code. https://www.medplum.com/docs/bots/bot-for-questionnaire-response The ResourceForm is our tool to create/update resources without custom code, and we are working on some tooling to let it be customizable, it may be too limiting for what you envision https://storybook.medplum.com/?path=/docs/medplum-resourceform--docs
v
Ah, gotcha, I somehow missed the ResourceForm. Thank you!
193 Views