# State Machine

Entities also support a basic series of states which identify the current status of the entity in the SanteDB data model. Figure 7 illustrates the states of an entity and the valid transitions.

![Figure 7 - Entity State Diagram](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-LZu1AkZp4s9VdpnDXlw%2F-LZu1aFpVAtACCgeqc3N%2Fimage.png?alt=media\&token=3b680270-98a8-41b3-a483-16660da52cf1)

The states of the entity are:

* **New :** The entity instance was just created, and no processing, storage, or business rules have been executed.
* **Active :** The entity has been persisted, any necessary review and/or processing has occurred, and the entity record is active.
* **Nullified :** Indicates that the entity was created in error, the entity never existed.
* **Obsolete :** Indicates that the entity did exist, however it no longer is active.
