Fix incorrect fromCode for R4/DSTU2
This commit is contained in:
parent
9e693b6a03
commit
5cc8dd7974
|
@ -49,7 +49,7 @@ public enum FhirPublication {
|
||||||
R4;
|
R4;
|
||||||
|
|
||||||
public static FhirPublication fromCode(String v) {
|
public static FhirPublication fromCode(String v) {
|
||||||
if (VersionUtilities.isR4Ver(v))
|
if (VersionUtilities.isR2Ver(v))
|
||||||
return FhirPublication.DSTU2;
|
return FhirPublication.DSTU2;
|
||||||
if ("1.0".equals(v))
|
if ("1.0".equals(v))
|
||||||
return FhirPublication.DSTU2;
|
return FhirPublication.DSTU2;
|
||||||
|
|
Loading…
Reference in New Issue