mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-09 14:31:17 +00:00
Remove spurious header from ConceptMap rendering
This commit is contained in:
parent
9b4b1ae2cc
commit
de4da1eab5
@ -36,11 +36,13 @@ public class ConceptMapRenderer extends TerminologyRenderer {
|
||||
}
|
||||
|
||||
public boolean render(XhtmlNode x, Resource dr) throws FHIRFormatError, DefinitionException, IOException {
|
||||
return render(x, (ConceptMap) dr);
|
||||
return render(x, (ConceptMap) dr, false);
|
||||
}
|
||||
|
||||
public boolean render(XhtmlNode x, ConceptMap cm) throws FHIRFormatError, DefinitionException, IOException {
|
||||
x.h2().addText(cm.getName()+" ("+cm.getUrl()+")");
|
||||
public boolean render(XhtmlNode x, ConceptMap cm, boolean header) throws FHIRFormatError, DefinitionException, IOException {
|
||||
if (header) {
|
||||
x.h2().addText(cm.getName()+" ("+cm.getUrl()+")");
|
||||
}
|
||||
|
||||
XhtmlNode p = x.para();
|
||||
p.tx("Mapping from ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user