# 20171011-01

**Summary:** Adds trigger constraints \
**Category:** Bugfix \
**Details:** With this update, SanteDB now enforces the types of relationships between entities. Prior to this trigger, it was possible to relate entities in ways which made no sense (for example, a Place could be a Parent of a Patient). This update creates a validation trigger which is used to verify that the relationship being inserted into the database makes sense from a semantic standpoint. \
**Bug / Issues:** N/A\
**Applies To:** OpenIZ Server, SanteDB Server\
**Impacted Versions:** 0.9.0.5 \
**Status:** Released (October 11, 2017)\
**Impact:** High \
**RDBMS:** PostgreSQL


---

# 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/knowledgebase/fixpatch/20171011-01.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.
