Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a93292f3dd | |||
| 0fcbe95c90 | |||
| 8908184093 | |||
| 1dc681fb5a | |||
| 7b6ffe17f5 | |||
| 1f0d38de3c |
+23
-3
@@ -14,9 +14,29 @@ from datetime import date
|
||||
|
||||
from core import catalog
|
||||
|
||||
GYN = ("gyn_puerperium", "gyn_pregnancy", "gyn_iud",
|
||||
"gyn_hormonal_treatment", "gyn_other_treatment",
|
||||
"gyn_postmenopause", "gyn_hysterectomy", "gyn_not_applicable")
|
||||
PRESENTS = ("presents_discharge", "presents_vulvar_pruritus",
|
||||
"presents_abnormal_bleeding", "presents_none")
|
||||
CYTO = ("cyto_inflammation", "cyto_reactive_changes",
|
||||
"cyto_bacterial_vaginosis_flora", "cyto_candida",
|
||||
"cyto_bacillary_flora_cytolysis", "cyto_intermediate_cytolysis",
|
||||
"cyto_trichomonas", "cyto_leptothrix",
|
||||
"cyto_actinomyces_organisms", "cyto_actinomyces_changes",
|
||||
"cyto_herpes_simplex_changes", "cyto_squamous_tubular_metaplasia",
|
||||
"cyto_keratotic_changes", "cyto_pregnancy_changes",
|
||||
"cyto_atrophy", "cyto_hypoestrogenism",
|
||||
"cyto_radiotherapy_effect", "cyto_iud_changes",
|
||||
"cyto_post_hysterectomy_glandular_cells",
|
||||
"cyto_bacteria", "cyto_herpes_image",
|
||||
"cyto_fungi", "cyto_radiation",
|
||||
"cyto_repair", "cyto_iud_effect",
|
||||
"cyto_endometrial_cells_40_plus", "cyto_findings_none")
|
||||
FIELDS = {
|
||||
"cervical_cytology": ("sample_date", "report_date", "adequacy", "result", "hpv", "hpv_16",
|
||||
"hpv_18"),
|
||||
"cervical_cytology": ("sample_date", "screening_history", *GYN, *PRESENTS,
|
||||
"cervix_exam", "report_date", "adequacy", "result", "hpv", "hpv_16",
|
||||
"hpv_18", "cyto_findings_text", *CYTO),
|
||||
"cervical_biopsy": ("request_date", "report_date", "histology"),
|
||||
"mammography": ("exam_date", "report_date", "adequacy", "birads"),
|
||||
"breast_biopsy": ("request_date", "report_date", "histology", "histologic_type", "grade",
|
||||
@@ -24,7 +44,7 @@ FIELDS = {
|
||||
"breast_treatment": ("start_date", "kind"),
|
||||
"clinical_note": ("note_date", "specialty", "icd10"),
|
||||
} # fmt: skip
|
||||
BOOLS = {"hpv", "hpv_16", "hpv_18"}
|
||||
BOOLS = {"hpv", "hpv_16", "hpv_18", *GYN, *PRESENTS, *CYTO}
|
||||
NUMBERS = {"ki67_pct", "size_mm"}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user