Using the reference application we want to be able to record past visit notes even when there is an existing active visit for a patient but this does not seem to be possible with the way the ref app is behaving when comparing the “Current Visit Actions” as opposed to “General Actions” on the patient dashboard.
On the patient dashboard of the reference application I noticed that if a form is added to both the “Current Visit Actions” and the “General Actions” sections the way the application behaves when opening it is the same when there is an active visit. That is, the form is opened in the context of the active visit. This happens even when the user decides to open a previous visit from the “Recent Visit” section. I know this because I duplicated the “Visit Note” which comes built in, added the duplicate to the “General Actions” section via the Configure Metadata -> Manage Forms. When I opening the form while there is no any active visit, I am able to change the encounter date to whatever past date I want (i.e. the date picker only restricts future dates, see below)
On the other hand when there is an active visit, the date picker restricts the date choice to the active visit date range (if the visit happens to span multiple days, see below)
This happens even when the form is opened in the context of the past visits(See below).
I think the “General actions” forms should not be restricted to the active visit context, also performing action in a previous visit context should happen in the context of the previous visit.
I am using Reference application version 2.6.1.