Health data models for WellAlly platform
Project description
WellAlly Python SDK
Python data models for the WellAlly health data platform.
Website: https://www.wellally.tech/
Installation
pip install wellally
Features
- 🏥 Lab Reports: Structured laboratory test results with LOINC codes
- 🔬 Imaging Reports: Diagnostic imaging reports with DICOM support
- 💊 Medications: Medication records with RxNorm codes
- 👤 Personal Health: Individual health records following FHIR standards
- 👨👩👧👦 Family Health: Family health trees for genetic tracking
Usage
Lab Report Example
from wellally import LabReport, LabResult, CodeableConcept, Coding, Quantity
from datetime import datetime
# Create a lab result
result = LabResult(
code=CodeableConcept(
coding=[Coding(
system="http://loinc.org",
code="2339-0",
display="Glucose"
)]
),
value=Quantity(value=95.0, unit="mg/dL"),
interpretation="N"
)
# Create a lab report
report = LabReport(
id="lab-001",
patientId="patient-123",
issuedAt=datetime.now(),
results=[result]
)
Personal Health Record Example
from wellally import Person, HumanName
from datetime import date
person = Person(
id="patient-123",
name=[HumanName(
family="Zhang",
given=["San"]
)],
birthDate=date(1990, 1, 1),
gender="male"
)
Data Models
Common Types
Coding: Coded value from a terminology systemCodeableConcept: Concept with multiple codesQuantity: Measured value with UCUM unitHumanName: Structured person nameContactPoint: Contact informationAddress: Postal address
Domain Models
LabReport: Laboratory test reportImagingReport: Diagnostic imaging reportMedicationRecord: Medication administration recordPerson: Personal health recordFamilyHealthTree: Family health tree
Standards Compliance
This package implements data models based on:
- HL7 FHIR (Fast Healthcare Interoperability Resources)
- LOINC (Logical Observation Identifiers Names and Codes)
- SNOMED CT (Systematized Nomenclature of Medicine)
- RxNorm (medication naming)
- UCUM (Unified Code for Units of Measure)
- DICOM (Digital Imaging and Communications in Medicine)
License
MIT License - see LICENSE file for details
Support
- Documentation: https://www.wellally.tech/docs
- Issues: https://github.com/huifer/wellally-schemas/issues
- Email: huifer97@163.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wellally-0.1.0.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wellally-0.1.0.tar.gz.
File metadata
- Download URL: wellally-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbb041bc444132533f6af9f5eb6d750b60763626a3011ef2a19e46d5a44ffe1c
|
|
| MD5 |
486b600a96133099ec4161593091c77a
|
|
| BLAKE2b-256 |
f2609fc18ec9cc5d643de987fd759e8aa6371eea8f3713321a2cdebadc7a806b
|
File details
Details for the file wellally-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wellally-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f849049953250a60924bf7f463f52c73cb9f669674475390253f204744b3489
|
|
| MD5 |
023476a7ccd0743868e20c83e740e76c
|
|
| BLAKE2b-256 |
cd5224e0304e96ba9137fdd11bdf984b474d4841abe98096c43f6e07fb1b5831
|