from edc_constants.constants import (
    NEG,
    NO,
    NOT_APPLICABLE,
    NOT_EVALUATED,
    NOT_TESTED,
    OTHER,
    PENDING,
    POS,
    YES,
)

CM_ON_CSF_METHODS = (
    ("india_ink", "Positive microscopy with India Ink or other method"),
    ("culture", "Positive culture"),
    (OTHER, "Other, please specify"),
    (NOT_APPLICABLE, "Not applicable"),
)

HIV_CONFIRMATION_METHODS = (
    ("site_rapid_test", "Rapid test by site"),
    ("historical_lab_result", "Historical lab result (ELISA/PCR/unsuppressed HIVVL)"),
    (
        "historical_clinical_note_rapid_test_result",
        "Historical clinical note/rapid test result",
    ),
    (NOT_APPLICABLE, "Not applicable"),
)

POS_NEG = (
    (POS, "Positive"),
    (NEG, "Negative"),
)

POS_NEG_PENDING_NA = (
    (POS, "Positive"),
    (NEG, "Negative"),
    (PENDING, "Pending"),
    (NOT_APPLICABLE, "Not applicable"),
)

CSF_YES_NO_PENDING_NA = (
    (YES, YES),
    (NO, NO),
    (PENDING, "Pending results"),
    (NOT_TESTED, "No further testing done"),
    (NOT_APPLICABLE, "Not applicable"),
)

PREG_YES_NO_NOT_EVALUATED_NA = (
    (YES, "Yes"),
    (NO, "No"),
    (NOT_APPLICABLE, "Not applicable: e.g. male or post-menopausal"),
    (NOT_EVALUATED, "Not evaluated"),
)
