Hey there! I'm investigating the self-hosting opti...
# general
d
Hey there! I'm investigating the self-hosting option of Medplum to be used as basis for a EHR/practice management system. My client have a system already, but they need send out questionnaires to their clients before scheduled sessions, these questionnaires should ask qlarifying questions based on answers given in previous question(s). Their current system support webhooks support appointments actions. Scheduling sessions, charting etc, is handled by their current system and I want to integrate only the questionnaire part of Medplum for now. Is this possible without having to migrate patients, users, etc. to Medplum, to manage questionaires, their answers, and make them available to the other sub-systems that i'm implementing?
r
So assuming that: 1) Patients are authenticated somehow when they are answering their questions 2) You have some kind of application that can host the questionnaires 3) Your downstream subsystems can consume FHIR QuestionnaireResponse resources via API then you could consider an implementation something like the following: 1) Create your Questionnaire in Medplum with all the fields you want https://www.medplum.com/docs/questionnaires 2) Load your Questionnaire into your application #2 above 3) Create the patient on an event driven basis, like when they fill out the questionnaire and link to existing systems using identifiers e.g. https://www.medplum.com/docs/sdk/classes/MedplumClient#createresourceifnoneexist 4) Query back your QuestionnaireResponses from subsystems refered to in #3 above Not sure if that makes sense, but that's roughly how I would do it! Here is the webhook guide as well https://www.medplum.com/docs/bots/consuming-webhooks