Enable linking to fragment CodeSystems

This commit is contained in:
Gabriel 2022-04-04 15:47:29 +02:00
parent 87fed0cfc8
commit c6fcf165e9
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {