This documentation provides an overview of the available endpoints in the API.
To access the protected endpoints, you need to authenticate using the generate-token endpoint.
/generate-tokenPOSTThe following endpoints require authentication using the generated token.
/lab-testsGET/x-raysGETReturns: A list of X-rays.
/x-raysPOSTname (string): The name of the X-ray./ultrasoundsGETReturns: A list of ultrasounds.
/ultrasoundsPOSTname (string): The name of the ultrasound./ctscansGETReturns: A list of CT scans.
/ctscansPOSTname (string): The name of the CT scan./mrisGETReturns: A list of MRIs.
/mrisPOSTname (string): The name of the MRI./medical-recordsPOSTpatient_id (integer): The ID of the patient.patient_name (string): The name of the patient.mri_id (integer): The ID of the MRI.mri_name (string): The name of the MRI.ctscan_id (integer): The ID of the CT scan.ctscan_name (string): The name of the CT scan.xrays (array): An array of X-rays.
xray_id (integer): The ID of the X-ray.name (string): The name of the X-ray.ultrasounds (array): An array of ultrasounds.
ultrasound_id (integer): The ID of the ultrasound.
- name (string): The name of the ultrasound.
Please note that authentication using the generated token is required for accessing the protected endpoints.
This documentation provides an overview of the available GraphQL mutations and queries in the API.