DELETE /cid/
Removes a specific CID (International Classification of Diseases) code from the database.Path Parameters
The CID code identifier to delete (e.g., “A00”, “B15.0”)
Response
Returns HTTP 204 No Content on successful deletion.Example Request
cURL
JavaScript
Response Codes
| Status Code | Description |
|---|---|
| 204 | CID code successfully deleted |
| 404 | CID code not found |
Implementation Details
FromCidController.java:49-53:
Use Cases
- Remove outdated or deprecated CID codes
- Clean up incorrectly imported codes
- Database maintenance operations
- Testing and development cleanup
To remove all CID codes at once, use
DELETE /cid (without a code parameter).Before deleting a CID code, verify that no active diagnoses are using it to prevent referential integrity issues.