This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||
|
- Changes log
Infobox drug: Changes log
|
---|
|
Proposal: Add a regular line for International Non-proprietary Names
Suppose I want to know more about Viagra, I search with the term viagra because that's the WP:COMMONNAME. I find that the title page is Sildenafil and it's the first name suggested in the first sentence, if I wish to find information about the origin of Sildenafil, the infobox shows that it is the name used by the FDA, and that it appears in the chemical nomenclature of its metabolite, but nothing else, I suspect the name comes from the FDA, but I cannot be sure. I assumes that Sildenafil is "the official name", but I might be skeptic about the notion of a single offical name.
I tried to add a line " INN = Sildenafil" but that just causes a tooltip to appear beneath the title of the infobox, since they are both the same, it looks weird.
I understand that by default, the policy is to name the article according to the INN, but this is not transparent to most users, who cannot navigate through wikipedia's policy to finally understand that the name comes from this thing called the INN.
If I could just add a field "INN= Sildenafil" to the infobox, it would make the naming convention explicit, and it would allow regular users to explore the concept of INN. It would also allow editors to add sources regarding INN nomenclature.
Thank you for your time.--TZubiri (talk) 05:15, 14 August 2020 (UTC)
- I support this proposal. Sure our guideline is: "article title = INN", but that does not show what the INN is. Will reply more later on. (exceptions: see Category:Infobox drug articles with non-default infobox title (779)). -DePiep (talk) 23:13, 12 September 2020 (UTC)
Add flag to identify as a stub-infobox when also have a chembox
On articles that have both {{Chembox}} and {{Infobox drug}}, lots of the "chemical" fields are omitted from the drugbox to avoid duplication and keep content where it is most relevent. But drugbox also tracks certain missing fields, including some that get deffered to the chembox in these cases. That pollutes the tracking categories for things that are intentionally not to be done. For example, Niacin has the chemical structure and CASNo in the chembox and therefore blank fields {{Infobox drug|image=|CAS_number=}}
, which triggers the article to be listed in Category:Infobox drug articles without a structure image and Category:Chemical articles without CAS registry number, respectively.
We had a similar problem in Chembox when it was a secondary infobox, and in June, User:DePiep implemented
{{Chembox|container_only=yes}}
to stop whining about intentionally-missing fields (see Template talk:Chembox#Field to indicate only partial infobox). I propose a similar flag here for the drugbox. DMacks (talk) 03:29, 2 October 2020 (UTC)
Template-protected edit request on 18 October 2020
Please perform these two edits:
- All code from {{Infobox drug/maintenance categories/sandbox}} into {{Infobox drug/maintenance categories}} (overwrite, diff)
- All code from {{Infobox drug/sandbox}} into {{Infobox drug}} (overwrite, diff)
- Changes
- Add
|container_only=
per this talk; will populate new Category:Infobox drug container only - Remove unused, elaborate maintenance tracking options
- Remove minor and old comments
- Background
Discussion & consensus: this talk (following {{Chembox}} in this)
Tested: see /testcases9 and Niacin live (by preview)
Post-edit check: the demo article is Niacin. One can check this article, right after these edits, for any disruption.
- DePiep (talk) 19:01, 18 October 2020 (UTC)
- Thanks for working on this! If I'm reading the changes correctly (and that's a big if!),
|container_only=y
will inhibit all tracking of missing fields, which means|legal_*=
,|ATC_=
, and|license_*=
among others. I don't think that is the correct behavior, because those fields would not be covered by {{chembox}}. DMacks (talk) 19:26, 18 October 2020 (UTC)
- Restart. Many tracking categories in {{Chembox}} and {{Drugbox}} overlap, but not all. My current
|container_only=yes
proposal here suppresses most if not all of the generic chemicals & CheMoBot trackings. Meanwhile, in Drugbox detailed cat reportings like "EMA" input issues are tracked, which seems OK to me.
- So, my questions are: Why not proceed with the initial change (not article breaking assumed), and after that propose refinements? Or: what clear changes (I did not forsee or include) do you expect right away? -DePiep (talk) 19:53, 18 October 2020 (UTC)
- "would not be covered by {{chembox}}"? I don't understand. Which categories should we (systematically) suppress and which not? -DePiep (talk) 20:00, 18 October 2020 (UTC)
- First, I totally support getting this implemented as a start and I do not (by eye) see any breakage. I can be tweaked later. I would like to suppress in drugbox those fields that have equivalents in chembox. So anything that is only supported by drugbox would still be tracked as they currently are. I actually didn't know until I just checked that chembox has legal_* and pregnancy_* fields. Question for WPMED: if an article has both a chembox and a drugbox, which (or both) infobox should have them? DMacks (talk) 03:50, 19 October 2020 (UTC)
- I have changed the setup for
|container only=yes
. I cannot exactly reproduce the {{Chembox}} handling, because Chembox is more complicated and anyway, when using the template this way there is a bit of "you're on your own" consequence. {{Infobox drug}} however we can fine-tune. This is what the sandboxes have now:
- Categorise in Category:Infobox drug container only
- Do not categorise the negative tests: "image missing", "CAS number missing", "no legal status", Drugs missing ATC, ... This is the main reason to introduce
|container only=
. - Keep categorising parameter tests, when parameter value is entered (eg, analyse
|Legal_US=
when there is an issue with its actual input). - Bot Validation effects are kept (CheMoBot adding and setting the {{cascite}}-type templates for
|CAS number_Ref=
: as intended, and not added anyway if CAS number is absent so no undesired effect).
- One can check in code:
- {{Infobox drug/maintenance categories/sandbox}} -- regular categorisations
- {{Infobox drug/maintenance categories/container only}} -- new routine, called when
|container only=yes
. See the-xxx->
lines that cancelles (=comments out) categories.
- {{Infobox drug/maintenance categories/container only}} -- new routine, called when
Template-protected edit request on 7 November 2020
Please perform these two edits:
- All code from {{Infobox drug/maintenance categories/sandbox}} into {{Infobox drug/maintenance categories}} (overwrite, diff)
- All code from {{Infobox drug/sandbox}} into {{Infobox drug}} (overwrite, diff)
- Changes
- Add
|container_only=
per this talk; will populate new Category:Infobox drug container only - Remove unused maintenance tracking options
- Remove minor and old comments
- Background
Discussion & consensus: Following {{Chembox}} in this. See #this talk and #this withdrawn request with extended discussion. @DMacks:.
Tested: see /testcases9 and Niacin live (by preview)
Post-edit check: the demo article is Niacin. One can check this article, right after these edits, for any disruption. DePiep (talk) 14:54, 7 November 2020 (UTC)
- Done. It sounds to me that it would be well worth exploring whether these two templates can be merged — Martin (MSGJ · talk) 09:08, 18 November 2020 (UTC)
- Thanks. Yes the ../maintenance categories/.. templates can be merged. This step is just to make it work, and do cleanup. If I only knew the editor who did code it this way ;-) @Whywhenwhohow:. -DePiep (talk) 20:41, 18 November 2020 (UTC)
Is sources == source_tissues and targets == target_tissues?
Hey. I know jack shit about this subject, but I noticed that the code for calculating whether to show the metabolism parameter checks for the parameters {sources} and {targets} despite neither appearing anywhere else in the infobox code. I'm 99% sure that it's the {source_tissues} and {target_tissues} parameters that someone just forget to rename thoroughly. I don't have editing permissions - can someone who has please confirm that this is the case and then fix the code? --Metalindustrien (talk) 19:59, 9 November 2020 (UTC)
- Will take a look. Could you add example article(s)? -DePiep (talk) 20:01, 9 November 2020 (UTC)
- Example articles of what? I'm looking directly at the infobox's source code. --Metalindustrien (talk) 20:20, 9 November 2020 (UTC)
Background: parameters involved
|
---|
<!-- type=mab: ----- ----- --> | type = mab | mab_type = | source = | target = <!-- Physiological data --> | source_tissues = | target_tissues = ... | metabolism = <!-- same parameter as in pharmacokinetic data -->
|
- @DePiep: But it looks like |data58= looks for "sources", not source, and the context seems to specifically be about the source_tissue? (same with targets) --Metalindustrien (talk) 09:31, 10 November 2020 (UTC)
- Yes, to be fixed. Thanks for the fine report User:Metalindustrien. We'll wait until current Template-protected edit request is performed, /sandbox is now occupied. -DePiep (talk) 15:25, 10 November 2020 (UTC)
- @DePiep: But it looks like |data58= looks for "sources", not source, and the context seems to specifically be about the source_tissue? (same with targets) --Metalindustrien (talk) 09:31, 10 November 2020 (UTC)
- Checked, using Parameter usage report for Template:Infobox drug. (Look for parameters
|source_tissues, target_tissues=
in there, lists 10 articles). It appears that, in spite of the two misnamed parameters, the #if-clause in|data58=
does fire correctly because of other parameters having data. So, at the moment no errors in articles. Of course, we will fix the issue. -DePiep (talk) 20:00, 10 November 2020 (UTC)
- Checked, using Parameter usage report for Template:Infobox drug. (Look for parameters
Template-protected edit request on 19 November 2020
Please replace all live code with /sandbox code:
- {{Infobox drug/sandbox}} → {{Infobox drug}} (diff)
Change: replace |
, sources=|
with targets=|source_tissues=
, |target_tissues=
. Replace non-existant parameter names.
Talk & test: Old code error. See above #Is sources ... source_tissues ... ?; F3 and visual checks. h/t @Metalindustrien: DePiep (talk) 23:10, 19 November 2020 (UTC)
- To editors DePiep and Metalindustrien: done, and thank you very much! P.I. Ellsworth ed. put'r there 04:43, 20 November 2020 (UTC)
Template-protected edit request on 2 December 2020
Hi, could anyone with the ability to edit this template be so kind to add the legal statuses for legal_SG (Singapore)? I think it would be really useful and once added I will start adding the appropriate legal classes/schedules onto the most common drugs/medications. It will be based upon the Misuse of Drugs Act (OTC, Rx-only, Schedule I, II, III or Unscheduled) first enacted in 1973. Thank you! BelfastBrooks (talk) 08:07, 2 December 2020 (UTC)
|legal_SG=
|legal_SG_comment=
- Put on pause: I will build the sandbox for this. Meanwhile, editor can discuss appropriateness of this proposal (for example, which of the ~200 countries should be added this way?). @BelfastBrooks:. -DePiep (talk) 13:09, 2 December 2020 (UTC)
- Input options, recognised:
|legal_SG=otc / prescription only, rx-only, rx only / s1, schedule i, schedule 1 / s2, schedule ii, schedule 2 / s3, schedule iii, schedule 3
. Not recognised → Category:Drugs with non-standard legal status under "G". |legal_SG_comment=any text
, will show unedited after a space (consider using brackets).- Testcases: see /testcases3#Legal for SG.
- @BelfastBrooks: please check the testcases and its links. (Good plan to have the 'schedule's only, not the details). OK? -DePiep (talk) 14:16, 2 December 2020 (UTC)
- @DePiep: Looks good to me! BelfastBrooks (talk) 01:01, 3 December 2020 (UTC)
- Input options, recognised:
- Request: Please replace all live code with all sandbox code, twice:
- {{Infobox drug}} ← {{Infobox drug/sandbox}} (diff)
- {{Infobox drug/legal status}} ← {{Infobox drug/legal status/sandbox}} (diff)
- Changes: Options SG (Singapore) added to Legal status.
- Discuss and test: see above, and /testcases3#Legal for SG (now defunct). -DePiep (talk) 15:04, 3 December 2020 (UTC)
Meanwhile, editor can discuss appropriateness of this proposal (for example, which of the ~200 countries should be added this way?)
I think this is an important point. I'm guessing we list options for the countries which are most popular amongst readers, but that's just a guess. Obviously we couldn't (and shouldn't) list it for every country on the map. Does an inclusion criteria for this label already exist? ProcrastinatingReader (talk) 18:12, 3 December 2020 (UTC)- Not explicitly, but IIRC recently a country that has no article about their legal status (such as [[Misuse of Drugs Act (Singapore)] for SG) was denied addition. If list control is not acceptible, a solution would be to move the list out of the infobox into a body section (after all, it is not infobox-info derived from the article body anyway). Agree we should discuss this separately, User:ProcrastinatingReader? -DePiep (talk) 18:25, 3 December 2020 (UTC)
- Maybe. Last addition seems to be Brazil in 2017. I think it makes sense to have it in the infobox, as a reader I frequently found it useful information, especially when I didn't read much else of the article, so I don't think moving this out is a good idea. Whilst just adding one more is not a problem, the same argument could be made for every edit request, and I think without any inclusion criteria it's hard to give a good answer on why we list some countries but not others (and any more than ~6-10 countries would look ridiculous). Maybe it's better we decide that before we implement this - once people start using it on articles it's an uphill battle to remove a param. But those are just my initial thoughts; it looks like you were the maintainer for this template, so what are your thoughts? ProcrastinatingReader (talk) 18:32, 3 December 2020 (UTC)
- I have no objections to add SG now, being an increment of an existing list. There is no argument like "7 is the max", let alone "These 7 are the right ones". Criteria should be discussed separately, and will apply to all countries and institutes (like EU, UN), already present or not. With that discussion, I'dd add we should follow MOS:INFOBOX: the infobox is an article summary not, e.g., a package insert for conveniance (so split out into a section is a solution). Can you agree to split the discussion? -DePiep (talk) 21:28, 3 December 2020 (UTC)
- What do you mean by split? As in add this now, and discuss inclusion criteria later? ProcrastinatingReader (talk) 07:13, 4 December 2020 (UTC)
- I have no objections to add SG now, being an increment of an existing list. There is no argument like "7 is the max", let alone "These 7 are the right ones". Criteria should be discussed separately, and will apply to all countries and institutes (like EU, UN), already present or not. With that discussion, I'dd add we should follow MOS:INFOBOX: the infobox is an article summary not, e.g., a package insert for conveniance (so split out into a section is a solution). Can you agree to split the discussion? -DePiep (talk) 21:28, 3 December 2020 (UTC)
- Maybe. Last addition seems to be Brazil in 2017. I think it makes sense to have it in the infobox, as a reader I frequently found it useful information, especially when I didn't read much else of the article, so I don't think moving this out is a good idea. Whilst just adding one more is not a problem, the same argument could be made for every edit request, and I think without any inclusion criteria it's hard to give a good answer on why we list some countries but not others (and any more than ~6-10 countries would look ridiculous). Maybe it's better we decide that before we implement this - once people start using it on articles it's an uphill battle to remove a param. But those are just my initial thoughts; it looks like you were the maintainer for this template, so what are your thoughts? ProcrastinatingReader (talk) 18:32, 3 December 2020 (UTC)
- Not explicitly, but IIRC recently a country that has no article about their legal status (such as [[Misuse of Drugs Act (Singapore)] for SG) was denied addition. If list control is not acceptible, a solution would be to move the list out of the infobox into a body section (after all, it is not infobox-info derived from the article body anyway). Agree we should discuss this separately, User:ProcrastinatingReader? -DePiep (talk) 18:25, 3 December 2020 (UTC)
UNII formatter URL
The {{Infobox drug/formatUNII}} formatter URL currently differs from the UNII (P652) formatter URL. This infobox appears less correct. int21h (talk · contribs · email) 04:42, 15 December 2020 (UTC)
- Put it in /sandbox: See diff. (todo: test).
- One question: the WD formatter URL (P1630) (as in UNII (P652)), has an !exclamation mark notice, noting an issue. Is that issue relevant in this (is it limiting)? -DePiep (talk) 20:50, 15 December 2020 (UTC)
- Thanks. No I don't think the exclamation is an issue: the formatter URL is without a reference, but an editor wanted to date when the information was retrieved. (They're supposed to add a reference and note when that reference was retrieved.) int21h (talk · contribs · email) 02:02, 16 December 2020 (UTC)
- Test {{Infobox drug/formatUNII}} diff permanent, for aspirine:
- live
- Current enwiki [1]: R16CO5Y76E
- sandbox
- WD url formatter [2]: R16CO5Y76E
Obviously, the enwiki url is redirected to the WD url, so the change is due. Will make the editrequest. -DePiep (talk) 13:53, 16 December 2020 (UTC)
Template-protected edit request on 16 December 2020
Please put all code from in {{Infobox drug/formatUNII/sandbox}} into {{Infobox drug/formatUNII}} (full replacement), diff.
Change, talk & test: External link URL format updated. See #UNII formatter URL above. ping @Int21h: DePiep (talk) 13:58, 16 December 2020 (UTC)
- Done ProcrastinatingReader (talk) 00:28, 18 December 2020 (UTC)
Pregnancy_US parameter
We should remove the |pregnancy_US=
parameter since the FDA doesn't use letter categories any longer. They were replaced by the Pregnancy and Lactation Labeling Final Rule (PLLR). Here is an excerpt from Drugs.com:
Prescription drugs submitted for FDA approval after June 30, 2015 will use the new format immediately, while labeling for prescription drugs approved on or after June 30, 2001 will be phased in gradually. Medications approved prior to June 29, 2001 are not subject to the PLLR rule; however, the pregnancy letter category must be removed by June 29, 2018. For generic drugs, if the labeling of a reference listed drug is updated as a result of the final rule, the abbreviated new drug application (ANDA) labeling must also be revised. Labeling for over-the-counter (OTC) medicines will not change, as OTC drug products are not affected by the new FDA pregnancy labeling.
By the way, when 'N' is used for |pregnancy_US=
, the text "US: N (Not classified yet)" appears in the infobox. The "yet" should be removed. It is confusing to readers and some editors try to find the category to use to replace the 'N'. --Whywhenwhohow (talk) 20:35, 28 December 2020 (UTC)
- Replaced by a 'narrative' I understand, and so not fit for the infobox. Will work on this removal. -DePiep (talk) 21:29, 28 December 2020 (UTC)
- {{Infobox drug}} also has
|PLLR=
, free text input (label link). Was added 2015, see also this talk. - See a monthly parameter usage report for Template:Infobox drug in articles.
|Pregnancy_US=
1315 articles (mainspace)|PLLR=
0 articles (mainspace)- @Whywhenwhohow: Remove both? -DePiep (talk) 21:41, 28 December 2020 (UTC)
- @DePiep: Some articles use
|pregnancy_category=
instead of|pregnancy_US=
. I think it makes sense to remove|pregnancy_US=
,|pregnancy_US_comment=
,|pregnancy_category=
, and|PLLR=
. Australia still assigns category letters to medicines. --Whywhenwhohow (talk) 00:12, 29 December 2020 (UTC)
- @DePiep: Some articles use
- {{Infobox drug}} also has
Template-protected edit request on 29 December 2020
Please replace all code with all sandbox code, in these two templates:
- {{Infobox drug}} ← {{Infobox drug/sandbox}} (diff)
- {{Infobox drug/pregnancy category}} ← {{Infobox drug/pregnancy category/sandbox}} (diff)
Changes, talk and test: See § Pregnancy US parameter; US pregnancy category code abolished, so no showing. /testcases3. DePiep (talk) 11:42, 29 December 2020 (UTC)
- To editors DePiep and Whywhenwhohow: done, Happy New Year and thank you both very much! P.I. Ellsworth ed. put'r there 02:30, 30 December 2020 (UTC)
- Thanks, User:Paine Ellsworth, and best wishes to you, all year long! Nice to ping WWWH btw, and Have Nice Edits In 2021 :-) -DePiep (talk) 02:34, 30 December 2020 (UTC)
DrugBank
FYI, DrugBank changed domains from drugbank.ca to drugbank.com. --Whywhenwhohow (talk) 04:21, 27 January 2021 (UTC)
- I am a bit confused. Official website seems to be:
- go
.drugbank .com (https)
- go
- Formatter for DrugBank ID (P715) says:
- https://www.drugbank.ca/r/DB$1 Jun 2020, "/r/" for resolve
- and
- What to use in code?
- See also: {{DrugBank}}, WD: DrugBank (Q1122544), DrugBank ID (P715)
- WD not used, here for reference:
- Plus, we could think of adding the WD link automatically (with overrule by local enwiki input).
- -DePiep (talk) 13:14, 27 January 2021 (UTC)
The official website is now https://www.drugbank.com/ and any drug detail pages using the hostname www.drugbank.ca
are redirected to use the hostname go.drugbank.com
. For example, Asprin was at https://www.drugbank.ca/drugs/DB00945 and is now at https://go.drugbank.com/drugs/DB00945. The only changes to the URL appear to be changing www.drugbank.ca
to go.drugbank.com
.
Do we support using |Drugbank=
for uses other than drugs? For example, here is a sample target and a sample indication.
The use of "r" for resolve appears to be old. For example, using https://www.drugbank.ca/r/DB00945 for Asprin is the same as using https://www.drugbank.ca/drugs/DB00945 and is now at https://go.drugbank.com/drugs/DB00945.
--Whywhenwhohow (talk) 05:05, 28 January 2021 (UTC)
Is |Drugbank=
used in the {{Chembox}}? If so, it would need to be updated too. --Whywhenwhohow (talk) 05:09, 28 January 2021 (UTC)
Another use is for salts but using drugs in the URL redirects to the salts. Using any of these
- https://drugbank.ca/drugs/DBSALT000110
- https://drugbank.ca/salts/DBSALT000110
- https://go.drugbank.com/drugs/DBSALT000110
redirects to here
--Whywhenwhohow (talk) 05:21, 28 January 2021 (UTC)
Template-protected edit request on 30 January 2021
Please replace all code {{Infobox drug}} ← {{Infobox drug/sandbox}} (diff).
- Change: re-insert three parameters into the whitelist, to prevent excessive error categorising. No effect in mainspace rendering.
- Background: This edit correctly removed three parameters (do not show any more). Also, the parameters were removed from the "Know parameters" whitelist. Unfortunately, this reports almost all {{Infobox drug}} articles, ~5500, into the Category:Chemical articles with unknown parameter in Infobox drug (0) making it useless ;-(
- Consensus: administrative (maintenance) change only, no effect in Mainspace. DePiep (talk) 18:25, 30 January 2021 (UTC)
- Done Izno (talk) 05:30, 1 February 2021 (UTC)
WP:MED: Infobox drug - redesign talk
See this discussion about redisigning {{Infobox drug}} at WT:MED: § A slimmer, more reader-friendly drugbox?. -DePiep (talk) 22:24, 30 January 2021 (UTC)
Date(s) of patent/patent expiration/generic potential availability
<revived/highlights of past discussion;
It is extremely useful to know date that patents are issued. Please consider adding this to the drug box. — Preceding unsigned comment added by 63.247.31.113 (talk) 23:50, 28 July 2011 (UTC)
Is there no website that lists drugs patent date in the USA? then you could just link to it as an external link. The drug box is faster for doctors than reading a history. i hope you reconsider and add it to the drug box. — Preceding unsigned comment added by 63.247.31.123 (talk), 2011
- When generic become available is very important especially for our colleagues in the developing world as this affects the price. am unable to find this information. If someone knows of a place would be happy to look at it. Most drugs become generic at the same time around the world with international patents. Doc James (talk · contribs · email), 2011
- How 'bout https://www.drugpatentwatch.com/p/graph/index.php?graphname=patentbytradename&step=byyear&tradename=MAVENCLAD ? --50.201.195.170 (talk) 22:23, 5 February 2021 (UTC)
- While the following estimates are for the US, they may also give a rough indication of when generics might become available in other countries:
- "Estimated Dates of Possible First Time Generic/ Rx-to-OTC Market Entry" (pdf). Medco Health Solutions, Inc. 2011. Retrieved 2011-08-30. Boghog (talk) 01:20, 30 August 2011 (UTC)
- While the following estimates are for the US, they may also give a rough indication of when generics might become available in other countries:
What's going on with this? I search the page and there isn't even a mention of 'generic' or 'patent' to add this info manually. Let's do something that's better than nothing. 10 years have passed!
Add field year1stPatentEnds [edit or if more standard: year_patent1_ends seems more consistent] to the template. Feel free to be more ambitious, but I'm just requesting a simple static field that accepts a number. 50.201.195.170 (talk) 20:22, 5 February 2021 (UTC)
- LOL - ec - was trying to ping you. What's wrong with the layout of what, specifically - this section? Complaining doesn't help. You clearly have a minority view if you're saying no date(s) of patent/patent expiration/generic potential availability at all. --50.201.195.170 (talk) 22:11, 5 February 2021 (UTC)