• I noticed a problem if my client has deleted a thread and I have not deleted the thread (as the administrator): if I post on that thread my client will never receive my message because they have deleted the thread. I have no way of knowing if they have deleted the thread. And also, if I have deleted their thread to me, and they continue to post on that thread, I will have no idea that they have more to discuss. I think what is needed is a method that will cancel out the _fep_delete_by_ key if a new post is made to that thread by the other participant even if the other participant has deleted the thread. If this is not done, serious problems can happen. For example, if a mental health provider deletes a thread and the patient continues writing about an issue that would warrant intervention, that could be a serious liability issue if the therapist is not aware of the additional information while the client presumes there is still an open thread for discussion. So there needs to be a way to revive the thread when one participant has deleted the thread and the other participant has not.

    This also applies to my other feature request for administrators to be able to revive old threads if both deleted the thread but the issue has come back.

    I am also reworking the webserver for OpenEMR to integrate with your program. I have completed all queries for import of messages and downloads and now I am working on the routine to delete posts or to clear them from the OpenEMR dashboard. Originally I was going to use the _fep_delete_by_ key but that clears the complete thread rather than individual posts. OpenEMR imports individual posts and their downloads. I am thinking of using another meta_key for OpenEMR of _fep_cleared_postID. I do not think this will interfere with your system at all. I think I will work it so if all posts in a thread are cleared then I will add _fep_delete_by_ for the thread. Please let me know if you see any potential conflicts in my adding this meta_key.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    So i think if a message is deleted other can not reply to that message, this feature will be good. OR when a new reply is made that will automatically remove delete flag from that message. Let me know which one will be better.

    If you want to add any custom meta for this plugin i prefer you to avoid “_fep” in the beginning as this plugin use that. So in future that may collide. You can use your name’s character eg “_cra_fep” in the beginning (cra for your name and then fep for this plugin) so later you will understand this meta was added by you for this plugin.

    Thread Starter cravaus

    (@cravaus)

    Thanks.

    I will do as you are asking with the meta key.

    I would prefer the automatic removal of the delete flag. This would allow the full context of the thread to be maintained. In clinical practice, discussing a diagnosis, or symptom presentation, it is important to maintain the full context of that discussion. And, in the case of a life threatening condition, if someone is posting on a symptom that is indicative of a serious threat, the clinician needs to know about that both ethically and legally even if the clinician deleted the thread thinking the conversation was over. On the other hand if a patient has posted on symptom that they think is innocuous and has deleted the thread on their end, and a clinician notices something serious in that symptom, it would be best for that clinician to comment on the symptom and also let the patient know that they should come in for follow up. All this would be aided by the automatic removal of the delete flag.

    On the other hand, it is also useful in a discussion board for the administrator to be able to shut down threads. I think that is what your first option would do. I can see use in that for a more traditional discussion board such as this one we are on now. Clearly you have built your application to work as a discussion board for a large group if you want it to so I can see benefit with that in the larger context (which is different to what I am doing, that is just admin to client only).

    Bottom line, for me, automatic removal of the delete flag is needed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with deleted messages’ is closed to new replies.