search_documentsRecall: Sentinel Learnings
searchSearch DataHub catalog
run_sqlSELECT name FROM sqlite_master WHERE type='table'
searchSearch DataHub catalog
searchSearch DataHub catalog
searchSearch DataHub catalog
searchSearch DataHub catalog
list_schema_fieldsRead schema: raw_patients
list_schema_fieldsRead schema: staging_patients
list_schema_fieldsRead schema: mart_demographics
list_schema_fieldsRead schema: mart_billing
run_sqlSELECT COUNT(*) FROM raw_patients WHERE name IS NULL OR name = ''
run_sqlSELECT COUNT(*) FROM raw_patients WHERE CAST(age AS INTEGER) < 0 OR CAST(age AS INTEGER) > 120
run_sqlSELECT age, typeof(age) FROM raw_patients LIMIT 3
run_sqlSELECT COUNT(*) FROM raw_patients WHERE CAST(billing_amount AS REAL) < 0
run_sqlSELECT billing_amount, typeof(billing_amount) FROM raw_patients LIMIT 3
run_sqlSELECT COUNT(*) FROM raw_patients WHERE julianday(discharge_date) < julianday(date_of_admission)
run_sqlSELECT date_of_admission, discharge_date FROM raw_patients WHERE julianday(discharge_date) < julianday(date_of_admission) LIMIT 3
run_sqlSELECT COUNT(*) FROM staging_patients WHERE name IS NULL OR name = ''
run_sqlSELECT COUNT(*) FROM staging_patients WHERE CAST(age AS INTEGER) < 0 OR CAST(age AS INTEGER) > 120
run_sqlSELECT COUNT(*) FROM staging_patients WHERE CAST(billing_amount AS REAL) < 0
run_sqlSELECT COUNT(*) FROM staging_patients WHERE julianday(discharge_date) < julianday(date_of_admission)
run_sqlSELECT COUNT(*) FROM mart_demographics WHERE age < 0 OR age > 120
run_sqlSELECT age FROM mart_demographics WHERE age < 0 OR age > 120 LIMIT 3
run_sqlSELECT COUNT(*) FROM mart_billing WHERE billing_amount < 0
run_sqlSELECT billing_amount FROM mart_billing WHERE billing_amount < 0 LIMIT 3
run_sqlSELECT COUNT(*) FROM mart_billing WHERE length_of_stay_days < 0
run_sqlSELECT length_of_stay_days FROM mart_billing WHERE length_of_stay_days < 0 LIMIT 3
get_lineageTrace lineage: raw_patients
report_finding{"check_name": "missing_patient_name", "recommendation": "Qu
get_lineageTrace lineage: staging_patients
run_sqlSELECT name FROM raw_patients WHERE name IS NULL OR name = '' LIMIT 3
report_finding{"table": "staging_patients", "affected_rows": 555, "descrip
run_sqlSELECT name FROM staging_patients WHERE name IS NULL OR name = '' LIMIT 3
report_finding{"recommendation": "Correct invalid age values to NULL for r
run_sqlSELECT age, medical_condition FROM raw_patients WHERE CAST(age AS INTEGER) < 0 OR CAST(age AS INTEGER) > 120 LIMIT 3
report_finding{"recommendation": "Rebuild from corrected source table.", "
report_finding{"description": "Invalid patient ages in downstream table",
run_sqlSELECT age, medical_condition FROM staging_patients WHERE CAST(age AS INTEGER) < 0 OR CAST(age AS INTEGER) > 120 LIMIT 3
run_sqlSELECT age, medical_condition FROM mart_demographics WHERE age < 0 OR age > 120 LIMIT 3
report_finding{"check_name": "negative_billing_amount", "table": "raw_pati
run_sqlSELECT billing_amount, insurance_provider FROM raw_patients WHERE CAST(billing_amount AS REAL) < 0 LIMIT 3
report_finding{"severity": "HIGH", "table": "staging_patients", "recommend
report_finding{"column": "billing_amount", "table": "mart_billing", "check
run_sqlSELECT billing_amount, insurance_provider FROM staging_patients WHERE CAST(billing_amount AS REAL) < 0 LIMIT 3
run_sqlSELECT billing_amount, insurance_provider FROM mart_billing WHERE billing_amount < 0 LIMIT 3
report_finding{"affected_rows": 277, "table": "raw_patients", "severity":
run_sqlSELECT date_of_admission, discharge_date FROM raw_patients WHERE julianday(discharge_date) < julianday(date_of_admission) LIMIT 3
report_finding{"affected_rows": 277, "recommendation": "Rebuild from corre
report_finding{"clinical_impact": "Corrupts length-of-stay calculations us
run_sqlSELECT date_of_admission, discharge_date FROM staging_patients WHERE julianday(discharge_date) < julianday(date_of_admission) LIMIT 3
run_sqlSELECT length_of_stay_days FROM mart_billing WHERE length_of_stay_days < 0 LIMIT 3
add_tagsTag 1 datasets
add_tagsTag 3 datasets
update_descriptionUpdate description: raw_patients
update_descriptionUpdate description: staging_patients
update_descriptionUpdate description: mart_demographics
update_descriptionUpdate description: mart_billing
apply_fixquarantine on raw_patients
apply_fixcorrect on raw_patients
apply_fixcorrect on raw_patients
apply_fixcorrect on raw_patients
HUMAN_APPROVALapply_fix β approved
HUMAN_APPROVALapply_fix β approved
HUMAN_APPROVALapply_fix β approved
HUMAN_APPROVALapply_fix β approved
apply_fixquarantine on raw_patients
apply_fixcorrect on raw_patients
apply_fixcorrect on raw_patients
apply_fixcorrect on raw_patients
HUMAN_APPROVALapply_fix β approved
HUMAN_APPROVALapply_fix β approved
HUMAN_APPROVALapply_fix β approved
HUMAN_APPROVALapply_fix β approved
save_documentSave: Sentinel Learnings
save_documentSave: Sentinel Triage Report
run_sqlSELECT name FROM raw_patients WHERE name IS NULL OR name = '' LIMIT 3
run_sqlSELECT age, medical_condition FROM raw_patients WHERE CAST(age AS INTEGER) < 0 OR CAST(age AS INTEGER) > 120 LIMIT 3
run_sqlSELECT billing_amount, insurance_provider FROM raw_patients WHERE CAST(billing_amount AS REAL) < 0 LIMIT 3
run_sqlSELECT date_of_admission, discharge_date FROM raw_patients WHERE julianday(discharge_date) < julianday(date_of_admission) LIMIT 3
run_sqlSELECT name FROM staging_patients WHERE name IS NULL OR name = '' LIMIT 3
run_sqlSELECT age, medical_condition FROM staging_patients WHERE CAST(age AS INTEGER) < 0 OR CAST(age AS INTEGER) > 120 LIMIT 3
run_sqlSELECT billing_amount, insurance_provider FROM staging_patients WHERE CAST(billing_amount AS REAL) < 0 LIMIT 3
run_sqlSELECT date_of_admission, discharge_date FROM staging_patients WHERE julianday(discharge_date) < julianday(date_of_admission) LIMIT 3
run_sqlSELECT age, medical_condition FROM mart_demographics WHERE age < 0 OR age > 120 LIMIT 3
run_sqlSELECT billing_amount, insurance_provider FROM mart_billing WHERE billing_amount < 0 LIMIT 3
run_sqlSELECT length_of_stay_days FROM mart_billing WHERE length_of_stay_days < 0 LIMIT 3
run_sqlSELECT COUNT(*) FROM raw_patients WHERE name IS NULL OR name = ''
run_sqlSELECT COUNT(*) FROM raw_patients WHERE age < 0
run_sqlSELECT COUNT(*) FROM raw_patients WHERE billing_amount < 0
run_sqlSELECT COUNT(*) FROM raw_patients WHERE discharge_date < admission_date
run_sqlSELECT COUNT(*) FROM mart_billing WHERE length_of_stay_days < 0
searchSearch DataHub catalog
list_schema_fieldsRead schema: raw_patients
run_sqlSELECT COUNT(*) FROM staging_patients WHERE name IS NULL OR name = ''
run_sqlSELECT COUNT(*) FROM staging_patients WHERE billing_amount < 0
run_sqlSELECT COUNT(*) FROM mart_billing WHERE billing_amount < 0
run_sqlSELECT COUNT(*) FROM raw_patients WHERE discharge_date < date_of_admission
run_sqlSELECT COUNT(*) FROM raw_patients WHERE age > 150
run_sqlSELECT typeof(age) FROM staging_patients LIMIT 1
run_sqlSELECT typeof(age) FROM mart_demographics LIMIT 1
run_sqlSELECT COUNT(*) FROM raw_patients WHERE CAST(age AS INTEGER) > 120
run_sqlSELECT COUNT(*) FROM staging_patients WHERE discharge_date < date_of_admission
report_finding{"description": "555 records in raw_patients have a null or
report_finding{"clinical_impact": "Incorrect billing can cause financial d
report_finding{"affected_rows": 832, "recommendation": "Correct invalid ag
report_finding{"clinical_impact": "Chronological errors invalidate clinica
report_finding{"clinical_impact": "Corrupts key metrics for resource plann
run_sqlSELECT COUNT(*) FROM staging_patients WHERE CAST(age AS INTEGER) < 0 OR CAST(age AS INTEGER) > 120
run_sqlSELECT COUNT(*) FROM mart_demographics WHERE age < 0 OR age > 120
report_finding{"recommendation": "Change the column type of `age` in `raw_
run_sqlSELECT typeof(billing_amount), typeof(date_of_admission), typeof(discharge_date) FROM raw_patients LIMIT 1
run_sqlSELECT typeof(billing_amount), typeof(age) FROM mart_billing LIMIT 1
run_sqlSELECT typeof(length_of_stay_days) FROM mart_billing LIMIT 1
run_sqlSELECT DISTINCT gender FROM raw_patients
report_finding{"description": "The `billing_amount` column in `raw_patient
report_finding{"column": "date_of_admission, discharge_date", "check_name"
run_sqlSELECT typeof(billing_amount) FROM mart_billing LIMIT 1
run_sqlSELECT date_of_admission, discharge_date FROM raw_patients LIMIT 5