Hello,
i have created 2 identifiers in patient registration,
- Medical Record Num
- ID auto generated.
now i am developing a xform where i want to show both above mention ID, how can i get 2 identifier on the xform view.
Hello,
i have created 2 identifiers in patient registration,
now i am developing a xform where i want to show both above mention ID, how can i get 2 identifier on the xform view.
Create that xform here modules-refapp.openmrs.org and i will show you how to do the needful. Username: admin Password: sup3rS3cr3tPassw0rd
Thanks @dkayiwa
i have created xform on the mention link, can you please guide me for next steps.
Can you give me a link to the form on that server?
Thanks @dkayiwa
there you go, form name is test-xform.
https://modules-refapp.openmrs.org/openmrs/admin/forms/formEdit.form?formId=6 https://modules-refapp.openmrs.org/openmrs/module/xforms/xformDesigner.form?formId=6
On the first link, you should be able to see the second identifier that i have created named “DODO KHAN IDENTIFIER”. All i did was add a new Database Element field under the PATIENT node and give it a default value of: “$!{patient.getPatientIdentifier(2).getIdentifier()}” where 2 is the patient identifier type id.