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

id: Annotated[UUID, UuidVersion(uuid_version=4)] | None
title: str
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

encounter: Annotated[UUID, UuidVersion(uuid_version=4)] | None
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

created_by: UserSpec
updated_by: UserSpec
created_date: datetime
modified_date: datetime
classmethod perform_extra_serialization(mapping, obj)
model_config: ClassVar[ConfigDict] = {}

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