Merge pull request #781 from gabriel0316/fixCodeSystemLink
Enable linking to fragment CodeSystems
This commit is contained in:
commit
03bb7d4f5e
|
@ -721,7 +721,7 @@ public class ValueSetRenderer extends TerminologyRenderer {
|
|||
|
||||
private void addCodeToTable(boolean isAbstract, String system, String code, String display, XhtmlNode td) {
|
||||
CodeSystem e = getContext().getWorker().fetchCodeSystem(system);
|
||||
if (e == null || e.getContent() != org.hl7.fhir.r5.model.CodeSystem.CodeSystemContentMode.COMPLETE) {
|
||||
if (e == null || (e.getContent() != org.hl7.fhir.r5.model.CodeSystem.CodeSystemContentMode.COMPLETE && e.getContent() != org.hl7.fhir.r5.model.CodeSystem.CodeSystemContentMode.FRAGMENT)) {
|
||||
if (isAbstract)
|
||||
td.i().setAttribute("title", ABSTRACT_CODE_HINT).addText(code);
|
||||
else if ("http://snomed.info/sct".equals(system)) {
|
||||
|
|
Loading…
Reference in New Issue