diff --git a/examples/config1.yml b/examples/config1.yml index 2709d3f97795ee3e8bfea21ff827f0ff26473f6d..12f0fd7d3a31b2317eb77c233ed3833e866731cb 100644 --- a/examples/config1.yml +++ b/examples/config1.yml @@ -8,10 +8,8 @@ phenotype: - "read2" - "read3" concept_sets: - - name: "ABDO_PAIN" - file: - path: "clinical-codes-org/Symptom code lists/Abdominal pain/res176-abdominal-pain.csv" + - name: ABDO_PAIN + files: + - path: clinical-codes-org/Symptom code lists/Abdominal pain/res176-abdominal-pain.csv columns: - read2: "code" - metadata: {} - + read2: code diff --git a/examples/config2.yml b/examples/config2.yml index 4a9ad79b598641a869601329b00a0b016cf1e082..f7f3d033a4885fe1a99fc8ec546d4fd945329014 100644 --- a/examples/config2.yml +++ b/examples/config2.yml @@ -8,15 +8,13 @@ phenotype: - "read2" - "read3" concept_sets: - - name: "CVD_EVENTS" - file: - path: "clinical-codes-org/Cardiovascular events (ICD10)/res52-cardiovascular-events-icd10.csv" + - name: "CVD_EVENTS" + files: + - path: "clinical-codes-org/Cardiovascular events (ICD10)/res52-cardiovascular-events-icd10.csv" columns: - icd10: "code" - metadata: {} - - name: "DID_NOT_ATTEND" - file: - path: "clinical-codes-org/Non-attendance codes/res201-did-not-attend-appointment.csv" + icd10: "code" + - name: "DID_NOT_ATTEND" + files: + - path: "clinical-codes-org/Non-attendance codes/res201-did-not-attend-appointment.csv" columns: - read2: "code" - metadata: {} \ No newline at end of file + read2: "code" \ No newline at end of file diff --git a/examples/config3.yml b/examples/config3.yml index 2e07427219e3dc605008007e4c0b9ad66fa8159c..7cb84f081aff11018dee41fb8165090cbae0d5ee 100644 --- a/examples/config3.yml +++ b/examples/config3.yml @@ -10,33 +10,29 @@ phenotype: - "snomed" concept_sets: - name: "CVD_EVENTS" - file: - path: "clinical-codes-org/Cardiovascular events (ICD10)/res52-cardiovascular-events-icd10.csv" - columns: - icd10: "code" - metadata: {} + files: + - path: "clinical-codes-org/Cardiovascular events (ICD10)/res52-cardiovascular-events-icd10.csv" + columns: + icd10: "code" - name: "DID_NOT_ATTEND" - file: - path: "clinical-codes-org/Non-attendance codes/res201-did-not-attend-appointment.csv" - columns: - read2: "code" - metadata: {} + files: + - path: "clinical-codes-org/Non-attendance codes/res201-did-not-attend-appointment.csv" + columns: + read2: "code" - name: "HYPERTENSION" - file: - path: "hanlon/Read_codes_for_diagnoses.csv" - columns: - read2: "Read Code" - category: "2" - actions: - divide_col: "MMCode" - metadata: {} + files: + - path: "hanlon/Read_codes_for_diagnoses.csv" + columns: + read2: "Read Code" + category: "2" + actions: + divide_col: "MMCode" - name: "DEPRESSION" - file: - path: "hanlon/Read_codes_for_diagnoses.csv" - columns: - read2: "Read Code" - category: "3" - actions: - divide_col: "MMCode" - metadata: {} + files: + - path: "hanlon/Read_codes_for_diagnoses.csv" + columns: + read2: "Read Code" + category: "3" + actions: + divide_col: "MMCode"