Skip to content

Commit

Permalink
Update common.js.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryma2fhir authored Aug 14, 2024
1 parent b96581e commit 791b0e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common.js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,14 @@ function raiseError(issue: OperationOutcomeIssue) : boolean {

// ignore ods codesystems
if (issue.diagnostics.includes('https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODS')) return false

// ignore QuestionnaireResponse error https://github.com/hapifhir/hapi-fhir/issues/1184
if (issue.diagnostics.includes('No response answer found for required item')) return false;
}
if (issue.location !== undefined && issue.location.length>0) {
if (issue.location[0].includes('StructureMap.group')) return false;
}

}
return true;
}
Expand Down

0 comments on commit 791b0e8

Please sign in to comment.