diff --git a/webapi/eeg.py b/webapi/eeg.py index 4e91554..5e4d319 100644 --- a/webapi/eeg.py +++ b/webapi/eeg.py @@ -44,19 +44,21 @@ class Relation(BaseModel): biomarker: str metric: str zone: str - outcome_code: str # ados2_item_NN or CSS - kind: str # item or domain - event: str # what counts as altered (>=1 for an item, >=8 for the CSS) - z: float + outcome_code: str # ados2_item_NN, ados2_items_NN_MM (any of them altered) or CSS + kind: str # item, composite, exploratory (an item, apart from q) or domain + event: str # what counts as altered (>=2 for an item, >=8 for the CSS) + z: float # her z, or for spikes whether she shows any (1) or not (0) probability: float reference_probability: float # a child of her age and module with z = 0 - observed: float | None = None # what her ADOS-2 shows: the item's score, or the CSS + observed: float | None = None # what her ADOS-2 shows: the item's score, how many of a + # composite's items are altered, or the CSS odds_ratio: float ci_low: float | None ci_high: float | None q: float | None n: float model: str + reason: str | None = None # why the estimate is weak (core.tea.reasons.INSUFFICIENT_DATA) class Analysis(BaseModel):