Table of contents
Used documentation
Restrictions
- A person cannot be defined as a substitute if he is already absent for this period (or part of the period).
- It is however possible to introduce an OoO while being a substitute for someone else.
- A person may be substitute for several other persons.
- The absent person and his substitutes are persons, not organizations.
- A person is identified by his ID and his quality.
- There may be maximum five substitues per OoO.
- A maximum of ten periods OoO may exist per eHealthBox.
- OoO periods may not overlap.
- A period may not end later than J + 1 year.
- A period can last up to 1 year.
- The end date is mandatory.
A WS request contains one period and a maximum of five substitutes may be specified for that period.
The OoO activates automatically when the time is reached.
InsertOoO
The InsertOoO method is used to insert an OoO for the considered eHealthBox. In order to insert an OoO for
another eHealthBox, BoxId can be used. There are a number of rules and limitations to respect as described in Restrictions.
Request
Only one OoO can be inserted by request, but multiple substitutes may be specified.
Response
The response is “Success” without further details if everything went right. Otherwise the wrong or absent
substitutes will be returned in the response as detailed below.
Basic flow
Flow | Specifications |
---|
| ID | UC-409-BF | Name | Set an out-of-office with 1 substitute | Description | / | Actor(s) | Two healthcare professionals: - One who will be OoO.
- One who will be the substitute.
| Requirements | / | Trigger | A user wants to set an out-of-office. | Precondition(s) | - The user is logged in.
- The user wants to set an out-of-office.
| Flow | - see Use case: login.
- When opening the OoO section, the application should automatically
request a list of already inserted OoO periods. - The inserted OoO period should be, for example,
from the next monday until friday of the same week. - Add the substitute (Example_Test_Actor). There are two ways to do this:
| Postcondition(s) | - The OoO is successfully added.
- There is one more OoO period than there was before the insert.
| Test Data | GetOoOList InsertOoO | Endpoint(s) | |
|
Alternative flow 1
Flow | Specifications |
---|
| ID | UC-409-AF01 | Name | Set an out-of-office with 2 or more substitutes | Description | / | Actor(s) | Three or more healthcare professionals: - One who will be OoO.
- Two or more who will be substitutes.
| Requirements | / | Trigger | A user wants to set an out-of-office. | Precondition(s) | - The user is logged in.
- The user wants to set an out-of-office.
| Flow | - see Use case: login.
- When opening the OoO section, the application should automatically
request a list of already inserted OoO periods. - The inserted OoO period should be, for example,
from the next monday until friday of the same week. - Add the substitutes (Example_Test_Actor1) and (ExampleTest_Actor2).
There are two ways to do this:
| Postcondition(s) | - The OoO is successfully added.
- There is one more OoO period than there was before the insert.
| Test Data | GetOoOList InsertOoO | Endpoint(s) | |
|