You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

xml-ccda-parser

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml-ccda-parser

1.0.1
pipPyPI
Maintainers
0

xml-ccda

GitHub Repository

Making it simple to parse XML CCDA document and to fetch required docs

from xml-ccda import parse_xml_to_ccda

ccda_data = parse_xml_to_ccda("<xml-string>")

Response:

ccda_data = {
    "medication_summary": [
        {
            "medication_name": str,
            "route": str,
            "notes": str,
            "start_date": str,
            "end_date": str,
            "status": str,
        }
    ],
    "encounter_summary": [
        {
            "encounter": str,
            "location": str,
            "encounter_date": str,
            "provider": str,
            "diagnosis_codes": str,
        }
    ],
    "allergies_summary": [
        {
            "allergy": str,
            "drug_non_drug": str,
            "reaction": str,
            "allergy_type": str,
            "onset_date": str,
            "status": str,
        }
    ],
    "referral_summary": [
        {
            "reason": str,
            "diagnosis_1": str,
            "diagnosis_2": str,
            "referral_organization": str,
            "referring_provider_specialty": str,
            "referred_provider": str,
            "referred_provider_specialty": str,
            "referral_priority": str,
        }
    ],
    "problems_summary": [
        {
            "problem_type": str,
            "snomed_code": str,
            "icd_code": str,
            "onset_date": str,
            "problem_status": str,
            "wu_status": str,
            "risk": str,
            "notes": str,
        }
    ],
    "care_plan_summary": [{"test_name": str, "order_date": str}],
}

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts