care.emr.resources.inventory.inventory_item.spec module¶
- class InventoryItemStatusOptions(*values)¶
-
- active = 'active'¶
- inactive = 'inactive'¶
- entered_in_error = 'entered_in_error'¶
- class BaseInventoryItemSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, status: InventoryItemStatusOptions)¶
Bases:
EMRResourceBase model for inventory item
- status: InventoryItemStatusOptions¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class InventoryItemWriteSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, status: InventoryItemStatusOptions)¶
Bases:
BaseInventoryItemSpecInventory item write specification
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class InventoryItemReadSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, status: InventoryItemStatusOptions, net_content: float, product: float, location: dict)¶
Bases:
BaseInventoryItemSpecSupply delivery read specification
- 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 InventoryItemRetrieveSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, status: InventoryItemStatusOptions, net_content: float, product: float, location: dict)¶
Bases:
InventoryItemReadSpec- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].