Skip to content

Commit

Permalink
Test to validate 827 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Oct 31, 2023
1 parent 2751734 commit 6d3c04a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,12 @@ define function EncountersWithServiceType(encounters List<Encounter>, valueSet S
assertThat(ivs.getValuesetExpression(), instanceOf(OperandRef.class));
}

@Test
public void testIssue827() throws IOException {
// https://github.com/cqframework/clinical_quality_language/issues/827
TestUtils.runSemanticTest("Issue827.cql", 0);
}


@Test
public void testIssueEmptySourceInterval() throws IOException {
Expand Down Expand Up @@ -667,7 +673,7 @@ public void testCaseConditionalReturnTypes() throws IOException {
}

ExpressionDef caseDef = defs.get("Cases");

assertThat(caseDef.getResultType(), instanceOf(ChoiceType.class));

ChoiceType choiceType = (ChoiceType)caseDef.getResultType();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
library Issue827

// https://github.com/cqframework/clinical_quality_language/issues/827

// The problem was that the escaped identifier was not resolving correctly
define "Referencing Expression":
"This is the \"referenced\" expression"

define "This is the \"referenced\" expression":
'The reference resolved!'

0 comments on commit 6d3c04a

Please sign in to comment.