Merge pull request #749 from hapifhir/dotasek-badr2-fhirpublication

Fix incorrect fromCode for R4/DSTU2
This commit is contained in:
Grahame Grieve 2022-02-24 11:39:07 +11:00 committed by GitHub
commit 5064c11b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;