Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/i18nsupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class I18nSupport {
* @returns {string} Formatted message
*/
formatMessagePlural(languages, messageId, count, parameters = []) {
this._formatMessagePluralFromBundle(this.bundles, languages, messageId, count, parameters);
return this._formatMessagePluralFromBundle(this.bundles, languages, messageId, count, parameters);
}

/**
Expand Down
9,637 changes: 1,391 additions & 8,246 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The TX module provides FHIR terminology services for CodeSystem, ValueSet, and C

## Todo

* More work on the HTML interface (external code systems, global functions)
* More work on the HTML interface (external code systems, global functions, render capability statements)
* add more tests for the code system providers - filters, extended lookup, designations and languages
* more refactoring in validate.js and expand.js
* full batch support
Expand Down
7 changes: 6 additions & 1 deletion tx/cs/cs-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,14 @@ class CodeSystemFactoryProvider {
throw new Error("Must override");
}

codeLink() {
codeLink(code) {
return undefined;
}

iteratable() {
return false;
}

}

module.exports = {
Expand Down
4 changes: 4 additions & 0 deletions tx/cs/cs-usstates.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,10 @@ class USStateFactoryProvider extends CodeSystemFactoryProvider {
id() {
return "us-states";
}

iteratable() {
return true;
}
}

module.exports = {
Expand Down
Loading
Loading