@@ -28,7 +28,7 @@ export class ValueSetDef extends Expression {
2828 } )
2929 ) ;
3030 }
31- const valueset = new dt . ValueSet ( this . id , this . version , this . name , codeSystems ) ;
31+ const valueset = new dt . CQLValueSet ( this . id , this . version , this . name , codeSystems ) ;
3232 // ctx.rootContext().set(this.name, valueset); Note (2025): this seems to be unneccesary, remove completely in future if not needed
3333 return valueset ;
3434 }
@@ -71,7 +71,7 @@ export class AnyInValueSet extends Expression {
7171 if ( codes == null ) {
7272 return false ;
7373 }
74- const valueset : dt . ValueSet = await this . valueset . execute ( ctx ) ;
74+ const valueset : dt . CQLValueSet = await this . valueset . execute ( ctx ) ;
7575 if ( valueset == null || ! valueset . isValueSet ) {
7676 throw new Error ( 'ValueSet must be provided to AnyInValueSet expression' ) ;
7777 }
@@ -98,7 +98,7 @@ export class InValueSet extends Expression {
9898 if ( code == null ) {
9999 return false ;
100100 }
101- const valueset : dt . ValueSet = await this . valueset . execute ( ctx ) ;
101+ const valueset : dt . CQLValueSet = await this . valueset . execute ( ctx ) ;
102102 if ( valueset == null || ! valueset . isValueSet ) {
103103 throw new Error ( 'ValueSet must be provided to InValueSet expression' ) ;
104104 }
@@ -117,7 +117,7 @@ export class ExpandValueSet extends Expression {
117117 }
118118
119119 async exec ( ctx : Context ) {
120- const valueset : dt . ValueSet = await this . valueset . execute ( ctx ) ;
120+ const valueset : dt . CQLValueSet = await this . valueset . execute ( ctx ) ;
121121 if ( valueset == null ) {
122122 return null ;
123123 } else if ( ! valueset . isValueSet ) {
0 commit comments