# 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](/files/-LZu1aFpVAtACCgeqc3N)

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.santesuite.org/santedb/data-and-information-architecture/conceptual-data-model/entities/state-machine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
