Silver gate checks the cytology's gyn_ conditions
The synthetic cytology form records one gynaecological/obstetric condition; only that field is expected true, the others stay unknown. Not run yet: tests are deferred until all the new fields are in. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,9 +14,12 @@ 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")
|
||||
FIELDS = {
|
||||
"cervical_cytology": ("sample_date", "screening_history", "report_date", "adequacy",
|
||||
"result", "hpv", "hpv_16", "hpv_18"),
|
||||
"cervical_cytology": ("sample_date", "screening_history", *GYN, "report_date",
|
||||
"adequacy", "result", "hpv", "hpv_16", "hpv_18"),
|
||||
"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 +27,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}
|
||||
NUMBERS = {"ki67_pct", "size_mm"}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user