Skip to content

Commit 44d2d3e

Browse files
Merge pull request #814 from HL7/2023-11-gg-misc1
2023 11 gg misc1
2 parents 85fa570 + d234078 commit 44d2d3e

File tree

1,194 files changed

+914
-265906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,194 files changed

+914
-265906
lines changed

RELEASE_NOTES.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
* Loader: Reduce memory utilization (clean up before Jekyll)
2+
* Loader: Fix NPE on descriptions on spreadsheets
3+
* Loader: Fix committee URLs
4+
* Terminology Sub-system: Improve expansion error messages
5+
* Terminology Sub-system: Fix expansion language - don't set for displayName parameter
6+
* Validator: Fix validator not allowing canonical resource extensions in canonical resources in bundles
7+
* Validator: Fix bundle validation error on intneral link checking
8+
* Validator: Check parameter type for FHIRPath where() and all()
9+
* Validator: Validate that composite search parameters have components
10+
* Renderer: Adjust value set rendering for fragment code systems
11+
* Renderer: Fix NPE rendering some resources
12+
* Renderer: Fix rendering of TriggerDefinition
13+
* Renderer: Add support for rendering union and intersections of profiles in profile comparison
14+
* Renderer: Fix for broken markdown re-processing
15+
* Renderer: Improve identifier rendering
16+
* Renderer: fix bad link on VSAC code systems
17+
* Renderer: clean up dependency presentation
18+
* Renderer: Add IPS Comparison
19+
* Renderer: HL7 trademark related fixes
20+
* Renderer: do NOT force white background in ToC
21+
* Renderer: Fix missing examples when using versioned canonical URLs
22+
* Renderer: fix broken markdown processing generating IP statements fragment
23+
* Generator: add Jekyll/windows note
24+

org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/CqlSubSystem.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
import org.hl7.elm_modelinfo.r1.ModelInfo;
4444
import org.hl7.fhir.exceptions.FHIRException;
4545
import org.hl7.fhir.exceptions.FHIRFormatError;
46-
import org.hl7.fhir.r5.context.IWorkerContext;
47-
import org.hl7.fhir.r5.context.IWorkerContext.ILoggingService;
46+
import org.hl7.fhir.r5.context.ILoggingService;
4847
import org.hl7.fhir.r5.model.DataRequirement;
4948
import org.hl7.fhir.r5.model.Enumerations;
5049
import org.hl7.fhir.r5.model.Library;
@@ -163,7 +162,7 @@ public ModelInfo load(ModelIdentifier modelIdentifier) {
163162
}
164163
}
165164
} catch (IOException e) {
166-
logger.logDebugMessage(IWorkerContext.ILoggingService.LogCategory.PROGRESS, String.format("Exceptions occurred attempting to load npm library for model %s", modelIdentifier.toString()));
165+
logger.logDebugMessage(ILoggingService.LogCategory.PROGRESS, String.format("Exceptions occurred attempting to load npm library for model %s", modelIdentifier.toString()));
167166
}
168167
}
169168

org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/FSHRunner.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import org.apache.commons.exec.PumpStreamHandler;
2020
import org.apache.commons.lang3.StringUtils;
2121
import org.apache.commons.lang3.SystemUtils;
22-
import org.hl7.fhir.r5.context.IWorkerContext;
22+
import org.hl7.fhir.r5.context.ILoggingService;
2323
import org.hl7.fhir.utilities.IniFile;
2424
import org.hl7.fhir.utilities.Utilities;
2525
import org.hl7.fhir.utilities.settings.FhirSettings;
@@ -28,13 +28,13 @@
2828

2929
public class FSHRunner {
3030

31-
private final IWorkerContext.ILoggingService logger;
31+
private final ILoggingService logger;
3232

3333
private static final long FSH_TIMEOUT = 60000 * 5; // 5 minutes....
3434

3535
private long fshTimeout = FSH_TIMEOUT;
3636

37-
public FSHRunner(IWorkerContext.ILoggingService logger) {
37+
public FSHRunner(ILoggingService logger) {
3838
this.logger = logger;
3939
}
4040

org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/HTMLInspector.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@
4040

4141
import org.hl7.fhir.exceptions.FHIRFormatError;
4242
import org.hl7.fhir.igtools.publisher.SpecMapManager.SpecialPackageType;
43-
import org.hl7.fhir.r5.context.IWorkerContext.ILoggingService;
44-
import org.hl7.fhir.r5.context.IWorkerContext.ILoggingService.LogCategory;
43+
import org.hl7.fhir.r5.context.ILoggingService;
44+
import org.hl7.fhir.r5.context.ILoggingService.LogCategory;
4545
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
46+
import org.hl7.fhir.utilities.PathBuilder;
4647
import org.hl7.fhir.utilities.TextFile;
4748
import org.hl7.fhir.utilities.Utilities;
4849
import org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager;
@@ -718,7 +719,8 @@ private boolean checkResolveLink(String filename, Location loc, String path, Str
718719
} else {
719720
try {
720721
String folder = Utilities.getDirectoryForFile(filename);
721-
page = Utilities.path(folder == null ? (altRootFolder != null && filename.startsWith(altRootFolder) ? altRootFolder : rootFolder) : folder, page.replace("/", File.separator));
722+
String f = folder == null ? (altRootFolder != null && filename.startsWith(altRootFolder) ? altRootFolder : rootFolder) : folder;
723+
page = PathBuilder.getPathBuilder().withRequiredTarget(rootFolder).buildPath(f, page.replace("/", File.separator));
722724
} catch (java.nio.file.InvalidPathException e) {
723725
page = null;
724726
}

org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/IFetchFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
import java.util.List;
2828

2929
import org.hl7.fhir.exceptions.FHIRException;
30+
import org.hl7.fhir.r5.context.ILoggingService;
3031
import org.hl7.fhir.r5.context.IWorkerContext;
31-
import org.hl7.fhir.r5.context.IWorkerContext.ILoggingService;
3232
import org.hl7.fhir.r5.model.DataType;
3333

3434
public interface IFetchFile {

0 commit comments

Comments
 (0)