Could this be a bug in the reminders?

Today one of our staff members was emailed a reminder for her cats annual vaccination. The funny thing was the reminder address field contained the address of the previous owners. The kitten had a vaccination on 14/4/2008, the ownership was changed over on 23/4/2008 and the reminder went to the new owners email address but had the previous owners address in the address field.

I have checked the old file and the kitten does not appear on the old file until you untick hide inactive patients. If I click on the patient link on that old file I get taken to the new owners file with the kittens current medical records and reminders. The previous file has a start and end date in the PATIENT OWNER field and the setup looks fine on the new owners file.

Am I missing something? Could this be a bug?

Sandra.

Comment viewing options

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

Re: Could this be a bug in the reminders?

Re: [OpenVPMS Users] Could this be a bug in the reminders? Hi Sandra, I actually don't think this is a bug but is most likely the use of an incorrect merge field function for this type of document.   We have two functions for returning the owner of a patient.   The first one looks like this  party:getPatientOwner(.).  It uses the date on the corresponding act that the document relates to find the owner as of that date. The second looks like this party:getPatientOwner(openvpms:get(.,’patient.entity’)) It is passed the patient and returns the current owner of the patient. Now sometimes you want to make sure that a document maintains the owner details at the time the document was created.  Sometimes you need it to change as is the case with Reminders. In order to do this you will need to modify the merge field on the reminders to the second form ... Cheers Tony On 30/03/09 2:49 PM, "Sandra" : > Today one of our staff members was emailed a reminder for her cats annual > vaccination.  The funny thing was the reminder address field contained the > address of the previous owners.  The kitten had a vaccination on 14/4/2008, > the ownership was changed over on 23/4/2008 and the reminder went to the new > owners email address but had the previous owners address in the address field. > > I have checked the old file and the kitten does not appear on the old file > until you untick hide inactive patients.  If I click on the patient link on > that old file I get taken to the new owners file with the kittens current > medical records and reminders. The previous file has a start and end date in > the PATIENT OWNER field and the setup looks fine on the new owners file. > > Am I missing something?  Could this be a bug? > > Sandra. > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > //lists.openvpms.org/mailman/listinfo/users">http://lists.openvpms.org/mailman/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- //tinyurl.com/openvfu">http://tinyurl.com/openvfu

Could this be a bug in the

 

Hi Tony,
 
Are the merge fields you mention Open Office merge fields?
 
We are using Miscrosoft Word merge fields, I have copied the merge fields from the actual document below for you to see, unfortuanatley it doesn't show ALL the field but it may give you an idea.
 
«[party:getPartyFullName(party:getPatient»
«[party:getCorrespondenceAddress(party:ge»
 
The customer name merge field says 'get the owner for the patient associated with the document as at the date of the document'.  Does that mean the date the document was printed or the date the associated service was rendered?
I don't have any other merge fields listed for current owner on the sheet I printed off the confluence area on the website on the 24th December, have their been more merge field additions?
 

Sandra @ Bellarine

 

Syndicate content