diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index d558bb1b3..a3496a4b0 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1 +1,2 @@ -* Big refactoring of conversion code. First big step in being able to add conversion context. \ No newline at end of file +* Big refactoring of conversion code. First big step in being able to add conversion context. +* https://github.com/HL7/fhir-ig-publisher/issues/295 \ No newline at end of file diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageHacker.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageHacker.java index 76c1e5cfc..928e7d0d3 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageHacker.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageHacker.java @@ -139,8 +139,14 @@ public class PackageHacker { case "file://C:\\GitHub\\hl7.fhir.uv.security-label-ds4p#0.1.0\\output": return "http://hl7.org/fhir/uv/security-label-ds4p/2020May"; case "file://C:\\GitHub\\hl7.fhir.uv.shorthand#0.12.0\\output": return "http://hl7.org/fhir/uv/shorthand/2020May"; } + + // https://github.com/HL7/fhir-ig-publisher/issues/295 + if (webref.contains("hl7.org/fhir/us/core/STU4.0.0")) { + webref.replace("hl7.org/fhir/us/core/STU4.0.0", "hl7.org/fhir/us/core/STU4"); + } + if (isUseSecureReferences()) { - return webref.replace("http://hl7.org/fhir", "https://hl7.org/fhir").replace("http://build.fhir.org", "https://build.fhir.org"); + return webref.replace("http://hl7.org/fhir", "https://hl7.org/fhir").replace("http://build.fhir.org", "https://build.fhir.org"); } else { return webref; }