From f0531e9d663190771368d451040f15fdb03a6e9e Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Sun, 28 Jul 2024 20:02:25 +0800 Subject: [PATCH] fix bug using wrong profile when profiling recursive properties --- .../org/hl7/fhir/r5/conformance/profile/ProfileUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfileUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfileUtilities.java index b5382e9de..cab010b6c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfileUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfileUtilities.java @@ -506,7 +506,7 @@ public class ProfileUtilities { for (ElementDefinition e : list) { if (id.equals(e.getId())) - return getChildMap(profile, e); + return getChildMap(src, e); } throw new DefinitionException(context.formatMessage(I18nConstants.UNABLE_TO_RESOLVE_NAME_REFERENCE__AT_PATH_, element.getContentReference(), element.getPath()));