Medical Package v1.0.0

CDES-M

Medical Cannabis & FHIR Integration

HL7 FHIR-compliant data models for medical cannabis. Integrate cannabis data with EHR systems, patient records, and healthcare workflows.

pip install cdes-m

Healthcare Integration Features

FHIR Resources

Native HL7 FHIR R4 resource support for MedicationRequest and MedicationStatement.

Patient Records

Link cannabis prescriptions to patient records with proper healthcare identifiers.

Dosing Models

Standardized dosing instructions with timing, route, and method specifications.

EHR Integration

Connect to Epic, Cerner, and other major EHR systems via FHIR APIs.

Quick Example

from cdes_m import MedicalCannabisPatient, Prescription

# Create a patient record
patient = MedicalCannabisPatient(
    patient_id="P12345",
    mmj_card_number="FL-MMJ-2024-001",
    conditions=["chronic_pain", "anxiety"]
)

# Create a prescription
prescription = Prescription(
    strain_name="Blue Dream",
    dosing="10mg THC twice daily",
    route="inhalation"
)

# Export as FHIR MedicationRequest
fhir_resource = prescription.to_fhir()

Compliance & Standards

HL7 FHIR R4

Full compliance with HL7 FHIR Release 4 specification.

HIPAA Ready

Designed with HIPAA compliance requirements in mind.

State Compliant

Support for state-specific medical cannabis regulations.

Ready for healthcare integration?

Install cdes-m to connect cannabis data with your healthcare systems.

View Presentation