mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-26 23:45:50 +00:00
fix NPE validating concept maps
This commit is contained in:
parent
d40006ba8c
commit
a620e2aa30
@ -425,7 +425,7 @@ public class ConceptMapValidator extends BaseValidator {
|
||||
|
||||
|
||||
private void addToBatch(Element code, NodeStack stack, CSReference system, VSReference scope) {
|
||||
if (scope != null && scope.vs != null) {
|
||||
if (scope != null && scope.vs != null && system != null) {
|
||||
Coding c = new Coding(system.url, code.primitiveValue(), null).setVersion(system.version);
|
||||
batch.add(new CMCodingValidationRequest(stack, c, scope.vs));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user