Skip to content

Commit 2cd244c

Browse files
authored
Pass Message Listener to Included Libraries (cqframework#330)
1 parent 12a8ce0 commit 2cd244c

File tree

9 files changed

+652
-125
lines changed

9 files changed

+652
-125
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ test/elm/external/Retrieve.js
1212
test/elm/library/Common.js
1313
test/elm/library/Common2.js
1414
test/elm/library/data-with-namespace.js
15+
test/elm/message/Included.js

examples/browser/cql4browsers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8275,13 +8275,13 @@ class PatientContext extends Context {
82758275
}
82768276
getLibraryContext(library) {
82778277
if (this.library_context[library] == null) {
8278-
this.library_context[library] = new PatientContext(this.get(library), this.patient, this.codeService, this.parameters, this.executionDateTime);
8278+
this.library_context[library] = new PatientContext(this.get(library), this.patient, this.codeService, this.parameters, this.executionDateTime, this.messageListener);
82798279
}
82808280
return this.library_context[library];
82818281
}
82828282
getLocalIdContext(localId) {
82838283
if (this.localId_context[localId] == null) {
8284-
this.localId_context[localId] = new PatientContext(this.get(localId), this.patient, this.codeService, this.parameters, this.executionDateTime);
8284+
this.localId_context[localId] = new PatientContext(this.get(localId), this.patient, this.codeService, this.parameters, this.executionDateTime, this.messageListener);
82858285
}
82868286
return this.localId_context[localId];
82878287
}

0 commit comments

Comments
 (0)