This commit is contained in:
Grahame Grieve 2023-02-14 11:01:59 +11:00
parent d5d83bea9c
commit d9f98902b9
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ public class AdditionalBindingsRenderer {
} }
private void renderPurpose(XhtmlNode td, String purpose) { private void renderPurpose(XhtmlNode td, String purpose) {
boolean r5 = VersionUtilities.isR5Plus(context.getWorker().getVersion()); boolean r5 = context.getWorker() == null ? false : VersionUtilities.isR5Plus(context.getWorker().getVersion());
switch (purpose) { switch (purpose) {
case "maximum": case "maximum":
td.ah(r5 ? "valueset-additional-binding-purpose.html#additional-binding-purpose-maximum" : corePath+"extension-elementdefinition-maxvalueset.html", "A required binding, for use when the binding strength is 'extensible' or 'preferred'").tx("Max Binding"); td.ah(r5 ? "valueset-additional-binding-purpose.html#additional-binding-purpose-maximum" : corePath+"extension-elementdefinition-maxvalueset.html", "A required binding, for use when the binding strength is 'extensible' or 'preferred'").tx("Max Binding");