-
Notifications
You must be signed in to change notification settings - Fork 3
Transformers
kevtokev edited this page Oct 19, 2020
·
14 revisions
The following section details every transformers, the list of ready to transform Events.
This transformer provides filter patients by age, gender and death date.
It takes the events dataset and apply the following algorithm:
-
- Filter by category equal to "molecule" and start date before of study start date.
-
- Calculate the min of start date
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | patientID | observation_period | "NA" | "NA" | 0.0 | start | studyEnd |
This transformer provides have events which take place after observation period.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | patientID | trackloss | "NA" | trackloss | 0.0 | start + 2 months | null(non used) |
This transformer provides have BroadBladderCancer events. It takes as input Diagnosis Events.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | patientID | outcome | "NA" | broad_bladder_cancer | 0.0 | start (ENT_DAT from MCO_C) | null(non used) |
It's a broad_bladder_cancer event if :
- category = (mco_main_diagnosis or mco_linked_diagnosis or had_main_diagnosis or ssr_main_diagnosis or ssr_associated_diagnosis or ssr_linked_diagnosis) and value = "C67"
or - for the group (patientID, Concatenation of ETA_NUM+RSA_NUM+SOR_ANN from MCO_C, ENT_DAT from MCO_C) :
- There is an event with category != (mco_main_diagnosis and mco_linked_diagnosis and had_main_diagnosis and ssr_main_diagnosis and ssr_associated_diagnosis and ssr_linked_diagnosis) and category = mco_associated_diagnosis and value = "C67"
- And an another event with category = (mco_main_diagnosis or mco_linked_diagnosis) and value = "C77" or "C78" or "C79"
This transformer provides have NaiveBladderCancer events. It takes as input Diagnosis Events.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | patientID | outcome | "NA" | naive_bladder_cancer | 0.0 | start (ENT_DAT from MCO_C) | null(non used) |
It's a naive_bladder_cancer event if :
- value = "C67"
This transformer provides have NaiveBladderCancer events. It takes as input Diagnosis Events.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | patientID | outcome | "NA" | narrow_bladder_cancer | 0.0 | start (ENT_DAT from MCO_C) | null(non used) |
It's a narrow_bladder_cancer event if :
- For a patient and his hospital stay, all events have the same start dates.
and - (category = mco_main_diagnosis and value = "C67") or (category = mco_linked_diagnosis and value = "C67") or (for the same patientID and the same hospital stay, there are one event with category = mco_associated_diagnosis and value = "C67" and another event with category = (mco_main_diagnosis or mco_linked_diagnosis= and value = "C77" or "C78" or "C79".
and for the same patientID and the same hospital stay, there are one event with- (category = mco_cim10_act and value = ("Z511" or "Z510")) or (category = mco_ccam_act and value is in the list of codes).
or - category = dcir_act and value is in list of codes and start of this event is between start of the hospital stay - 3 months and start of the hospital stay + 3 months).
- (category = mco_cim10_act and value = ("Z511" or "Z510")) or (category = mco_ccam_act and value is in the list of codes).
- Section One: Events Mapping
- DCIR
- PMSI
- Referentials
- Section Two: Extraction Elements
- Section Three: Patients Mapping
- Section Four: Transformers