fix string index error in xver manager

This commit is contained in:
Grahame Grieve 2023-12-14 07:20:33 -05:00
parent 75a3c325ef
commit 046e814b07
1 changed files with 1 additions and 1 deletions

View File

@ -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);