diff --git a/src/data/drug-data.tsx b/src/data/drug-data.tsx index a3647f382727bf36c989b887011778d9c2aaaf31..15dd52a4eb4ca9da7f5771d8e20d87986dd03429 100644 --- a/src/data/drug-data.tsx +++ b/src/data/drug-data.tsx @@ -9,7 +9,7 @@ export interface DrugDatensatz { interface example{ title: string, - text: string + text: Array<string>; } export const drugdata: (Array<DrugDatensatz>) = [ @@ -20,11 +20,11 @@ export const drugdata: (Array<DrugDatensatz>) = [ examples: [ { title: "", - text: "" + text: [""] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -35,11 +35,10 @@ export const drugdata: (Array<DrugDatensatz>) = [ examples: [ { title: "Trikafta", - text: "Active ingredient(s): Combination of elexacaftor/tezacaftor/ivacaftor \n Indications: For CF patients aged 2 years and older with at least one F508del mutation à 85 % of CF patients \n Mechanism: Elexacaftor and tezacaftor act as correctors on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5]. \n Administration: Oral tablets \n Approval: Approved by the EMA in 2020 " - }, + text: ["Active ingredient(s): Combination of elexacaftor/tezacaftor/ivacaftor \n Indications: For CF patients aged 2 years and older with at least one F508del mutation à 85 % of CF patients \n Mechanism: Elexacaftor and tezacaftor act as correctors on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5]. \n Administration: Oral tablets \n Approval: Approved by the EMA in 2020 "] }, { title: "Symdeko", - text: "Active ingredient(s): Combination of tezacaftor and ivacaftor \n Indications: For CF patients aged 6 years and older with specific mutations in combination with F508del or with two copies of F508del mutation \n Mechanism: Tezacaftor acts as a corrector on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5] \n Administration: Oral tablets \n Approval: Approved by the EMA in 2018" + text: ["Active ingredient(s): Combination of tezacaftor and ivacaftor \n Indications: For CF patients aged 6 years and older with specific mutations in combination with F508del or with two copies of F508del mutation \n Mechanism: Tezacaftor acts as a corrector on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5] \n Administration: Oral tablets \n Approval: Approved by the EMA in 2018"] }, ] }, @@ -50,11 +49,11 @@ export const drugdata: (Array<DrugDatensatz>) = [ examples: [ { title: "", - text: "test" + text: ["test"] }, { title: "", - text: "test2" + text: ["test2"] }, ] } diff --git a/src/data/symptom-data.tsx b/src/data/symptom-data.tsx index a309eb4bb69f41e01eb8da93955b2ba44f3ba19a..cc46814c5485b0844ff35f09f686f6523c709830 100644 --- a/src/data/symptom-data.tsx +++ b/src/data/symptom-data.tsx @@ -9,7 +9,7 @@ export interface SymptomDatensatz { interface example{ title: string, - text: string + text: Array<string>; } export const symptomdata: (Array<SymptomDatensatz>) = [ { @@ -19,11 +19,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -34,11 +34,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -49,11 +49,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -64,11 +64,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -79,11 +79,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -94,11 +94,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -109,11 +109,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }, @@ -124,11 +124,11 @@ export const symptomdata: (Array<SymptomDatensatz>) = [ subsections: [ { title: "", - text: "string" + text: ["string"] }, { title: "", - text: "string" + text: ["string"] }, ] }