m3resp.RecordingSession#

class m3resp.RecordingSession(*, session_id=<factory>, case_id, session_start_time=None, session_end_time=None, body_position=None, acquisition_state=None, operator_ref=None, notes=None)[source]#

One continuous acquisition period (doc Sec 7.2).

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

session_id

case_id

session_start_time

session_end_time

body_position

The session's body position, if fixed for its whole duration.

acquisition_state

operator_ref

notes

Parameters:
  • session_id (str)

  • case_id (str)

  • session_start_time (float | None)

  • session_end_time (float | None)

  • body_position (Literal['supine', 'prone', 'semi_recumbent', 'lateral', 'dynamic', 'other'] | None)

  • acquisition_state (Literal['baseline', 'intervention', 'recovery', 'other'] | None)

  • operator_ref (str | None)

  • notes (str | None)

acquisition_state: AcquisitionState | None#
body_position: BodyPosition | None#

The session’s body position, if fixed for its whole duration. Set to "dynamic" when position changes during the session rather than guessing a single value - record the actual changes as ClinicalEvent(event_type="position_change", ...) rows instead.

case_id: str#
model_config = {'extra': 'forbid'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

notes: str | None#
operator_ref: str | None#
session_end_time: float | None#
session_id: str#
session_start_time: float | None#