fix for broken links in R4B IGs

This commit is contained in:
Grahame Grieve 2021-09-29 17:47:03 +10:00
parent d17cb39e44
commit cc68880a52
2 changed files with 4 additions and 0 deletions

View File

@ -2532,6 +2532,9 @@ public class ProfileUtilities extends TranslatingUtilities {
if (VersionUtilities.isR2Ver(context.getVersion())) { if (VersionUtilities.isR2Ver(context.getVersion())) {
return "http://hl7.org/fhir/DSTU2/"; return "http://hl7.org/fhir/DSTU2/";
} }
if (VersionUtilities.isR4BVer(context.getVersion())) {
return "http://hl7.org/fhir/2021Mar/";
}
return ""; return "";
} }

View File

@ -138,6 +138,7 @@ public class PackageHacker {
case "file://C:\\GitHub\\hl7.fhir.uv.mhealth-framework#0.1.0\\output": return "http://hl7.org/fhir/uv/mhealth-framework/2020May"; case "file://C:\\GitHub\\hl7.fhir.uv.mhealth-framework#0.1.0\\output": return "http://hl7.org/fhir/uv/mhealth-framework/2020May";
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.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"; case "file://C:\\GitHub\\hl7.fhir.uv.shorthand#0.12.0\\output": return "http://hl7.org/fhir/uv/shorthand/2020May";
case "http://build.fhir.org/branches/R4B//": return "http://hl7.org/fhir/2021Mar";
} }
// https://github.com/HL7/fhir-ig-publisher/issues/295 // https://github.com/HL7/fhir-ig-publisher/issues/295