Activity #4275
openModule #4271: Development
Module #4274: Integration with Virtual Treatment Planning System (VTPS)
Develop an API to list patients based on a user
100%
Description
- The list of patients for whom a specialist doctor is authorized to perform treatment planning. The workflow system DB to store the speciality user with whom the case record is assigned with
- The request to include the speciality user id (logged into VTPS. The VTPS to authenticate against keycloak IAM)
- The response to include patient information and the corresponding CBCT image paths stored in the PACS. (for rendering patient list)
- The patient record to support an array of image paths to accommodate multiple images. *
Files
Updated by Jiji P B 9 months ago
- File API Requirements VTPS-Webceph integration.docx API Requirements VTPS-Webceph integration.docx added
- Subject changed from Develop an API to list patients based on a speciality doctor to Develop an API to list patients based on a user
- Assignee changed from Bindhu L to Ashitha C
Fetch list of shared cases grouped by patient, including dicom paths and STL paths, with full security validation.
requets
------------
{
"status": "NEW",
"page": 1,
"limit": 20,
"user_id": "U123"
}
response
----------
{
"page": 1,
"total": 2,
"patients": [
{
"patient_id": "PAT001",
"name": "John Doe",
"age": 45,
"gender": "Male",
"date_of_birth": "1980-04-12",
"hospital_name": "AIIMS",
"cases": [
{
"case_id": "CASE001",
"patient_id": "PAT001",
"dicoms": [
{ "study_id": "STUDY123", "dicom_path": "/dicoms/pat001/case001/study123/" },
{ "study_id": "STUDY124", "dicom_path": "/dicoms/pat001/case001/study124/" }
],
"stl_files": [
{ "stl_id": "STL001", "stl_path": "/stl/pat001/case001/model1.stl" }
]
}
]
}
]
}