use of se.riv.infrastructure.directory.privatepractitioner.validateprivatepractitionerresponder.v1.ValidatePrivatePractitionerType in project webcert by sklintyg.
the class PPServiceImpl method validatePrivatePractitioner.
@Override
public boolean validatePrivatePractitioner(String logicalAddress, String hsaIdentityNumber, String personalIdentityNumber) {
LOG.debug("Validating person information from Privatläkarportalen.");
validateIdentifier(hsaIdentityNumber, personalIdentityNumber);
ValidatePrivatePractitionerType request = createValidatePrivatePractitionerType(hsaIdentityNumber, personalIdentityNumber);
return validatePrivatePractitioner(logicalAddress, request);
}
use of se.riv.infrastructure.directory.privatepractitioner.validateprivatepractitionerresponder.v1.ValidatePrivatePractitionerType in project webcert by sklintyg.
the class PPServiceImpl method createValidatePrivatePractitionerType.
private ValidatePrivatePractitionerType createValidatePrivatePractitionerType(String hsaIdentityNumber, String personalIdentityNumber) {
ValidatePrivatePractitionerType ppType = new ValidatePrivatePractitionerType();
ppType.setPersonHsaId(hsaIdentityNumber);
ppType.setPersonalIdentityNumber(personalIdentityNumber);
return ppType;
}
Aggregations