feat(opensource): add feature flags for basic opensource stack compat… #2780
Annotations
10 errors and 11 warnings
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L266
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",
- "encounter-care-site=8312002244",
+ "service-provider=8312002244",
"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:266:59
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L274
AssertionError: expected [ 'subject.active=true', …(10) ] to deeply equal [ …(10) ]
- Expected
+ Received
Array [
- "type:not=doc-impor&contenttype=text/plain&subject.active=true",
+ "subject.active=true",
+ "type:not=doc-impor&contenttype=text/plain",
"",
"",
"",
"",
"",
"",
"",
"",
"",
]
❯ src/__tests__/cohortCreation/cohortCreation.test.ts:274:51
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L290
AssertionError: expected [ 'subject.active=true', …(10) ] to deeply equal [ …(10) ]
- Expected
+ Received
Array [
- "type:not=doc-impor&contenttype=text/plain&subject.active=true",
- "encounter.encounter-care-site=8312016825",
+ "subject.active=true",
+ "type:not=doc-impor&contenttype=text/plain",
+ "encounter.service-provider=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",
"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:290:51
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L314
AssertionError: expected [ 'subject.active=true', …(9) ] to deeply equal [ 'subject.active=true', …(9) ]
- Expected
+ Received
Array [
"subject.active=true",
"code=I841,I842",
"orbis-status=fp,f",
"_source=AREM",
- "encounter.encounter-care-site=8312016825",
+ "encounter.service-provider=8312016825",
"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:314:52
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L337
AssertionError: expected [ 'subject.active=true', …(8) ] to deeply equal [ 'subject.active=true', …(8) ]
- Expected
+ Received
Array [
"subject.active=true",
"code=000126,000127",
- "encounter.encounter-care-site=8312016825",
+ "encounter.service-provider=8312016825",
"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:337:52
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L359
AssertionError: expected [ 'patient.active=true', …(7) ] to deeply equal [ 'patient.active=true', …(7) ]
- Expected
+ Received
Array [
"patient.active=true",
"diagnosis=05C021,05C022,05C023,05C024",
- "encounter.encounter-care-site=8312016825",
+ "encounter.service-provider=8312016825",
"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:359:48
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L385
AssertionError: expected [ 'subject.active=true', …(11) ] to deeply equal [ 'subject.active=true', …(11) ]
- Expected
+ Received
Array [
"subject.active=true",
"dosage-route=CUTAN",
- "context.encounter-care-site=8312016825",
+ "context.service-provider=8312016825",
"code=https://terminology.eds.aphp.fr/atc|D01AA01,https://terminology.eds.aphp.fr/atc|D01AA02,https://terminology.eds.aphp.fr/smt-medicament-ucd|3400890000055",
"context.status=cancelled",
"effective-time=ge2024-09-03T00:00:00Z",
"effective-time=le2024-09-04T00:00:00Z",
"",
"",
"",
"_filter=(context.period-start ge 2024-09-04T00:00:00Z and context.period-start le 2024-09-07T00:00:00Z) or not (context.period-start eq \"*\")",
"context.period-end=ge2024-09-02T00:00:00Z&context.period-end=le2024-09-06T00:00:00Z",
]
❯ src/__tests__/cohortCreation/cohortCreation.test.ts:385:53
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L403
AssertionError: expected [ 'subject.active=true', '', …(10) ] to deeply equal [ 'subject.active=true', '', …(10) ]
- Expected
+ Received
Array [
"subject.active=true",
"",
- "encounter.encounter-care-site=8312016825",
+ "encounter.service-provider=8312016825",
"code=https://terminology.eds.aphp.fr/atc|D01AA01,https://terminology.eds.aphp.fr/atc|D01AA02,https://terminology.eds.aphp.fr/smt-medicament-ucd|3400890000055",
"encounter.status=cancelled",
"validity-period-start=ge2024-09-03T00:00:00Z",
"validity-period-start=le2024-09-04T00:00:00Z",
"",
"",
"category=172641",
"_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:403:53
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L411
AssertionError: expected [ 'subject.active=true', …(9) ] to deeply equal [ …(9) ]
- Expected
+ Received
Array [
- "subject.active=true&status=Val",
+ "subject.active=true",
+ "status=Val",
"",
"",
"",
"",
"",
"value-quantity=le0,ge0",
"",
"",
]
❯ src/__tests__/cohortCreation/cohortCreation.test.ts:411:54
|
Test:
src/__tests__/cohortCreation/cohortCreation.test.ts#L426
AssertionError: expected [ 'subject.active=true', …(9) ] to deeply equal [ …(9) ]
- Expected
+ Received
Array [
- "subject.active=true&status=Val",
+ "subject.active=true",
+ "status=Val",
"code=I3356",
- "encounter.encounter-care-site=8312016825",
+ "encounter.service-provider=8312016825",
"encounter.status=cancelled",
"date=ge2024-09-03T00:00:00Z",
"date=le2024-09-04T00:00:00Z",
"value-quantity=3",
"_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:426:54
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint:
src/components/CreationCohort/ControlPanel/ControlPanel.tsx#L103
'uuid' is assigned a value but never used
|
Lint:
src/components/CreationCohort/DiagramView/DiagramView.tsx#L51
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L91
Unexpected any. Specify a different type
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L91
Unexpected any. Specify a different type
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L165
React Hook useEffect has a missing dependency: 'getBiologySearchResults'. Either include it or remove the dependency array
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L93
Unexpected any. Specify a different type
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L93
Unexpected any. Specify a different type
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L116
React Hook useEffect has missing dependencies: 'onChangeValue' and 'selectedCriteria.code'. Either include them or remove the dependency array
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L129
React Hook useEffect has a missing dependency: 'onChangeValue'. Either include it or remove the dependency array
|
Lint:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Hierarchy/BiologyHierarchy.tsx#L40
Unexpected any. Specify a different type
|
Loading