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
}
}
Retrieve prescriptions for a patient or appointment
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
}
}
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
}
}