Golden Health Services Pvt Ltd {Link}
Clinic-Management-System --{Visit}--
The Clinic Management System (CMS) is a full-stack web application designed to streamline clinic operations. It includes:
- A frontend built with Angular for managing user interactions and displaying data.
- A backend built with Node.js for handling API requests, authentication, and database operations.
This system is modular and scalable, making it suitable for small to medium-sized clinics.
- Configuration and project files:
.editorconfig,.gitignore,.vscode/angular.json,browserslist,karma.conf.jstsconfig.*.json,tslint.json
- App-specific code:
src/: Main application source folder
- Dependencies:
package.json,package-lock.json
- Documentation:
README.md,
- Core files:
index.js,server.js
- Configuration:
.env,package.json,package-lock.json
- App folder:
server/
- Documentation:
README.md
-dcm_script.py
-
Patient Management:
- Add, update, or remove patient records.
- View appointment history and medical records.
-
Appointment Scheduling:
- Book, reschedule, or cancel appointments.
- Integrated calendar view for clinic operations.
-
Staff Management:
- Add and manage staff details.
- Role-based access control.
-
Medical Records:
- Securely store and retrieve patient medical data.
- Frontend: Angular
- Backend: Node.js with Express.js
- Database: MySQL
This script is designed to analyze and process DICOM (Digital Imaging and Communications in Medicine) files, typically used in medical imaging. It uses libraries like pydicom (for reading DICOM files), opencv-python (for image/video processing), and Pillow (potentially for image handling). Below is a breakdown of its key functionalities:
-
Reading DICOM Files:
The script usespydicom.dcmread()to read DICOM files and convert them into JSON-like structures for analysis and processing. -
Branching Logic:
readDicom(file_path)determines the type of data in the file and delegates processing to:readDataDicom(file_path): For DICOM data files with findings.readFileDicom(file_path): For DICOM files containing pixel data (images/videos).
-
createImage(img, file_path):
- Converts an image from LAB color space to BGR using OpenCV.
- Saves the image in JPEG format and outputs metadata as JSON.
-
createVideo(imgs, height, width, file_path):
- Compiles a sequence of images into a video (MP4 format) using OpenCV.
- Outputs metadata as JSON.
The script extracts structured data (like patient details and findings) from the DICOM file:
-
Patient Data:
getPatientData(output, patient)extracts metadata such as:- Patient name, sex, date of birth, ID, size, weight.
- Manufacturer details, report details, and institution name.
-
Findings Data:
getFindings(findings_array)processes medical findings, such as:- Finding site details (e.g., anatomical location).
- Image modes, identifiers, and associated data.
-
Helper Functions:
getItemData,getIdentifier,getValue, andgetListDataprocess nested DICOM metadata for better organization.
- pydicom: For DICOM file handling.
- opencv-python: For image and video processing.
- json: To format and output metadata.
- datetime: For date formatting.
- pathlib: For path manipulations.
- Comprehensive handling of both pixel data (images/videos) and metadata (patient and findings).
- Modular design with helper functions for specific tasks.
- JSON output for interoperability with other systems.
- Node.js (v14 or later)
- Angular CLI (v9.1.9 or later)
- [Database software]
This project was generated with Angular CLI version 9.1.9.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
If you have any questions or suggestions, feel free to reach out to me:
- Email: vijaykumarit45@gmail.com
- GitHub: Profile
- Linkedin: Linkedin
- Twitter: Twitter
Let me know if you'd like me to refine this further or add specific features! 😊
