# Get medication by ID Retrieve detailed information about a specific medication. Scoped by account. Endpoint: GET /partner/v2/account/{accountId}/health-profile/medications/{medicationId} Version: 2.0 Security: PartnerOAuth ## Path parameters: - `accountId` (integer, required) Account identifier - `medicationId` (integer, required) Medication ID ## Response 200 fields (application/json): - `active` (boolean) Whether this record is active Example: true - `createdAt` (string) Creation timestamp Example: "2022-03-01T10:00:00Z" - `createdBy` (string) Created by (staff name) Example: "Dr. Jane Smith" - `diagnoses` (array) Related diagnoses - `diagnoses.diagnosisCode` (string) Diagnosis code (ICD-10) Example: "I10" - `diagnoses.diagnosisText` (string) Diagnosis description Example: "Essential (primary) hypertension" - `diagnoses.id` (integer) Unique diagnosis identifier Example: 12345 - `diagnoses.updatedAt` (string) Last update timestamp Example: "2023-01-10T14:30:00Z" - `diagnoses.updatedBy` (string) Last updated by (staff name) Example: "Dr. Jane Smith" - `directions` (string) Dosage/usage instructions Example: "Take 1 tablet by mouth daily" - `endDate` (string) End date Example: "2023-03-01" - `id` (integer) Unique medication identifier Example: 12345 - `name` (string) Medication name Example: "Lisinopril 10mg" - `patientId` (integer) Patient ID Example: 67890 - `referenceId` (string) Drug code identifier (NDC, RxNorm) Example: "68180-513-01" - `startDate` (string) Start date Example: "2022-03-01" - `status` (string) Medication status Enum: "ACTIVE", "ON_HOLD", "DISCONTINUED", "COMPLETED", "UNKNOWN" ## Response 401 fields ## Response 403 fields ## Response 404 fields