mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-09 14:31:17 +00:00
more version support
This commit is contained in:
parent
a4137f0715
commit
399e86300d
@ -91,4 +91,8 @@ public class VersionUtilities {
|
||||
return ver != null && ver.startsWith("1.0");
|
||||
}
|
||||
|
||||
public static boolean versionsCompatible(String v1, String v2) {
|
||||
return v1.substring(0, 3).equals(v2.substring(0, 3));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user