care.emr.resources.notes.notes_spec module

class NoteMessageSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, message: str)

Bases: EMRResource

id: Annotated[UUID, UuidVersion(uuid_version=4)] | None
message: str
model_config: ClassVar[ConfigDict] = {}

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

class NoteMessageCreateSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, message: str)

Bases: NoteMessageSpec

model_config: ClassVar[ConfigDict] = {}

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

class NoteMessageUpdateSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, message: str)

Bases: NoteMessageSpec

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 NoteMessageReadSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, message: str, message_history: dict, created_by: UserSpec = {}, updated_by: UserSpec = {}, created_date: datetime, modified_date: datetime)

Bases: NoteMessageSpec

message_history: dict
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].