Skip to content

Commit

Permalink
[ADD_LOG] | Gayatri | Add log for identifier (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
gayatrijagtap authored Nov 24, 2020
1 parent 71d6717 commit eb6f4f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/In.ProjectEKA.HipService/User/UserController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ public async Task OnAuthConfirmFor(JObject response)
$"Id: {authOnConfirmResponse.Auth.Patient.Id}, "+
$"Birth Year: {authOnConfirmResponse.Auth.Patient.YearOfBirth}, "+
$"Gender: {authOnConfirmResponse.Auth.Patient.Gender}, ");
if (authOnConfirmResponse.Auth.Identifier != null)
{
foreach (var identifier in authOnConfirmResponse.Auth.Identifier)
{
Log.Information($"Identifier type: {identifier.Type} , Identifier value: {identifier.Value}");
}
}
if (authOnConfirmResponse.Auth.Patient.Address != null)
{
Log.Information("Patient Address Details: "+
Expand Down

0 comments on commit eb6f4f3

Please sign in to comment.