mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 06:14:45 +00:00
Render resource profile and supportedProfile title when available
This commit is contained in:
parent
0ce8a38650
commit
4281b0fa48
@ -369,7 +369,7 @@ public class CapabilityStatementRenderer extends ResourceRenderer {
|
|||||||
//Third time for individual resources
|
//Third time for individual resources
|
||||||
int resCount = 1;
|
int resCount = 1;
|
||||||
for (CapabilityStatementRestResourceComponent r : rest.getResource()) {
|
for (CapabilityStatementRestResourceComponent r : rest.getResource()) {
|
||||||
addResourceConfigPanel(x, r, nextLevel+1, count, resCount, igRenderingMode);
|
addResourceConfigPanel(status, res, x, r, nextLevel+1, count, resCount, igRenderingMode);
|
||||||
resCount++;
|
resCount++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1000,7 +1000,7 @@ public class CapabilityStatementRenderer extends ResourceRenderer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addResourceConfigPanel(XhtmlNode x, CapabilityStatementRestResourceComponent r, int nextLevel, int count, int resCount, boolean igRenderingMode) throws FHIRFormatError, DefinitionException, IOException {
|
private void addResourceConfigPanel(RenderingStatus status, ResourceWrapper res, XhtmlNode x, CapabilityStatementRestResourceComponent r, int nextLevel, int count, int resCount, boolean igRenderingMode) throws FHIRFormatError, DefinitionException, IOException {
|
||||||
XhtmlNode panel= null;
|
XhtmlNode panel= null;
|
||||||
XhtmlNode body = null;
|
XhtmlNode body = null;
|
||||||
XhtmlNode panelHead = null;
|
XhtmlNode panelHead = null;
|
||||||
@ -1035,7 +1035,7 @@ public class CapabilityStatementRenderer extends ResourceRenderer {
|
|||||||
cell = row.div().attribute("class", "col-lg-6");
|
cell = row.div().attribute("class", "col-lg-6");
|
||||||
addLead(cell,context.formatPhrase(RenderingContext.CAPABILITY_BASE_SYS));
|
addLead(cell,context.formatPhrase(RenderingContext.CAPABILITY_BASE_SYS));
|
||||||
cell.br();
|
cell.br();
|
||||||
addResourceLink(cell, text, text);
|
renderCanonical(status, res, cell, StructureDefinition.class, r.getProfileElement());
|
||||||
cell=row.div().attribute("class", "col-lg-3");
|
cell=row.div().attribute("class", "col-lg-3");
|
||||||
addLead(cell, context.formatPhrase(RenderingContext.CAPABILITY_PROF_CONF));
|
addLead(cell, context.formatPhrase(RenderingContext.CAPABILITY_PROF_CONF));
|
||||||
cell.br();
|
cell.br();
|
||||||
@ -1070,7 +1070,7 @@ public class CapabilityStatementRenderer extends ResourceRenderer {
|
|||||||
para.br();
|
para.br();
|
||||||
}
|
}
|
||||||
first=false;
|
first=false;
|
||||||
addResourceLink(para, c.asStringValue(), c.asStringValue());
|
renderCanonical(status, res, para, StructureDefinition.class, c);
|
||||||
//para.ah(c.asStringValue()).addText(c.asStringValue());
|
//para.ah(c.asStringValue()).addText(c.asStringValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user