Fix CCS category order search
This commit is contained in:
@@ -143,6 +143,25 @@ public sealed class CcsCaseTests
|
||||
Assert.True(CcsRatingStore.ExpectedScore(800, 1000) < 0.25);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("medication", "medication")]
|
||||
[InlineData("medication", "medications")]
|
||||
[InlineData("medication", "treatment")]
|
||||
[InlineData("procedure", "procedures")]
|
||||
[InlineData("laboratory", "tests")]
|
||||
[InlineData("diagnostic", "study")]
|
||||
public void CcsOrderSearchMatchesClinicalCategories(string category, string query)
|
||||
{
|
||||
var order = new CcsOrderDefinition
|
||||
{
|
||||
Code = "order",
|
||||
CanonicalName = "Unrelated canonical name",
|
||||
Category = category
|
||||
};
|
||||
|
||||
Assert.True(CcsStore.Rank(order, query) < 1000);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ScoringReviewIncludesExpectedAndObservedEvidence()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user