Fix problem where validator calls R5 extensions invalid
This commit is contained in:
parent
887365e778
commit
1897ee8661
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue