From 9a41e0679f2ee0372101fc73612d246d00c56e98 Mon Sep 17 00:00:00 2001 From: Anton Ivanov Date: Tue, 19 Nov 2024 12:42:16 +0300 Subject: [PATCH] Update HealthVerityPersonBuilder.cs --- .../Transformation/HealthVerity/HealthVerityPersonBuilder.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/Framework/org.ohdsi.cdm.framework.etl/Transformation/HealthVerity/HealthVerityPersonBuilder.cs b/sources/Framework/org.ohdsi.cdm.framework.etl/Transformation/HealthVerity/HealthVerityPersonBuilder.cs index cef3c57..68a36ee 100644 --- a/sources/Framework/org.ohdsi.cdm.framework.etl/Transformation/HealthVerity/HealthVerityPersonBuilder.cs +++ b/sources/Framework/org.ohdsi.cdm.framework.etl/Transformation/HealthVerity/HealthVerityPersonBuilder.cs @@ -342,7 +342,8 @@ public override IEnumerable BuildVisitDetails(VisitDetail[] visitDe var visitDetail = new VisitDetail(visitOccurrence) { - Id = Offset.GetKeyOffset(visitOccurrence.PersonId).VisitDetailId + Id = Offset.GetKeyOffset(visitOccurrence.PersonId).VisitDetailId, + AdmittingSourceValue = visitOccurrence.AdmittingSourceValue }; if (!visitDetail.EndDate.HasValue)