can I get custom patient fields in a form
Submitted by Matt Young on Sun, 13/03/2016 - 22:35
I have added custom fields to my patients and would like to get them into an openoffice patient form. Is this possible in openoffice?
Re: can I get custom patient fields in a form
If you have party.patientpet object, you can access its custom fields using:
So if your custom fields include a lastVaccinationDate, you would use:
Since you are using a form, you need to access the patient via the form's patient node, which returns a "participation.patient", and from that get the actual patient using the participation's "entity" node, so it will be:
Re: can I get custom patient fields in a form
Thanks Tim,
I've added it to http://www.openvpms.org/document-merging-open-office-writer