This commit is contained in:
Suphonchai Phoonsawat 2025-05-29 13:08:06 +07:00
parent d0e39e385b
commit c3c9c85d30

View file

@ -1514,6 +1514,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
.Where(x => req.InsigniaId == null ? x.RequestInsignia != null : (x.RequestInsignia.Id == req.InsigniaId)) .Where(x => req.InsigniaId == null ? x.RequestInsignia != null : (x.RequestInsignia.Id == req.InsigniaId))
.Select(x => new .Select(x => new
{ {
x.ProfileId,
Id = x.Id, Id = x.Id,
x.Prefix, x.Prefix,
x.FirstName, x.FirstName,
@ -1555,6 +1556,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
.Select(x => new .Select(x => new
{ {
Id = x.Id, Id = x.Id,
ProfileId = x.ProfileId,
Prefix = x.Prefix ?? "", Prefix = x.Prefix ?? "",
Position = x.Position ?? "", Position = x.Position ?? "",
ProfileType = x.ProfileType ?? "", ProfileType = x.ProfileType ?? "",
@ -1597,6 +1599,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
new new
{ {
insigniaNoteProfile.Id, insigniaNoteProfile.Id,
insigniaNoteProfile.ProfileId,
insigniaNoteProfile.Prefix, insigniaNoteProfile.Prefix,
insigniaNoteProfile.Position, insigniaNoteProfile.Position,
insigniaNoteProfile.CitizenId, insigniaNoteProfile.CitizenId,