fix NPE validating concept maps

This commit is contained in:
Grahame Grieve 2023-09-15 10:14:06 -07:00
parent d40006ba8c
commit a620e2aa30
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}