Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/common.js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ function raiseWarning(issue: OperationOutcomeIssue, failOnWarning:boolean): bool
}

// THESE WARNINGS SHOULD ALWAYS BE SILENTLY IGNORED
// Issue with GitHub validator requiring code to be in CodeSystem asset when there is none. No issues with the validator itself. The ValueSet in question is https://terminology.hl7.org/5.5.0/CodeSystem-v3-hgvs.html
if (issue.diagnostics.includes('http://varnomen.hgvs.org')) return false

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization

'[http://varnomen.hgvs.org](1)' can be anywhere in the URL, and arbitrary hosts may come before or after it.
//if (issue.diagnostics.includes('Code system https://dmd.nhs.uk/ could not be resolved.')) return false
// Issue with hapi giving incorrect error when one code is from the valueset, but another is not. See https://github.com/hapifhir/hapi-fhir/issues/4152
if (issue.diagnostics.includes('Inappropriate CodeSystem URL') && issue.diagnostics.includes('for ValueSet: http://hl7.org/fhir/ValueSet/all-languages')) {
Expand Down