From bcba96a664748ce9811f49e034444c98821ee382 Mon Sep 17 00:00:00 2001 From: manelleg Date: Fri, 29 Mar 2024 16:33:28 +0100 Subject: [PATCH] fix: fixed hospit details --- src/services/aphp/servicePatients.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/aphp/servicePatients.ts b/src/services/aphp/servicePatients.ts index eb3279012..ffd2384ad 100644 --- a/src/services/aphp/servicePatients.ts +++ b/src/services/aphp/servicePatients.ts @@ -48,12 +48,12 @@ import { } from 'fhir/r4' import { Direction, - DocumentStatuses, FormNames, Filters, Order, SearchByTypes, - SearchCriterias + SearchCriterias, + FilterByDocumentStatus } from 'types/searchCriterias' import { ResourceType } from 'types/requestCriterias' import { mapSearchCriteriasToRequestParams } from 'mappers/filters' @@ -866,7 +866,7 @@ export const getEncounterDocuments = async ( const documentsResp = await fetchDocumentReference({ encounter: encountersIdList.join(','), - docStatuses: [DocumentStatuses.FINAL], + docStatuses: [FilterByDocumentStatus.VALIDATED], _list: groupId ? groupId.split(',') : [] })