From 791b0e805710202374cf959c2e57e97098c1fcc6 Mon Sep 17 00:00:00 2001 From: Ryan May <112563297+ryma2fhir@users.noreply.github.com> Date: Wed, 14 Aug 2024 15:25:47 +0100 Subject: [PATCH] Update common.js.ts --- src/common.js.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common.js.ts b/src/common.js.ts index e310563..bee1ef1 100644 --- a/src/common.js.ts +++ b/src/common.js.ts @@ -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; }