Skip to content

Pharmacy Registry

Pipeline-Managed Service

This service is deployed and managed by its CI/CD pipeline.

For current deployment status, configurations, and code:

  • Repository: https://repo.local/healthflow/ndp-pharmacy-registry
  • CI/CD Status: Check pipeline dashboard

Overview

The Pharmacy Registry maintains master data for all licensed pharmacies in Egypt, including location, licensing, and operational status information.

Purpose

  • Register and manage pharmacy information
  • Track pharmacy licenses
  • Maintain pharmacy locations
  • Manage pharmacy status
  • Provide pharmacy search and lookup
  • Track pharmacy capabilities

Key Features

  • Pharmacy registration
  • License validation
  • Location-based search
  • Operating hours tracking
  • Service capabilities
  • Stock availability indicators

Data Model

typescript
interface Pharmacy {
  id: string;
  pharmacyName: string;
  licenseNumber: string;

  // Location
  governorate: string;
  city: string;
  district: string;
  address: string;
  coordinates: { lat: number; lng: number };

  // Contact
  phone: string;
  email: string;
  website: string;

  // Operations
  operatingHours: OperatingHours[];
  services: string[]; // ['DISPENSING', '24_HOUR', 'DELIVERY', 'COMPOUNDING']

  // Status
  status: "ACTIVE" | "SUSPENDED" | "CLOSED";
  licenseExpiry: Date;

  // Metadata
  registeredAt: Date;
  lastInspection: Date;
}

API Endpoints

GET /api/v1/pharmacies/:id
GET /api/v1/pharmacies/license/:licenseNumber
GET /api/v1/pharmacies/search
GET /api/v1/pharmacies/nearby