Appearance
getConditionMedications ​
Retrieves a list of medications associated with a given condition and country.
Request ​
http
GET /rest/refdata/condition-medicationsQuery Parameters ​
| Parameter | Type | Required | Description |
|---|---|---|---|
conditionId | integer | Yes | Condition ID (from getConditions) |
countryCode | string | Yes | 2-character ISO country code |
Example ​
http
GET /rest/refdata/condition-medications?conditionId=86&countryCode=AUResponse ​
200 OK ​
json
[
{
"medicationId": 1,
"countryCode": "AU",
"name": "Humira",
"manufacturer": "AbbVie",
"tradeName": "Humira",
"genericName": "adalimumab"
}
]| Field | Type | Description |
|---|---|---|
medicationId | integer | Primary key of the medication |
countryCode | string | ISO country code |
name | string | Display name of the medication |
manufacturer | string | Manufacturer name |
tradeName | string | Trade/brand name |
genericName | string | Generic/chemical name |
Errors ​
| Exception | Cause |
|---|---|
WSRefDataServiceException | Service error while fetching condition medications |