Products
DataVet holds a central list of products. You must submit a product from this list when adding medical records. It is recommneded you cache this list within your app and update peridorically.
Requests on this page assume you are sending the "Authorization" header.
Fetch
GET /api/products
This returns all the products in the system, paged by the default value of 20.
Get a Specific Product
GET /api/products/:id
Replacing :id with the product id.
Advanced Search
POST /api/products/search
{
"treatment_strategy": "Capsule"
}
This returns all matching products, paged by the default value of 20.
Data
Field Name | Type | Notes |
---|---|---|
_id | string | Unique product id |
treatment_strategy | array (string) | Contains the various treatment strategies |
target_species | array (string) | Contains the various species treated by this product |
controlled_drug | boolean | True indicates this is a controlled drug |
active_substances | array (string) | Contains the active substances in this product |
authorization_route | string | The authorisation route of this product |
theraputic_group | string | The theraputic group of this product |
date_of_issue | object (date) | Contains the date the drug was granted authorisation |
distributors | array (string) | Contains a list of the distributors for this product |
ma_holder | string | Contains the markerting authorisation (MA) holder. |
product_name | string | The name of the product |