diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ConceptMapRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ConceptMapRenderer.java index 0d11827b3..93f56773a 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ConceptMapRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ConceptMapRenderer.java @@ -240,7 +240,22 @@ public class ConceptMapRenderer extends TerminologyRenderer { else td.addText(grp.getSource()+" / "+ccl.getCode()); display = getDisplayForConcept(grp.getSource(), ccl.getCode()); - tr.td().style("border-left-width: 0px").tx(display == null ? "" : display); + td = tr.td(); + if (!first) + td.style("border-left-width: 0px; border-top-style: none"); + else if (!last) + td.style("border-left-width: 0px; border-bottom-style: none"); + else + td.style("border-left-width: 0px"); + td.tx(display == null ? "" : display); + } else { + td = tr.td(); // for display + if (!first) + td.style("border-left-width: 0px; border-top-style: none"); + else if (!last) + td.style("border-left-width: 0px; border-bottom-style: none"); + else + td.style("border-left-width: 0px"); } for (String s : sources.keySet()) { if (!s.equals("code")) { @@ -307,7 +322,7 @@ public class ConceptMapRenderer extends TerminologyRenderer { } else if ("source-is-narrower-than-target".equals(code)) { return "maps to wider concept"; } else if ("source-is-broader-than-target".equals(code)) { - return "maps to source-is-broader-than-target concept"; + return "maps to narrower target"; } else if ("not-related-to".equals(code)) { return "is not related to"; } else { @@ -327,7 +342,7 @@ public class ConceptMapRenderer extends TerminologyRenderer { } else if ("subsumes".equals(code)) { return "is subsumed by"; } else if ("source-is-broader-than-target".equals(code)) { - return "maps to source-is-broader-than-target concept"; + return "maps to narrower concept"; } else if ("specializes".equals(code)) { return "has specialization"; } else if ("inexact".equals(code)) {