configurations

Associate Condition Codeset With Configuration

Changed on

Associate a specified code set with the given configuration.

Args: configuration_id (UUID): ID of the configuration body (AssociateCodesetInput): payload containing a condition_id user (dict[str, Any], optional): User making the request db (AsyncDatabaseConnection, optional): Database connection

Raises: HTTPException: 404 if configuration is not found in JD HTTPException: 404 if configuration is not found HTTPException: 409 if configuration is not a draft and therefore not editable HTTPException: 500 if configuration cannot be updated

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

put/api/v1/configurations/{configuration_id}/code-sets

Request

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

Path parameters

configuration_id, string uuid required

Request body

AssociateCodesetInput required

Condition association input model.

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