ngOnInit() {
//PersonId
console.log('HEADER ngOnInit Person Id from route', this.route.snapshot.params.personId);
this.route.paramMap.subscribe(params => {
console.log(params.get('personId'));
this.personId = params.get('personId');
if (this.personId != null){
var wi = new WizardDefinition();
wi.WiClient = Number (this.personId);
wi.WiUser = '';
wi.WiOpenDate = new Date();
wi.WiCloseDate = new Date();
wi.WiKey= 0;
console.log("HEADER ngOnInit Creation Wizard: OpenDate: " + wi.WiOpenDate + "CloseDate" + wi.WiCloseDate + "for id person" + this.personId);