Skip to content

Commit d340726

Browse files
committed
Lint fixes, unit test addition
1 parent 7637694 commit d340726

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/helpers/lookups/diseaseStatusLookup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const mcodeDiseaseStatusTextToCodeLookup = {
1111
// TODO: These are placeholder codes representing codes that are requested additions to the SNOMED vocabulary
1212
// They will likely need to be updated in future versions of mCODE
1313
'Cancer in complete remission(finding)': 'USCRS-352236',
14-
'Cancer in partial remission (finding)': 'USCRS-352237'
14+
'Cancer in partial remission (finding)': 'USCRS-352237',
1515
};
1616
const mcodeDiseaseStatusCodeToTextLookup = createInvertedLookup(mcodeDiseaseStatusTextToCodeLookup);
1717

test/helpers/diseaseStatusUtils.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ const mcodeDiseaseStatusTextToCodeLookup = {
1313
'Patient\'s condition stable (finding)': '359746009',
1414
'Patient\'s condition worsened (finding)': '271299001',
1515
'Patient condition undetermined (finding)': '709137006',
16+
'Cancer in complete remission(finding)': 'USCRS-352236',
17+
'Cancer in partial remission (finding)': 'USCRS-352237',
1618
};
1719

1820
// Code mapping is based on initial values still in use by icare implementors

0 commit comments

Comments
 (0)