renaming pdf based on content. plzz help.

Hi there. I am a medical doctor dealing with blood test results of my patients. the paper files are scanned and saved as pdf files.
I need to rename the files based on the patients name and test date. then I need to save the renamed pdf file in a folder named by patients name.
so the final file would look like this patients name-date.pdf
how can i tell hazel to extract patients name and test date from the pdf and do automatic renaming.
I need to rename the files based on the patients name and test date. then I need to save the renamed pdf file in a folder named by patients name.
so the final file would look like this patients name-date.pdf
how can i tell hazel to extract patients name and test date from the pdf and do automatic renaming.