Skip to content

Latest commit

 

History

History

README.md

EHR Integration (Python)

Electronic Health Records (EHR) integration template for extracting data from OpenIMIS healthcare management system.

Run on Intuned

Run on Intuned

APIs

API Description
claims Extracts claims data from the EHR system including claim status, dates, and associated patient information
families Retrieves family/group data from the EHR system with member relationships and coverage details
insurees Extracts insuree (patient) data including demographics, enrollment status, and insurance information

Getting started

Install dependencies

uv sync

Note: Install the Intuned CLI globally if you haven't already: npm install -g @intuned/cli

Run an API

intuned dev run api claims .parameters/api/claims/default.json --auth-session test-auth-session
intuned dev run api families .parameters/api/families/default.json --auth-session test-auth-session
intuned dev run api insurees .parameters/api/insurees/default.json --auth-session test-auth-session

Auth Sessions

This project uses Intuned Auth Sessions. To learn more, check out the Auth Sessions documentation.

# Create
intuned dev run authsession create .parameters/auth-sessions/create/default.json

# Validate
intuned dev run authsession validate test-auth-session

# Update
intuned dev run authsession update test-auth-session

Save project

intuned dev provision

Deploy

intuned dev deploy

Project structure

/
├── .parameters/                   # Test parameters for APIs
│   ├── api/
│   │   ├── claims/
│   │   │   └── default.json
│   │   ├── families/
│   │   │   └── default.json
│   │   └── insurees/
│   │       └── default.json
│   └── auth-sessions/
│       └── create/
│           └── default.json
├── api/                           # API endpoints
│   ├── claims.py                  # Extract claims data
│   ├── families.py                # Extract families/groups data
│   └── insurees.py                # Extract insurees data
├── auth-sessions/                 # Auth session management
│   ├── check.py                   # Validate auth session
│   └── create.py                  # Create auth session
├── Intuned.jsonc                  # Intuned project configuration
└── pyproject.toml                 # Python project dependencies

Key features

  • Authenticated Access: Uses Intuned Auth Sessions for secure access to protected EHR data
  • Multiple Data Types: Extract claims, families, and insurees data from the EHR system
  • Programmatic Auth: Automated login and session management via API-based auth sessions
  • Healthcare Data Export: Structured extraction of healthcare records for integration workflows

Related