Macro For Notes section of Estimate

Hi Everyone,

I'm trying to make a macro I could type in the estimate notes section when we provide estimate for dentals.

I would like it to expand out as follows;

'Patient Name' would be put onto iv fluids

'Patient Name' would be put under GA

ect ect ect

I am not able to get the Patient Name to insert into a macro followed by plain text.

 

Comment viewing options

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

Re: Macro For Notes section of Estimate

If you want the last selected patient, use something like the following for the macro Expression:

       concat($patient.name, ' would be put onto iv fluids')

If you are adding customer notes to the estimate, then you can refer to the patient on the note:

       concat(openvpms:get(., 'patient.entity.name'), ' would be put onto iv fluids')

Typically these will be the same, but the second form is useful if you have multiple patients on the estimate.

Re: Macro For Notes section of Estimate

Thanks very much. All working now.

Syndicate content