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) {
|
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);
|
Coding c = new Coding(system.url, code.primitiveValue(), null).setVersion(system.version);
|
||||||
batch.add(new CMCodingValidationRequest(stack, c, scope.vs));
|
batch.add(new CMCodingValidationRequest(stack, c, scope.vs));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue