From 82423962f91c8a683a71176196e24cc52ebe3f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Trevi=C3=B1o?= Date: Sun, 29 Nov 2026 15:24:26 -0600 Subject: [PATCH] Pipeline fixtures name every node in Spanish --- tests/fixtures/pipelines/cama_reference.json | 4 +- tests/fixtures/pipelines/erick_site.json | 94 ++++++++++---------- tests/fixtures/pipelines/fhir_door.json | 22 ++--- tests/fixtures/pipelines/fhir_door_cama.json | 26 +++--- tests/fixtures/pipelines/hospital_cacu.json | 38 ++++---- tests/fixtures/pipelines/hospital_cama.json | 38 ++++---- tests/fixtures/pipelines/hospital_tea.json | 52 +++++------ 7 files changed, 137 insertions(+), 137 deletions(-) diff --git a/tests/fixtures/pipelines/cama_reference.json b/tests/fixtures/pipelines/cama_reference.json index 839f38d..3ae0ab2 100644 --- a/tests/fixtures/pipelines/cama_reference.json +++ b/tests/fixtures/pipelines/cama_reference.json @@ -1,10 +1,10 @@ { "nodes": [ - {"id": "metabric", "kind": "source", "label": "METABRIC (cBioPortal, clinical data)", + {"id": "metabric", "kind": "source", "label": "METABRIC (cBioPortal, datos clínicos)", "source": "dlt.sources.filesystem:filesystem", "args": {"bucket_url": "{reference}", "file_glob": "brca_metabric_clinical_data.tsv"}, "then": "persistance.readers:read_tsv"}, - {"id": "scanb", "kind": "source", "label": "SCAN-B (GSE96058, clinical metadata)", + {"id": "scanb", "kind": "source", "label": "SCAN-B (GSE96058, metadatos clínicos)", "source": "dlt.sources.filesystem:filesystem", "args": {"bucket_url": "{reference}", "file_glob": "scanb_clinical_metadata.txt"}, "then": "persistance.readers:read_tsv"} diff --git a/tests/fixtures/pipelines/erick_site.json b/tests/fixtures/pipelines/erick_site.json index dd255cc..762dcf5 100644 --- a/tests/fixtures/pipelines/erick_site.json +++ b/tests/fixtures/pipelines/erick_site.json @@ -1,59 +1,59 @@ { "nodes": [ - {"id": "resultados", "kind": "source", "label": "ResultadoSubrogado (every document)", + {"id": "resultados", "kind": "source", "label": "ResultadoSubrogado (todos los documentos)", "source": "dlt.sources.sql_database:sql_table", "args": {"credentials": "{database}", "schema": "dbo", "table": "ResultadoSubrogado", "chunk_size": 100}}, - {"id": "text", "kind": "read", "inputs": ["resultados"], "column": "archivo"}, + {"id": "text", "kind": "read", "label": "Texto de cada documento", "inputs": ["resultados"], "column": "archivo"}, - {"id": "cytology_forms", "kind": "route", "label": "Cytology forms", "inputs": ["text"], + {"id": "cytology_forms", "kind": "route", "label": "Formatos de citología", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)solicitud de citolog"}]}, - {"id": "mammograms", "kind": "route", "label": "Mammography reports", "inputs": ["text"], + {"id": "mammograms", "kind": "route", "label": "Reportes de mastografía", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)mastograf[ií]a bilateral"}]}, - {"id": "medical_notes", "kind": "route", "label": "Medical notes", "inputs": ["text"], + {"id": "medical_notes", "kind": "route", "label": "Notas médicas", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)informe m[eé]dico"}]}, - {"id": "oncology_notes", "kind": "route", "label": "Breast cancer notes", "inputs": ["medical_notes"], + {"id": "oncology_notes", "kind": "route", "label": "Notas de cáncer de mama", "inputs": ["medical_notes"], "when": [{"column": "text", "op": "matches", "value": "(?i)c[aá]ncer de mama|in situ de mama"}]}, - {"id": "treatment_notes", "kind": "route", "label": "Start of a treatment", "inputs": ["oncology_notes"], + {"id": "treatment_notes", "kind": "route", "label": "Inicio de un tratamiento", "inputs": ["oncology_notes"], "when": [{"column": "text", "op": "matches", "value": "(?i)fecha de inicio:"}]}, - {"id": "recurrence_notes", "kind": "route", "label": "A recurrence found", "inputs": ["oncology_notes"], + {"id": "recurrence_notes", "kind": "route", "label": "Recurrencia encontrada", "inputs": ["oncology_notes"], "when": [{"column": "text", "op": "matches", "value": "(?i)recurrencia (local|regional|a distancia) de c"}]}, - {"id": "death_notes", "kind": "route", "label": "Death notes", "inputs": ["text"], + {"id": "death_notes", "kind": "route", "label": "Notas de defunción", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)nota de defunci[oó]n"}]}, - {"id": "hpv_reports", "kind": "route", "label": "HPV PCR reports", "inputs": ["text"], + {"id": "hpv_reports", "kind": "route", "label": "Reportes de VPH por PCR", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)papiloma"}]}, - {"id": "pathology", "kind": "route", "label": "Pathology reports", "inputs": ["text"], + {"id": "pathology", "kind": "route", "label": "Reportes de patología", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)anatom[ií]a patol"}]}, - {"id": "cervical_pathology", "kind": "route", "label": "Cervix", "inputs": ["pathology"], + {"id": "cervical_pathology", "kind": "route", "label": "Cérvix", "inputs": ["pathology"], "when": [{"column": "text", "op": "matches", "value": "(?i)c[eé]rvix"}]}, - {"id": "breast_pathology", "kind": "route", "label": "Breast", "inputs": ["pathology"], + {"id": "breast_pathology", "kind": "route", "label": "Mama", "inputs": ["pathology"], "when": [{"column": "text", "op": "matches", "value": "(?i)\\bmama\\b"}]}, - {"id": "hpv_orders", "kind": "join", "label": "HPV result with its cytology order", + {"id": "hpv_orders", "kind": "join", "label": "VPH con su orden de citología", "inputs": ["hpv_reports", "cytology_forms"], "on": [["orden_servicio_id", "orden_servicio_id"]], "how": "left"}, - {"id": "institute_identity", "kind": "extract", "inputs": ["text"], + {"id": "institute_identity", "kind": "extract", "label": "Identidad (documentos del instituto)", "inputs": ["text"], "column": "text", "entity": "identity", "method": "auto", "patterns": { "full_name": "nombre:\\s*(?-i:([A-ZÑ][A-ZÑ. ]*[A-ZÑ]))(?:\\s+NUM\\.|\\s*\\n|$)", "birth_date": "nacimiento:\\s*(\\d{2}/\\d{2}/\\d ?\\d ?\\d ?\\d)", "record_number": "empleado:\\s*([A-Z]*\\d+)\\b"}, "formats": {"birth_date": "%d/%m/%Y"}}, - {"id": "hpv_identity", "kind": "extract", "inputs": ["hpv_reports"], + {"id": "hpv_identity", "kind": "extract", "label": "Identidad (reportes de VPH)", "inputs": ["hpv_reports"], "column": "text", "entity": "identity", "method": "auto", "patterns": { "full_name": "paciente\\s+(?-i:([A-ZÑ][A-ZÑ. ]*[A-ZÑ]))\\s+edad", "birth_date": "fecha de nac\\.\\s*(\\d{2}-\\w{3}-\\d{4})"}, "formats": {"birth_date": "dateparser:es"}}, - {"id": "pathology_identity", "kind": "extract", "inputs": ["pathology"], + {"id": "pathology_identity", "kind": "extract", "label": "Identidad (reportes de patología)", "inputs": ["pathology"], "column": "text", "entity": "identity", "method": "auto", "patterns": { "full_name": "nombre:\\s*(?-i:([A-ZÑ][A-ZÑ ]*[A-ZÑ]))(?:\\s+Edad|\\s*\\n|$)", "sex": "sexo:\\s*([FM])\\b"}, "concept_map": "erick_site"}, - {"id": "cytology", "kind": "extract", "inputs": ["cytology_forms"], + {"id": "cytology", "kind": "extract", "label": "Citología", "inputs": ["cytology_forms"], "column": "text", "entity": "cervical_cytology", "method": "auto", "patterns": { "sample_date": "fecha de recepci[oó]n:[\\s—–-]*(\\d{2}/\\d{2}/\\d{4})", @@ -62,7 +62,7 @@ "result": "\\b(negativo|asc-us|asc-h|lesi[oó]n (?:intraepitelial escamosa )?de bajo grado|lesi[oó]n (?:intraepitelial escamosa )?de alto grado|carcinoma in situ)\\b"}, "concept_map": "erick_site", "formats": {"sample_date": "%d/%m/%Y", "report_date": "%d/%m/%Y"}}, - {"id": "hpv", "kind": "extract", "inputs": ["hpv_orders"], + {"id": "hpv", "kind": "extract", "label": "VPH", "inputs": ["hpv_orders"], "column": ["text__cytology_forms", "text"], "entity": "cervical_cytology", "method": "auto", "patterns": { "sample_date": "fecha de recepci[oó]n:[\\s—–-]*(\\d{2}/\\d{2}/\\d{4})", @@ -71,7 +71,7 @@ "hpv_18": "(?:V{4}P{4}H{4} 1{4}8{4}|VPH\\s*18)[ .]+(\\w+)"}, "concept_map": "erick_site", "formats": {"sample_date": "%d/%m/%Y"}}, - {"id": "mammography", "kind": "extract", "inputs": ["mammograms"], + {"id": "mammography", "kind": "extract", "label": "Mastografía", "inputs": ["mammograms"], "column": "text", "entity": "mammography", "method": "auto", "patterns": { "exam_date": "fecha del estudio:\\s*(\\d{2}/\\d{2}/\\d{4})", @@ -80,18 +80,18 @@ "birads": "bi-rads\\s*(\\d[abc]?)\\b"}, "concept_map": "erick_site", "formats": {"exam_date": "%d/%m/%Y", "report_date": "%d/%m/%Y"}}, - {"id": "treatments", "kind": "extract", "inputs": ["treatment_notes"], + {"id": "treatments", "kind": "extract", "label": "Tratamientos", "inputs": ["treatment_notes"], "column": "text", "entity": "breast_treatment", "method": "auto", "patterns": { "start_date": "fecha de inicio:\\s*(\\d{2}/\\d{2}/\\d{4})", "kind": "tratamiento:\\s*\\n[^\\n]*?(cirug[ií]a conservadora|mastectom[ií]a|quimioterapia|radioterapia|hormonoterapia|anti-her2)"}, "concept_map": "erick_site", "formats": {"start_date": "%d/%m/%Y"}}, - {"id": "recurrences", "kind": "extract", "inputs": ["recurrence_notes"], "column": "text", "entity": "breast_recurrence", "method": "auto", + {"id": "recurrences", "kind": "extract", "label": "Recurrencias", "inputs": ["recurrence_notes"], "column": "text", "entity": "breast_recurrence", "method": "auto", "patterns": {"diagnosis_date": "fecha de diagn[oó]stico de la recurrencia:\\s*(\\d{2}/\\d{2}/\\d{4})", "site": "recurrencia (local|regional|a distancia) de c"}, "concept_map": "erick_site", "formats": {"diagnosis_date": "%d/%m/%Y"}}, - {"id": "notes", "kind": "extract", "inputs": ["medical_notes"], + {"id": "notes", "kind": "extract", "label": "Notas médicas", "inputs": ["medical_notes"], "column": "text", "entity": "clinical_note", "method": "auto", "patterns": { "note_date": "\\bfecha:\\s*(\\d{2}/\\d{2}/\\d{4})", @@ -99,11 +99,11 @@ "icd10": "c[oó]digo cie:\\s*\\n?([A-Z]\\d{2}(?:\\.\\d{1,2})?)"}, "concept_map": "erick_site", "formats": {"note_date": "%d/%m/%Y"}}, - {"id": "deaths", "kind": "extract", "inputs": ["death_notes"], + {"id": "deaths", "kind": "extract", "label": "Defunciones", "inputs": ["death_notes"], "column": "text", "entity": "death", "method": "auto", "patterns": {"death_date": "fecha de defunci[oó]n:\\s*(\\d{2}/\\d{2}/\\d{4})"}, "formats": {"death_date": "%d/%m/%Y"}}, - {"id": "cervical_biopsy", "kind": "extract", "inputs": ["cervical_pathology"], + {"id": "cervical_biopsy", "kind": "extract", "label": "Biopsia cervical", "inputs": ["cervical_pathology"], "column": "text", "entity": "cervical_biopsy", "method": "auto", "patterns": { "request_date": "solicitud:\\s*(\\d{2}/\\d{2}/\\d{4})", @@ -111,7 +111,7 @@ "histology": "biopsia:[\\s\\S]{0,200}?(sin evidencia de lesi[oó]n|bajo grado|alto grado|in situ|invasor)"}, "concept_map": "erick_site", "formats": {"request_date": "%d/%m/%Y", "report_date": "%d/%m/%Y"}}, - {"id": "breast_biopsy", "kind": "extract", "inputs": ["breast_pathology"], + {"id": "breast_biopsy", "kind": "extract", "label": "Biopsia de mama", "inputs": ["breast_pathology"], "column": "text", "entity": "breast_biopsy", "method": "auto", "patterns": { "request_date": "solicitud:\\s*(\\d{2}/\\d{2}/\\d{4})", @@ -128,34 +128,34 @@ "concept_map": "erick_site", "formats": {"request_date": "%d/%m/%Y", "report_date": "%d/%m/%Y"}}, - {"id": "mchat_forms", "kind": "route", "label": "M-CHAT forms", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)cuestionario m-chat"}]}, - {"id": "ados2_reports", "kind": "route", "label": "ADOS-2 reports", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)informe de evaluaci[oó]n ados-2"}]}, - {"id": "eeg_reports", "kind": "route", "label": "EEG reports", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)reporte de electroencefalograma"}]}, - {"id": "eeg_files", "kind": "route", "label": "EEG recordings (EDF)", "inputs": ["text"], "when": [{"column": "format", "op": "equals", "value": "edf"}]}, - {"id": "eeg_orders", "kind": "join", "label": "EEG report with its recording", "inputs": ["eeg_reports", "eeg_files"], "on": [["orden_servicio_id", "orden_servicio_id"]], "how": "left"}, - {"id": "mchat", "kind": "extract", "inputs": ["mchat_forms"], "column": "text", "entity": "mchat", "method": "auto", "patterns": {"screening_date": "aplicaci[oó]n:\\s*(\\d{2}/\\d{2}/\\d{4})", "score": "puntaje total \\(0 a 20\\):[^\\n]*\\n\\s*(\\d+)"}, "formats": {"screening_date": "%d/%m/%Y"}}, - {"id": "ados2", "kind": "extract", "inputs": ["ados2_reports"], "column": "text", "entity": "ados2", "method": "auto", "patterns": {"evaluation_date": "fecha de evaluaci[oó]n:\\s*(\\d{2}/\\d{2}/\\d{4})", "module": "aplic[oó] el (m[oó]dulo 1|m[oó]dulo para ni[nñ]os peque[nñ]os)", "vocalization_directed": "(?m)^Frecuencia\\ de\\ la\\ vocalización\\ espontánea\\ dirigida\\ a\\ otros\\s+([0-3])\\s*$", "pointing": "(?m)^Señalar\\s+([0-3])\\s*$", "gestures": "(?m)^Gestos\\s+([0-3])\\s*$", "unusual_eye_contact": "(?m)^Contacto\\ visual\\ inusual\\s+([0-3])\\s*$", "facial_expressions": "(?m)^Expresiones\\ faciales\\ dirigidas\\ a\\ otros\\s+([0-3])\\s*$", "gaze_integration": "(?m)^Integración\\ de\\ la\\ mirada\\ y\\ otras\\ conductas\\s+([0-3])\\s*$", "shared_enjoyment": "(?m)^Disfrute\\ compartido\\ durante\\ la\\ interacción\\s+([0-3])\\s*$", "response_to_name": "(?m)^Respuesta\\ al\\ nombre\\s+([0-3])\\s*$", "ignoring": "(?m)^Ignorar\\s+([0-3])\\s*$", "requesting": "(?m)^Pedir\\s+([0-3])\\s*$", "showing": "(?m)^Mostrar\\s+([0-3])\\s*$", "joint_attention_initiation": "(?m)^Iniciación\\ espontánea\\ de\\ la\\ atención\\ conjunta\\s+([0-3])\\s*$", "joint_attention_response": "(?m)^Respuesta\\ a\\ la\\ atención\\ conjunta\\s+([0-3])\\s*$", "social_overtures_quality": "(?m)^Características\\ de\\ las\\ iniciaciones\\ sociales\\s+([0-3])\\s*$", "social_overtures_caregiver": "(?m)^Cantidad\\ de\\ acercamientos\\ sociales\\ al\\ cuidador\\s+([0-3])\\s*$", "reciprocal_communication": "(?m)^Cantidad\\ de\\ comunicación\\ social\\ recíproca\\s+([0-3])\\s*$", "rapport_quality": "(?m)^Calidad\\ general\\ de\\ la\\ relación\\s+([0-3])\\s*$", "intonation": "(?m)^Entonación\\ de\\ las\\ vocalizaciones\\ o\\ verbalizaciones\\s+([0-3])\\s*$", "stereotyped_language": "(?m)^Uso\\ estereotipado\\ o\\ idiosincrásico\\ de\\ palabras\\ o\\ frases\\s+([0-3])\\s*$", "unusual_sensory_interest": "(?m)^Interés\\ sensorial\\ inusual\\s+([0-3])\\s*$", "hand_finger_mannerisms": "(?m)^Manierismos\\ de\\ manos\\ y\\ dedos\\s+([0-3])\\s*$", "repetitive_interests": "(?m)^Intereses\\ inusualmente\\ repetitivos\\s+([0-3])\\s*$", "social_affect_total": "total de afectaci[oó]n social \\(as\\)\\s+(\\d+)", "restricted_repetitive_total": "total de comportamiento restringido y repetitivo \\(crr\\)\\s+(\\d+)", "overall_total": "puntuaci[oó]n total global \\(as \\+ crr\\)\\s+(\\d+)"}, "concept_map": "erick_site", "formats": {"evaluation_date": "%d/%m/%Y"}}, - {"id": "eeg", "kind": "extract", "inputs": ["eeg_orders"], "column": "text", "entity": "eeg", "method": "auto", "patterns": {"study_date": "fecha del estudio:\\s*(\\d{2}/\\d{2}/\\d{4})", "lab_record_id": "registro del laboratorio:\\s*(EEG-[\\d-]+)"}, "columns": {"edf": "archivo__eeg_files"}, "formats": {"study_date": "%d/%m/%Y"}}, + {"id": "mchat_forms", "kind": "route", "label": "Formatos M-CHAT", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)cuestionario m-chat"}]}, + {"id": "ados2_reports", "kind": "route", "label": "Reportes ADOS-2", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)informe de evaluaci[oó]n ados-2"}]}, + {"id": "eeg_reports", "kind": "route", "label": "Reportes de EEG", "inputs": ["text"], "when": [{"column": "text", "op": "matches", "value": "(?i)reporte de electroencefalograma"}]}, + {"id": "eeg_files", "kind": "route", "label": "Registros de EEG (EDF)", "inputs": ["text"], "when": [{"column": "format", "op": "equals", "value": "edf"}]}, + {"id": "eeg_orders", "kind": "join", "label": "Reporte de EEG con su registro", "inputs": ["eeg_reports", "eeg_files"], "on": [["orden_servicio_id", "orden_servicio_id"]], "how": "left"}, + {"id": "mchat", "kind": "extract", "label": "M-CHAT", "inputs": ["mchat_forms"], "column": "text", "entity": "mchat", "method": "auto", "patterns": {"screening_date": "aplicaci[oó]n:\\s*(\\d{2}/\\d{2}/\\d{4})", "score": "puntaje total \\(0 a 20\\):[^\\n]*\\n\\s*(\\d+)"}, "formats": {"screening_date": "%d/%m/%Y"}}, + {"id": "ados2", "kind": "extract", "label": "ADOS-2", "inputs": ["ados2_reports"], "column": "text", "entity": "ados2", "method": "auto", "patterns": {"evaluation_date": "fecha de evaluaci[oó]n:\\s*(\\d{2}/\\d{2}/\\d{4})", "module": "aplic[oó] el (m[oó]dulo 1|m[oó]dulo para ni[nñ]os peque[nñ]os)", "vocalization_directed": "(?m)^Frecuencia\\ de\\ la\\ vocalización\\ espontánea\\ dirigida\\ a\\ otros\\s+([0-3])\\s*$", "pointing": "(?m)^Señalar\\s+([0-3])\\s*$", "gestures": "(?m)^Gestos\\s+([0-3])\\s*$", "unusual_eye_contact": "(?m)^Contacto\\ visual\\ inusual\\s+([0-3])\\s*$", "facial_expressions": "(?m)^Expresiones\\ faciales\\ dirigidas\\ a\\ otros\\s+([0-3])\\s*$", "gaze_integration": "(?m)^Integración\\ de\\ la\\ mirada\\ y\\ otras\\ conductas\\s+([0-3])\\s*$", "shared_enjoyment": "(?m)^Disfrute\\ compartido\\ durante\\ la\\ interacción\\s+([0-3])\\s*$", "response_to_name": "(?m)^Respuesta\\ al\\ nombre\\s+([0-3])\\s*$", "ignoring": "(?m)^Ignorar\\s+([0-3])\\s*$", "requesting": "(?m)^Pedir\\s+([0-3])\\s*$", "showing": "(?m)^Mostrar\\s+([0-3])\\s*$", "joint_attention_initiation": "(?m)^Iniciación\\ espontánea\\ de\\ la\\ atención\\ conjunta\\s+([0-3])\\s*$", "joint_attention_response": "(?m)^Respuesta\\ a\\ la\\ atención\\ conjunta\\s+([0-3])\\s*$", "social_overtures_quality": "(?m)^Características\\ de\\ las\\ iniciaciones\\ sociales\\s+([0-3])\\s*$", "social_overtures_caregiver": "(?m)^Cantidad\\ de\\ acercamientos\\ sociales\\ al\\ cuidador\\s+([0-3])\\s*$", "reciprocal_communication": "(?m)^Cantidad\\ de\\ comunicación\\ social\\ recíproca\\s+([0-3])\\s*$", "rapport_quality": "(?m)^Calidad\\ general\\ de\\ la\\ relación\\s+([0-3])\\s*$", "intonation": "(?m)^Entonación\\ de\\ las\\ vocalizaciones\\ o\\ verbalizaciones\\s+([0-3])\\s*$", "stereotyped_language": "(?m)^Uso\\ estereotipado\\ o\\ idiosincrásico\\ de\\ palabras\\ o\\ frases\\s+([0-3])\\s*$", "unusual_sensory_interest": "(?m)^Interés\\ sensorial\\ inusual\\s+([0-3])\\s*$", "hand_finger_mannerisms": "(?m)^Manierismos\\ de\\ manos\\ y\\ dedos\\s+([0-3])\\s*$", "repetitive_interests": "(?m)^Intereses\\ inusualmente\\ repetitivos\\s+([0-3])\\s*$", "social_affect_total": "total de afectaci[oó]n social \\(as\\)\\s+(\\d+)", "restricted_repetitive_total": "total de comportamiento restringido y repetitivo \\(crr\\)\\s+(\\d+)", "overall_total": "puntuaci[oó]n total global \\(as \\+ crr\\)\\s+(\\d+)"}, "concept_map": "erick_site", "formats": {"evaluation_date": "%d/%m/%Y"}}, + {"id": "eeg", "kind": "extract", "label": "EEG", "inputs": ["eeg_orders"], "column": "text", "entity": "eeg", "method": "auto", "patterns": {"study_date": "fecha del estudio:\\s*(\\d{2}/\\d{2}/\\d{4})", "lab_record_id": "registro del laboratorio:\\s*(EEG-[\\d-]+)"}, "columns": {"edf": "archivo__eeg_files"}, "formats": {"study_date": "%d/%m/%Y"}}, - {"id": "unrecognised", "kind": "route", "label": "Documents no route recognises", "inputs": ["text"], "otherwise": true}, + {"id": "unrecognised", "kind": "route", "label": "Documentos no reconocidos", "inputs": ["text"], "otherwise": true}, - {"id": "persons", "kind": "link", "label": "Who is who", + {"id": "persons", "kind": "link", "label": "Quién es quién", "inputs": ["institute_identity", "hpv_identity", "pathology_identity"], "fields": ["record_number", "full_name", "birth_date", "sex"], "rules": [ "list_sort(string_split(l.full_name, ' ')) = list_sort(string_split(r.full_name, ' ')) and (l.birth_date is null or r.birth_date is null or l.birth_date = r.birth_date)", "l.record_number = r.record_number and l.birth_date = r.birth_date"]}, - {"id": "cytology_out", "kind": "target", "inputs": ["cytology", "hpv", "persons"], "entity": "cervical_cytology"}, - {"id": "cervical_biopsy_out", "kind": "target", "inputs": ["cervical_biopsy", "persons"], "entity": "cervical_biopsy"}, - {"id": "mammography_out", "kind": "target", "inputs": ["mammography", "persons"], "entity": "mammography"}, - {"id": "breast_biopsy_out", "kind": "target", "inputs": ["breast_biopsy", "persons"], "entity": "breast_biopsy"}, - {"id": "treatments_out", "kind": "target", "inputs": ["treatments", "persons"], "entity": "breast_treatment"}, - {"id": "recurrences_out", "kind": "target", "inputs": ["recurrences", "persons"], "entity": "breast_recurrence"}, - {"id": "notes_out", "kind": "target", "inputs": ["notes", "persons"], "entity": "clinical_note"}, - {"id": "deaths_out", "kind": "target", "inputs": ["deaths", "persons"], "entity": "death"}, - {"id": "mchat_out", "kind": "target", "inputs": ["mchat", "persons"], "entity": "mchat"}, - {"id": "ados2_out", "kind": "target", "inputs": ["ados2", "persons"], "entity": "ados2"}, - {"id": "eeg_out", "kind": "target", "inputs": ["eeg", "persons"], "entity": "eeg"} + {"id": "cytology_out", "kind": "target", "label": "Citologías", "inputs": ["cytology", "hpv", "persons"], "entity": "cervical_cytology"}, + {"id": "cervical_biopsy_out", "kind": "target", "label": "Biopsias cervicales", "inputs": ["cervical_biopsy", "persons"], "entity": "cervical_biopsy"}, + {"id": "mammography_out", "kind": "target", "label": "Mastografías", "inputs": ["mammography", "persons"], "entity": "mammography"}, + {"id": "breast_biopsy_out", "kind": "target", "label": "Biopsias de mama", "inputs": ["breast_biopsy", "persons"], "entity": "breast_biopsy"}, + {"id": "treatments_out", "kind": "target", "label": "Tratamientos", "inputs": ["treatments", "persons"], "entity": "breast_treatment"}, + {"id": "recurrences_out", "kind": "target", "label": "Recurrencias", "inputs": ["recurrences", "persons"], "entity": "breast_recurrence"}, + {"id": "notes_out", "kind": "target", "label": "Notas médicas", "inputs": ["notes", "persons"], "entity": "clinical_note"}, + {"id": "deaths_out", "kind": "target", "label": "Defunciones", "inputs": ["deaths", "persons"], "entity": "death"}, + {"id": "mchat_out", "kind": "target", "label": "M-CHAT", "inputs": ["mchat", "persons"], "entity": "mchat"}, + {"id": "ados2_out", "kind": "target", "label": "ADOS-2", "inputs": ["ados2", "persons"], "entity": "ados2"}, + {"id": "eeg_out", "kind": "target", "label": "EEG", "inputs": ["eeg", "persons"], "entity": "eeg"} ] } diff --git a/tests/fixtures/pipelines/fhir_door.json b/tests/fixtures/pipelines/fhir_door.json index 196fcb0..419883b 100644 --- a/tests/fixtures/pipelines/fhir_door.json +++ b/tests/fixtures/pipelines/fhir_door.json @@ -1,20 +1,20 @@ { "nodes": [ - {"id": "inbox", "kind": "source", "label": "Bundles the hospital posted", + {"id": "inbox", "kind": "source", "label": "Bundles que envió el hospital", "source": "persistance.readers:fhir_inbox", "args": {"sender": "{sender}"}, "primary_key": ["id"]}, - {"id": "who", "kind": "fhir", "inputs": ["inbox"], "entity": "identity"}, - {"id": "deaths", "kind": "fhir", "inputs": ["inbox"], "entity": "death"}, - {"id": "cytology", "kind": "fhir", "inputs": ["inbox"], "entity": "cervical_cytology"}, - {"id": "biopsy", "kind": "fhir", "inputs": ["inbox"], "entity": "cervical_biopsy"}, - {"id": "notes", "kind": "fhir", "inputs": ["inbox"], "entity": "clinical_note"}, + {"id": "who", "kind": "fhir", "label": "Quién es quién", "inputs": ["inbox"], "entity": "identity"}, + {"id": "deaths", "kind": "fhir", "label": "Defunciones", "inputs": ["inbox"], "entity": "death"}, + {"id": "cytology", "kind": "fhir", "label": "Citología", "inputs": ["inbox"], "entity": "cervical_cytology"}, + {"id": "biopsy", "kind": "fhir", "label": "Biopsia", "inputs": ["inbox"], "entity": "cervical_biopsy"}, + {"id": "notes", "kind": "fhir", "label": "Notas médicas", "inputs": ["inbox"], "entity": "clinical_note"}, - {"id": "persons", "kind": "link", "label": "Who is who", "inputs": ["who"], + {"id": "persons", "kind": "link", "label": "Quién es quién", "inputs": ["who"], "fields": ["record_number", "curp", "nss", "full_name", "birth_date", "sex"]}, - {"id": "deaths_out", "kind": "target", "inputs": ["deaths", "persons"], "entity": "death"}, - {"id": "cytology_out", "kind": "target", "inputs": ["cytology", "persons"], "entity": "cervical_cytology"}, - {"id": "biopsy_out", "kind": "target", "inputs": ["biopsy", "persons"], "entity": "cervical_biopsy"}, - {"id": "notes_out", "kind": "target", "inputs": ["notes", "persons"], "entity": "clinical_note"} + {"id": "deaths_out", "kind": "target", "label": "Defunciones", "inputs": ["deaths", "persons"], "entity": "death"}, + {"id": "cytology_out", "kind": "target", "label": "Citologías", "inputs": ["cytology", "persons"], "entity": "cervical_cytology"}, + {"id": "biopsy_out", "kind": "target", "label": "Biopsias", "inputs": ["biopsy", "persons"], "entity": "cervical_biopsy"}, + {"id": "notes_out", "kind": "target", "label": "Notas médicas", "inputs": ["notes", "persons"], "entity": "clinical_note"} ] } diff --git a/tests/fixtures/pipelines/fhir_door_cama.json b/tests/fixtures/pipelines/fhir_door_cama.json index 39a626c..06117e5 100644 --- a/tests/fixtures/pipelines/fhir_door_cama.json +++ b/tests/fixtures/pipelines/fhir_door_cama.json @@ -1,22 +1,22 @@ { "nodes": [ - {"id": "inbox", "kind": "source", "label": "Bundles the hospital posted", + {"id": "inbox", "kind": "source", "label": "Bundles que envió el hospital", "source": "persistance.readers:fhir_inbox", "args": {"sender": "{sender}"}, "primary_key": ["id"]}, - {"id": "who", "kind": "fhir", "inputs": ["inbox"], "entity": "identity"}, - {"id": "deaths", "kind": "fhir", "inputs": ["inbox"], "entity": "death"}, - {"id": "mammograms", "kind": "fhir", "inputs": ["inbox"], "entity": "mammography"}, - {"id": "biopsies", "kind": "fhir", "inputs": ["inbox"], "entity": "breast_biopsy"}, - {"id": "treatments", "kind": "fhir", "inputs": ["inbox"], "entity": "breast_treatment"}, - {"id": "recurrences", "kind": "fhir", "inputs": ["inbox"], "entity": "breast_recurrence"}, + {"id": "who", "kind": "fhir", "label": "Quién es quién", "inputs": ["inbox"], "entity": "identity"}, + {"id": "deaths", "kind": "fhir", "label": "Defunciones", "inputs": ["inbox"], "entity": "death"}, + {"id": "mammograms", "kind": "fhir", "label": "Mastografías", "inputs": ["inbox"], "entity": "mammography"}, + {"id": "biopsies", "kind": "fhir", "label": "Biopsias", "inputs": ["inbox"], "entity": "breast_biopsy"}, + {"id": "treatments", "kind": "fhir", "label": "Tratamientos", "inputs": ["inbox"], "entity": "breast_treatment"}, + {"id": "recurrences", "kind": "fhir", "label": "Recurrencias", "inputs": ["inbox"], "entity": "breast_recurrence"}, - {"id": "persons", "kind": "link", "label": "Who is who", "inputs": ["who"], + {"id": "persons", "kind": "link", "label": "Quién es quién", "inputs": ["who"], "fields": ["record_number", "curp", "nss", "full_name", "birth_date", "sex"]}, - {"id": "deaths_out", "kind": "target", "inputs": ["deaths", "persons"], "entity": "death"}, - {"id": "mammograms_out", "kind": "target", "inputs": ["mammograms", "persons"], "entity": "mammography"}, - {"id": "biopsies_out", "kind": "target", "inputs": ["biopsies", "persons"], "entity": "breast_biopsy"}, - {"id": "treatments_out", "kind": "target", "inputs": ["treatments", "persons"], "entity": "breast_treatment"}, - {"id": "recurrences_out", "kind": "target", "inputs": ["recurrences", "persons"], "entity": "breast_recurrence"} + {"id": "deaths_out", "kind": "target", "label": "Defunciones", "inputs": ["deaths", "persons"], "entity": "death"}, + {"id": "mammograms_out", "kind": "target", "label": "Mastografías", "inputs": ["mammograms", "persons"], "entity": "mammography"}, + {"id": "biopsies_out", "kind": "target", "label": "Biopsias de mama", "inputs": ["biopsies", "persons"], "entity": "breast_biopsy"}, + {"id": "treatments_out", "kind": "target", "label": "Tratamientos", "inputs": ["treatments", "persons"], "entity": "breast_treatment"}, + {"id": "recurrences_out", "kind": "target", "label": "Recurrencias", "inputs": ["recurrences", "persons"], "entity": "breast_recurrence"} ] } diff --git a/tests/fixtures/pipelines/hospital_cacu.json b/tests/fixtures/pipelines/hospital_cacu.json index cfe3742..a62cfee 100644 --- a/tests/fixtures/pipelines/hospital_cacu.json +++ b/tests/fixtures/pipelines/hospital_cacu.json @@ -1,65 +1,65 @@ { "nodes": [ - {"id": "paciente", "kind": "source", "label": "Patients", + {"id": "paciente", "kind": "source", "label": "Pacientes", "source": "dlt.sources.sql_database:sql_table", "args": {"credentials": "sqlite:///{hospital}/hospital_cacu.db", "table": "paciente"}}, - {"id": "citologias", "kind": "source", "label": "Cervical cytology", + {"id": "citologias", "kind": "source", "label": "Citología cervical", "source": "dlt.sources.sql_database:sql_table", "args": {"credentials": "sqlite:///{hospital}/hospital_cacu.db", "table": "citologiacervical", "included_columns": ["cit_id", "pac_id_hospital", "cit_fecha_toma", "cit_fecha_reporte", "cit_calidad_especimen", "cit_celulas_escamosas", "cit_vph_resultado", "cit_vph_genotipo_16", "cit_vph_genotipo_18"]}}, - {"id": "biopsias", "kind": "source", "label": "Cervical biopsies", + {"id": "biopsias", "kind": "source", "label": "Biopsias cervicales", "source": "dlt.sources.sql_database:sql_table", "args": {"credentials": "sqlite:///{hospital}/hospital_cacu.db", "table": "biopsiacervical", "included_columns": ["bx_id", "pac_id_hospital", "cit_id", "bx_fecha_solicitud", "bx_fecha_reporte", "bx_cin_grado"]}}, - {"id": "notas", "kind": "source", "label": "Clinical notes", + {"id": "notas", "kind": "source", "label": "Notas clínicas", "source": "dlt.sources.sql_database:sql_table", "args": {"credentials": "sqlite:///{hospital}/hospital_cacu.db", "table": "notamedica", "included_columns": ["nm_id", "pac_id_hospital", "nm_fecha", "nm_especialidad", "nm_cie_codigo", "nm_motivo_consulta", "nm_diagnostico_texto"]}}, - {"id": "patient_identity", "kind": "map", "inputs": ["paciente"], + {"id": "patient_identity", "kind": "map", "label": "Identidad (pacientes)", "inputs": ["paciente"], "fields": {"record_number": "pac_id_hospital", "birth_date": "pac_fecha_nacimiento", "sex": "pac_sexo"}, "concept_map": "hospital_cacu"}, - {"id": "deceased", "kind": "route", "inputs": ["paciente"], + {"id": "deceased", "kind": "route", "label": "Fallecidas", "inputs": ["paciente"], "when": [{"column": "pac_fecha_defuncion", "op": "present"}]}, - {"id": "deaths", "kind": "map", "inputs": ["deceased"], + {"id": "deaths", "kind": "map", "label": "Defunciones", "inputs": ["deceased"], "fields": {"death_date": "pac_fecha_defuncion"}}, - {"id": "cytology_identity", "kind": "map", "inputs": ["citologias"], + {"id": "cytology_identity", "kind": "map", "label": "Identidad (citologías)", "inputs": ["citologias"], "fields": {"record_number": "pac_id_hospital"}}, - {"id": "cytology", "kind": "map", "inputs": ["citologias"], + {"id": "cytology", "kind": "map", "label": "Citología", "inputs": ["citologias"], "fields": {"sample_date": "cit_fecha_toma", "report_date": "cit_fecha_reporte", "adequacy": "cit_calidad_especimen", "result": "cit_celulas_escamosas", "hpv": "cit_vph_resultado", "hpv_16": "cit_vph_genotipo_16", "hpv_18": "cit_vph_genotipo_18"}, "concept_map": "hospital_cacu"}, - {"id": "biopsy_cytology", "kind": "join", "inputs": ["biopsias", "citologias"], + {"id": "biopsy_cytology", "kind": "join", "label": "Biopsia con su citología", "inputs": ["biopsias", "citologias"], "on": [["cit_id", "cit_id"]], "how": "left"}, - {"id": "biopsy_identity", "kind": "map", "inputs": ["biopsias"], + {"id": "biopsy_identity", "kind": "map", "label": "Identidad (biopsias)", "inputs": ["biopsias"], "fields": {"record_number": "pac_id_hospital"}}, - {"id": "biopsy", "kind": "map", "inputs": ["biopsy_cytology"], + {"id": "biopsy", "kind": "map", "label": "Biopsia", "inputs": ["biopsy_cytology"], "fields": {"request_date": "bx_fecha_solicitud", "report_date": "bx_fecha_reporte", "histology": "bx_cin_grado", "cytology_sample_date": "cit_fecha_toma"}, "concept_map": "hospital_cacu"}, - {"id": "note_identity", "kind": "map", "inputs": ["notas"], + {"id": "note_identity", "kind": "map", "label": "Identidad (notas)", "inputs": ["notas"], "fields": {"record_number": "pac_id_hospital"}}, - {"id": "note", "kind": "map", "inputs": ["notas"], + {"id": "note", "kind": "map", "label": "Nota médica", "inputs": ["notas"], "fields": {"note_date": "nm_fecha", "specialty": "nm_especialidad", "icd10": "nm_cie_codigo", "reason": "nm_motivo_consulta", "diagnosis_text": "nm_diagnostico_texto"}, "concept_map": "hospital_cacu"}, - {"id": "persons", "kind": "link", "label": "Who is who", + {"id": "persons", "kind": "link", "label": "Quién es quién", "inputs": ["patient_identity", "cytology_identity", "biopsy_identity", "note_identity"], "fields": ["record_number", "birth_date", "sex"]}, - {"id": "deaths_out", "kind": "target", "inputs": ["deaths", "persons"], "entity": "death"}, - {"id": "cytology_out", "kind": "target", "inputs": ["cytology", "persons"], "entity": "cervical_cytology"}, - {"id": "biopsy_out", "kind": "target", "inputs": ["biopsy", "persons"], "entity": "cervical_biopsy"}, - {"id": "notes_out", "kind": "target", "inputs": ["note", "persons"], "entity": "clinical_note"} + {"id": "deaths_out", "kind": "target", "label": "Defunciones", "inputs": ["deaths", "persons"], "entity": "death"}, + {"id": "cytology_out", "kind": "target", "label": "Citologías", "inputs": ["cytology", "persons"], "entity": "cervical_cytology"}, + {"id": "biopsy_out", "kind": "target", "label": "Biopsias", "inputs": ["biopsy", "persons"], "entity": "cervical_biopsy"}, + {"id": "notes_out", "kind": "target", "label": "Notas médicas", "inputs": ["note", "persons"], "entity": "clinical_note"} ] } diff --git a/tests/fixtures/pipelines/hospital_cama.json b/tests/fixtures/pipelines/hospital_cama.json index f110380..14e7d52 100644 --- a/tests/fixtures/pipelines/hospital_cama.json +++ b/tests/fixtures/pipelines/hospital_cama.json @@ -3,7 +3,7 @@ { "id": "paciente", "kind": "source", - "label": "Patients", + "label": "Pacientes", "source": "dlt.sources.sql_database:sql_table", "args": { "credentials": "sqlite:///{hospital}/hospital_cama.db", @@ -13,7 +13,7 @@ { "id": "mastografias", "kind": "source", - "label": "Mammograms", + "label": "Mastografías", "source": "dlt.sources.sql_database:sql_table", "args": { "credentials": "sqlite:///{hospital}/hospital_cama.db", @@ -31,7 +31,7 @@ { "id": "biopsias", "kind": "source", - "label": "Breast biopsies", + "label": "Biopsias de mama", "source": "dlt.sources.sql_database:sql_table", "args": { "credentials": "sqlite:///{hospital}/hospital_cama.db", @@ -49,7 +49,7 @@ { "id": "notas", "kind": "source", - "label": "Clinical notes", + "label": "Notas clínicas", "source": "dlt.sources.sql_database:sql_table", "args": { "credentials": "sqlite:///{hospital}/hospital_cama.db", @@ -67,7 +67,7 @@ }, { "id": "patient_identity", - "kind": "map", + "kind": "map", "label": "Identidad (pacientes)", "inputs": [ "paciente" ], @@ -80,7 +80,7 @@ }, { "id": "deceased", - "kind": "route", + "kind": "route", "label": "Fallecidas", "inputs": [ "paciente" ], @@ -93,7 +93,7 @@ }, { "id": "deaths", - "kind": "map", + "kind": "map", "label": "Defunciones", "inputs": [ "deceased" ], @@ -103,7 +103,7 @@ }, { "id": "mammogram_identity", - "kind": "map", + "kind": "map", "label": "Identidad (mastografías)", "inputs": [ "mastografias" ], @@ -113,7 +113,7 @@ }, { "id": "mammogram", - "kind": "map", + "kind": "map", "label": "Mastografía", "inputs": [ "mastografias" ], @@ -127,7 +127,7 @@ }, { "id": "biopsy_mammogram", - "kind": "join", + "kind": "join", "label": "Biopsia con su mastografía", "inputs": [ "biopsias", "mastografias" @@ -142,7 +142,7 @@ }, { "id": "biopsy_identity", - "kind": "map", + "kind": "map", "label": "Identidad (biopsias)", "inputs": [ "biopsias" ], @@ -152,7 +152,7 @@ }, { "id": "biopsy", - "kind": "map", + "kind": "map", "label": "Biopsia", "inputs": [ "biopsy_mammogram" ], @@ -166,7 +166,7 @@ }, { "id": "note_identity", - "kind": "map", + "kind": "map", "label": "Identidad (notas)", "inputs": [ "notas" ], @@ -176,7 +176,7 @@ }, { "id": "note", - "kind": "map", + "kind": "map", "label": "Nota médica", "inputs": [ "notas" ], @@ -192,7 +192,7 @@ { "id": "persons", "kind": "link", - "label": "Who is who", + "label": "Quién es quién", "inputs": [ "patient_identity", "mammogram_identity", @@ -207,7 +207,7 @@ }, { "id": "deaths_out", - "kind": "target", + "kind": "target", "label": "Defunciones", "inputs": [ "deaths", "persons" @@ -216,7 +216,7 @@ }, { "id": "mammogram_out", - "kind": "target", + "kind": "target", "label": "Mastografías", "inputs": [ "mammogram", "persons" @@ -225,7 +225,7 @@ }, { "id": "biopsy_out", - "kind": "target", + "kind": "target", "label": "Biopsias", "inputs": [ "biopsy", "persons" @@ -234,7 +234,7 @@ }, { "id": "notes_out", - "kind": "target", + "kind": "target", "label": "Notas médicas", "inputs": [ "note", "persons" diff --git a/tests/fixtures/pipelines/hospital_tea.json b/tests/fixtures/pipelines/hospital_tea.json index e890f29..3df56c5 100644 --- a/tests/fixtures/pipelines/hospital_tea.json +++ b/tests/fixtures/pipelines/hospital_tea.json @@ -3,7 +3,7 @@ { "id": "pacientes", "kind": "source", - "label": "Patients", + "label": "Pacientes", "source": "dlt.sources.sql_database:sql_table", "args": { "credentials": "sqlite:///{hospital}/hospital_tea.db", @@ -17,7 +17,7 @@ }, { "id": "patient_identity", - "kind": "map", + "kind": "map", "label": "Identidad (pacientes)", "inputs": [ "pacientes" ], @@ -44,7 +44,7 @@ }, { "id": "mchat_patient", - "kind": "join", + "kind": "join", "label": "M-CHAT con su paciente", "inputs": [ "mchat_rows", "pacientes" @@ -59,7 +59,7 @@ }, { "id": "mchat_identity", - "kind": "map", + "kind": "map", "label": "Identidad (M-CHAT)", "inputs": [ "mchat_patient" ], @@ -69,7 +69,7 @@ }, { "id": "mchat", - "kind": "map", + "kind": "map", "label": "M-CHAT", "inputs": [ "mchat_patient" ], @@ -95,7 +95,7 @@ }, { "id": "ados2_patient", - "kind": "join", + "kind": "join", "label": "ADOS-2 con su paciente", "inputs": [ "ados2_rows", "pacientes" @@ -110,7 +110,7 @@ }, { "id": "ados2_identity", - "kind": "map", + "kind": "map", "label": "Identidad (ADOS-2)", "inputs": [ "ados2_patient" ], @@ -120,7 +120,7 @@ }, { "id": "ados2_dates", - "kind": "map", + "kind": "map", "label": "Fechas del ADOS-2", "inputs": [ "ados2_patient" ], @@ -131,7 +131,7 @@ { "id": "orders", "kind": "source", - "label": "Study orders", + "label": "Órdenes de estudio", "source": "dlt.sources.sql_database:sql_table", "args": { "credentials": "sqlite:///{hospital}/hospital_tea.db", @@ -146,7 +146,7 @@ }, { "id": "ados2_reports", - "kind": "route", + "kind": "route", "label": "Reportes ADOS-2", "inputs": [ "orders" ], @@ -164,7 +164,7 @@ }, { "id": "report_patient", - "kind": "join", + "kind": "join", "label": "Reporte con su paciente", "inputs": [ "ados2_reports", "pacientes" @@ -179,7 +179,7 @@ }, { "id": "report_identity", - "kind": "map", + "kind": "map", "label": "Identidad (reportes)", "inputs": [ "report_patient" ], @@ -189,7 +189,7 @@ }, { "id": "report_text", - "kind": "read", + "kind": "read", "label": "Texto del reporte", "inputs": [ "report_patient" ], @@ -197,7 +197,7 @@ }, { "id": "ados2_results", - "kind": "extract", + "kind": "extract", "label": "Resultados del ADOS-2", "inputs": [ "report_text" ], @@ -241,7 +241,7 @@ { "id": "neuro_rows", "kind": "source", - "label": "Neurology notes", + "label": "Notas de neurología", "source": "dlt.sources.sql_database:sql_table", "args": { "credentials": "sqlite:///{hospital}/hospital_tea.db", @@ -256,7 +256,7 @@ }, { "id": "neuro_patient", - "kind": "join", + "kind": "join", "label": "Neurología con su paciente", "inputs": [ "neuro_rows", "pacientes" @@ -271,7 +271,7 @@ }, { "id": "neuro_identity", - "kind": "map", + "kind": "map", "label": "Identidad (neurología)", "inputs": [ "neuro_patient" ], @@ -281,7 +281,7 @@ }, { "id": "neuro_note", - "kind": "map", + "kind": "map", "label": "Nota de neurología", "inputs": [ "neuro_patient" ], @@ -313,7 +313,7 @@ }, { "id": "eeg_patient", - "kind": "join", + "kind": "join", "label": "EEG con su paciente", "inputs": [ "eeg_rows", "pacientes" @@ -328,7 +328,7 @@ }, { "id": "eeg_identity", - "kind": "map", + "kind": "map", "label": "Identidad (EEG)", "inputs": [ "eeg_patient" ], @@ -338,7 +338,7 @@ }, { "id": "eeg", - "kind": "map", + "kind": "map", "label": "EEG", "inputs": [ "eeg_patient" ], @@ -351,7 +351,7 @@ { "id": "persons", "kind": "link", - "label": "Who is who", + "label": "Quién es quién", "inputs": [ "patient_identity", "mchat_identity", @@ -367,7 +367,7 @@ }, { "id": "mchat_out", - "kind": "target", + "kind": "target", "label": "M-CHAT", "inputs": [ "mchat", "persons" @@ -376,7 +376,7 @@ }, { "id": "ados2_out", - "kind": "target", + "kind": "target", "label": "ADOS-2", "inputs": [ "ados2_dates", "ados2_results", @@ -386,7 +386,7 @@ }, { "id": "notes_out", - "kind": "target", + "kind": "target", "label": "Notas médicas", "inputs": [ "neuro_note", "persons" @@ -395,7 +395,7 @@ }, { "id": "eeg_out", - "kind": "target", + "kind": "target", "label": "EEG", "inputs": [ "eeg", "persons"