yalla-coop / curenetics

A platform enabling medical professionals to more quickly find relevant clinical trials for their patients
2 stars 0 forks source link

Create example JSON data of record details #78

Closed thejoefriel closed 4 years ago

thejoefriel commented 4 years ago

Until Jon has given us the API link, we need to use an example JSON set just as we're doing with Jamie's API.

Can someone please create a dummy JSON file of say 4 records that we can use please?

Here's the agreed data shape:

{
    age: 
    gender:
    fileReference: (this will be either the filename or something else so we can link the data object with the relevant file that will be stored locally for the session) 
    postcode:
    cancerType:
    ECOGStatus:
    gleasonScore: (if there’s more than one score, either we need you to return the highest one or return all the scores in an array so we can then pull out the highest one ourselves)
         Keywords: [“disease within prostate”, “focal disease”, “disease outside prostate”, “metastatic disease”, “advanced disease”] (so if any of these terms are found in the pdf record they are added to this array of keywords) 
}
susanX commented 4 years ago

ok I can do this