model
Pydantic record for the patient_reviews cache table (v1).
Classes
PatientReviewRecord
class PatientReviewRecord(**data: Any):The review currently in force for a patient and trial.
Attributes
project_id: The trial (project) ID.bitfount_patient_id: The Bitfount patient ID.review_event_id: Thepatient_review_eventsrow this projects.review_status: The verdict in force; neverwithdrawn.created_by: The reviewer's Bitfount user ID.created_by_username: The reviewer's username when they reviewed.created_at: When the review was made.tags: Arbitrary flat metadata.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Variables
- static
bitfount_patient_id : str
- static
created_at : datetime.datetime
- static
created_by : str
- static
created_by_username : str
- static
model_config
- static
project_id : str
- static
review_event_id : str
- static
review_status : bitfount.cache.types._review_shared.ReviewStatus
- static
tags : dict[str, typing.Any] | None