Skip to content

Commit

Permalink
fix: add mater to export one-file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi-BOUYAHIA committed Aug 23, 2024
1 parent a47d3f8 commit ee2db35
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/Dashboard/ExportModal/export_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type label =
| 'measurement'
| 'care_site - fact_relationship'
| 'imaging_study - imaging_series'
| 'questionnaire - questionnaire__item - questionnaireresponse - questionnaireresponse__item - questionnaireresponse__item__answer'
| 'questionnaire - questionnaireresponse'

export type ExportTableType = {
id: string[]
Expand All @@ -40,7 +40,8 @@ const exportTable: ExportTableType[] = [
'drug_exposure_prescription',
'drug_exposure_administration',
'measurement',
'imaging_study - imaging_series'
'imaging_study - imaging_series',
'questionnaire - questionnaireresponse'
]
},
{
Expand All @@ -65,7 +66,8 @@ const exportTable: ExportTableType[] = [
'drug_exposure_prescription',
'drug_exposure_administration',
'measurement',
'imaging_study - imaging_series'
'imaging_study - imaging_series',
'questionnaire - questionnaireresponse'
]
},
{
Expand Down Expand Up @@ -141,10 +143,9 @@ const exportTable: ExportTableType[] = [
{
id: ['questionnaire', 'questionnaireresponse'],
name: 'Formulaires',
label:
'questionnaire - questionnaire__item - questionnaireresponse - questionnaireresponse__item - questionnaireresponse__item__answer',
label: 'questionnaire - questionnaireresponse',
resourceType: ResourceType.QUESTIONNAIRE_RESPONSE,
compatibleResourceTypes: []
compatibleResourceTypes: ['questionnaire - questionnaireresponse', 'person', 'visit_occurrence']
}
]

Expand Down

0 comments on commit ee2db35

Please sign in to comment.