How to Customize Demographics in Reference Registration App

If you go to http://int02.openmrs.org/openmrs/xforms/formentry/xformEntry.page?target=xformentry&formId=24&patientId=17880&refappui=true&returnUrl=

and eg enter a location like Amani and submit and wait nothing much happens, if you exit the screen then you are warned that data will be lost. Thus I assume nothing has been written to the db.

When i go to that url, select location and provider (which are required fields) and click submit, the form saves and closes, returning to the patient list. I have moved your location and provider widgets a bit to the left such that you can clearly see the red required validation error icons. So when you do not fill them, the form will not submit.

OK, got it I now understand.

So moving on, the reason for the form as you will remember was to do patient registration with some specific demographic info, but as you see I can’t even enter name, DoB etc. as the xform entry process forces me to choose an existing patient.

Sorry if this is tedious.

Did you follow the instructions here? https://wiki.openmrs.org/display/docs/XForms+Module+Patient+Registration

Thanks, got it. Sorry to have been so naive, You can close the thread.

@mafrica do not worry. It happens to all of us once in a while. :slight_smile: