Is there a merge field for Practice Location?

I see a merge field for Practice, but not Practice Location. Am I over looking it?

Thanks, Alan

Comment viewing options

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

Re: Is there a merge field for Practice Location?

Alan - there is a merge button for customers and patients, but I know of none for practices or practice locations.

If you have two practice locations and you want to merge them (say because you used to have two offices in the one town, Site A and Site B, but now have only one at Site A) then this should be possible with some SQL.

I have a script to change the customer's practice location (because our staff occasionally create new customers with the wrong practice locations).

If you want to change all transaction locations (so that say invoices coded against Site B now are coded against Site A) then this would also be possible. But you may not want to do this as it will destroy the historical financial information for Site B.

Regards, Tim G

Re: Is there a merge field for Practice Location?

Sorry, I should have been more clear. I am trying to create a merge field that shows which clinic printed a document so our OCR printers can label it correctly for the multisite uploader. I see how to add "VitalPet" but not All Community Animal Clinic.

Alan

Re: Is there a merge field for Practice Location?

Ahah - but still more clarification neeed - are you using jrxml or odt documents.

If jrxml, then you can use the letterhead facility - and the 1.9.1 sample set contains (see <OPENVPMS-HOME>\reports\Sample\Letter for your US Letter versions) both "Sample Patient Form.jrxml" and "Sample Rabies Certificate.jrxml" which use the letterhead facility.

If odt, then you cannot be quite as sexy, and you have to fall back on good old "application fields" - see http://www.openvpms.org/documentation/csh/1.9/reference/reportFields#app... - as you can see OpenVPMS.practice accesses the practice, and OpenVPMS.location accesses the practice location.  Hence the odt merge field to get the location name is OpenVPMS.location.name

 

Regards, Tim G

Syndicate content