Customer ID on Patient Letter

Hi,

Is there any way to get a document to have the customer ID and patient ID on the same document?

Thanks,

Adrian

Comment viewing options

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

Re: Customer ID on Patient Letter

Try [openvpms:get(party:getPatientOwner(.),'id')] - works for me.

I guessed this by looking at the formats in the list of mergefields, figuring that if

The "Customer Last Name"  was customer.entity.lastname  in Customer Documents and
[openvpms:get(party:getPatientOwner(.),'lastName')]  in Patient Documents, the same would apply to customer.identity.id.

You can also use the same process for customer initials and title.

Re: Customer ID on Patient Letter

Worked perfectly. Thank you very much! Funny, I had already used your tip for the customer title! I just didn't think to apply it to the id

Syndicate content