fix versions for 5.0 extensions

This commit is contained in:
Grahame Grieve 2021-11-05 17:25:14 +11:00
parent 43c25ae4f8
commit 227664a9b3
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 = "4.5"; // for now
v = "4.6"; // 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 = "4.5"; // for now
verSource = "4.6"; // for now
}
String verTarget = VersionUtilities.getMajMin(context.getVersion());
String e = url.substring(54);