conditions

Returns information about a given condition.

Args: condition_id (UUID): ID of the condition db (AsyncDatabaseConnection): Database connection.

Raises: HTTPException: 404 if no condition is found

Returns: GetCondition: Info about the condition

get/api/v1/conditions/{condition_id}

Request

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

Path parameters

condition_id, string uuid required

Response

Successful Response

GetConditionResponse required

Condition response model.

Carries no code list on purpose: a condition's codes are paged through configurations/{id}/codes, and code systems through code_systems. Returning them whole here meant tens of thousands of rows per request that no caller read.

id, string uuid required
display_name, string required
completeness_status, CompletenessStatus required

Condition completeness status model.

Changes

    • breaking

      removed the required property codes from the response with the status

    • breaking

      removed the required property completeness_status/code_category_statuses/items/name from the response with the status

    • breaking

      removed the required property systems from the response with the status

    1 more change in this revision