Skip to content

Commit c421798

Browse files
authored
Update common.js.ts
1 parent 6b6bc32 commit c421798

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/common.js.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,13 @@ function raiseError(issue: OperationOutcomeIssue) : boolean {
299299
if (issue.diagnostics.includes('http://loinc.org')) return false;
300300

301301
// ignore readctv3 errors
302-
if (issue.diagnostics.includes('http://read.info/ctv3')) return false
302+
if (issue.diagnostics.includes('http://read.info/ctv3')) return false;
303303

304304
// ignore ods codesystems
305-
if (issue.diagnostics.includes('https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODS')) return false
305+
if (issue.diagnostics.includes('https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODS')) return false;
306+
307+
// ignore incorrect error for QuestionnaireReponse
308+
if (issue.diagnostics.includes('No response answer')) return false;
306309
}
307310
if (issue.location !== undefined && issue.location.length>0) {
308311
if (issue.location[0].includes('StructureMap.group')) return false;

0 commit comments

Comments
 (0)