Forta Health Treatment Plan API

The treatment_plan API from Forta Health — 63 operation(s) for treatment_plan.

Operations 124

POST /api/v1/treatment_plans/ Create Treatment Plan #
GET /api/v1/treatment_plans/ Read Treatment Plans #
GET /api/v1/treatment_plans/prior_authorizations/ Get Prior Authorizations #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/ Patch Treatment Plan #
GET /api/v1/treatment_plans/{treatment_plan_id}/ Read Treatment Plan By Id #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/ Delete Treatment Plan #
PUT /api/v1/treatment_plans/{treatment_plan_id}/stop/ Stop Treatment Plan #
PUT /api/v1/treatment_plans/{treatment_plan_id}/pdf_regenerate/ Queue To Regenerate Treatment Plan Pdf #
POST /api/v1/treatment_plans/{treatment_plan_id}/goals/ Create Goal #
GET /api/v1/treatment_plans/{treatment_plan_id}/goals/ Read All Goals #
POST /api/v1/treatment_plans/{treatment_plan_id}/medications/ Create Medication #
GET /api/v1/treatment_plans/{treatment_plan_id}/medications/ Read All Medications #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/ Patch Goal #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/ Delete Goal #
GET /api/v1/treatment_plans/{treatment_plan_id}/medications/{medication_id}/ Read Medication #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/medications/{medication_id}/ Patch Medication #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/medications/{medication_id}/ Delete Medication #
POST /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/ Create Target #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/ Patch Target #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/ Delete Target #
PUT /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/change_stage/ Change Target Stage #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/change_stage/ Delete Last Target Stage Change #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/change_stage/ Update Last Target Stage Change #
PUT /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/bulk_change_stage/ Change Target Stage In Bulk #
POST /api/v1/treatment_plans/{treatment_plan_id}/assessments/ Create Assessment #
GET /api/v1/treatment_plans/{treatment_plan_id}/assessments/ Read Assessment #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/ Patch Assessment #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/ Delete Assessment #
POST /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/ Create Assessment Tool #
GET /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/ Get All Tools #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/{tool_id}/ Patch Assessment Tool #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/{tool_id}/ Delete Tool #
POST /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/{tool_id}/documents/ Create Assessment Tool Document #
GET /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/{tool_id}/documents/ Get Assessment Tool Documents #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/{tool_id}/documents/{document_id}/ Patch Assessment Tool Document #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/{tool_id}/documents/{document_id}/ Delete Assessment Tool Document #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/{tool_id}/documents/{document_id}/reupload_visual/ Reupload Assessment Tool Document Visual #
GET /api/v1/treatment_plans/{treatment_plan_id}/crisis_plans/ Get Crisis Plans #
POST /api/v1/treatment_plans/{treatment_plan_id}/crisis_plans/ Create Crisis Plan #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/crisis_plans/ Patch Crisis Plan #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/crisis_plans/ Delete Crisis Plan #
POST /api/v1/treatment_plans/{treatment_plan_id}/discharges/ Create Discharge And Transition #
GET /api/v1/treatment_plans/{treatment_plan_id}/discharges/ Get Discharge And Transition #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/discharges/{discharge_id}/ Patch Discharge And Transition #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/discharges/{discharge_id}/ Delete Discharge And Transition #
POST /api/v1/treatment_plans/{treatment_plan_id}/discharges/{discharge_id}/reasons/ Create Discharge And Transition Reasons #
GET /api/v1/treatment_plans/{treatment_plan_id}/discharges/{discharge_id}/reasons/ Get Discharge And Transition Reason #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/discharges/{discharge_id}/reasons/{reason_id}/ Patch Discharge And Transition Reason #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/discharges/{discharge_id}/reasons/{reason_id}/ Delete Discharge And Transition Reason #
GET /api/v1/treatment_plans/{treatment_plan_id}/education_background/ Get Education Background #
POST /api/v1/treatment_plans/{treatment_plan_id}/education_background/ Create Education Background #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/education_background/ Patch Education Background #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/education_background/ Delete Education Background #
POST /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/ Create Client And Family Background #
GET /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/ Get Client And Family Background #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/ Patch Client And Family Background #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/ Delete Client And Family Background #
PUT /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/client_strengths/ Update Client Strengths #
PUT /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/client_interests/ Update Client Interests #
GET /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/parents_and_caregivers/ Get Client And Family Background Parents And Caregivers #
POST /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/parents_and_caregivers/ Create Client And Family Background Parents And Caregivers #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/parents_and_caregivers/{parent_and_caregiver_id}/ Patch Client And Family Background Parents And Caregivers #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/parents_and_caregivers/{parent_and_caregiver_id}/ Delete Client And Family Background Parents And Caregivers #
GET /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/siblings/ Get Client And Family Background Siblings #
POST /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/siblings/ Create Client And Family Background Sibling #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/siblings/{sibling_id}/ Patch Client And Family Background Sibling #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/client_and_family_background/{background_id}/siblings/{sibling_id}/ Delete Client And Family Background Sibling #
POST /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/barriers/ Create Assessment Barrier #
GET /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/barriers/ Get All Assessment Barriers #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/barriers/{barrier_id}/ Patch Assessment Barriers #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/barriers/{barrier_id}/ Delete Assessment Barriers #
POST /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/summarize/ Create Assessment Summary #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/summarize/ Patch Assessment Summary #
POST /api/v1/treatment_plans/{treatment_plan_id}/symptoms/ Create Symptoms #
GET /api/v1/treatment_plans/{treatment_plan_id}/symptoms/ Read All Symptoms #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/symptoms/{symptom_id}/ Patch Symptom #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/symptoms/{symptom_id}/ Delete Symptom #
GET /api/v1/treatment_plans/{treatment_plan_id}/medical_history/ Get Medical History #
POST /api/v1/treatment_plans/{treatment_plan_id}/medical_history/ Create Medical History #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/medical_history/ Patch Medical History #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/medical_history/ Delete Medical History #
GET /api/v1/treatment_plans/{treatment_plan_id}/medical_history/{medical_history_id}/diagnoses/ Get Medical History Diagnoses #
POST /api/v1/treatment_plans/{treatment_plan_id}/medical_history/{medical_history_id}/diagnoses/ Create Medical History Diagnosis #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/medical_history/{medical_history_id}/diagnoses/{diagnosis_id}/ Patch Medical History Diagnosis #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/medical_history/{medical_history_id}/diagnoses/{diagnosis_id}/ Delete Medical History Diagnosis #
GET /api/v1/treatment_plans/{treatment_plan_id}/referral_history/ Get Referral History #
POST /api/v1/treatment_plans/{treatment_plan_id}/referral_history/ Create Referral History #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/referral_history/ Patch Referral History #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/referral_history/ Delete Referral History #
GET /api/v1/treatment_plans/{treatment_plan_id}/referral_history/{referral_history_id}/assessment_tools/ Get Referral History Assessment Tools #
POST /api/v1/treatment_plans/{treatment_plan_id}/referral_history/{referral_history_id}/assessment_tools/ Create Referral History Assessment Tool #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/referral_history/{referral_history_id}/assessment_tools/{tool_id}/ Patch Referral History Assessment Tool #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/referral_history/{referral_history_id}/assessment_tools/{tool_id}/ Delete Referral History Assessment Tool #
GET /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/ Get Treatment Recommendation #
POST /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/ Create Treatment Recommendation #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/ Patch Treatment Recommendation #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/ Delete Treatment Recommendation #
GET /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/{treatment_recommendation_id}/services/ Get Treatment Recommendation Services #
POST /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/{treatment_recommendation_id}/services/ Create Treatment Recommendation Service #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/{treatment_recommendation_id}/services/{service_id}/ Patch Treatment Recommendation Service #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/treatment_recommendations/{treatment_recommendation_id}/services/{service_id}/ Delete Treatment Recommendation Service #
GET /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/ Get Therapy History #
POST /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/ Create Therapy History #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/ Patch Therapy History #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/ Delete Therapy History #
GET /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/{therapy_history_id}/services/ Get Therapy History Services #
POST /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/{therapy_history_id}/services/ Create Therapy History Service #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/{therapy_history_id}/services/{service_id}/ Patch Therapy History Service #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/therapy_history/{therapy_history_id}/services/{service_id}/ Delete Therapy History Service #
POST /api/v1/treatment_plans/{treatment_plan_id}/activate/ Activate Treatment Plan #
POST /api/v1/treatment_plans/{treatment_plan_id}/deactivate/ Deactivate Treatment Plan #
PUT /api/v1/treatment_plans/{treatment_plan_id}/edit/ Set Treatment Plan Status To Edit #
GET /api/v1/treatment_plans/{treatment_plan_id}/download/ Get Treatment Plan Pdf #
POST /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/activate/ Activate Goal #
POST /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/deactivate/ Deactivate Goal #
POST /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/activate/ Activate Target #
POST /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/deactivate/ Deactivate Target #
PUT /api/v1/treatment_plans/{treatment_plan_id}/reassign_provider/ Reassign Provider #
PUT /api/v1/treatment_plans/{treatment_plan_id}/migrate/ Migrate Treatment Plan #
POST /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/hypothesized_functions/ Create Hypothesized Function #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/hypothesized_functions/ Update Latest Hypothesized Function #
DELETE /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/hypothesized_functions/ Delete Latest Hypothesized Function #
PATCH /api/v1/treatment_plans/{treatment_plan_id}/activation_logs/ Update Treatment Plan Activation Log #
PUT /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/migrate/ Migrate Goal #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/forta-health-treatment-plan-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

forta-health-treatment-plan-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Forta Health Treatment Plan API
  version: 0.1.0
  description: 'Operations tagged treatment_plan across 2 of this provider''s published API definitions: forta-health-platform-openapi.yml, forta-health-treatment-plan-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prod.fortahealth.com/api/v1/
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: treatment_plan
paths:
  /api/v1/treatment_plans/:
    post:
      tags:
      - treatment_plan
      summary: Create Treatment Plan
      operationId: create_treatment_plan_api_v1_treatment_plans__post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TreatmentPlanCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TreatmentPlanResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - treatment_plan
      summary: Read Treatment Plans
      description: "Get list of treatment plans by client ID with optional activation logs.\n\nArgs:\n    client_id: Optional client ID to filter treatment plans\n    action_required: Filter for treatment plans requiring action\n    client_clinical_status: Filter by client clinical status\n    status: Filter by treatment plan status\n    expand: Optional sub-resources to include in response\n    with_activation_logs: Include full activation log history for each treatment plan\n\nReturns:\n    List of treatment plans with optional activation logs"
      operationId: read_treatment_plans_api_v1_treatment_plans__get
      security:
      - HTTPBearer: []
      parameters:
      - name: client_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Client Id
      - name: action_required
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: Action Required
      - name: client_clinical_status
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Client Clinical Status
      - name: expand
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/TreatmentPlanSubResource'
          - type: 'null'
          title: Expand
      - name: with_activation_logs
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: With Activation Logs
      - name: status
        in: query
        required: false
        schema:
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TreatmentPlanDetailedResponse'
                title: Response Read Treatment Plans Api V1 Treatment Plans  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/prior_authorizations/:
    get:
      tags:
      - treatment_plan
      summary: Get Prior Authorizations
      operationId: get_prior_authorizations_api_v1_treatment_plans_prior_authorizations__get
      security:
      - HTTPBearer: []
      parameters:
      - name: pa_expires_within_days
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Pa Expires Within Days
      - name: client_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriorAuthorizationResponse'
                title: Response Get Prior Authorizations Api V1 Treatment Plans Prior Authorizations  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/:
    patch:
      tags:
      - treatment_plan
      summary: Patch Treatment Plan
      operationId: patch_treatment_plan_api_v1_treatment_plans__treatment_plan_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TreatmentPlanPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TreatmentPlanResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - treatment_plan
      summary: Read Treatment Plan By Id
      operationId: read_treatment_plan_by_id_api_v1_treatment_plans__treatment_plan_id___get
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: expand
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/TreatmentPlanSubResource'
          - type: 'null'
          title: Expand
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TreatmentPlanDetailedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - treatment_plan
      summary: Delete Treatment Plan
      operationId: delete_treatment_plan_api_v1_treatment_plans__treatment_plan_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/stop/:
    put:
      tags:
      - treatment_plan
      summary: Stop Treatment Plan
      operationId: stop_treatment_plan_api_v1_treatment_plans__treatment_plan_id__stop__put
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TreatmentPlanStop'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TreatmentPlanStopResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/pdf_regenerate/:
    put:
      tags:
      - treatment_plan
      summary: Queue To Regenerate Treatment Plan Pdf
      operationId: queue_to_regenerate_treatment_plan_pdf_api_v1_treatment_plans__treatment_plan_id__pdf_regenerate__put
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/goals/:
    post:
      tags:
      - treatment_plan
      summary: Create Goal
      operationId: create_goal_api_v1_treatment_plans__treatment_plan_id__goals__post
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CaregiverGoalCreate'
              - $ref: '#/components/schemas/SkillAcquisitionGoalCreate'
              - $ref: '#/components/schemas/BehaviorReductionGoalCreate'
              discriminator:
                propertyName: goal_type
                mapping:
                  caregiver: '#/components/schemas/CaregiverGoalCreate'
                  skill_acquisition: '#/components/schemas/SkillAcquisitionGoalCreate'
                  behavior_reduction: '#/components/schemas/BehaviorReductionGoalCreate'
              title: Goal Create
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - treatment_plan
      summary: Read All Goals
      operationId: read_all_goals_api_v1_treatment_plans__treatment_plan_id__goals__get
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Date
      - name: include_pending
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Pending
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GoalResponse'
                title: Response Read All Goals Api V1 Treatment Plans  Treatment Plan Id  Goals  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/medications/:
    post:
      tags:
      - treatment_plan
      summary: Create Medication
      operationId: create_medication_api_v1_treatment_plans__treatment_plan_id__medications__post
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MedicationCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedicationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - treatment_plan
      summary: Read All Medications
      operationId: read_all_medications_api_v1_treatment_plans__treatment_plan_id__medications__get
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MedicationResponse'
                title: Response Read All Medications Api V1 Treatment Plans  Treatment Plan Id  Medications  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/:
    patch:
      tags:
      - treatment_plan
      summary: Patch Goal
      operationId: patch_goal_api_v1_treatment_plans__treatment_plan_id__goals__goal_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CaregiverGoalCreate'
              - $ref: '#/components/schemas/SkillAcquisitionGoalCreate'
              - $ref: '#/components/schemas/BehaviorReductionGoalCreate'
              discriminator:
                propertyName: goal_type
                mapping:
                  caregiver: '#/components/schemas/CaregiverGoalCreate'
                  skill_acquisition: '#/components/schemas/SkillAcquisitionGoalCreate'
                  behavior_reduction: '#/components/schemas/BehaviorReductionGoalCreate'
              title: Goal Patch
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - treatment_plan
      summary: Delete Goal
      operationId: delete_goal_api_v1_treatment_plans__treatment_plan_id__goals__goal_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/medications/{medication_id}/:
    get:
      tags:
      - treatment_plan
      summary: Read Medication
      operationId: read_medication_api_v1_treatment_plans__treatment_plan_id__medications__medication_id___get
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: medication_id
        in: path
        required: true
        schema:
          type: integer
          title: Medication Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/MedicationResponse'
                - type: object
                  additionalProperties: true
                title: Response Read Medication Api V1 Treatment Plans  Treatment Plan Id  Medications  Medication Id   Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - treatment_plan
      summary: Patch Medication
      operationId: patch_medication_api_v1_treatment_plans__treatment_plan_id__medications__medication_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: medication_id
        in: path
        required: true
        schema:
          type: integer
          title: Medication Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MedicationCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedicationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - treatment_plan
      summary: Delete Medication
      operationId: delete_medication_api_v1_treatment_plans__treatment_plan_id__medications__medication_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: medication_id
        in: path
        required: true
        schema:
          type: integer
          title: Medication Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/:
    post:
      tags:
      - treatment_plan
      summary: Create Target
      operationId: create_target_api_v1_treatment_plans__treatment_plan_id__goals__goal_id__targets__post
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TargetCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedTargetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/:
    patch:
      tags:
      - treatment_plan
      summary: Patch Target
      operationId: patch_target_api_v1_treatment_plans__treatment_plan_id__goals__goal_id__targets__target_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      - name: target_id
        in: path
        required: true
        schema:
          type: integer
          title: Target Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TargetCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedTargetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - treatment_plan
      summary: Delete Target
      operationId: delete_target_api_v1_treatment_plans__treatment_plan_id__goals__goal_id__targets__target_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      - name: target_id
        in: path
        required: true
        schema:
          type: integer
          title: Target Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/{target_id}/change_stage/:
    put:
      tags:
      - treatment_plan
      summary: Change Target Stage
      operationId: change_target_stage_api_v1_treatment_plans__treatment_plan_id__goals__goal_id__targets__target_id__change_stage__put
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      - name: target_id
        in: path
        required: true
        schema:
          type: integer
          title: Target Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TargetStageChange'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedTargetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - treatment_plan
      summary: Delete Last Target Stage Change
      operationId: delete_last_target_stage_change_api_v1_treatment_plans__treatment_plan_id__goals__goal_id__targets__target_id__change_stage__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      - name: target_id
        in: path
        required: true
        schema:
          type: integer
          title: Target Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedTargetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - treatment_plan
      summary: Update Last Target Stage Change
      operationId: update_last_target_stage_change_api_v1_treatment_plans__treatment_plan_id__goals__goal_id__targets__target_id__change_stage__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      - name: target_id
        in: path
        required: true
        schema:
          type: integer
          title: Target Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTargetStageChange'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedTargetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/goals/{goal_id}/targets/bulk_change_stage/:
    put:
      tags:
      - treatment_plan
      summary: Change Target Stage In Bulk
      operationId: change_target_stage_in_bulk_api_v1_treatment_plans__treatment_plan_id__goals__goal_id__targets_bulk_change_stage__put
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkTargetStageChange'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/assessments/:
    post:
      tags:
      - treatment_plan
      summary: Create Assessment
      operationId: create_assessment_api_v1_treatment_plans__treatment_plan_id__assessments__post
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssessmentCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssessmentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - treatment_plan
      summary: Read Assessment
      operationId: read_assessment_api_v1_treatment_plans__treatment_plan_id__assessments__get
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AssessmentResponse'
                - type: object
                  additionalProperties: true
                title: Response Read Assessment Api V1 Treatment Plans  Treatment Plan Id  Assessments  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/:
    patch:
      tags:
      - treatment_plan
      summary: Patch Assessment
      operationId: patch_assessment_api_v1_treatment_plans__treatment_plan_id__assessments__assessment_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: assessment_id
        in: path
        required: true
        schema:
          type: integer
          title: Assessment Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssessmentCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssessmentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - treatment_plan
      summary: Delete Assessment
      operationId: delete_assessment_api_v1_treatment_plans__treatment_plan_id__assessments__assessment_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: treatment_plan_id
        in: path
        required: true
        schema:
          type: integer
          title: Treatment Plan Id
      - name: assessment_id
        in: path
        required: true
        schema:
          type: integer
          title: Assessment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/treatment_plans/{treatment_plan_id}/assessments/{assessment_id}/tools/:
    post:
      tags:
      - treatment_plan
      summary: Create Assessment Tool
      operationId: create_assessment_tool_api_v1_treatment_plans__treatment_pl

# --- truncated at 32 KB (236 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/forta-health/refs/heads/main/openapi/forta-health-treatment-plan-api-openapi.yml