Skip to main content

RX (Prescriptions)

The RX module manages prescription creation and processing within the Juleb pharmacy management system. This module handles the creation of prescriptions with associated prescription lines, patient information, doctor validation, and shipping services.

New to creating prescriptions through the API? Start with the How to Integrate guide, which walks through gathering the required IDs, creating a prescription, tracking its status, and retrieving the POS order once it's dispensed.

Key Features​

  • Patient Management: Automatic patient creation or lookup by phone
  • Multi-line Prescriptions: Support for multiple medications per prescription
  • Instruction Management: Dynamic instruction creation if not exists
  • Doctor Validation: Ensures prescriptions are created by validated clinic doctors
  • Branch Management: Associates prescriptions with specific company branches
  • Shipping Integration: Optional shipping service integration
  • Comprehensive Validation: Validates all related entities including products, doctors, patients, and branches

Core Functionality​

The RX module provides endpoints for:

  • Creating new prescriptions with comprehensive validation
  • Managing patient information (automatic creation/lookup)
  • Handling prescription lines with medication details
  • Processing prescription instructions
  • Integrating shipping services
  • Validating doctor credentials and branch associations