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-test: get: summary: '' operationId: getApiV1PedsTest description: '' parameters: [] responses: 302: description: '' content: text/plain: schema: type: string example: "\n\n \n \n \n\n Redirecting to https://pedstestonline.com/login\n \n \n Redirecting to https://pedstestonline.com/login.\n \n" tags: - 'PEDS-R Test' post: summary: '' operationId: postApiV1PedsTest description: '' parameters: [] 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: 'PEDS - Path A: (High Risk for Mental Health, Emotional, Behavioral and Developmental Delays/ Disorders )' peds_recommends: 'Refer for special education evaluation of eligibility
Refer for evaluation of mental health, well-being and behavior
Provide guidance on specific concerns
Contact in 6 - 8 weeks to assess effectiveness and follow-through with referrals
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: 'PEDS - 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
Refer for evaluation of mental health, well-being and behavior
Provide guidance on specific concerns
Contact in 6 - 8 weeks to assess effectiveness and follow-through with referrals
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' nullable: false subject_DOB: type: date description: 'Date of birth of the Subject/Child.' example: '2021-03-20' nullable: false subject_prem: type: boolean description: 'Whether the Subject/Child is a premature baby.' example: true nullable: false prem_weeks: type: integer description: 'Number of weeks of premature baby.(Required if subject_prem is 1)' example: 5 nullable: false patient_id: type: integer description: 'Should exist in the api_requests table' example: 1007 nullable: true q0_text: type: string description: '' example: none nullable: false q11_text: type: string description: '' example: none nullable: false q1_select: type: string description: '' example: 'n' nullable: false q1_text: type: string description: 'Required if q1_select is not equal to "n"' example: 'Some example text for q1_text' nullable: false q2_select: type: string description: '' example: 'n' nullable: false q2_text: type: string description: 'Required if q2_select is not equal to "n"' example: 'Some example text for q2_text' nullable: false q3_select: type: string description: '' example: 'n' nullable: false q3_text: type: string description: 'Required if q3_select is not equal to "n"' example: 'Some example text for q3_text' nullable: false q4_select: type: string description: '' example: 'n' nullable: false q4_text: type: string description: 'Required if q4_select is not equal to "n"' example: 'Some example text for q4_text' nullable: false q5_select: type: string description: '' example: 'n' nullable: false q5_text: type: string description: 'Required if q5_select is not equal to "n"' example: 'Some example text for q5_text' nullable: false q6_select: type: string description: '' example: 'n' nullable: false q6_text: type: string description: 'Required if q6_select is not equal to "n"' example: 'Some example text for q6_text' nullable: false q7_select: type: string description: '' example: 'n' nullable: false q7_text: type: string description: 'Required if q7_select is not equal to "n"' example: 'Some example text for q7_text' nullable: false q8_select: type: string description: '' example: 'n' nullable: false q8_text: type: string description: 'Required if q8_select is not equal to "n"' example: 'Some example text for q8_text' nullable: false q9_select: type: string description: '' example: 'n' nullable: false q9_text: type: string description: 'Required if q9_select is not equal to "n"' example: 'Some example text for q9_text' nullable: false q10_select: type: string description: '' example: 'n' nullable: false q10_text: type: string description: 'Required if q10_select is not equal to "n"' example: 'Some example text for q10_text' nullable: false 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 /api/v1/peds-dm-test: get: summary: '' operationId: getApiV1PedsDmTest description: '' parameters: [] responses: 302: description: '' content: text/plain: schema: type: string example: "\n\n \n \n \n\n Redirecting to https://pedstestonline.com/login\n \n \n Redirecting to https://pedstestonline.com/login.\n \n" 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' nullable: false test_date: type: string description: 'Must be a valid date in the format Y-m-d.' example: '2025-11-29' nullable: false required: - subject_DOB post: summary: 'POST api/v1/peds-test.' operationId: pOSTApiv1pedsTest description: "Info about the patient_id parameter:\n" parameters: [] 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 risk_level_code: 'High MEBDD Risk' risk_level_description: 'PEDS:DM® High Risk for Mental Health, Social-Emotional, Behavioral and Developmental Delays/Disorders' referral: 'Refer for special education evaluation of eligibility
Request evaluation of mental health, well-being, behavior
Provide guidance on specific concerns
Contact in 6 - 8 weeks to assess effectiveness and follow-through with referrals
If ineligible, refer for private therapies or Head Start programs' recommendation: 'Assist with referrals for additional testing through Early Intervention or the public schools. Screen or refer for screening of potential vision and hearing problems. Provide information on how parents can help at home.' 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 risk_level_code: type: string example: 'High MEBDD Risk' risk_level_description: type: string example: 'PEDS:DM® High Risk for Mental Health, Social-Emotional, Behavioral and Developmental Delays/Disorders' referral: type: string example: 'Refer for special education evaluation of eligibility
Request evaluation of mental health, well-being, behavior
Provide guidance on specific concerns
Contact in 6 - 8 weeks to assess effectiveness and follow-through with referrals
If ineligible, refer for private therapies or Head Start programs' recommendation: type: string example: 'Assist with referrals for additional testing through Early Intervention or the public schools. Screen or refer for screening of potential vision and hearing problems. Provide information on how parents can help at home.' 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' nullable: false rl_select: type: string description: 'Required if rl_submit is not null' example: '1_3' nullable: false el_select: type: string description: 'Required if el_submit is not null' example: '0_2' nullable: false gm_select: type: string description: 'Required if gm_submit is not null' example: '1_2' nullable: false sh_select: type: string description: 'Required if sh_submit is not null' example: '1_2' nullable: false ma_select: type: string description: '' example: null nullable: false re_select: type: string description: '' example: null nullable: false se_select: type: string description: 'Required if se_submit is not null' example: '1_3' nullable: false patient_id: type: integer description: 'Should exist in the api_requests table' example: 1007 nullable: true subject_DOB: type: date description: 'Date of birth of the Subject/Child.' example: '2021-03-20' nullable: false required: - subject_DOB /api/v1/peds-dmal-test: get: summary: 'GET api/v1/peds-dmal-test.' operationId: gETApiv1pedsDmalTest description: "" parameters: [] 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' nullable: false test_date: type: string description: 'Must be a valid date in the format Y-m-d.' example: '2025-11-29' nullable: false required: - subject_DOB post: summary: 'POST api/v1/peds-dmal-test.' operationId: pOSTApiv1pedsDmalTest description: "" parameters: [] 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 nullable: false subject_DOB: type: date description: 'Date of birth of the Subject/Child.' example: '2021-05-12' nullable: false fm_2: type: string description: '' example: '2_0' nullable: false fm_3: type: string description: '' example: '1_0' nullable: false fm_4: type: string description: '' example: '1_0' nullable: false fm_5: type: string description: '' example: '1_0' nullable: false fm_6: type: string description: '' example: '3_1' nullable: false fm_7: type: string description: '' example: '2_1' nullable: false fm_8: type: string description: '' example: '3_1' nullable: false fm_9: type: string description: '' example: '2_1' nullable: false required: - uuid - subject_DOB - fm_2 - fm_3 - fm_4 - fm_5 - fm_6 - fm_7 - fm_8 - fm_9 tags: - name: 'PEDS-R Test' description: "\nAPI docs for PEDS-R Test" - name: 'PEDS-DM Test' description: "\nAPI docs for PEDS-DM Test" - name: 'PEDS-DMAL Test' description: "\nAPI docs for PEDS-DMAL Test" components: securitySchemes: default: type: http scheme: bearer description: 'You can retrieve your token by visiting your dashboard and clicking Generate a new Key.' security: - default: []