mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 22:34:42 +00:00
fix wrong look up of value set alternative causing NPE
This commit is contained in:
parent
4de39a71da
commit
8cd18aae93
@ -243,7 +243,7 @@ public class ValueSetValidator extends BaseValidator {
|
||||
if (vs == null) {
|
||||
NodeStack ns = stack.push(ve, i, ve.getProperty().getDefinition(), ve.getProperty().getDefinition());
|
||||
|
||||
Resource rs = context.findTxResource(Resource.class, v);
|
||||
Resource rs = context.fetchResource(Resource.class, v);
|
||||
if (rs != null) {
|
||||
warning(errors, NO_RULE_DATE, IssueType.BUSINESSRULE, ns.getLiteralPath(), false, I18nConstants.VALUESET_REFERENCE_INVALID_TYPE, v, rs.fhirType());
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user