mirror of
https://github.com/pcvolkmer/mv64e-etl-processor
synced 2025-09-13 09:02:50 +00:00
fix: remove policyRule at consent resource
This commit is contained in:
@@ -328,6 +328,8 @@ public class GicsConsentService implements IConsentService {
|
|||||||
consentAsOne.getMeta().addProfile(BROAD_CONSENT_PROFILE_URI);
|
consentAsOne.getMeta().addProfile(BROAD_CONSENT_PROFILE_URI);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
consentAsOne.setPolicyRule(null);
|
||||||
|
|
||||||
gIcsResultBundle.getEntry().stream().skip(1).forEach(c -> consentAsOne.getProvision().addProvision(((Consent) c.getResource()).getProvision().getProvisionFirstRep()));
|
gIcsResultBundle.getEntry().stream().skip(1).forEach(c -> consentAsOne.getProvision().addProvision(((Consent) c.getResource()).getProvision().getProvisionFirstRep()));
|
||||||
|
|
||||||
gIcsResultBundle.getEntry().clear();
|
gIcsResultBundle.getEntry().clear();
|
||||||
|
Reference in New Issue
Block a user