mediQuo

mediQuo

›API Reference

Overview

  • Getting Started

API Reference

  • Overview
  • Activation Codes
  • Patients
  • Prescriptions
  • Professionals
  • Messages
  • Troubleshooting

Android SDK

  • Installation
  • Professional List
  • Medical history
  • Customization
  • Other funcionalities
  • Changelog

iOS SDK

  • Installation
  • Professional List
  • Medical history
  • Customization
  • Other funcionalities
  • Changelog

Widget

  • Introduction
  • Permament session

    • Integration
    • Authentication

    Temporal session

    • Integration
  • Methods
  • Customization
  • Events

Prescriptions

Contains the information about prescriptions in the mediQuo ecosystem.

Authentication and rate limits

AuthenticationRate limits
HTTP Headers600 requests per minute

Learn more about rate limits.

Get prescription

GET /api/v1/prescriptions/{code}

Use this endpoint to retrieve the prescription information by its code.

Endpoint URL

https://sdk.mediquo.com/api/v1/prescriptions/{code}

Request parameters

No parameters

Response fields

NameTypeDescription
patientPatientPatient information
patient.first_namestringPatient first name
patient.last_namestringPatient last name
patient.genderstringPatient gender (male or female)
patient.birth_datestringPatient birth date (Y-m-d)
active_substancesarrayActive substance names detailed in the prescription
urlstringDownload URL

Default response

Status: 200 OK
{
  "data": {
    "patient": {
      "first_name": "John",
      "last_name": "Doe",
      "gender": "male",
      "birth_date": "1990-01-01"
    },
    "active_substances": [
      "Paracetamol",
      "Amoxicilina",
      "Loratadina"
    ],
    "download_url": "https://sdk.mediquo.com/api/v1/prescriptions/8da0198f-33fa-4dbf-8f50-bbefe6fe15c/download"
  }
}

Download prescription PDF

GET /api/v1/prescriptions/{code}/download

Use this endpoint to download the prescription file in PDF format.

Endpoint URL

https://sdk.mediquo.com/api/v1/prescriptions/{code}/download

Response

Status: 200 OK
Content type: application/pdf
← PatientsProfessionals →
  • Get prescription
    • Endpoint URL
    • Request parameters
    • Response fields
    • Default response
  • Download prescription PDF
    • Endpoint URL
    • Response
MediQuo PRO Logo
Copyright © 2023 mediQuo