Changed the way the patient id is identified and fixed some other
bugs for XDS Provide and Register
Merge branch 'ihe-pix-xds-profile' of https://github.com/jembi/openhim.git into ihe-pix-xds-profile