Fix problem where validator calls R5 extensions invalid

This commit is contained in:
Grahame Grieve 2021-06-25 13:05:07 +10:00
parent 887365e778
commit 1897ee8661
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class XVerExtensionManager {
public XVerExtensionStatus status(String url) throws FHIRException {
String v = url.substring(20, 23);
if ("5.0".equals(v)) {
v = Constants.VERSION_MM;
v = "4.5"; // for now
}
String e = url.substring(54);
if (!lists.containsKey(v)) {
@ -76,7 +76,7 @@ public class XVerExtensionManager {
public StructureDefinition makeDefinition(String url) {
String verSource = url.substring(20, 23);
if ("5.0".equals(verSource)) {
verSource = Constants.VERSION_MM;
verSource = "4.5"; // for now
}
String verTarget = VersionUtilities.getMajMin(context.getVersion());
String e = url.substring(54);