configurations

Remove Condition Codeset From Configuration

Changed on

Remove a specified code set from the given configuration.

Args: configuration_id (UUID): ID of the configuration condition_id (UUID): ID of the condition to remove user (DbUser): User making the request db (AsyncDatabaseConnection): Database connection

Raises: HTTPException: 404 if configuration is not found in JD HTTPException: 404 if condition is not found HTTPException: 409 if trying to remove the main condition HTTPException: 409 if configuration is not a draft and therefore not editable HTTPException: 500 if configuration is cannot be updated

Returns: AssociateCodesetResponse: ID of updated configuration and the full list of included conditions plus condition_name

delete/api/v1/configurations/{configuration_id}/code-sets/{condition_id}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

configuration_id, string uuid required
condition_id, string uuid required

Response

Successful Response

AssociateCodesetResponse required

Response from adding a code set to a config.

id, string uuid required
included_conditions, string[] required
condition_display_name, string required

Changes

    • breaking

      removed the required property condition_name from the response with the status

    • info

      added the required property condition_display_name to the response with the status

    • breaking

      the included_conditions/items response's property type changed from object to string, and format from no format to uuid for status

    1 more change in this revision