Description:
Write queries to retrieve necessary data to display in the web
Sample function from Taz:
getResults(patientID) {
prisma.findmany()
}
prisma.treatmentResult.findmany({ #fetch all the data for a patient in a query
where: {
patient_id
},
include: {
id: time,
date: time
}
})