How can add a custom demographic field using API, I have viewed this document for creating a custom field through UI (HOWTO: Customize A Demographics User Defined Field - OpenEMR Project Wiki)
I want to create this field using API.
also one more thing, is there any way that I can add a URL in the custom field? I want to redirect from that URL to my platform