AlbertoDePena / brain-function-testing

BFT portal app
0 stars 0 forks source link

Allow a person to take a test through BFT portal #2

Open AlbertoDePena opened 5 years ago

AlbertoDePena commented 5 years ago

Create a web portal for gathering required parameters to generate a link to allow a person to take a test.

  1. Create a landing web page
  2. Gather require info to request test link from CNSVS
  3. Post user info to CNSVS endpoint to request test link
  4. Embed (iframe) CNSVS testing portal
  5. Within same web portal, check to see if CNSVS test result has been posted to our endpoint
  6. Display message explaining any invalid tests and provide a new test link containing only the needed tests to retake
  7. Once the test has been completed successfully, generate test report (see test report PDF) and allow the user to print
AlbertoDePena commented 5 years ago

Dev Stack

Azure free trial is over... might have to consider using something like DigitalOcean (cheaper)

API Gateway

Web Portal

Patient API

Report API

Report Service

AlbertoDePena commented 5 years ago

Azure Durable Function Design

AlbertoDePena commented 5 years ago

Possible schema if using Azure Cosmos DB

{
        "id": "",
    "firstName": "",
    "lastName": "",
    "email": "",
        "dob": "",
    "testResults": [
        {
            "cnsvs_id": "",
            "account_id": "",
            "test_date": "",
            "test_time": "",
            "timezone": "",
            "gmt_test_date": "",
            "gmt_test_time": "",
            "subject_id": "",
            "birth_date": "",
            "gender": "",
            "duration": "",
            "language": "",
                        "domain_data": "",
            "report_data": ""
        }
    ]
}
AlbertoDePena commented 5 years ago
Clean up
AlbertoDePena commented 5 years ago

New requirements

AlbertoDePena commented 5 years ago

New Requirements as of May 16 (deliverable on Monday 20)