care.emr.resources.device.history_spec module¶
- class DeviceServiceHistorySpecBase(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None)¶
Bases:
EMRResource- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class DeviceServiceHistoryWriteSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, serviced_on: datetime, note: str)¶
Bases:
DeviceServiceHistorySpecBase- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class DeviceServiceHistoryListSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, serviced_on: datetime, note: str, created_date: datetime, modified_date: datetime)¶
Bases:
DeviceServiceHistoryWriteSpec- classmethod perform_extra_serialization(mapping, obj)¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class DeviceServiceHistoryRetrieveSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, serviced_on: datetime, note: str, created_date: datetime, modified_date: datetime, edit_history: list[dict] = [], created_by: dict | None = None, updated_by: dict | None = None)¶
Bases:
DeviceServiceHistoryListSpec- classmethod perform_extra_serialization(mapping, obj)¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].