From 4ea5edc1b64dae49c4071f48f00826afd4d88bd6 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Thu, 20 Jun 2024 17:51:44 +0930 Subject: [PATCH] Fix linting --- services/extract-express/src/operationOutcome.ts | 2 +- services/extract-express/src/questionnaire.ts | 2 +- services/extract-express/src/questionnaireResponse.ts | 2 +- services/extract-express/src/structureMap.ts | 2 +- services/extract-express/src/transform.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/services/extract-express/src/operationOutcome.ts b/services/extract-express/src/operationOutcome.ts index 6eacb0f4..0fe12f71 100644 --- a/services/extract-express/src/operationOutcome.ts +++ b/services/extract-express/src/operationOutcome.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { OperationOutcome } from 'fhir/r4b'; +import type { OperationOutcome } from 'fhir/r4b'; export function createInvalidParametersOutcome(): OperationOutcome { return { diff --git a/services/extract-express/src/questionnaire.ts b/services/extract-express/src/questionnaire.ts index 36d0e1c8..6ded8344 100644 --- a/services/extract-express/src/questionnaire.ts +++ b/services/extract-express/src/questionnaire.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { Bundle, BundleEntry, Questionnaire } from 'fhir/r4b'; +import type { Bundle, BundleEntry, Questionnaire } from 'fhir/r4b'; import { HEADERS } from './globals'; export async function getQuestionnaire( diff --git a/services/extract-express/src/questionnaireResponse.ts b/services/extract-express/src/questionnaireResponse.ts index 39110a6e..bb8113cb 100644 --- a/services/extract-express/src/questionnaireResponse.ts +++ b/services/extract-express/src/questionnaireResponse.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { Parameters, ParametersParameter, QuestionnaireResponse } from 'fhir/r4b'; +import type { Parameters, ParametersParameter, QuestionnaireResponse } from 'fhir/r4b'; export function getQuestionnaireResponse(body: any): QuestionnaireResponse | null { if (isQuestionnaireResponse(body)) { diff --git a/services/extract-express/src/structureMap.ts b/services/extract-express/src/structureMap.ts index 19868213..4c0bfbb4 100644 --- a/services/extract-express/src/structureMap.ts +++ b/services/extract-express/src/structureMap.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { Bundle, BundleEntry, Questionnaire, StructureMap } from 'fhir/r4b'; +import type { Bundle, BundleEntry, Questionnaire, StructureMap } from 'fhir/r4b'; import { HEADERS } from './globals'; export function getTargetStructureMapCanonical(questionnaire: Questionnaire): string | null { diff --git a/services/extract-express/src/transform.ts b/services/extract-express/src/transform.ts index 8bccc6b5..fb1ea996 100644 --- a/services/extract-express/src/transform.ts +++ b/services/extract-express/src/transform.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { +import type { FhirResource, Parameters, ParametersParameter,