Skip to content

Commit eb6f4f3

Browse files
[ADD_LOG] | Gayatri | Add log for identifier (#417)
1 parent 71d6717 commit eb6f4f3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/In.ProjectEKA.HipService/User/UserController.cs

+7
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ public async Task OnAuthConfirmFor(JObject response)
5959
$"Id: {authOnConfirmResponse.Auth.Patient.Id}, "+
6060
$"Birth Year: {authOnConfirmResponse.Auth.Patient.YearOfBirth}, "+
6161
$"Gender: {authOnConfirmResponse.Auth.Patient.Gender}, ");
62+
if (authOnConfirmResponse.Auth.Identifier != null)
63+
{
64+
foreach (var identifier in authOnConfirmResponse.Auth.Identifier)
65+
{
66+
Log.Information($"Identifier type: {identifier.Type} , Identifier value: {identifier.Value}");
67+
}
68+
}
6269
if (authOnConfirmResponse.Auth.Patient.Address != null)
6370
{
6471
Log.Information("Patient Address Details: "+

0 commit comments

Comments
 (0)