1.8.0
Improvements
- Improvements to validity of the OpenAPI Spec.
Bug fixes
- Adds validation to the POST and PATCH medication-administrations endpoints to return a 400 Bad Request if either
outcomeoroutcomeVersionare set to a value of 0. 0 is not a valid value and currently the API erroneously returns a 500 Internal Server Error - this change ensures that the correct HTTP status code is returned instead to provide more meaningful feedback to the consumer
1.7.1
Bug Fixes
- Prevent duplicate Medication Administrations being recorded
1.7.0
New Features
- Added optional
roleTypefield to role responses with possible values:carer,admin,carer_admin,client. When creating a parent role viaPOST /users/role, you can now specify aroleTypeto determine the role's base permissions. TheroleTypefield is only included in responses when set (omitted whennullfor backwards compatibility) - Role UUIDs can be used as a filter on the
/usersendpoint
Bug Fixes
- The
DELETE: /medications/{medicationUuid}endpoint now returns a409 Conflict responsewith the message "Cannot delete a medication that has administrations recorded against it" if the medication has any administration records. Previously, the endpoint returned204 No Contentand deleted the medication even when administrations existed, which orphaned the administration data.- Impact to API consumers:
- Any workflow that deletes medications which have been administered will now receive a
409 Conflictinstead of204 No Content. - Medications with no administrations are unaffected and will continue to return
204 No Contentas before.
- Any workflow that deletes medications which have been administered will now receive a
- Impact to API consumers:
Improvements
- Adding Production and Pre-production server urls to API documentation
- Adding Rate Limits overview to API documentation
- When selecting a single finance rate and multiple rates are tied with the same top score, the system now resolves the tie by matching against past experience.
- Improved supply chain security.
1.6.1
Bug Fixes
- Fixed an issue where paginating through
GET /finance/timesheetscould return duplicate records or skip records when multiple timesheets shared the same start date. Pagination results are now deterministic regardless of page size.
1.6.0
Internal
- Minor security upgrades to internal dependencies, with no functional change to the API
1.5.0
New Features
- Added
abbreviationfield to medication outcomes (WB-141)
Bug Fixes
- Fixed a crash that could occur when retrieving medication administration dates for medications with no time periods configured. This affected the GET /medication-administration-dates endpoint. (WB-187)
1.4.1
Bug Fixes
- Fixes a bug where medication administration records with no time period associated (for example, for PRN medications) are excluded from API responses when retrieved. At present, such records are excluded from the results in the
GET /medication-administrationslisting endpoint and the API erroneously returns a 404 Not Found for them on theGET /medication-administrations/{id}endpoint. This bug fix also changes the response of thePATCH /medication-administrations/{id}endpoint for such records from a 204 No Content to the correct status code of 200 OK, with the updated record returned in the response JSON.
1.4.0
Improvements
- Adding activity logging for all Medication endpoints
Bug Fixes
- Fixes responding to time-off requests when the request’s type belongs to a scheme different from the carer’s current scheme, allowing rejections to proceed and ensuring pending “old-scheme” requests remain visible to admins
Internal
- Dependency updates and security improvements
1.3.2
Internal
- Adding logging on medication administration creation
1.3.1
Internal
- Role copying updated to be available for multi-role systems only
- Performance improvement to bulk appointment unassign on approved time off requests
- Internal documentation updates
This is a re-deployment of 1.3.0, without the changes to statuses
1.3.0
Internal
- Role copying updated to be available for multi-role systems only
- Removal of deprecated machine name and type from statuses
- Performance improvement to bulk appointment unassign on approved time off requests
- Internal documentation updates
1.2.0
Improvements
- Ensures tasks and requirements associated to schedules via the
POST /schedulesendpoint are logged in the Activity Log
Bug Fixes
- Resolve bug causing out of memory error on approving time off for a carer
1.1.2
Improvements
- Add filter for information only medications administration dates endpoint.
1.1.1
Improvements
- GET/PATCH
/medication-administrations/{id}endpoint now accepts either an integer identifier or a UUID in the URL parameter