31 Dec 2018: Thank you to our knowledgeable and friendly forums users for another great year. We are aware of the uptick in spam accounts and are doing our best to ban these at first sight. Thank you for your patience!
How to handle events overlapping for a particular questionnaire and a single patient?
I hope this finds out to help other ppl too.
Suppose there is a questionnaire to be filled from different patients in different time intervals and these patients have to fill the same questionnare multiple times ( ps: I am using Google Form as a questionnaire and I am submitting these info to OC using the Web service import data using google apps script), It's all fine till here.
Let's hypothetically say there will be 4 events (1m,3m,9m,12m) for a questionnaire in OC and my question is how do I handle the overlapping/overwriting of the events, let say the first event (1m) is today and the next event is scheduled to be after 3 month, how do I make sure I am not overwriting the previous event (1m) when the time comes to submit the event after 3 month and so on?
I was thinking if there is an Endpoint using SOAP Web Service for getting the patient history including events: completed, not completed for each events and so on, so this way I can check what patient submitted what events earlier and the dates, so I can accordingly add the new events without overlapping them.
So all I need is some kind of Web Service endpoind to get the details/history of a patient, so I can pass the Subject Id of patient like a parameter.
One solution for this to handle is to use my own db which could be alot of work for me, but would have been happier if I can handle this using OC Web Services.
I hope I was clear what I want to do!