Skip to content

Commit

Permalink
Merge pull request #43 from NHSDigital/APageNHS-patch-1
Browse files Browse the repository at this point in the history
Update common.js.ts - ignore ODS codesystems
  • Loading branch information
APageNHS authored Jan 24, 2024
2 parents 1cfd066 + fa88932 commit 8997500
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common.js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ function raiseError(issue: OperationOutcomeIssue) : boolean {

// ignore readctv3 errors
if (issue.diagnostics.includes('http://read.info/ctv3')) return false

// ignore ods codesystems
if (issue.diagnostics.includes('https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODS')) return false
}
if (issue.location !== undefined && issue.location.length>0) {
if (issue.location[0].includes('StructureMap.group')) return false;
Expand Down

0 comments on commit 8997500

Please sign in to comment.