Start/Stop visit tag - HFE

Do we have any way one can start/stop a visit through HTML form entry module? just like the way we use enrollInProgram and completeProgram in HFE but this round for visits? I have a use case where a user submit an enrollment form, a visit has to be created automatically and when they submit an final form, a visit end automatically. Do we have anyone who has done this through HFE? or what options do we have for such? @darius @mseaton @mogoodrich

For starting a visit, the OpenMRS-recommended approach is that you should be configuring your EncounterVisitHandler to determine to create the visit based on the encounter being created.

To close the visit based on a form submission, I think you might need to add a new HFE tag.