fix string index error in xver manager
This commit is contained in:
parent
75a3c325ef
commit
046e814b07
|
@ -44,7 +44,7 @@ public class XVerExtensionManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public XVerExtensionStatus status(String url) throws FHIRException {
|
public XVerExtensionStatus status(String url) throws FHIRException {
|
||||||
if (url.length() < 24) {
|
if (url.length() < 54) {
|
||||||
return XVerExtensionStatus.Invalid;
|
return XVerExtensionStatus.Invalid;
|
||||||
}
|
}
|
||||||
String v = url.substring(20, 23);
|
String v = url.substring(20, 23);
|
||||||
|
|
Loading…
Reference in New Issue