Merge pull request #749 from hapifhir/dotasek-badr2-fhirpublication
Fix incorrect fromCode for R4/DSTU2
This commit is contained in:
commit
5064c11b4f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue