01
Stage 1 – User Authentication and Access
Process
Healthcare staff log in to the application and access document functions based on their authorized role.
Tools
Cloud Cognito
Cloud IAM
Implementation
Cloud Cognito authenticates healthcare staff, while IAM permissions control access to application resources and documents.
02
Stage 2 – Document Upload and Storage
Process
Healthcare staff upload documents such as medical reports, prescriptions, laboratory reports, and referral documents.
Tools
Cloud S3
Cloud Lambda
Implementation
A Python-based Lambda function handles the document upload process and stores the uploaded document securely in Cloud S3.
03
Stage 3 – Automated Document Processing
Process
Uploaded documents are automatically validated and processed without manual intervention.
Tools
Cloud S3
Cloud Lambda
Implementation
An S3 event automatically triggers a Python-based Lambda function, which validates and processes the uploaded document.
04
Stage 4 – Document Metadata Management
Process
The application stores information about each document, including its type, upload date, patient reference, and storage location.
Tools
Cloud Lambda
Cloud DynamoDB
Implementation
The Lambda function extracts or creates document metadata and stores it in DynamoDB together with the related S3 document reference.
05
Stage 5 – Document Search and Retrieval
Process
Authorized healthcare staff search for required documents and retrieve them through the application.
Tools
Cloud API Gateway
Cloud Lambda
Cloud DynamoDB
Cloud S3
Implementation
API Gateway receives the search request and invokes a Lambda function. The function searches DynamoDB for document information and retrieves the corresponding document from S3.
06
Stage 6 – Monitoring and Auditing
Process
The application monitors document processing activities and records important system activity.
Tools
Cloud CloudWatch
Cloud CloudTrail
Implementation
CloudWatch collects application logs and Lambda execution information, while CloudTrail records cloud resource activity for auditing.