Rabies Vaccination Certificate - Statuatory Requirement for dogs/cats recieving Rabies Vaccination for Export
This is my first draft of the new rabies vaccination certicate for animals being exported and recieving a rabies vaccination certificate from an AQIS accredited vet or approved vet.
I am still trying to work our how to create a Date valid to
its basically 3 years after the startDate.
[date(date(openvpms:get(.,'startTime'))+yearMonthDuration ('P3Y'))]
I have tried this sort of formula using an xpath function to add 3 years. It doesnt work so for now I have added a formated textbox which allows you to add the information to the pdf file prior to printing
My advice is to PREVIEW this certificate and type in the missing info
Vacc batch number
date valid to
and vaccination expiry date
Then print the form out of adobe or google pdf viewer.
The other option is to write these details on after PRINTING.
PLEASE REMEMBER IF YOU ARE WRITING ON OR SIGNING THIS DOCUMENT YOU MUST USE BLUE PEN
Comments
Re: Rabies Vaccination Certificate - Statuatory Requirement ...
XPath expressions are implemented using JXPath (http://commons.apache.org/jxpath/users-guide.html ), which doesn't support date operations.
To add three years to a date would probably require an extension function.
-Tim