From 13319c89b8fd1df99297043c48f099b97db1831c Mon Sep 17 00:00:00 2001 From: vinodaravind01 Date: Thu, 9 Jan 2025 15:24:51 +0530 Subject: [PATCH] feat: upgrade HAPI validation library to.7.6.1 #1015 --- hub-prime/pom.xml | 12 ++++++------ .../service/converters/shinny/ConsentConverter.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hub-prime/pom.xml b/hub-prime/pom.xml index bd7430593a..9efba2b0e3 100644 --- a/hub-prime/pom.xml +++ b/hub-prime/pom.xml @@ -150,27 +150,27 @@ ca.uhn.hapi.fhir hapi-fhir-base - 7.4.0 + 7.6.1 ca.uhn.hapi.fhir hapi-fhir-structures-r4 - 7.4.0 + 7.6.1 ca.uhn.hapi.fhir hapi-fhir-validation-resources-r4 - 7.4.0 + 7.6.1 ca.uhn.hapi.fhir hapi-fhir-validation - 7.4.0 + 7.6.1 ca.uhn.hapi.fhir hapi-fhir-caching-caffeine - 7.4.0 + 7.6.1 org.postgresql @@ -321,7 +321,7 @@ ca.uhn.hapi.fhir hapi-fhir-client - 7.4.0 + 7.6.1 io.opentelemetry diff --git a/hub-prime/src/main/java/org/techbd/service/converters/shinny/ConsentConverter.java b/hub-prime/src/main/java/org/techbd/service/converters/shinny/ConsentConverter.java index e9a2ac8665..e7f4f6fddc 100644 --- a/hub-prime/src/main/java/org/techbd/service/converters/shinny/ConsentConverter.java +++ b/hub-prime/src/main/java/org/techbd/service/converters/shinny/ConsentConverter.java @@ -183,7 +183,7 @@ private void populateConsentProvision(Consent consent, ScreeningProfileData scre if (screeningResourceData == null || screeningResourceData.getConsentProvisionType() == null) { return; } - Consent.provisionComponent provision = new Consent.provisionComponent(); + Consent.ProvisionComponent provision = new Consent.ProvisionComponent(); provision.setType(ConsentProvisionType.fromCode(screeningResourceData.getConsentProvisionType())); consent.setProvision(provision); }