Merge field [party:getPatientMicrochip(.)] and [party:getPatientPetTag(.)] working?

Hi,

I was just modifying our rabies certificate. I'd like it to pull the PetTag field directly from the patient record. It looks like there's a function (in the source code) to do this that's very similar to getPatientMicrochip. However, I'm unable to get it to work. I tried with getPatientMicrochip, and with getPatientPetTag. Does anyone have this working with 1.5? Any ideas what I'm doing wrong? I got the idea for this one from here: http://www.openvpms.org/document-merging-with-open-office-writer. The certificate template I'm using is attached.

Thanks so much! Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Merge field [party:getPatientMicrochip(.)] and ...

Hi Paul,

Tested this and these expressions work as expected. Do you get an error or just nothing displayed ?

Cheers Tony

Re: Merge field [party:getPatientMicrochip(.)] and ...

My fault entirely. I've got them working now.

Thanks, Paul

Syndicate content