From eb6f4f309db3b7555ea6f04da033f47a1c080e11 Mon Sep 17 00:00:00 2001 From: gayatrijagtap <44019996+gayatrijagtap@users.noreply.github.com> Date: Tue, 24 Nov 2020 17:43:31 +0530 Subject: [PATCH] [ADD_LOG] | Gayatri | Add log for identifier (#417) --- src/In.ProjectEKA.HipService/User/UserController.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/In.ProjectEKA.HipService/User/UserController.cs b/src/In.ProjectEKA.HipService/User/UserController.cs index 17fcecd8..6ccc714e 100644 --- a/src/In.ProjectEKA.HipService/User/UserController.cs +++ b/src/In.ProjectEKA.HipService/User/UserController.cs @@ -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: "+