A collection of healthcare data interoperability tools developed during my Health Informatics internship at MIHIN (Michigan Health Information Network). This repository contains utilities for processing HL7 V2 messages and CCD (Continuity of Care Document) data mapping.
This project demonstrates practical applications of healthcare data standards and interoperability protocols, focusing on:
- HL7 V2 message parsing and validation
- CCD/C-CDA document data extraction
- Healthcare data mapping and transformation
- Python: Primary development language
- HL7 Library: For HL7 V2 message processing
- XPath: For CCD/XML document parsing
- Healthcare Standards: HL7 V2, C-CDA, FHIR concepts
healthcare-interoperability-tools/
├── README.md
├── requirements.txt
├── LICENSE
├── .gitignore
├── hl7-tools/
│ ├── hl7_obx_parser.py
│ ├── examples/
│ │ └── sample_hl7_messages.py
│ └── tests/
│ └── test_hl7_parser.py
├── ccd-tools/
│ ├── ccd_mapping_guide.md
│ ├── ccd_xpath_examples.py
│ └── examples/
│ └── sample_ccd_extracts.xml
└── docs/
├── hl7_documentation.md
└── ccd_documentation.md
- Python 3.7+
- pip package manager
- Clone the repository:
git clone https://github.com/DeepishkaPemmasani/healthcare-interoperability-tools.git
cd healthcare-interoperability-tools- Install dependencies:
pip install -r requirements.txtfrom hl7_tools.hl7_obx_parser import check_obx_subsegments
# Parse HL7 message for specific OBX subsegments
results = check_obx_subsegments(your_hl7_message)
print(results)Refer to ccd-tools/ccd_mapping_guide.md for comprehensive XPath patterns for extracting data from CCD documents.
- OBX Subsegment Parser: Extract specific observation subsegments (OBX.15.1, OBX.15.2, OBX.23.1)
- Message Validation: Verify presence of required segments and fields
- Error Handling: Robust parsing with graceful error management
- XPath Pattern Library: Pre-built patterns for common CCD data extraction
- Data Mapping Templates: Structured approaches for UI data mapping
- Best Practices Guide: Tips for handling CCD parsing edge cases
This project works with industry-standard healthcare interoperability formats:
- HL7 V2.x: Health Level Seven International messaging standard
- C-CDA: Consolidated Clinical Document Architecture
- LOINC Codes: Logical Observation Identifiers Names and Codes
This repository represents work completed during a Health Informatics internship. While not actively seeking contributions, feedback and suggestions are welcome.
This project is licensed under the MIT License - see the LICENSE file for details.
- MIHIN (Michigan Health Information Network) for providing the internship opportunity
- HL7 International for healthcare interoperability standards
- Healthcare IT Community for continuous innovation in health informatics
Feel free to reach out for questions about healthcare interoperability or this project:
- LinkedIn: [https://www.linkedin.com/in/deepishka-pemmasani/]
- Email: [deepupemmasani@gmail.com]
Developed during Health Informatics Internship at MIHIN | 2024