fix narrative generation

This commit is contained in:
Grahame Grieve 2019-09-19 10:38:22 +10:00
parent 6d913f0423
commit 4aaa9b18b9
1 changed files with 3 additions and 1 deletions

View File

@ -2285,7 +2285,9 @@ public class NarrativeGenerator implements INarrativeGenerator {
x.br();
CodeSystem cs = context.fetchCodeSystem("http://hl7.org/fhir/concept-map-relationship");
String eqpath = cs.getUserString("path");
if (cs == null)
cs = context.fetchCodeSystem("http://hl7.org/fhir/ValueSet/concept-map-equivalence");
String eqpath = cs == null ? null : cs.getUserString("path");
for (ConceptMapGroupComponent grp : cm.getGroup()) {
String src = grp.getSource();