omidb.client¶
-
class
omidb.client.Client(id: str, episodes: List[omidb.episode.Episode], site: omidb.client.Site)[source]¶ A client represents a patient who has attended the NHS screening programme.
Each client will have one or more
omidb.episode.Episodes, for which (anonymised and pseudonymised) NBSS information can be found.- Parameters
id (
str) – Client identifier, typically a four letter ID followed by a series of digits, e.g. optm1, demd7050episodes (
List[Episode]) – A list ofomidb.episode.Episodes associated with the clientsite (
Site) – Enumeration signifying the clinical site/centre where screening took place
-
property
status¶ Determines the
omidb.client.Statusby first classifying each episode according to its type and the surgery and biopsy opinions, and subsequently applying the following precedence rules (from top to bottom: highest to lowest precedence):Status.CI: if any interval cancer episodeStatus.M: if any malignant episode (based on surgery/biopsy opinions)Status.B: if any benign episode (based on surgery/biopsy opinions)Status.N: otherwise
- Return type