Fix incorrect fromCode for R4/DSTU2

This commit is contained in:
dotasek 2022-02-23 19:02:45 -05:00
parent 9e693b6a03
commit 5cc8dd7974
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public enum FhirPublication {
R4;
public static FhirPublication fromCode(String v) {
if (VersionUtilities.isR4Ver(v))
if (VersionUtilities.isR2Ver(v))
return FhirPublication.DSTU2;
if ("1.0".equals(v))
return FhirPublication.DSTU2;