diff --git a/org.hl7.fhir.core.generator/configuration/Meta.java b/org.hl7.fhir.core.generator/configuration/Meta.java index 7137bf15b..e875d789c 100644 --- a/org.hl7.fhir.core.generator/configuration/Meta.java +++ b/org.hl7.fhir.core.generator/configuration/Meta.java @@ -29,7 +29,7 @@ * null if none */ public Coding getSecurity(String theSystem, String theCode) { - for (Coding next : getTag()) { + for (Coding next : getSecurity()) { if (ca.uhn.fhir.util.ObjectUtil.equals(next.getSystem(), theSystem) && ca.uhn.fhir.util.ObjectUtil.equals(next.getCode(), theCode)) { return next; }