The config will set the default visit type of the patient when the user attempts to admit the patient.
If the visit of the patient is not opened then on trying to admit the patient with closed visit, the visit will will be set to the default visit type (here “IPD”)
If the visit of the patient is opened say OPD then the user would be prompted to choose an option whether to continue with the current visit (OPD) or open the new visit type (default visit type “IPD”)
If the opened visit is of default visit type (IPD) and the user is trying to admit the patient then the patient will be admitted to the current opened visit (IPD)
Patient Movement Redirects
The following configurations have to be added to app.json
On Admission
This config will redirect to the configured page in the app while trying to admit the patient