Skip to content

Commit f636abe

Browse files
committed
Lint fix
1 parent 240642e commit f636abe

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/extractors/CSVCancerDiseaseStatusExtractor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class CSVCancerDiseaseStatusExtractor {
2323
const evidenceDelimiter = '|';
2424
return arrOfDiseaseStatusData.map((record) => ({
2525
status: record.observationStatus || 'final',
26+
// If the Disease Status was not evaluated, there will be no value to make a record of and this property will be null
2627
value: record.observationStatus === 'not-evaluated' ? null : {
2728
code: record.diseaseStatusCode,
2829
system: 'http://snomed.info/sct',

src/templates/CancerDiseaseStatusTemplate.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
const { coding, extensionArr, reference, valueX, dataAbsentReasonExtension } = require('./snippets');
1+
const {
2+
coding,
3+
extensionArr,
4+
reference,
5+
valueX,
6+
dataAbsentReasonExtension,
7+
} = require('./snippets');
28

39
function evidenceTemplate({ evidence }) {
410
if (!evidence || evidence.length === 0) return [];

0 commit comments

Comments
 (0)