RCM Contact Connector
A reusable Python library for managing non-patient contacts and their communication channels (fax, phone, email, etc.) for RCM workflows.
Features
- Create and manage contacts (payors, hospitals, labs, etc.)
- Support multiple communication channels per contact
- Smart search by:
- name
- phone/fax
- Automatic normalization of values
- Retrieve preferred contact method based on purpose and priority
Installation
pip install rcm-contact
Requirements
- Python 3.8+
- MySQL database
- Environment variables:
export RCM_DB_HOST=localhost
export RCM_DB_USER=root
export RCM_DB_PASSWORD=vipin2002
export RCM_DB_NAME=rcm_contact
Usage
from rcm_contact import (
create_contact,
add_contact_channel,
search_contact_channels,
get_preferred_channel
)
from rcm_contact.models import ContactCreate, ContactChannelCreate
# Create contact
contact_id = create_contact(ContactCreate(
contact_type=1,
name="Aetna"
))
# Add channel
add_contact_channel(ContactChannelCreate(
contact_id=contact_id,
channel_type=1,
value_raw="800-555-1111",
is_primary=True
))
# Search
results = search_contact_channels("Aetna")
print(results)
# Get preferred channel
preferred = get_preferred_channel(contact_id, 1)
print(preferred)
Metadata
Release files for rcm-contact 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rcm_contact-0.1.5.tar.gz | 8.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rcm_contact-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / rcm_contact-0.1.5.tar.gz
| Download URL | rcm_contact-0.1.5.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39e602896d94c0e7ff51c2267bc1c8f4d7c859f6d247cdac2149670d2d1525a1
|
|
BLAKE2b-256 checksum How to use checksums |
c05ef6e2360e4abe205cb1f7df9c531caaed5249b112d9ff2122cf5c63e04d18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / rcm_contact-0.1.5-py3-none-any.whl
| Download URL | rcm_contact-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3821a00fae6b442e8873164642721746683ab940422bd6ca86bf8a67764af62
|
|
BLAKE2b-256 checksum How to use checksums |
05e6c48628eb6948a745ead3d153302f6340f6145e43e7d1009c527a776e8a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for rcm-contact 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.