Clinician on invoice item rather than logged in clinician

Hi,

We use logged in clinician function, however I'm just wondering if there is a way to use the clinician on the invoice item instead for one document?

On a particular patient letter we use "clinician.entity.name" which defaults to the logged in clinician, but is there a way to change it to the clinician on the product item?

If there isn't a way, that's fine I will just let the staff know, but if it's easy enough to change that'd be great.

Comment viewing options

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

Re: Clinician on invoice item rather than logged in clinician

Try replacing it with: invoiceItem.source.clinician.entity.name

Note that if you are using it in a Patient Letter generated during invoicing, there is a bug (OVPMS-2155) in OpenVPMS 2.1 that will prevent the invoice item being accessed. This was fixed in OpenVPMS 2.1.1.

Re: Clinician on invoice item rather than logged in clinician

Thanks Tim, works perfectly.

Syndicate content