Skip to content

Commit da7b14a

Browse files
authored
Merge pull request #97 from NHSDigital/ryma2fhir-patch-3
Hide http://varnomen.hgvs.org ValueSet errors
2 parents 1e393b5 + db804c9 commit da7b14a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/common.js.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ function raiseWarning(issue: OperationOutcomeIssue, failOnWarning:boolean): bool
264264
}
265265

266266
// THESE WARNINGS SHOULD ALWAYS BE SILENTLY IGNORED
267+
// 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
268+
if (issue.diagnostics.includes('http://varnomen.hgvs.org')) return false
267269
//if (issue.diagnostics.includes('Code system https://dmd.nhs.uk/ could not be resolved.')) return false
268270
// 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
269271
if (issue.diagnostics.includes('Inappropriate CodeSystem URL') && issue.diagnostics.includes('for ValueSet: http://hl7.org/fhir/ValueSet/all-languages')) {

0 commit comments

Comments
 (0)