...
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.
GetOoOList
Method
The GetOoOList method is used to list all inserted OoO for the considered eHealthBox. The list contains all OoO:
past, active and future OoO. The OoOId returned can further be used to delete an OoO.
Request
Only one OoO can be inserted by request, but multiple substitutes may be specified.
Response
The response contains a success status code and as many OoO elements as there are OoO in the considered
eHealthBox. Each element contains all OoO data when it was inserted.
Basic flow
Flow | Specifications |
---|
|
ID | AP-UC04-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 | | Endpoint(s) | |
|
...