Platform Under Development - Demo Version

RESTful API • HL7 FHIR R5

MedianAPI Reference

Comprehensive REST API for healthcare integrations. Build powerful applications with our well-documented, standards-compliant API.

156
API Endpoints
10K
Requests/Hour
99.99%
Uptime SLA

Quick Start

Get started with the Median API in minutes. Install our SDK, authenticate, and make your first API call.

1

Install SDK

Choose your preferred language and install the official SDK

2

Get API Keys

Generate your API credentials from the dashboard

3

Make API Calls

Start building with our comprehensive API endpoints

installation.sh
# Install Median SDK
npm install @lydianmedi/sdk

# Or using Python
pip install lydianmedi-sdk

# Or using Java (Maven)
<dependency>
  <groupId>com.lydianmedi</groupId>
  <artifactId>lydianmedi-sdk</artifactId>
  <version>2.0.0</version>
</dependency>

API Features

Enterprise-grade API built for healthcare

RESTful Architecture

Clean, predictable REST API following industry best practices

OAuth 2.0 Authentication

Secure authentication with industry-standard OAuth 2.0 protocol

Rate Limiting

10,000 requests per hour with automatic throttling

HL7 FHIR R5 Support

Full support for FHIR R5 resources and operations

Comprehensive SDKs

Official SDKs for JavaScript, Python, Java, C#, Ruby, and PHP

99.99% Uptime SLA

Enterprise-grade reliability with redundant infrastructure

API Endpoints

Patient Management

GET/api/v1/patientsList all patients
POST/api/v1/patientsCreate new patient
GET/api/v1/patients/:idGet patient by ID
PUT/api/v1/patients/:idUpdate patient
DELETE/api/v1/patients/:idDelete patient

Appointments

GET/api/v1/appointmentsList appointments
POST/api/v1/appointmentsSchedule appointment
PUT/api/v1/appointments/:idUpdate appointment
DELETE/api/v1/appointments/:idCancel appointment

Laboratory

GET/api/v1/lab/ordersList lab orders
POST/api/v1/lab/ordersCreate lab order
GET/api/v1/lab/results/:idGet lab results
POST/api/v1/lab/resultsSubmit lab results

Pharmacy

GET/api/v1/prescriptionsList prescriptions
POST/api/v1/prescriptionsCreate prescription
GET/api/v1/medicationsSearch medications
POST/api/v1/prescriptions/:id/fillFill prescription

Billing

GET/api/v1/invoicesList invoices
POST/api/v1/invoicesCreate invoice
POST/api/v1/paymentsProcess payment
GET/api/v1/claimsList insurance claims

Example Code

See how easy it is to integrate Median into your application

example.js
// Initialize Median API client
const Median = require('@lydianmedi/sdk');

const client = new Median({
  apiKey: 'your_api_key_here',
  environment: 'production'
});

// Create a new patient
const patient = await client.patients.create({
  firstName: 'John',
  lastName: 'Doe',
  dateOfBirth: '1980-05-15',
  gender: 'male',
  email: 'john.doe@example.com',
  phone: '+1-555-0123',
  address: {
    street: '123 Main St',
    city: 'Boston',
    state: 'MA',
    zipCode: '02101'
  }
});

console.log('Patient created:', patient.id);

// Schedule an appointment
const appointment = await client.appointments.create({
  patientId: patient.id,
  providerId: 'dr_smith_123',
  departmentId: 'cardiology',
  appointmentDate: '2026-01-20T10:00:00Z',
  duration: 30,
  type: 'consultation',
  notes: 'Follow-up for cardiac evaluation'
});

console.log('Appointment scheduled:', appointment.id);

Ready to Build?

Get your API keys and start integrating Median into your healthcare applications today