Merge pull request #720 from glichtner/fix-fhir-r5-detection
fixed detection of FHIR R5 from version string
This commit is contained in:
commit
f7c146f1ff
|
@ -75,6 +75,10 @@ public class VersionUtilities {
|
|||
if (isR4BVer(v)) {
|
||||
return "hl7.fhir.r4b.core";
|
||||
}
|
||||
|
||||
if (isR5Ver(v)) {
|
||||
return "hl7.fhir.r5.core";
|
||||
}
|
||||
|
||||
if ("current".equals(v)) {
|
||||
return "hl7.fhir.r5.core";
|
||||
|
@ -101,6 +105,9 @@ public class VersionUtilities {
|
|||
if (isR4Ver(v)) {
|
||||
return "4.0.1";
|
||||
}
|
||||
if (isR5Ver(v)) {
|
||||
return "5.0.0";
|
||||
}
|
||||
if (v != null && v.startsWith(CURRENT_VERSION)) {
|
||||
return "current";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue