Fix for some old packages missing ElementDefinition.min
This commit is contained in:
parent
85bd0ac6dc
commit
004519ccc8
|
@ -284,6 +284,7 @@ public class PackageVisitor {
|
||||||
private boolean corePackage(NpmPackage npm) {
|
private boolean corePackage(NpmPackage npm) {
|
||||||
return npm != null && !Utilities.noString(npm.name()) && (
|
return npm != null && !Utilities.noString(npm.name()) && (
|
||||||
npm.name().startsWith("hl7.terminology") ||
|
npm.name().startsWith("hl7.terminology") ||
|
||||||
|
npm.name().startsWith("hl7.fhir.core") ||
|
||||||
npm.name().startsWith("hl7.fhir.r2.") ||
|
npm.name().startsWith("hl7.fhir.r2.") ||
|
||||||
npm.name().startsWith("hl7.fhir.r2b.") ||
|
npm.name().startsWith("hl7.fhir.r2b.") ||
|
||||||
npm.name().startsWith("hl7.fhir.r3.") ||
|
npm.name().startsWith("hl7.fhir.r3.") ||
|
||||||
|
|
|
@ -3979,7 +3979,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
||||||
tracker.used = !max.getValue().equals("0");
|
tracker.used = !max.getValue().equals("0");
|
||||||
|
|
||||||
String hint = null;
|
String hint = null;
|
||||||
if ("*".equals(max.getValue()) && 0 == min.getValue()) {
|
if (max.hasValue() && min.hasValue() && "*".equals(max.getValue()) && 0 == min.getValue()) {
|
||||||
if (definition.hasExtension(ToolingExtensions.EXT_JSON_EMPTY)) {
|
if (definition.hasExtension(ToolingExtensions.EXT_JSON_EMPTY)) {
|
||||||
String code = ToolingExtensions.readStringExtension(definition, ToolingExtensions.EXT_JSON_EMPTY);
|
String code = ToolingExtensions.readStringExtension(definition, ToolingExtensions.EXT_JSON_EMPTY);
|
||||||
if ("present".equals(code)) {
|
if ("present".equals(code)) {
|
||||||
|
|
Loading…
Reference in New Issue