Dispensing Label error

When printing Dispensing Label, error occurs, "Expression Error" appears, instead of customer name, when Customer is an Organisation, can this be corrected.
Cheers Sue

Comment viewing options

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

Re: Dispensing Label error

Hi Sue,

The current drug label template utilises an expression to get the full patient name by concatenating the customer last name and the patient name. The reason why you get the error is the organisation customer doesn't have a last name so you get the error.

In version 1.3 we changed the structure so you could enter a company name in the standard customer entry rather than having to utilise the two different customer types. We kept the organisation type for backward compatibility. With these customers you wouldn't get the error but would still only get the last name field not the company name.

In order to fix someone will need to change the label Dymo.jrxml template variable expression patientFullName to cater for the two different scenarios above. I estimate about an hours work including some testing.

Sue, there are a number of ways this issue can get resolved :

1. A very nice person spends the hour or so of their time and posts the changed template on the web site for you or anyone to utilise. 2. You or someone you employ makes the changes above and either keeps for yourself to use or posts on the web site to help others. 3. You offer to donate some funds and ask others if they would like to as well in order to split the costs for someone in the community to make the changes.

Hopefully no 1 happens in this case but I am also hopeful that you and the community clearly understand that someone has freely donated their time to do this and there is no onus for them to do it apart from them wanting to be an active contributing member of the OpenVPMS community.

The other thing that would be nice is those who receive the benefits of the community's work are also active in trying to help others in the community with their knowledge. It doesn't necessarily mean having to provide technical expertise like that above. It could just mean providing some documentation, helping a new user understand how to do things in OpenVPMS, offering to demonstrate features to users etc

Sometimes ask yourself the question. How much have I done for the OpenVPMS project ?

Cheers Tony

On 14/05/09 2:54 PM, "Arnold Hennel" :

> When printing Dispensing Label, error occurs, "Expression Error" appears, > instead of customer name, when Customer is an Organisation, can this be > corrected. > Cheers Sue > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu

_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu

Syndicate content