Skip to content

Commit

Permalink
refactor: refactor of cohortCreation - Ref gestion-de-projet#2420
Browse files Browse the repository at this point in the history
* refactor: refactor of cohortCreation - Ref gestion-de-projet#2420
  • Loading branch information
ManelleG authored Jan 10, 2024
1 parent 9a1d1cb commit aac8025
Show file tree
Hide file tree
Showing 6 changed files with 420 additions and 846 deletions.
13 changes: 6 additions & 7 deletions src/types/requestCriterias.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import { ScopeTreeRow, ValueSetSystem } from 'types'
import { ScopeTreeRow } from 'types'
import { DocumentAttachmentMethod, DurationRangeType, LabelObject, SearchByTypes } from './searchCriterias'

export enum MedicationType {
Request = 'MedicationRequest',
Administration = 'MedicationAdministration'
}

export enum MedicationTypeLabel {
Request = 'Prescription',
Administration = 'Administration'
}

export type LabelCriteriaObject = {
id: string
label: string
system?: ValueSetSystem
}

export enum RessourceType {
REQUEST = 'Request',
IPP_LIST = 'IPPList',
Expand Down
3 changes: 2 additions & 1 deletion src/types/searchCriterias.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ScopeTreeRow, SimpleCodeType, ValueSet } from 'types'
import { ScopeTreeRow, SimpleCodeType, ValueSet, ValueSetSystem } from 'types'
import { PatientTableLabels } from './patient'
import { CohortsType } from './cohorts'

Expand Down Expand Up @@ -140,6 +140,7 @@ export type DurationRangeType = [string | null | undefined, string | null | unde
export type LabelObject = {
id: string
label: string
system?: ValueSetSystem
}
export type OrderBy = {
orderBy: Order
Expand Down
Loading

0 comments on commit aac8025

Please sign in to comment.