openapi: 3.0.3
info:
  title: Pedstestonline
  description: 'API documentation for PEDS Tests'
  version: 1.0.0
servers:
  -
    url: 'https://pedstestonline.com'
paths:
  /api/v1/peds-dmal-test:
    get:
      summary: 'GET api/v1/peds-dmal-test.'
      operationId: gETApiv1pedsDmalTest
      description: "<aside class=\"warning\">\nThis endpoint is used to get the initial questions for the PEDS-DMAL test and depending on the age of the child, the questions are generated accordingly.<br>\nOne more thing to note is that each question and answer has a key associated with it. This key is used to identify the answer in the response.<br>\nAs an example, the test_type here is \"fm\" and the questions/answers generated are from range 2 to 9.<br>\nSo while submitting the response, the POST request expects the answers to be in the range 2 to 9 with the test_type prefixed to it.\nLike \"fm_2\", \"fm_3\" and so on upto \"fm_9\" as a key and the value as the answer.\n</aside>"
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {BEARER_TOKEN}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    domain_name: 'Fine Motor'
                    test_type: fm
                    birth_date: '2021-05-12'
                    test_age: '1 year 11 months 6 days'
                    rounded_off_age: '1 year 11 months 0 day'
                    test_date: '2023-04-18'
                    uuid: 943b8348-e203-451f-8dcf-a5cce2b1fa10
                    questions:
                      -
                        key: 2
                        question: 'When your child is holding a toy in each hand, does he or she look from one side to the other?'
                      -
                        key: 3
                        question: 'Can your child poke at things with just his or her first finger?'
                      -
                        key: 4
                        question: 'Can your child make a squeeze toy squeak - or try to?'
                      -
                        key: 5
                        question: 'Can your child unwrap food or a toy that has been loosely wrapped?'
                      -
                        key: 6
                        question: 'Can your child stack blocks?'
                      -
                        key: 7
                        question: 'Does your child try to scribble with crayons or markers?'
                      -
                        key: 8
                        question: 'Can your child scribble with a crayon or marker without going off the page much?'
                      -
                        key: 9
                        question: 'Can your child draw a picture of a person with any of these parts: head, legs, arms, eyes, body, nose, ears, hands?'
                    responses:
                      -
                        key: 2
                        response:
                          'No': '1_0'
                          'A little': '2_0'
                          'Yes': '3_1'
                      -
                        key: 3
                        response:
                          'No': '1_0'
                          'A little': '2_0'
                          'Yes': '3_1'
                      -
                        key: 4
                        response:
                          'No': '1_0'
                          'A little': '2_1'
                          'Yes': '3_1'
                      -
                        key: 5
                        response:
                          'No': '1_0'
                          Sometimes: '2_0'
                          'Most of the time': '3_1'
                      -
                        key: 6
                        response:
                          "No/Don't have blocks": '1_0'
                          '1-2 blocks': '2_0'
                          '3 or more blocks': '3_1'
                      -
                        key: 7
                        response:
                          'No/Never tried': '1_0'
                          Sometimes: '2_1'
                          'Yes': '3_1'
                      -
                        key: 8
                        response:
                          'No': '1_0'
                          Sometimes: '2_0'
                          'Yes': '3_1'
                      -
                        key: 9
                        response:
                          'No': '1_0'
                          '1 or more parts': '2_1'
                          '2 or more parts': '3_1'
                          '4 or more parts': '4_1'
                properties:
                  data:
                    type: object
                    properties:
                      domain_name:
                        type: string
                        example: 'Fine Motor'
                      test_type:
                        type: string
                        example: fm
                      birth_date:
                        type: string
                        example: '2021-05-12'
                      test_age:
                        type: string
                        example: '1 year 11 months 6 days'
                      rounded_off_age:
                        type: string
                        example: '1 year 11 months 0 day'
                      test_date:
                        type: string
                        example: '2023-04-18'
                      uuid:
                        type: string
                        example: 943b8348-e203-451f-8dcf-a5cce2b1fa10
                      questions:
                        type: array
                        example:
                          -
                            key: 2
                            question: 'When your child is holding a toy in each hand, does he or she look from one side to the other?'
                          -
                            key: 3
                            question: 'Can your child poke at things with just his or her first finger?'
                          -
                            key: 4
                            question: 'Can your child make a squeeze toy squeak - or try to?'
                          -
                            key: 5
                            question: 'Can your child unwrap food or a toy that has been loosely wrapped?'
                          -
                            key: 6
                            question: 'Can your child stack blocks?'
                          -
                            key: 7
                            question: 'Does your child try to scribble with crayons or markers?'
                          -
                            key: 8
                            question: 'Can your child scribble with a crayon or marker without going off the page much?'
                          -
                            key: 9
                            question: 'Can your child draw a picture of a person with any of these parts: head, legs, arms, eyes, body, nose, ears, hands?'
                        items:
                          type: object
                          properties:
                            key:
                              type: integer
                              example: 2
                            question:
                              type: string
                              example: 'When your child is holding a toy in each hand, does he or she look from one side to the other?'
                      responses:
                        type: array
                        example:
                          -
                            key: 2
                            response:
                              'No': '1_0'
                              'A little': '2_0'
                              'Yes': '3_1'
                          -
                            key: 3
                            response:
                              'No': '1_0'
                              'A little': '2_0'
                              'Yes': '3_1'
                          -
                            key: 4
                            response:
                              'No': '1_0'
                              'A little': '2_1'
                              'Yes': '3_1'
                          -
                            key: 5
                            response:
                              'No': '1_0'
                              Sometimes: '2_0'
                              'Most of the time': '3_1'
                          -
                            key: 6
                            response:
                              "No/Don't have blocks": '1_0'
                              '1-2 blocks': '2_0'
                              '3 or more blocks': '3_1'
                          -
                            key: 7
                            response:
                              'No/Never tried': '1_0'
                              Sometimes: '2_1'
                              'Yes': '3_1'
                          -
                            key: 8
                            response:
                              'No': '1_0'
                              Sometimes: '2_0'
                              'Yes': '3_1'
                          -
                            key: 9
                            response:
                              'No': '1_0'
                              '1 or more parts': '2_1'
                              '2 or more parts': '3_1'
                              '4 or more parts': '4_1'
                        items:
                          type: object
                          properties:
                            key:
                              type: integer
                              example: 2
                            response:
                              type: object
                              properties:
                                'No':
                                  type: string
                                  example: '1_0'
                                'A little':
                                  type: string
                                  example: '2_0'
                                'Yes':
                                  type: string
                                  example: '3_1'
      tags:
        - 'PEDS-DMAL Test'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                subject_DOB:
                  type: date
                  description: 'Date of birth of the Subject/Child.'
                  example: '2021-05-12'
                test_date:
                  type: string
                  description: 'Must be a valid date in the format <code>Y-m-d</code>.'
                  example: '2023-04-18'
              required:
                - subject_DOB
    post:
      summary: 'POST api/v1/peds-dmal-test.'
      operationId: pOSTApiv1pedsDmalTest
      description: "<aside class=\"warning\">\nHere, we are sending the data in the format as mentioned above, and depending on the previous response sent, the Server might ask additional questions for the same domain.<br>\nOtherwise, it will return the questions of next domain.<br>\nThis flow will continue until all the domains are completed, and finally, the Server will return the final Report of the Child being tested.\n</aside>"
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {BEARER_TOKEN}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    message: 'Please answer a few more questions to complete the test.'
                    domain_name: 'Fine Motor'
                    test_type: fm
                    test_date: '2023-04-18'
                    uuid: 943b8348-e203-451f-8dcf-a5cce2b1fa10
                    questions:
                      basal:
                        -
                          key: 0
                          question: 'Does your child look at his or her hands?'
                        -
                          key: 1
                          question: "Are your child's hands open most of the time, not in a fist?"
                      ceiling: []
                    responses:
                      basal:
                        -
                          key: 0
                          response:
                            'No': '1_0'
                            'A little': '2_1'
                            'Yes': '3_1'
                        -
                          key: 1
                          response:
                            'No': '1_0'
                            'A little': '2_0'
                            'Yes': '3_1'
                      ceiling: []
                properties:
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        example: 'Please answer a few more questions to complete the test.'
                      domain_name:
                        type: string
                        example: 'Fine Motor'
                      test_type:
                        type: string
                        example: fm
                      test_date:
                        type: string
                        example: '2023-04-18'
                      uuid:
                        type: string
                        example: 943b8348-e203-451f-8dcf-a5cce2b1fa10
                      questions:
                        type: object
                        properties:
                          basal:
                            type: array
                            example:
                              -
                                key: 0
                                question: 'Does your child look at his or her hands?'
                              -
                                key: 1
                                question: "Are your child's hands open most of the time, not in a fist?"
                            items:
                              type: object
                              properties:
                                key:
                                  type: integer
                                  example: 0
                                question:
                                  type: string
                                  example: 'Does your child look at his or her hands?'
                          ceiling:
                            type: array
                            example: []
                      responses:
                        type: object
                        properties:
                          basal:
                            type: array
                            example:
                              -
                                key: 0
                                response:
                                  'No': '1_0'
                                  'A little': '2_1'
                                  'Yes': '3_1'
                              -
                                key: 1
                                response:
                                  'No': '1_0'
                                  'A little': '2_0'
                                  'Yes': '3_1'
                            items:
                              type: object
                              properties:
                                key:
                                  type: integer
                                  example: 0
                                response:
                                  type: object
                                  properties:
                                    'No':
                                      type: string
                                      example: '1_0'
                                    'A little':
                                      type: string
                                      example: '2_1'
                                    'Yes':
                                      type: string
                                      example: '3_1'
                          ceiling:
                            type: array
                            example: []
      tags:
        - 'PEDS-DMAL Test'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  description: 'UUID of the record received on the Initial Request.'
                  example: 943b8348-e203-451f-8dcf-a5cce2b1fa10
                subject_DOB:
                  type: date
                  description: 'Date of birth of the Subject/Child.'
                  example: '2021-05-12'
                fm_2:
                  type: string
                  description: ''
                  example: '2_0'
                fm_3:
                  type: string
                  description: ''
                  example: '1_0'
                fm_4:
                  type: string
                  description: ''
                  example: '1_0'
                fm_5:
                  type: string
                  description: ''
                  example: '1_0'
                fm_6:
                  type: string
                  description: ''
                  example: '3_1'
                fm_7:
                  type: string
                  description: ''
                  example: '2_1'
                fm_8:
                  type: string
                  description: ''
                  example: '3_1'
                fm_9:
                  type: string
                  description: ''
                  example: '2_1'
              required:
                - uuid
                - subject_DOB
                - fm_2
                - fm_3
                - fm_4
                - fm_5
                - fm_6
                - fm_7
                - fm_8
                - fm_9
  /api/v1/peds-dm-test:
    get:
      summary: ''
      operationId: getApiV1PedsDmTest
      description: ''
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {BEARER_TOKEN}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    test_form: J
                    questions:
                      - 'Does your child try to scribble with crayons or markers?'
                      - 'How many of these body parts can your child point to if you say, <b><i>"Where are your eyes?"..."Where is your nose?"..."feet?"..."hair?"..."mouth?"..."ears?"</b></i>'
                      - 'If you ask your child <i><b>"What''s this?"</b></i> and showed things like a spoon, cup, doll, truck, box, crayon, cookie, chair, or light, how many names for these or other things does he or she say?'
                      - 'How does your child get up a set of stairs?'
                      - 'Does your child try to help when it is time to put things away?'
                      - 'Does your child use two things together such as taking a doll for a ride in a toy car, having a truck carry things, or having a doll take a pet for a walk?'
                    responses:
                      fm:
                        'No/Never tried': '0_1'
                        Sometimes: '0_2'
                        'Yes': '1_3'
                      rl:
                        None: '0_1'
                        1-2: '0_2'
                        '3 or more': '1_3'
                      el:
                        None: '0_1'
                        1-2: '0_2'
                        3-4: '0_3'
                        '5 or more': '1_4'
                      gm:
                        'Walks up on own': '1_1'
                        'Holds rail or needs <b>one</b> hand held': '1_2'
                        'Crawls or needs two hands held': '0_3'
                        'Not around stairs': '0_4'
                      sh:
                        'No': '0_1'
                        Sometimes: '1_2'
                        'Most of the time': '1_3'
                      se:
                        'No': '0_1'
                        'Uses one toy at a time': '0_2'
                        'Yes, uses two toys together': '1_3'
                    count: 6
                properties:
                  data:
                    type: object
                    properties:
                      test_form:
                        type: string
                        example: J
                      questions:
                        type: array
                        example:
                          - 'Does your child try to scribble with crayons or markers?'
                          - 'How many of these body parts can your child point to if you say, <b><i>"Where are your eyes?"..."Where is your nose?"..."feet?"..."hair?"..."mouth?"..."ears?"</b></i>'
                          - 'If you ask your child <i><b>"What''s this?"</b></i> and showed things like a spoon, cup, doll, truck, box, crayon, cookie, chair, or light, how many names for these or other things does he or she say?'
                          - 'How does your child get up a set of stairs?'
                          - 'Does your child try to help when it is time to put things away?'
                          - 'Does your child use two things together such as taking a doll for a ride in a toy car, having a truck carry things, or having a doll take a pet for a walk?'
                        items:
                          type: string
                      responses:
                        type: object
                        properties:
                          fm:
                            type: object
                            properties:
                              'No/Never tried':
                                type: string
                                example: '0_1'
                              Sometimes:
                                type: string
                                example: '0_2'
                              'Yes':
                                type: string
                                example: '1_3'
                          rl:
                            type: object
                            properties:
                              None:
                                type: string
                                example: '0_1'
                              1-2:
                                type: string
                                example: '0_2'
                              '3 or more':
                                type: string
                                example: '1_3'
                          el:
                            type: object
                            properties:
                              None:
                                type: string
                                example: '0_1'
                              1-2:
                                type: string
                                example: '0_2'
                              3-4:
                                type: string
                                example: '0_3'
                              '5 or more':
                                type: string
                                example: '1_4'
                          gm:
                            type: object
                            properties:
                              'Walks up on own':
                                type: string
                                example: '1_1'
                              'Holds rail or needs <b>one</b> hand held':
                                type: string
                                example: '1_2'
                              'Crawls or needs two hands held':
                                type: string
                                example: '0_3'
                              'Not around stairs':
                                type: string
                                example: '0_4'
                          sh:
                            type: object
                            properties:
                              'No':
                                type: string
                                example: '0_1'
                              Sometimes:
                                type: string
                                example: '1_2'
                              'Most of the time':
                                type: string
                                example: '1_3'
                          se:
                            type: object
                            properties:
                              'No':
                                type: string
                                example: '0_1'
                              'Uses one toy at a time':
                                type: string
                                example: '0_2'
                              'Yes, uses two toys together':
                                type: string
                                example: '1_3'
                      count:
                        type: integer
                        example: 6
      tags:
        - 'PEDS-DM Test'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                subject_DOB:
                  type: date
                  description: 'Date of birth of the Subject/Child.'
                  example: '2021-03-20'
                test_date:
                  type: string
                  description: 'Must be a valid date in the format <code>Y-m-d</code>.'
                  example: '2023-04-18'
              required:
                - subject_DOB
    post:
      summary: 'POST api/v1/peds-test.'
      operationId: pOSTApiv1pedsTest
      description: "Info about the patient_id parameter:\n<aside class=\"warning\">The patient_id is auto-generated on our server when the patient submits a response (i.e. makes a POST request) for a test and is sent along with the response (results). And for later consecutive requests (only for POST requests), the patient_id is required and should exist on our system.\n</aside>"
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {BEARER_TOKEN}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    milestones_met: 'Self Help, Receptive Language, Gross Motor, Social Emotional'
                    milestones_unmet: 'Fine Motor, Expressive Language'
                    patient_id: 1007
                properties:
                  data:
                    type: object
                    properties:
                      milestones_met:
                        type: string
                        example: 'Self Help, Receptive Language, Gross Motor, Social Emotional'
                      milestones_unmet:
                        type: string
                        example: 'Fine Motor, Expressive Language'
                      patient_id:
                        type: integer
                        example: 1007
      tags:
        - 'PEDS-DM Test'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                fm_select:
                  type: string
                  description: 'Required if fm_submit is not null'
                  example: '0_2'
                rl_select:
                  type: string
                  description: 'Required if rl_submit is not null'
                  example: '1_3'
                el_select:
                  type: string
                  description: 'Required if el_submit is not null'
                  example: '0_2'
                gm_select:
                  type: string
                  description: 'Required if gm_submit is not null'
                  example: '1_2'
                sh_select:
                  type: string
                  description: 'Required if sh_submit is not null'
                  example: '1_2'
                ma_select:
                  type: string
                  description: ''
                  example: null
                re_select:
                  type: string
                  description: ''
                  example: null
                se_select:
                  type: string
                  description: 'Required if se_submit is not null'
                  example: '1_3'
                patient_id:
                  type: integer
                  description: 'Should exist in the api_requests table'
                  example: 1007
                subject_DOB:
                  type: date
                  description: 'Date of birth of the Subject/Child.'
                  example: '2021-03-20'
              required:
                - subject_DOB
  /api/v1/peds-test:
    get:
      summary: ''
      operationId: getApiV1PedsTest
      description: ''
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {BEARER_TOKEN}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    questions:
                      - "Please list any concerns about your child's learning, development, and behavior."
                      - 'Do you have any concerns about how your child talks and makes speech sounds?'
                      - 'Do you have any concerns about how your child understands what you say?'
                      - 'Do you have any concerns about how your child uses his or her hands and fingers to do things?'
                      - 'Do you have any concerns about how your child uses his or her arms and legs?'
                      - 'Do you have any concerns about how your child behaves?'
                      - 'Do you have any concerns about how your child gets along with others?'
                      - 'Do you have any concerns about how your child is learning to do things for himself/herself?'
                      - 'Do you have any concerns about how your child is learning preschool or school skills?'
                      - 'Do you have any concerns about how your child is behind others or can’t do what other kids can?'
                      - 'Do you have any concerns about your child’s health or about how he or she sees, hears, eats, or sleeps?'
                      - 'Please list any other concerns.'
                    count: 12
                properties:
                  data:
                    type: object
                    properties:
                      questions:
                        type: array
                        example:
                          - "Please list any concerns about your child's learning, development, and behavior."
                          - 'Do you have any concerns about how your child talks and makes speech sounds?'
                          - 'Do you have any concerns about how your child understands what you say?'
                          - 'Do you have any concerns about how your child uses his or her hands and fingers to do things?'
                          - 'Do you have any concerns about how your child uses his or her arms and legs?'
                          - 'Do you have any concerns about how your child behaves?'
                          - 'Do you have any concerns about how your child gets along with others?'
                          - 'Do you have any concerns about how your child is learning to do things for himself/herself?'
                          - 'Do you have any concerns about how your child is learning preschool or school skills?'
                          - 'Do you have any concerns about how your child is behind others or can’t do what other kids can?'
                          - 'Do you have any concerns about your child’s health or about how he or she sees, hears, eats, or sleeps?'
                          - 'Please list any other concerns.'
                        items:
                          type: string
                      count:
                        type: integer
                        example: 12
      tags:
        - 'PEDS-R Test'
    post:
      summary: ''
      operationId: postApiV1PedsTest
      description: ''
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {BEARER_TOKEN}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    date_of_birth: '2017-10-22'
                    test_date: '2022-12-17'
                    test_age: '5 years 1 months 26 days'
                    path: A
                    result: '<b>PEDS</b> - Path A: (High Risk for Mental Health, Emotional, Behavioral and Developmental Delays/ Disorders )'
                    peds_recommends: 'Refer for special education evaluation of eligibility<br/>Refer for evaluation of mental health, well-being and  behavior<br/>Provide guidance on specific concerns<br/>Contact in 6 - 8 weeks to assess effectiveness and follow-through with referrals<br/>If ineligible refer for private therapies or Head Start programs'
                    developmental_concerns: 'Expressive Language, Receptive Language, Gross Motor, School, Health, Global Cognitive'
                    meb_concerns: 'Self help'
                    patient_id: 1028
                properties:
                  data:
                    type: object
                    properties:
                      date_of_birth:
                        type: string
                        example: '2017-10-22'
                      test_date:
                        type: string
                        example: '2022-12-17'
                      test_age:
                        type: string
                        example: '5 years 1 months 26 days'
                      path:
                        type: string
                        example: A
                      result:
                        type: string
                        example: '<b>PEDS</b> - Path A: (High Risk for Mental Health, Emotional, Behavioral and Developmental Delays/ Disorders )'
                      peds_recommends:
                        type: string
                        example: 'Refer for special education evaluation of eligibility<br/>Refer for evaluation of mental health, well-being and  behavior<br/>Provide guidance on specific concerns<br/>Contact in 6 - 8 weeks to assess effectiveness and follow-through with referrals<br/>If ineligible refer for private therapies or Head Start programs'
                      developmental_concerns:
                        type: string
                        example: 'Expressive Language, Receptive Language, Gross Motor, School, Health, Global Cognitive'
                      meb_concerns:
                        type: string
                        example: 'Self help'
                      patient_id:
                        type: integer
                        example: 1028
      tags:
        - 'PEDS-R Test'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                test_date:
                  type: date
                  description: 'Date of the test taken.'
                  example: '2022-08-20'
                subject_DOB:
                  type: date
                  description: 'Date of birth of the Subject/Child.'
                  example: '2021-03-20'
                subject_prem:
                  type: boolean
                  description: 'Whether the Subject/Child is a premature baby.'
                  example: true
                prem_weeks:
                  type: integer
                  description: 'Number of weeks of premature baby.(Required if subject_prem is 1)'
                  example: 5
                patient_id:
                  type: integer
                  description: 'Should exist in the api_requests table'
                  example: 1007
                q0_text:
                  type: string
                  description: ''
                  example: none
                q11_text:
                  type: string
                  description: ''
                  example: none
                q1_select:
                  type: string
                  description: ''
                  example: 'n'
                q1_text:
                  type: string
                  description: 'Required if q1_select is not equal to "n"'
                  example: 'Some example text for q1_text'
                q2_select:
                  type: string
                  description: ''
                  example: 'n'
                q2_text:
                  type: string
                  description: 'Required if q2_select is not equal to "n"'
                  example: 'Some example text for q2_text'
                q3_select:
                  type: string
                  description: ''
                  example: 'n'
                q3_text:
                  type: string
                  description: 'Required if q3_select is not equal to "n"'
                  example: 'Some example text for q3_text'
                q4_select:
                  type: string
                  description: ''
                  example: 'n'
                q4_text:
                  type: string
                  description: 'Required if q4_select is not equal to "n"'
                  example: 'Some example text for q4_text'
                q5_select:
                  type: string
                  description: ''
                  example: 'n'
                q5_text:
                  type: string
                  description: 'Required if q5_select is not equal to "n"'
                  example: 'Some example text for q5_text'
                q6_select:
                  type: string
                  description: ''
                  example: 'n'
                q6_text:
                  type: string
                  description: 'Required if q6_select is not equal to "n"'
                  example: 'Some example text for q6_text'
                q7_select:
                  type: string
                  description: ''
                  example: 'n'
                q7_text:
                  type: string
                  description: 'Required if q7_select is not equal to "n"'
                  example: 'Some example text for q7_text'
                q8_select:
                  type: string
                  description: ''
                  example: 'n'
                q8_text:
                  type: string
                  description: 'Required if q8_select is not equal to "n"'
                  example: 'Some example text for q8_text'
                q9_select:
                  type: string
                  description: ''
                  example: 'n'
                q9_text:
                  type: string
                  description: 'Required if q9_select is not equal to "n"'
                  example: 'Some example text for q9_text'
                q10_select:
                  type: string
                  description: ''
                  example: 'n'
                q10_text:
                  type: string
                  description: 'Required if q10_select is not equal to "n"'
                  example: 'Some example text for q10_text'
              required:
                - test_date
                - subject_DOB
                - q0_text
                - q11_text
                - q1_select
                - q2_select
                - q3_select
                - q4_select
                - q5_select
                - q6_select
                - q7_select
                - q8_select
                - q9_select
                - q10_select
tags:
  -
    name: 'PEDS-DMAL Test'
    description: "\nAPI docs for PEDS-DMAL Test"
  -
    name: 'PEDS-DM Test'
    description: "\nAPI docs for PEDS-DM Test"
  -
    name: 'PEDS-R Test'
    description: "\nAPI docs for PEDS-R Test"
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: ''
security:
  -
    default: []
