Skip to content

feat: harmonisation textuelle - Ref gestion-de-projet#2371 #2749

feat: harmonisation textuelle - Ref gestion-de-projet#2371

feat: harmonisation textuelle - Ref gestion-de-projet#2371 #2749

Triggered via push December 5, 2024 10:14
Status Failure
Total duration 1m 53s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildPatientFilter > should return gender female build Patient: src/__tests__/cohortCreation/cohortCreation.test.ts#L140
AssertionError: expected [ Array(9) ] to deeply equal [ 'active=true', 'gender=f', '', …(6) ] - Expected + Received Array [ "active=true", - "gender=f", + "gender=,f", "", "", "", "", "", "", "", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:140:57
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildPatientFilter > should return genders build Patient: src/__tests__/cohortCreation/cohortCreation.test.ts#L145
AssertionError: expected [ 'active=true', 'gender=,f,m', …(7) ] to deeply equal [ 'active=true', 'gender=f,m', …(7) ] - Expected + Received Array [ "active=true", - "gender=f,m", + "gender=,f,m", "", "", "", "", "", "", "", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:145:57
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildPatientFilter > should return deceased vitalStatus build Patient: src/__tests__/cohortCreation/cohortCreation.test.ts#L150
AssertionError: expected [ 'active=true', '', …(7) ] to deeply equal [ 'active=true', '', …(7) ] - Expected + Received Array [ "active=true", "", - "deceased=true", + "deceased=,true", "", "", "", "", "", "", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:150:57
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildPatientFilter > should return vitalStatus build Patient: src/__tests__/cohortCreation/cohortCreation.test.ts#L155
AssertionError: expected [ 'active=true', '', …(7) ] to deeply equal [ 'active=true', '', …(7) ] - Expected + Received Array [ "active=true", "", - "deceased=true,false", + "deceased=,true,false", "", "", "", "", "", "", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:155:57
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildPatientFilter > should return complete build Patient: src/__tests__/cohortCreation/cohortCreation.test.ts#L216
AssertionError: expected [ 'active=true', 'gender=,f,m', …(7) ] to deeply equal [ 'active=true', 'gender=f,m', …(7) ] - Expected + Received Array [ "active=true", - "gender=f,m", - "deceased=true,false", + "gender=,f,m", + "deceased=,true,false", "birthdate=le2020-12-31T00:00:00Z", "birthdate=ge2020-01-01T00:00:00Z", "death-date=ge2020-01-01T00:00:00Z", "death-date=le2020-12-31T00:00:00Z", "", "", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:216:57
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildEncounterFilter > should return complete build Encounter: src/__tests__/cohortCreation/cohortCreation.test.ts#L264
AssertionError: expected [ 'subject.active=true', …(17) ] to deeply equal [ 'subject.active=true', …(17) ] - Expected + Received Array [ "subject.active=true", - "reason-code=mode1,mode2", - "admission-mode=entry1,entry2", - "discharge-disposition-mode=exit1,exit2", - "class=prise1,prise2", - "stay=sejour1,sejour2", - "discharge-disposition=destination1,destination2", - "admit-source=provenance1,provenance2", - "admission-type=admission1,admission2", - "admission-destination-type=reason1,reason2", + "reason-code=,mode1,mode2", + "admission-mode=,entry1,entry2", + "discharge-disposition-mode=,exit1,exit2", + "class=,prise1,prise2", + "stay=,sejour1,sejour2", + "discharge-disposition=,destination1,destination2", + "admit-source=,provenance1,provenance2", + "admission-type=,admission1,admission2", + "admission-destination-type=,reason1,reason2", "encounter-care-site=8312002244", - "status=status1,status2", + "status=,status1,status2", "length=ge1616", "length=le1616", "start-age-visit=ge428", "start-age-visit=le428", "_filter=(period-start ge 2024-09-05T00:00:00Z and period-start le 2024-09-05T00:00:00Z) or not (period-start eq \"*\")", "_filter=(period-end ge 2024-09-06T00:00:00Z and period-end le 2024-09-07T00:00:00Z) or not (period-end eq \"*\")", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:264:59
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildDocumentFilter > should return complete documentCriteria: src/__tests__/cohortCreation/cohortCreation.test.ts#L288
AssertionError: expected [ …(10) ] to deeply equal [ …(10) ] - Expected + Received Array [ "type:not=doc-impor&contenttype=text/plain&subject.active=true", "encounter.encounter-care-site=8312016825", "_text=cancer", "docstatus=http://hl7.org/fhir/CodeSystem/composition-status|final,http://hl7.org/fhir/CodeSystem/composition-status|preliminary", - "type=crh-j,crh-chir", - "encounter.status=cancelled", + "type=,crh-j,crh-chir", + "encounter.status=,cancelled", "date=ge2024-09-02T00:00:00Z", "date=le2024-09-04T00:00:00Z", "_filter=(encounter.period-start ge 2024-09-05T00:00:00Z and encounter.period-start le 2024-09-05T00:00:00Z) or not (encounter.period-start eq \"*\")", "_filter=(encounter.period-end ge 2024-09-06T00:00:00Z and encounter.period-end le 2024-09-07T00:00:00Z) or not (encounter.period-end eq \"*\")", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:288:51
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildConditionFilter > should return complete conditionCriteria: src/__tests__/cohortCreation/cohortCreation.test.ts#L312
AssertionError: expected [ 'subject.active=true', …(9) ] to deeply equal [ 'subject.active=true', …(9) ] - Expected + Received Array [ "subject.active=true", - "code=https://smt.esante.gouv.fr/terminologie-cim-10/|I841,https://smt.esante.gouv.fr/terminologie-cim-10/|I842", - "orbis-status=fp,f", + "code=,https://smt.esante.gouv.fr/terminologie-cim-10/|I841,https://smt.esante.gouv.fr/terminologie-cim-10/|I842", + "orbis-status=,fp,f", "_source=AREM", "encounter.encounter-care-site=8312016825", - "encounter.status=finished", + "encounter.status=,finished", "", "", "_filter=(encounter.period-start ge 2024-09-05T00:00:00Z and encounter.period-start le 2024-09-05T00:00:00Z) or not (encounter.period-start eq \"*\")", "encounter.period-end=ge2024-09-06T00:00:00Z&encounter.period-end=le2024-09-07T00:00:00Z", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:312:52
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildProcedureFilter > should return complete procedureCriteria : src/__tests__/cohortCreation/cohortCreation.test.ts#L335
AssertionError: expected [ 'subject.active=true', …(8) ] to deeply equal [ 'subject.active=true', …(8) ] - Expected + Received Array [ "subject.active=true", - "code=https://www.atih.sante.fr/plateformes-de-transmiss…ls/logiciels-espace-de-telechargement/id_lot/3550|000126,https://www.atih.sante.fr/plateformes-de-transmiss…ls/logiciels-espace-de-telechargement/id_lot/3550|000127", + "code=,https://www.atih.sante.fr/plateformes-de-transmiss…ls/logiciels-espace-de-telechargement/id_lot/3550|000126,https://www.atih.sante.fr/plateformes-de-transmiss…ls/logiciels-espace-de-telechargement/id_lot/3550|000127", "encounter.encounter-care-site=8312016825", - "encounter.status=entered-in-error", + "encounter.status=,entered-in-error", "date=ge2024-09-06T00:00:00Z", "date=le2024-09-06T00:00:00Z", "_source=ORBIS", "encounter.period-start=ge2024-09-05T00:00:00Z&encounter.period-start=le2024-09-05T00:00:00Z", "_filter=(encounter.period-end ge 2024-09-06T00:00:00Z and encounter.period-end le 2024-09-07T00:00:00Z) or not (encounter.period-end eq \"*\")", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:335:52
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildClaimFilter > should return complete claimCriteria: src/__tests__/cohortCreation/cohortCreation.test.ts#L357
AssertionError: expected [ 'patient.active=true', …(7) ] to deeply equal [ 'patient.active=true', …(7) ] - Expected + Received Array [ "patient.active=true", - "diagnosis=https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C021,https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C022,https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C023,https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C024", + "diagnosis=,https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C021,https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C022,https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C023,https://terminology.eds.aphp.fr/aphp-orbis-ghm|05C024", "encounter.encounter-care-site=8312016825", - "encounter.status=cancelled", + "encounter.status=,cancelled", "created=ge2024-09-03T00:00:00Z", "created=le2024-09-04T00:00:00Z", "_filter=(encounter.period-start ge 2024-09-04T00:00:00Z and encounter.period-start le 2024-09-07T00:00:00Z) or not (encounter.period-start eq \"*\")", "encounter.period-end=ge2024-09-02T00:00:00Z&encounter.period-end=le2024-09-06T00:00:00Z", ] ❯ src/__tests__/cohortCreation/cohortCreation.test.ts:357:48
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: src/components/CreationCohort/ControlPanel/ControlPanel.tsx#L103
'uuid' is assigned a value but never used
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L104
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L122
React Hook useEffect has missing dependencies: 'criteriaData.data.biologyData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CcamForm/index.tsx#L74
React Hook useEffect has missing dependencies: 'criteriaData.data.ccamData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/Cim10Form/index.tsx#L87
React Hook useEffect has missing dependencies: 'criteriaData.data.cim10Diagnostic' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/DocumentsForm/DocumentsForm.tsx#L115
React Hook useEffect has missing dependencies: 'defaultValues.search' and 'searchInputError'. Either include them or remove the dependency array. You can also do a functional update 'setSearchInputError(s => ...)' if you only need 'searchInputError' in the 'setSearchInputError' call