Attach diagnoses-based Plan Benefit
POST/v1/plans/:planId/benefits/diagnoses
Attach a diagnoses-based benefit to a plan by specifying ICD code ranges and optional allowed care types.
Request
Path Parameters
planId integerrequired
The unique ID of the HMO plan.
- application/json
Body
required
name stringrequired
Name of the diagnoses-based benefit.
diagnoses_icd_codes string[]required
List of ICD codes or ranges to attach to the plan as a benefit.
allowed_care_types integer[]nullable
Optional list of allowed care type IDs for this diagnoses benefit.
Responses
- 200
- 400
- 401
- 404
Diagnoses-based benefit attached successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Diagnoses attached Successfully"
}
Missing or invalid parameters
Unauthenticated
Plan not found
Loading...