clinik.medications namespace manages FHIR Medication resources — entries in your drug catalog that describe a medication’s identity, form, and ingredients. This is distinct from clinik.prescriptions, which authorizes a medication for a patient. Think of medications as the catalog and prescriptions as the orders against it.
create
Create a newMedication. The code field is required.
The medication identity. Pass a free-text name string or a coded concept using RxNorm, SNOMED CT, or another terminology system.
Whether the medication is available for use. Defaults to
active.Dosage form, for example
tablet, capsule, injection, solution.Active and inactive ingredients. Each entry contains an
item (coded concept), an isActive flag, and an optional strength with numerator and denominator quantities.Batch or lot information for inventory and traceability.
Examples
read
Fetch a single medication by ID.update
Partially update a medication record. Only the fields you include are changed.Example: mark a medication inactive
delete
Permanently delete a medication from the catalog.search
Search your medication catalog by status with cursor pagination.Filter by
active or inactive.Results per page. Maximum is
100.Pagination cursor from a previous response.