REFERENCE
The medicine object
One medicine: one brand in one strength and dosage form. A value no source gives is null, never a blank, a zero or an estimate.
Fields
A value no source gives is
null.| FIELD | TYPE | WHAT IT HOLDS |
|---|---|---|
id | string | The medicine's ID in your account's ID profile. Show it to people; it never changes and is never reused. |
uuid | string | The key that never changes. Store it to match a medicine across syncs. |
brand | string | |
category | string or null | Reserved for a symptom category. null for every medicine today. |
product_name | string | Brand, strength and dosage form together. |
product_image | string or null | Reserved for an image. null for every medicine today. |
unit | string or null | The pack's unit, such as Strip or Bottle. |
size | string or null | The pack's size, such as 10 Tablets or 200 ml. |
price | number or null | MRP in Bangladeshi taka (BDT) of what price_per names. null when unit_prices holds the prices instead. |
price_per | string or null | What price buys: unit, strip, or the pack as its source names it, such as 100 ml bottle. |
price_source | string or null | Where the price comes from. The DGDA price list comes first when it has one. |
unit_prices | list | The unit price in each pack size, cheapest first, when price_source gives several (a 15 gm and a 30 gm tube). price and price_per are then null, unless a person chose one size as the price. Empty when the source gives one price. |
description_en | string or null | A description in English. |
description_bn | string or null | A description in Bangla. |
dosage_form | string or null | |
strength | string or null | |
generic_name | string or null | |
manufacturer | string or null | |
source_url | string or null | The page the record was read from. |
last_updated | time | When any field of this record last changed. Sync uses it. |
dgda_listed | boolean | true when a DGDA registration (DAR number) links to the medicine. |
medicine_type | string or null | The DGDA register that lists it. null when no register lists it. |
- The medicine's ID in your account's ID profile. Show it to people; it never changes and is never reused.
idstring - The key that never changes. Store it to match a medicine across syncs.
uuidstring brandstring- Reserved for a symptom category.
categorystring or nullnullfor every medicine today. - Brand, strength and dosage form together.
product_namestring - Reserved for an image.
product_imagestring or nullnullfor every medicine today. - The pack's unit, such as
unitstring or nullStriporBottle. - The pack's size, such as
sizestring or null10 Tabletsor200 ml. - MRP in Bangladeshi taka (BDT) of what
pricenumber or nullprice_pernames.nullwhenunit_pricesholds the prices instead. - What
price_perstring or nullpricebuys:unit,strip, or the pack as its source names it, such as100 ml bottle. - Where the price comes from. The DGDA price list comes first when it has one.
price_sourcestring or null - The unit price in each pack size, cheapest first, when
unit_priceslistprice_sourcegives several (a 15 gm and a 30 gm tube).priceandprice_perare thennull, unless a person chose one size as the price. Empty when the source gives one price. - A description in English.
description_enstring or null - A description in Bangla.
description_bnstring or null dosage_formstring or nullstrengthstring or nullgeneric_namestring or nullmanufacturerstring or null- The page the record was read from.
source_urlstring or null - When any field of this record last changed. Sync uses it.
last_updatedtime dgda_listedbooleantruewhen a DGDA registration (DAR number) links to the medicine.- The DGDA register that lists it.
medicine_typestring or nullnullwhen no register lists it.