Skip to main content
GET
/
api
/
v1
/
emr
/
prescriptions
curl -X GET "https://api.nevatal.com/api/v1/emr/prescriptions?patientId=pat_abc123" \
  -H "Authorization: Bearer nvtl_your_api_key"
{
  "data": [
    {
      "id": "rx_001",
      "patientId": "pat_abc123",
      "appointmentId": "apt_xyz789",
      "medications": [
        {
          "name": "Ibuprofeno 400mg",
          "dosage": "1 tableta cada 8 horas",
          "duration": "5 días",
          "instructions": "Tomar después de las comidas"
        }
      ],
      "diagnosis": "Dolor post-operatorio",
      "createdBy": "usr_doctor456",
      "createdAt": "2025-04-01T10:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 3
  }
}

Query Parameters

patientId
string
Filter by patient
appointmentId
string
Filter by appointment
page
integer
default:"1"
Page number
limit
integer
default:"20"
Results per page
curl -X GET "https://api.nevatal.com/api/v1/emr/prescriptions?patientId=pat_abc123" \
  -H "Authorization: Bearer nvtl_your_api_key"
{
  "data": [
    {
      "id": "rx_001",
      "patientId": "pat_abc123",
      "appointmentId": "apt_xyz789",
      "medications": [
        {
          "name": "Ibuprofeno 400mg",
          "dosage": "1 tableta cada 8 horas",
          "duration": "5 días",
          "instructions": "Tomar después de las comidas"
        }
      ],
      "diagnosis": "Dolor post-operatorio",
      "createdBy": "usr_doctor456",
      "createdAt": "2025-04-01T10:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 3
  }
}