Skip to content

Commit

Permalink
fix: changed status to docstatus in documentreference - Ref gestion-d…
Browse files Browse the repository at this point in the history
…e-projet#2148
  • Loading branch information
ManelleG authored Jun 29, 2023
1 parent a2dc0cb commit ed8e75b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/cohortCreation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ const constructFilterFhir = (criterion: SelectedCriteriaType): string => {

case RESSOURCE_TYPE_COMPOSITION: {
const unreducedFilterFhir = [
`status=final&type:not=doc-impor&empty=false&patient-active=true`,
`docstatus=final&type:not=doc-impor&empty=false&patient-active=true`,
`${
criterion.search
? `${criterion.searchBy === SearchByTypes.text ? COMPOSITION_TEXT : COMPOSITION_TITLE}=${encodeURIComponent(
Expand Down Expand Up @@ -1131,7 +1131,7 @@ export async function unbuildRequest(_json: string): Promise<any> {
break
}
case 'patient-active':
case 'status':
case 'docstatus':
case 'type:not':
case 'empty':
break
Expand Down

0 comments on commit ed8e75b

Please sign in to comment.