Skip to content

Commit

Permalink
Merge branch 'develop' into feature/package-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsmits authored Apr 18, 2024
2 parents 91f6f9d + c8d03ea commit e6bc218
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Hl7.Fhir.Base/Utility/FhirReleaseParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public static string FhirVersionFromRelease(FhirRelease fhirRelease)
FhirRelease.DSTU2 => "1.0.2",
FhirRelease.STU3 => "3.0.2",
FhirRelease.R4 => "4.0.1",
FhirRelease.R4B => "4.3.0-snapshot1",
FhirRelease.R5 => "5.0.0-snapshot1",
FhirRelease.R4B => "4.3.0",
FhirRelease.R5 => "5.0.0",
_ => throw new NotSupportedException($"Unknown FHIR version {fhirRelease}")
};
}
Expand Down
4 changes: 2 additions & 2 deletions src/Hl7.Fhir.Support.Tests/Utility/FhirVersionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public void TestsFhirVersionFromRelease()
Assert.AreEqual("1.0.2", FhirReleaseParser.FhirVersionFromRelease(FhirRelease.DSTU2));
Assert.AreEqual("3.0.2", FhirReleaseParser.FhirVersionFromRelease(FhirRelease.STU3));
Assert.AreEqual("4.0.1", FhirReleaseParser.FhirVersionFromRelease(FhirRelease.R4));
Assert.AreEqual("4.3.0-snapshot1", FhirReleaseParser.FhirVersionFromRelease(FhirRelease.R4B));
Assert.AreEqual("5.0.0-snapshot1", FhirReleaseParser.FhirVersionFromRelease(FhirRelease.R5));
Assert.AreEqual("4.3.0", FhirReleaseParser.FhirVersionFromRelease(FhirRelease.R4B));
Assert.AreEqual("5.0.0", FhirReleaseParser.FhirVersionFromRelease(FhirRelease.R5));
}

[TestMethod]
Expand Down

0 comments on commit e6bc218

Please sign in to comment.