Skip to content

IADL Score[source]

The eds.iadl_score component extracts the iadl_score score. Nowadays, the iadl_score (Instrumental Activities of Daily Life) score is mostly evaluated on 4 items, but it also exists with 5, 8 or 11 items.

Parameters

PARAMETER DESCRIPTION
nlp

The pipeline object

TYPE: PipelineProtocol

name

Name of the component

TYPE: Optional[str] DEFAULT: 'iadl_score'

patterns

A list of regexes to identify the score

TYPE: List[str] DEFAULT: default_patterns

attr

Whether to match on the text ('TEXT') or on the normalized text ('NORM')

TYPE: str DEFAULT: 'NORM'

score_normalization

Function that takes the "raw" value extracted from the value_extract regex and should return:

  • None if no score could be extracted
  • The desired score value else

TYPE: Union[str, Callable[[Union[str, None]], Any]] DEFAULT: make_find_value_and_reference(admissible_references=[4, 5, 8, 11], default_reference=4)

label

Label name to use for the Span object and the extension

TYPE: str DEFAULT: 'iadl_score'

span_setter

How to set matches on the doc

TYPE: SpanSetterArg DEFAULT: {'ents': True, 'iadl_score': True, 'functional_status': True}

domain

The frailty domain the score is related to

TYPE: str

severity_assigner

Function that takes the score value and assigns the corresponding severity for the domain.

TYPE: Callable[[Span], Any] DEFAULT: iadl_severity_assigner

RETURNS DESCRIPTION
SimpleScoreMatcher