care.emr.resources.notes.thread_spec module¶
- class NoteThreadSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, title: Annotated[str, MaxLen(max_length=255)])¶
Bases:
EMRResource- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class NoteThreadCreateSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, title: Annotated[str, MaxLen(max_length=255)], encounter: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None)¶
Bases:
NoteThreadSpec- classmethod validate_encounter_exists(encounter)¶
- perform_extra_deserialization(is_update, obj)¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class NoteThreadUpdateSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, title: Annotated[str, MaxLen(max_length=255)])¶
Bases:
NoteThreadSpec- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class NoteThreadReadSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, title: Annotated[str, MaxLen(max_length=255)], created_by: UserSpec = {}, updated_by: UserSpec = {}, created_date: datetime, modified_date: datetime)¶
Bases:
NoteThreadSpec- classmethod perform_extra_serialization(mapping, obj)¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].