Forta Health Intake Questionnaires API

The intake_questionnaires API from Forta Health — 32 operation(s) for intake_questionnaires.

OpenAPI Specification

forta-health-intake-questionnaires-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Intake Questionnaires API
  version: 0.1.0
tags:
- name: intake_questionnaires
paths:
  /api/v1/intake_questionnaires/send:
    post:
      tags:
      - intake_questionnaires
      summary: Send Intake Questionnaire
      description: 'Create an intake questionnaire for the (provider, client) pair.


        Callers without an overriding role may only send a questionnaire for themselves

        (403 when ``provider_id`` is someone else''s) — the target provider is taken from the

        request body, so this prevents a holder of ``post:intake_questionnaires:send`` from

        creating questionnaires for arbitrary (provider, client) pairs.


        400 when the provider is not a practicing guardian for the client, the provider''s

        onboarding questionnaire is not COMPLETED, or an intake questionnaire already exists

        for the pair. 404 when the provider does not exist.'
      operationId: send_intake_questionnaire_api_v1_intake_questionnaires_send_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireSendRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/intake_questionnaires:
    get:
      tags:
      - intake_questionnaires
      summary: List Intake Questionnaires
      description: 'List intake questionnaires (basic columns only, newest date_sent first).


        Each returned row also includes a lightweight ``provider`` and ``client`` summary

        (id/name/email) for the linked provider and client.


        Filter by ``provider_id``, ``client_id``, ``status``, and a ``date_sent`` window

        (``date_start`` inclusive, ``date_end`` inclusive of the whole day). The window is

        padded by one extra day on each side so records that land on an adjacent UTC day

        (because ``date_sent`` is stored as naive UTC while the bounds are treated as UTC days)

        are still returned. When no filter is provided, results are limited to the past month.


        Callers without an overriding role may only list their own questionnaires (403 when

        ``provider_id`` is someone else''s); the filter is otherwise scoped to the caller''s own

        id. 400 when ``date_start`` is after ``date_end``.'
      operationId: list_intake_questionnaires_api_v1_intake_questionnaires_get
      security:
      - HTTPBearer: []
      parameters:
      - name: provider_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            exclusiveMinimum: 0
          - type: 'null'
          description: Filter by provider id (must be > 0).
          title: Provider Id
        description: Filter by provider id (must be > 0).
      - name: client_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            exclusiveMinimum: 0
          - type: 'null'
          description: Filter by client id (must be > 0).
          title: Client Id
        description: Filter by client id (must be > 0).
      - name: date_start
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          description: Only include questionnaires with date_sent on/after this date.
          title: Date Start
        description: Only include questionnaires with date_sent on/after this date.
      - name: date_end
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          description: Only include questionnaires with date_sent on/before this date.
          title: Date End
        description: Only include questionnaires with date_sent on/before this date.
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/IntakeQuestionnaireStatusEnum'
          - type: 'null'
          description: Filter by questionnaire status.
          title: Status
        description: Filter by questionnaire status.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IntakeQuestionnaireListResponse'
                title: Response List Intake Questionnaires Api V1 Intake Questionnaires Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/by_provider/{provider_id}:
    get:
      tags:
      - intake_questionnaires
      summary: Get Intake Questionnaires By Provider
      description: 'All intake questionnaires for a provider (basic columns only, newest first).


        A provider usually has several clients assigned, so this returns every questionnaire

        at once; pass ``client_id`` to narrow to a single client. Related sections (general

        info, medical info, etc.) are omitted.


        Callers with broad visibility (an overriding role, or the provider looking up their

        own id) get the real outcome: an empty list when none exists and ``404`` if the

        provider is missing. Any other caller only sees the questionnaires they are authorized

        to read (an active provider assignment to the client); when none are readable, a

        missing provider, an absent questionnaire, and a forbidden one all return the same

        ``403`` so existence is not observable to someone who could not read it.'
      operationId: get_intake_questionnaires_by_provider_api_v1_intake_questionnaires_by_provider__provider_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: provider_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Provider id (must be > 0)
          title: Provider Id
        description: Provider id (must be > 0)
      - name: client_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 1
          - type: 'null'
          description: When set, narrows the result to this provider and client (at most one row). When
            omitted, returns every questionnaire for the provider.
          title: Client Id
        description: When set, narrows the result to this provider and client (at most one row). When
          omitted, returns every questionnaire for the provider.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IntakeQuestionnaireResponse'
                title: Response Get Intake Questionnaires By Provider Api V1 Intake Questionnaires By
                  Provider  Provider Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}:
    get:
      tags:
      - intake_questionnaires
      summary: Get Intake Questionnaire By Id
      description: 'Full questionnaire with nested sections; 404 if not found.


        Callers without an overriding role may only read questionnaires sent to them (403

        otherwise). Sections and collections that have no rows yet (e.g. ``medical_info``,

        ``referrals``) are returned as ``null``.'
      operationId: get_intake_questionnaire_by_id_api_v1_intake_questionnaires__questionnaire_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireDetailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire
      description: 'Patch top-level flags (``has_no_medications``, ``has_no_therapies``,

        ``not_attending_school``) on the questionnaire; 404 if not found.


        Only the provider the questionnaire was sent to may update it (403 otherwise). Only

        fields present in the request body are updated; omitted fields are unchanged.'
      operationId: update_intake_questionnaire_api_v1_intake_questionnaires__questionnaire_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnairePatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/general_info:
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire General Info
      description: Partial PATCH for general info; 403/404/400 per edit guard.
      operationId: update_intake_questionnaire_general_info_api_v1_intake_questionnaires__questionnaire_id__general_info_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireGeneralInfoPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireGeneralInfoResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/education_info:
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire Education Info
      description: Partial PATCH for education info; upserts row and clears not_attending_school.
      operationId: update_intake_questionnaire_education_info_api_v1_intake_questionnaires__questionnaire_id__education_info_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireEducationInfoPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireEducationInfoResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/medical_info:
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire Medical Info
      description: Partial PATCH for medical info; upserts the parent row.
      operationId: update_intake_questionnaire_medical_info_api_v1_intake_questionnaires__questionnaire_id__medical_info_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/medical_info/diagnosis:
    post:
      tags:
      - intake_questionnaires
      summary: Create Intake Questionnaire Medical Info Diagnosis
      description: 'Create a medical info diagnosis row for an intake questionnaire.


        Only the provider the questionnaire was sent to may create it (403 otherwise); 404 if

        the questionnaire does not exist. Once the questionnaire is COMPLETED no further

        changes are allowed (400). Duplicate ``diagnosis_name`` values return 409.'
      operationId: create_intake_questionnaire_medical_info_diagnosis_api_v1_intake_questionnaires__questionnaire_id__medical_info_diagnosis_post
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoDiagnosisCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoDiagnosisResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/medical_info/diagnosis/{diagnosis_id}:
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire Medical Info Diagnosis
      description: 'Partial PATCH for one medical info diagnosis row.


        Only the provider the questionnaire was sent to may update it (403 otherwise). 404 if

        the questionnaire does not exist, or if no diagnosis with ``diagnosis_id`` belongs to

        it. Once the questionnaire is COMPLETED no further changes are allowed (400).'
      operationId: update_intake_questionnaire_medical_info_diagnosis_api_v1_intake_questionnaires__questionnaire_id__medical_info_diagnosis__diagnosis_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      - name: diagnosis_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Diagnosis id (must be > 0)
          title: Diagnosis Id
        description: Diagnosis id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoDiagnosisPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoDiagnosisResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - intake_questionnaires
      summary: Delete Intake Questionnaire Medical Info Diagnosis
      description: 'Delete one medical info diagnosis row.


        Only the provider the questionnaire was sent to may delete it (403 otherwise). 404 if

        the questionnaire does not exist, or if no diagnosis with ``diagnosis_id`` belongs to

        it. Once the questionnaire is COMPLETED no deletes are allowed (400).'
      operationId: delete_intake_questionnaire_medical_info_diagnosis_api_v1_intake_questionnaires__questionnaire_id__medical_info_diagnosis__diagnosis_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      - name: diagnosis_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Diagnosis id (must be > 0)
          title: Diagnosis Id
        description: Diagnosis id (must be > 0)
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/medical_info/selection:
    post:
      tags:
      - intake_questionnaires
      summary: Create Intake Questionnaire Medical Info Selection
      description: 'Create one medical info multi-select value (early intervention, pregnancy issue, or
        regression).


        Only the provider the questionnaire was sent to may create it (403 otherwise); 404 if

        the questionnaire does not exist. Once the questionnaire is COMPLETED no further

        changes are allowed (400). Duplicate values and ``None`` conflicts return 409.'
      operationId: create_intake_questionnaire_medical_info_selection_api_v1_intake_questionnaires__questionnaire_id__medical_info_selection_post
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoSelectionCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoSelectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/medical_info/selection/{selection_type}/{selection_id}:
    delete:
      tags:
      - intake_questionnaires
      summary: Delete Intake Questionnaire Medical Info Selection
      description: 'Delete one medical info multi-select value.


        Only the provider the questionnaire was sent to may delete it (403 otherwise). 404 if

        the questionnaire does not exist, or if no row with ``selection_id`` belongs to it

        for ``selection_type``. Once the questionnaire is COMPLETED no deletes are allowed

        (400).'
      operationId: delete_intake_questionnaire_medical_info_selection_api_v1_intake_questionnaires__questionnaire_id__medical_info_selection__selection_type___selection_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      - name: selection_type
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/IntakeQuestionnaireMedicalInfoSelectionTypeEnum'
          description: Medical info selection type
        description: Medical info selection type
      - name: selection_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Selection id (must be > 0)
          title: Selection Id
        description: Selection id (must be > 0)
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/family:
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire Family
      description: Partial PATCH for family; upserts the parent row.
      operationId: update_intake_questionnaire_family_api_v1_intake_questionnaires__questionnaire_id__family_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireFamilyPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireFamilyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/family/member:
    post:
      tags:
      - intake_questionnaires
      summary: Create Intake Questionnaire Family Member
      operationId: create_intake_questionnaire_family_member_api_v1_intake_questionnaires__questionnaire_id__family_member_post
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireFamilyMemberCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireFamilyMemberResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/family/member/{member_id}:
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire Family Member
      operationId: update_intake_questionnaire_family_member_api_v1_intake_questionnaires__questionnaire_id__family_member__member_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      - name: member_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Family member id (must be > 0)
          title: Member Id
        description: Family member id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireFamilyMemberPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireFamilyMemberResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - intake_questionnaires
      summary: Delete Intake Questionnaire Family Member
      operationId: delete_intake_questionnaire_family_member_api_v1_intake_questionnaires__questionnaire_id__family_member__member_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      - name: member_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Family member id (must be > 0)
          title: Member Id
        description: Family member id (must be > 0)
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/family/client_sibling:
    post:
      tags:
      - intake_questionnaires
      summary: Create Intake Questionnaire Family Client Sibling
      operationId: create_intake_questionnaire_family_client_sibling_api_v1_intake_questionnaires__questionnaire_id__family_client_sibling_post
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireFamilyClientSiblingCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireFamilyClientSiblingResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/intake_questionnaires/{questionnaire_id}/family/client_sibling/{sibling_id}:
    patch:
      tags:
      - intake_questionnaires
      summary: Update Intake Questionnaire Family Client Sibling
      operationId: update_intake_questionnaire_family_client_sibling_api_v1_intake_questionnaires__questionnaire_id__family_client_sibling__sibling_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      - name: sibling_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Client sibling id (must be > 0)
          title: Sibling Id
        description: Client sibling id (must be > 0)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntakeQuestionnaireFamilyClientSiblingPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeQuestionnaireFamilyClientSiblingResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - intake_questionnaires
      summary: Delete Intake Questionnaire Family Client Sibling
      operationId: delete_intake_questionnaire_family_client_sibling_api_v1_intake_questionnaires__questionnaire_id__family_client_sibling__sibling_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: questionnaire_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Intake questionnaire id (must be > 0)
          title: Questionnaire Id
        description: Intake questionnaire id (must be > 0)
      - name: sibling_id
        in: path
        required: true
        schema:
          type: integer
          exclusiveMinimum: 0
          description: Client sibling id (must be > 0)
          title: Sibling Id
        description: Client sibling id (must be > 0)
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schem

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