Fix Linter errors. |
Lowercase sigmabot III (talk | contribs) m Archiving 2 discussion(s) to Template talk:Infobox drug/Archive 19) (bot |
||
(43 intermediate revisions by 9 users not shown) | |||
Line 38: | Line 38: | ||
* 2019-04-22: add DTXSID, DTXSID2 for CompTox database el (uses P3117) |
* 2019-04-22: add DTXSID, DTXSID2 for CompTox database el (uses P3117) |
||
* 2020-07-05: [[:Category:Infobox-drug molecular-weight unexpected-character]]: +main other |
* 2020-07-05: [[:Category:Infobox-drug molecular-weight unexpected-character]]: +main other |
||
{{Warning|1=This list is over a dozen edits out of date. See [https://en.wikipedia.org/w/index.php?title=Template:Infobox_drug&action=history Template:Infobox_drug&action=history].}} |
|||
{{collapse bottom}} |
{{collapse bottom}} |
||
Line 46: | Line 47: | ||
:Interesting thoughts. Got sources? FYI, I'm working on adding an indicator on pages for drugs that have [[black box warnings]]. I found a source database but I'm struggling to figure out the correct edits to the templates. ([[Template talk:Infobox drug/legal status/sandbox]], and/or [[Template talk:Infobox drug/sandbox]]...) [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 04:28, 23 October 2023 (UTC) |
:Interesting thoughts. Got sources? FYI, I'm working on adding an indicator on pages for drugs that have [[black box warnings]]. I found a source database but I'm struggling to figure out the correct edits to the templates. ([[Template talk:Infobox drug/legal status/sandbox]], and/or [[Template talk:Infobox drug/sandbox]]...) [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 04:28, 23 October 2023 (UTC) |
||
:Tolerance in and of itself isn't an even remotely notable drug property. To the extent that it plays a role in drug dependence, it's necessary to understand. And, for what it's worth, sensitization of drug reward is the biological process that mediates the development of addiction; drug tolerance doesn't play any role in its pathophysiology. IMO, if there are any notable drug effects that tend to undergo tolerance or sensitization with repeated use, content about that should be added to the article, not dumped into an infobox with limited context. [[User:Seppi333|'''<span style="color:#32CD32;">Seppi</span>''<span style="color:Black;">333</span>''''']] ([[User Talk:Seppi333|Insert '''2¢''']]) 05:03, 9 December 2023 (UTC) |
|||
== Legal status in Brazil - Add subclasses F1, F2 and F3 == |
|||
{{Edit template-protected|Template:Infobox drug/legal status|answered=yes}} |
|||
Keep the "Class F (Prohibited substances)" for backward compatibility, but add: |
|||
* Class F1 (Prohibited narcotics) |
|||
* Class F2 (Prohibited psychotropics) |
|||
* Class F3 (Prohibited precursors) |
|||
* Class F4 (Other prohibited substances) |
|||
There is also a specific list for antibiotics, but I'm thinking to just use the general "Rx-only" tag for that. I need to dig, search for more information and think how that could be classified here. But for now, just adding the F subclasses would be great. Thanks :) [[User:Arthurfragoso|Arthurfragoso]] ([[User talk:Arthurfragoso|talk]]) 20:12, 3 August 2023 (UTC) |
|||
:I would like the changes shown in [https://en.wikipedia.org/w/index.php?title=Template:Infobox_drug/legal_status/sandbox&diff=prev&oldid=1170385660 this diff]. — [[User:Arthurfragoso|Arthurfragoso]] ([[User talk:Arthurfragoso|talk]]) 17:41, 27 August 2023 (UTC) |
|||
::{{complete2}}. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I. Ellsworth</span>]]''''' , [[Editor|<span style="color:black">ed.</span>]] [[User talk:Paine Ellsworth|<sup>put'er there</sup>]] <small>23:52, 27 August 2023 (UTC)</small> |
|||
== Template-protected edit request on 3 September 2023 == |
|||
{{edit template-protected|Template:Infobox drug/licence|answered=yes}} |
|||
The link to EMA pages is dead, and should most likely be replaced as follows; |
|||
=== From === |
|||
<nowiki> |
|||
EU EMA |
|||
-->{{#ifeq:{{{licence_EU|}}} |yes| |
|||
* <small>{{abbr|EU|European Union|class=country-name}}</small> [[European Medicines Agency|EMA]]: <span title="www.ema.europa.eu: '{{#invoke:String|replace|source={{{_EMA_use_INN|}}} |pattern=[%<%>]|replace=|plain=false}}' ">[http://www.ema.europa.eu/ema/index.jsp?curl=%2Fpages%2Fmedicines%2Flanding%2Fepar_search.jsp&mid=&searchTab=searchByKey&alreadyLoaded=true&isNewQuery=true&status=Authorised&status=Withdrawn&status=Suspended&status=Refused&keywordSearch=Submit&searchType=inn&taxonomyPath=&treeNumber=&searchGenericType=generics&keyword={{urlencode:{{#invoke:String|replace|source={{{_EMA_use_INN|}}} |pattern=(%w)%/(%w)|replace=%1 / %2|plain=false}} }} {{#if:{{{INN_EMA|}}} |by {{{INN_EMA|}}} |by INN}}]</span> }}<!-- |
|||
</nowiki> |
|||
=== To === |
|||
<nowiki> |
|||
EU EMA |
|||
-->{{#ifeq:{{{licence_EU|}}} |yes| |
|||
* <small>{{abbr|EU|European Union|class=country-name}}</small> [[European Medicines Agency|EMA]]: <span title="www.ema.europa.eu: '{{#invoke:String|replace|source={{{_EMA_use_INN|}}} |pattern=[%<%>]|replace=|plain=false}}' ">[https://www.ema.europa.eu/en/medicines/search_api_aggregation_ema_active_substance_and_inn_common_name/{{urlencode:{{#invoke:String|replace|source={{{_EMA_use_INN|}}} |pattern=(%w)%/(%w)|replace=%1 / %2|plain=false}} }} {{#if:{{{INN_EMA|}}} |by {{{INN_EMA|}}} |by INN}}]</span> }}<!-- |
|||
</nowiki> |
|||
This should ensure proper link references working, for EMA approvals. [[Special:Contributions/62.83.128.242|62.83.128.242]] ([[User talk:62.83.128.242|talk]]) 02:04, 3 September 2023 (UTC) |
|||
: {{done}} For the record, the new links often don't work for me either, but they sometimes do and it's clearly better than the old completely-broken ones. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 21:42, 4 September 2023 (UTC) |
|||
== Global Substance Registration System - GSRS == |
|||
Please consider adding [https://gsrs.ncats.nih.gov/ginas/app/beta/home GSRS] to the infobox. |
|||
{{blockquote|The Global Ingredient Archival System provides a common identifier for all of the substances used in medicinal products, utilizing a consistent definition of substances globally, including active substances under clinical investigation, consistent with the ISO 11238 standard.}} |
|||
--[[User:Whywhenwhohow|Whywhenwhohow]] ([[User talk:Whywhenwhohow|talk]]) 18:00, 24 September 2023 (UTC) |
|||
== Legal status in New Zealand == |
|||
Hello, could you please add the following legal status for New Zealand please. |
|||
* Prescription |
|||
* Restricted |
|||
* Pharmacy only |
|||
* A - Class A |
|||
* B1 - Class B1 |
|||
* B2 - Class B2 |
|||
* B3 - Class B3 |
|||
* C1 - Class C1 |
|||
* C2 - Class C2 |
|||
* C3 - Class C3 |
|||
* C4 - Class C4 |
|||
* C5 - Class C5 |
|||
* C6 - Class C6 |
|||
* C7 - Class C7 |
|||
Please keep the following |
|||
* <small><abbr>NZ</abbr></small>: [[Over-the-counter drug|OTC]] |
|||
* <small><abbr>NZ</abbr></small>: [[Temporary class drug|Temporary Class]] |
|||
* <small><abbr>NZ</abbr></small>: [[Misuse of Drugs Act 1975#Fourth Schedule|Fourth Schedule]] |
|||
The Class A/B/C already in there can be replaced with my proposal |
|||
https://www.medsafe.govt.nz/profs/class/classintro.asp#top |
|||
Thank you! [[User:Kiwiz1338|Kiwiz1338]] ([[User talk:Kiwiz1338|talk]]) 15:21, 3 October 2023 (UTC) |
|||
== Edit request 15 November 2023 == |
== Edit request 15 November 2023 == |
||
{{Edit template-protected}} |
{{Edit template-protected|answered=yes}} |
||
'''Description of suggested change:''' |
'''Description of suggested change:''' |
||
Edit the change I made (to the sandbox copy) to the legal_US= line into the template. I tested it in [[Template:Infobox drug/sandbox]] and it works. It will display [[Boxed warning|< |
Edit the change I made (to the sandbox copy) to the legal_US= line into the template. I tested it in [[Template:Infobox drug/sandbox]] and it works. It will display [[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref> based on data I've begun adding to wikidata. I have buy-in at |
||
[[WT:MED#Black_box_warnings_project]]. |
[[WT:MED#Black_box_warnings_project]]. |
||
Line 134: | Line 60: | ||
Current:<syntaxhighlight lang="wikitext">legal_US={{{legal_US|}}}</syntaxhighlight> |
Current:<syntaxhighlight lang="wikitext">legal_US={{{legal_US|}}}</syntaxhighlight> |
||
Sandbox:<syntaxhighlight lang="wikitext">legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|< |
Sandbox:<syntaxhighlight lang="wikitext">legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}}</syntaxhighlight> |
||
([edit: I entered the code w/ Template:TextDiff as directed but it didn't display it properly in preview, so diff now manually displayed above. Help, appreciated, collapsed.) |
([edit: I entered the code w/ Template:TextDiff as directed but it didn't display it properly in preview, so diff now manually displayed above. Help, appreciated, collapsed.) |
||
Line 142: | Line 68: | ||
:I tried putting <nowiki><nowiki></nowiki> around the parms to the TextDiff above, and it produced this: |
:I tried putting <nowiki><nowiki></nowiki> around the parms to the TextDiff above, and it produced this: |
||
{{TextDiff|1=<nowiki>|legal_US={{{legal_US|}}}</nowiki>|2=<nowiki>|legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|< |
{{TextDiff|1=<nowiki>|legal_US={{{legal_US|}}}</nowiki>|2=<nowiki>|legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}}</nowiki> |
||
}} |
}} |
||
:[[User:Davemck|Davemck]] ([[User talk:Davemck|talk]]) 02:24, 15 November 2023 (UTC) |
:[[User:Davemck|Davemck]] ([[User talk:Davemck|talk]]) 02:24, 15 November 2023 (UTC) |
||
Line 149: | Line 75: | ||
Current:<syntaxhighlight lang="wikitext">legal_US={{{legal_US|}}}</syntaxhighlight> |
Current:<syntaxhighlight lang="wikitext">legal_US={{{legal_US|}}}</syntaxhighlight> |
||
Sandbox:<syntaxhighlight lang="wikitext">legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|< |
Sandbox:<syntaxhighlight lang="wikitext">legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}}</syntaxhighlight> |
||
:I have fixed the code display for you. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 02:26, 15 November 2023 (UTC) |
:I have fixed the code display for you. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 02:26, 15 November 2023 (UTC) |
||
{{cob}} |
{{cob}} |
||
Line 170: | Line 96: | ||
::::Glad to see it's been clarified that there's no objection. |
::::Glad to see it's been clarified that there's no objection. |
||
::::It's not appropriate that this was derailed. It's not appropriate to demand I try to make or push for someone's unrelated changes that are not even in my wheelhouse. |
::::It's not appropriate that this was derailed. It's not appropriate to demand I try to make or push for someone's unrelated changes that are not even in my wheelhouse. |
||
{{adminhelp}} |
{{adminhelp|answered=yes}} |
||
Dear admin: |
::::Dear admin: |
||
I'm asking that the above-requested template change be made. (In other words, I'm asking that [[Template:Drugboxwarns]] be copied to [[Template:Infobox drug]]. That will modify the one line of [[Template:Infobox drug]] exactly as I've asked that it be modified. The only difference is that the sandbox template also has some other changes that I presume make the sandbox work better, but shouldn't be copied to the live template.) Using the <nowiki>{{adminhelp}}</nowiki> template, as it's been over a week with no action, and I think it's been clarified that there's no objection. As a bonus, warning of these particularly important safety issues may, just perhaps, thereafter regularly prevent iatrogenic catastrophes. (Yeah, I know, [[Wikipedia:General disclaimer|Disclaimer]].) [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 03:54, 29 November 2023 (UTC) |
::::I'm asking that the above-requested template change be made. (In other words, I'm asking that [[Template:Drugboxwarns]] be copied to [[Template:Infobox drug]]. That will modify the one line of [[Template:Infobox drug]] exactly as I've asked that it be modified. The only difference is that the sandbox template also has some other changes that I presume make the sandbox work better, but shouldn't be copied to the live template.) Using the <nowiki>{{adminhelp}}</nowiki> template, as it's been over a week with no action, and I think it's been clarified that there's no objection. As a bonus, warning of these particularly important safety issues may, just perhaps, thereafter regularly prevent iatrogenic catastrophes. (Yeah, I know, [[Wikipedia:General disclaimer|Disclaimer]].) [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 03:54, 29 November 2023 (UTC) |
||
:::::I resolved the accessibility issue, [[User:Trappist the monk|Trappist the monk]]. Switched to CSS: [[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]. [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 07:08, 2 December 2023 (UTC) |
|||
::::::[[User:Trappist the monk|Trappist the monk]], you wrote, I will not move [[Template:Infobox drug/sandbox]] to [[Template:Infobox drug]] because I believe that you should not be using math markup for presentation for reasons of accessibility. |
|||
::::::Will you move it now? I removed the math markup and resolved the accessibility problem. [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 01:48, 5 December 2023 (UTC) |
|||
::::::<hr>Hello? Feedback please! [[User:Arthurfragoso]], @[[User:Wostr|Wostr]], '''''[[User:Paine Ellsworth|P.I. Ellsworth]]''''', @[[User:WhatamIdoing|WhatamIdoing]], {{ping|User:Redrose64}} do you see any showstoppers? We currently have many articles that warn about minor side effects but fail to higlight black box warnings. It's a bad situation that we need to fix, pronto, IMO. [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 03:51, 5 December 2023 (UTC) |
|||
:::::::I don't see any showstoppers. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 21:44, 5 December 2023 (UTC) |
|||
:::::::Will you move my edit live? If not, what holds you back? --[[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 03:51, 7 December 2023 (UTC) |
|||
::::::::Like you, I don't have the necessary user rights to edit the page. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 17:53, 7 December 2023 (UTC) |
|||
{{od}} |
|||
I've {{done}} the original edit request, since it seems to now be uncontested. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 00:23, 8 December 2023 (UTC) |
|||
===Next steps=== |
|||
:Yay! Bravo, all. There's still work for me/us left - e.g. NIRMATRELVIR AND RITONAVIR ([[Nirmatrelvir/ritonavir]] is one of the drugs I/OpenRefine failed to mark in wikidata; not sure why. Need to get the import/match to work better. I wonder how many pages the warning is displayed on. [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 01:45, 8 December 2023 (UTC) |
|||
::In its current form this is not useful and is exceptionally bulky in the infobox. For example, on [[clonidine]], I see the "[WARNING]" box beside Rx-only, and yet neither hovering nor clicking on either the warning nor the citation give me any indication as to what the warning is '''for this drug'''. It is barely helpful to know that there ''exists'' a black box warning for the drug in the infobox. I suggest either adding the black box warning text to display when hovering over the "[WARNING]", or updating the citation to dynamically link to the appropriate drug's text, or at worst internal-link to an anchor in the article's body that specifies the black box warning. In fact, in this particular article, there is no other mention of the black box warning, and so all that's left is a bulky and uninformative box in the infobox. [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 00:13, 9 December 2023 (UTC) |
|||
:::Adding information about the specific warning would require a lot more work. This may be a step towards that, but the goal here was just to say that the drug had earned a boxed warning. |
|||
:::If we reach that greater goal in the future, I might suggest [[DailyMed]] as a standardized source ([https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=ada02f1f-ae78-4435-879e-492ae862d504 clonidine], which has two boxed warnings). But it might also be better to have this in the article itself, cited to whatever the best sources are the editors choose. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 00:53, 9 December 2023 (UTC) |
|||
::::Considering that DailyMed link does display black box warnings, and appears to have a uniform url-syntax, can that not just be used to effectively do what I had suggested/hoped it would do in my comment above? I understand the preference for an FDA link if the FDA is issuing the warnings, but at least to me the value of having information in the infobox is that if I (the reader) want to learn more about something that isn't expounded (in the infobox or article), I can follow the links and sources to learn more. As you said in a comment below, in order to do this with the FDA link as it is, I have to download a file (and is it searchable HTML? I didn't go that far), because the information is not actually present at the link provided. Ideally yes, articles mention black box warnings in their body and use appropriate sources in doing so/explaining that, but until then, I think the autogenerated bit in the infobox could be more useful. [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 01:00, 9 December 2023 (UTC) |
|||
:::::The file is a .csv file, so your computer will probably open it as a spreadsheet. That means that it's both searchable and filterable. |
|||
:::::The DailyMed id numbers are not intuitive (e.g., <code>setid=ada02f1f-ae78-4435-879e-492ae862d504</code>), and I believe there is a different one for every single formulation by each manufacturer. See https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=clonidine&searchdb=all&labeltype=all&sortby=rel&audience=professional&page=1&pagesize=200 – but I think that only these four: https://dailymed.nlm.nih.gov/dailymed/search.cfm?adv=1&labeltype=all&pagesize=200&page=1&query=34066-1%3A%28clonidine%29+ have boxed warnings. They'd have to be matched up by hand. This is possible but hours of work. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 01:39, 9 December 2023 (UTC) |
|||
::::::Very well, the url looked simple enough but it makes sense that specific preparations etc would have different entries in dailymed (and thus may or may not show black box warnings). I will have to be satisfied with the current implementation. [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 01:42, 9 December 2023 (UTC) |
|||
:::::::I see this as an incremental improvement. It took us years to reach this point, and it only happened because of a couple of months of work by @[[User:RudolfoMD|RudolfoMD]]. The next step will be more complex, but maybe we'll be able to manage that some day, too. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 17:42, 9 December 2023 (UTC) |
|||
::::::::I do see the value in this, and my first reaction was one of letting perfect be the enemy of good, mixed with the aesthetically-unappealing presentation in the infobox of the "bulky" [WARNING] text ''before'' the Rx-only phrase (not that I can think of a better way to do this at the moment). It is indeed a step towards making sure that black box warnings make their way into articles. [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 17:44, 9 December 2023 (UTC) |
|||
:::::::::I wouldn't want you to think of your reaction as letting the perfect be the enemy of the good. I'd rather that you think of it the way I do, which is helpfully advocating that we not stop here, but continue to look for even greater improvements. <code>:-)</code> [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 18:30, 9 December 2023 (UTC) |
|||
::Also, unless I'm missing something, [https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 the link] in the autogenerated citation seems to only list drugs whose generic names fall in the range "A"{{endash}}"C" (I checked [[lamotrigine]] to make sure that the "A"{{endash}}"C" link wasn't specific to clonidine, which begins with a "c", and the same link is on that page). [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 00:23, 9 December 2023 (UTC) |
|||
:::Yes, you have to scroll to the right part of the page, or even click the arrow to go to the relevant page. Only 200 items are displayed on each page. As the list changes over time, there is no way to predict in advance which page a given item will fall on. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 00:39, 9 December 2023 (UTC) |
|||
::::I see 15 pages. Page 1 starts at "A" and page 15 starts at "C", hence my comment. [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 00:40, 9 December 2023 (UTC) |
|||
:::::The citation says to use the "Download" button. It's >10MB, which would not be a friendly thing to dump on unsuspecting readers. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 00:54, 9 December 2023 (UTC) |
|||
:::A week ago, [https://www.wikidata.org/w/index.php?title=Wikidata_talk:Mismatch_Finder/Collaboration/Purdue_Summer_of_Data_2024&diff=prev&oldid=2021715311&diffmode=source here], I had already proposed/made a request for help for doing essentially what Kimen8 is suggesting. I wrote in part, {{tq|The text of each warning is generally concise and consists only of the most import warnings, so it may be worth [importing from the FDALabel database,] storing [in Wikidata] and adding to articles via wikidata.}} I'm flattered. :-) |
|||
:::Regarding linking to a viewable page with the warnings: There's already code in the template to link to dailymed for some drugs. Perhaps we could use that, but my concerns include that the dailymed data may be less accurate than the FDAs, and strictly speaking, it would not be truthful to say dailymed is the source of the info. |
|||
:::I think we can and should do the import of the warnings themselves. But we'd be want them to appear in the '''body''' of articles, right? I think so... |
|||
:::Also, see the [https://en.wikipedia.org/wiki/Template_talk:Infobox_drug#Template-protected_edit_request_on_9_December_2023 new edit request below]; the wrong code was migrated. |
|||
:::And "(Use ''Download Full Results'' and ''View Query'' links.)" is in the footnote, as [[User:WhatamIdoing|WhatamIdoing]] noted. We could add the formatting I added. |
|||
:::[[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 04:51, 10 December 2023 (UTC) |
|||
::::Kimen8, |
|||
::::I welcome your further thoughts on next steps. |
|||
::::The bulky warning box is fixed. (Obsolete code was migrated due to miscommunication.) I put the (now-smaller) box before the Rx-only phrase intentionally, but if there's consensus, it can be moved. |
|||
::::Let's discuss this further at [[Wikipedia talk:WikiProject Medicine#Black box warnings 2nd project]], at least if it's not about the Infobox. --[[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 02:41, 11 December 2023 (UTC) |
|||
:::::My personal opinion is that the Warning should be after the Rx-only phrase (such as {{green|Rx-only ([WARNING])}} or along those lines), because the order in which I deem the information important is: The infobox parameter is about legality/scheduling so the legality/schedule should go first; the black box warning is auxiliary information and should go second. [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 14:05, 11 December 2023 (UTC) |
|||
{{od}} The WARNING doesn't belong in the legal section. It is part of the FDA label and not a legal status. Its placement is annoying and distracting. The black box warning is not in the article. --[[User:Whywhenwhohow|Whywhenwhohow]] ([[User talk:Whywhenwhohow|talk]]) 20:38, 26 December 2023 (UTC) |
|||
== "Solubility in water" == |
|||
== Unreferenced data is being pulled from Wikidata == |
|||
It looks like filling in the <code>|solubility=</code> parameter renders as "Solubility in water". If instead one wanted to say something along the lines of "slightly soluble in ethanol, highly soluble in 2-propanol", is there a way to put this into the infobox? I figured out setting the <code>|sol_units=</code> to "&nbsp;" at least removes the suffix "g/mL" part. [[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 16:26, 1 December 2023 (UTC) |
|||
As far as I can tell, and possibly related to the above edit request, this infobox template appears to be pulling unsourced data from Wikidata, which is not allowed per [[Wikipedia:Wikidata/2018_Infobox_RfC#Discussion|the long-standing RFC]]. For example, [[Borax]] pulls the "E number" property, which is unsourced in Wikidata. Can someone please modify this template to use [[:Module:WikidataIB]] to pull the information instead of <code>#property</code>? |
|||
:[[Template:Chembox]] has: |
|||
The code in the above edit request should also use [[:Module:WikidataIB]]. Thanks. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 02:40, 15 November 2023 (UTC) |
|||
:| SolubleOther = |
|||
: This has been the case forever, and is not related to the above edit request. However it does mean that the code in the sandbox is not suitable to go live right now, so I'm declining the request. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 02:30, 19 November 2023 (UTC) |
|||
:| Solvent = |
|||
::1. If I add the same URL to thousands of wikidata entries (which I think is a bad idea) then you'll do the migration? |
|||
:but I don't know if that's supported here. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 21:47, 5 December 2023 (UTC) |
|||
::2. Did neither of you notice that the code contains a full citation for the data? 3. It does, do doesn't [[Wikipedia:NOTBUREAUCRACY|WP:NOTBEUC]] apply? |
|||
::4. Why should it use Module:WikidataIB? 5. Is that your opinion or a policy or guideline, [[User:Jonesey95|Jonesey95]]? 6. Why did you start a new thread AND not notify me??? [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 01:18, 20 November 2023 (UTC) |
|||
:::Module:WikidataIB is the easiest way to ensure that the data is retrieved only when it has a source. It is custom-designed for use in infoboxes (hence the name). As for starting a new thread and not pinging you, I did not research who added the code in question. Can I interest you in the little star icon at the top right corner of this window? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 20:37, 20 November 2023 (UTC) |
|||
:::1,2,3,5 remain unanswered. And 6 too, actually. --[[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 10:01, 24 November 2023 (UTC) |
|||
::::Adding references to Wikidata would be step one. Why would anyone want unsourced information in Wikidata? As for questions 2 and 3, the RFC does not prevent us from improving either Wikidata or Wikipedia, so it is reasonable to follow it. Question 4 is answered above. Question 5 is answered by an RFC, which is based on [[Wikipedia:Consensus]], which is a policy. Question 6 is answered above. Rather than bickering here, energy might be better spent recognizing that the RFC outcome is beneficial and helping to implement it. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 14:58, 25 November 2023 (UTC) |
|||
:::::It seems you're misrepresenting the RFC, per the first comment at https://en.wikipedia.org/wiki/Wikipedia:Wikidata/2018_Infobox_RfC#Post_RFC_discussion. |
|||
:::::It says almost directly that a citation, as in [[Boxed warning|<math>\begin{array}{|} \hline W\!ARNING \\ \hline \end{array}</math>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref> should be fine. |
|||
:::::1,2,3,6 remain essentially unanswered. I can't find where an RFC answers 5. |
|||
:::::Why are you even arguing with me? I just noticed - you couldn't even fulfill my edit request if you wanted to. So the answer to 1 is no. |
|||
:::::TBH, I'm sick and tired of being unpleasantly surprised by one hurdle after another being thrown up as I try to accomplish this task. It's a bit absurd. |
|||
:::::[[User:Pppery|* Pppery *]], can you please answer 1,2, and 3? [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 11:19, 26 November 2023 (UTC) |
|||
::::::Know it's not easy, RudolfoMD, and yet please be patient with us, because we're all just trying to be careful with the project and be sure only improvement takes place. Sometimes that translates into apparent absurdity, especially when some things are still so new. Frustration and incivility only lengthens the process, so please try to see that if you impatiently throw your hands up, others will too. Wish I could help more, myself, but my skills just aren't there yet. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I. Ellsworth</span>]]''''' , [[Editor|<span style="color:black">ed.</span>]] [[User talk:Paine Ellsworth|<sup>put'er there</sup>]] <small>16:04, 26 November 2023 (UTC)</small> |
|||
:::::::Thanks. I'm trying to keep my feeling (and comments!) measured and impersonal. I'm careful to always PRESUME everyone I interact with is just trying to be careful with the project and be sure only improvement takes place. But your claim that "we're all" well-intentioned is unsupportable. How many users have been banned? How many thousands for [https://arstechnica.com/tech-policy/2015/09/wikipedia-blocks-hundreds-of-linked-accounts-for-suspect-editing/ undisclosed paid advocacy alone]? So it's not appropriate to wear or ask others to wear blinders, or pretend not to be frustrated. When there's ample evidence of bad faith, we're encouraged to call it what it is; we've even got templates to help each other with this, from {{tl|uw-paid1}} to 4: |
|||
:::::::"[[File:Stop hand nuvola.svg|left|30px|alt=|link=]] You '''[[Wikipedia:Blocking policy|may be blocked]] from editing without further warning''' if you make any further edits without responding to the inquiry you received regarding undisclosed paid editing. <!-- Template:Uw-paid4 -->" to {{tl|uw-vandal4}} - |
|||
:::::::[[File:Stop hand nuvola.svg|30px|alt=Stop icon]] You may be '''[[Wikipedia:Blocking policy|blocked from editing]] without further warning''' the next time you [[Wikipedia:Vandalism|vandalize]] Wikipedia. <!-- Template:uw-vandalism4 -->. |
|||
:::::::The conclusion of the rfc is {{pullquote| There is a consensus that data drawn for Wikidata might be acceptable for use in Wikipedia if Wikipedians can be assured that the data is accurate, and preferably meets Wikipedia rules of reliability. For the other issues raised within this RfC, there was no clear consensus.}} |
|||
:::::::My response to false claims that my proposed edit, which is entirely consistent with and goes well beyond the RFC's requirement, would violate it was "It seems you're misrepresenting the RFC..." Civil as can be. If you agree, I welcome help finding someone to push the edit live and/or with more ... diplomatically ... explaining why it warrants being pushed live. If you disagree, I welcome that and an explanation for it. |
|||
:::::::Can you respond to questions 1, 2, and 3, as [[User:Pppery|* Pppery *]] is ignoring them. Can you help with that? [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 03:53, 27 November 2023 (UTC) |
|||
::::::::One positive step forward would be to modify the "E number from Wikidata" section of the sandbox so that it is either commented out or uses Module:WikidataIB to retrieve only sourced data from Wikidata. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 05:25, 27 November 2023 (UTC) |
|||
:::::::::Why don't you make these edits if you want them made? |
|||
:::::::::I notice you're aggressively ignoring the three questions, still. |
|||
:::::::::I get the sense you are going to continue to falsely portray my proposed edit as adding unreferenced info to wikipedia and not following the RFC. |
|||
:::::::::Please stop being disruptive. [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 05:58, 27 November 2023 (UTC) |
|||
::::::::::I understand that you are frustrated with my answers. Please desist from personal attacks. As for editing the code myself, I wanted to give editors who are familiar with the template, and with Wikidata, a chance to remedy the problem in a constructive way before I simply commented out or removed the non-compliant portions of code, which I see as the least good remedy. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 06:14, 27 November 2023 (UTC) |
|||
:::::::::::About the E numbers: The source appears to be exactly the same for all of them, so https://www.food.gov.uk/business-guidance/approved-additives-and-e-numbers could be hard-coded into the template itself. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 16:45, 28 November 2023 (UTC) |
|||
== Template-protected edit request on 9 December 2023 == |
|||
{{ref-talk}} |
|||
{{edit template-protected|Template:Infobox drug|answered=yes}} |
|||
The current boxed warning indication uses LaTeX, which is just plain silly. LaTeX causes a whole image (with ''italicized text'') to be added to the article for no good reason. Can't we stick with text? |
|||
Replace |
|||
<pre> |
|||
|legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<math>\begin{array}{|} \hline W\!ARNING \\ \hline \end{array}</math>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}} |
|||
</pre> |
|||
With |
|||
<pre> |
|||
| legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}} |
|||
</pre> |
|||
So we can see [[Boxed warning|<span style="border:thin solid black;">WARNING</span>]] instead of [[Boxed warning|<math>\begin{array}{|} \hline W\!ARNING \\ \hline \end{array}</math>]]. Looking at the previous discussion, it seems that the CSS approach I want is the final consensus, but it didn't replace the initial TeX version in the sandbox for some reason. As a result, the wrong version was applied. --[[User:Artoria2e5|Artoria]][[User talk:Artoria2e5|2e5]] <small style="font-weight:lighter">[[Special:Contributions/Artoria2e5|🌉]]</small> 06:42, 9 December 2023 (UTC) |
|||
:Seconded. Correct. I (oddly!) didn't notice that [[User:Pppery|* Pppery *]] did the original edit request, instead of the the edit request as it existed when they edited the template and marked the request done. But note: we may have further improvement come out of discussion with [[User:Kimen8]] soon. -- [[User:RudolfoMD|RudolfoMD]] ([[User talk:RudolfoMD|talk]]) 04:23, 10 December 2023 (UTC) |
|||
:: What I actually did was base off the code in the sandbox, and didn't even notice the midstream edits you made to the talk page on 2 December (yes, you did point them out, but there was so much noise in that discussion that I didn't see them). Anyway, {{done}} [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 04:52, 10 December 2023 (UTC) |
|||
== What about the name of company that manufactured that drug? == |
|||
What about the name of company that manufactured that drug? [[User:Abhiramakella|Abhiramakella]] ([[User talk:Abhiramakella|talk]]) 16:05, 8 February 2024 (UTC) |
|||
== Black Box Warning == |
|||
I had a question regarding how the Black Box warning code is implemented and if the following is possible. |
|||
Many drugs have Black Box warnings only for certain preparations of the drug. Is there a preferred way to mention this? I thought about putting the sentence "The US FDA Black Box warning only applies to certain preparations of the drug, including ___, where the warning says: ___" or something along those lines, but it's clunky. |
|||
For example with [[baclofen]], neither the preparations Lyvispah oral granules, nor Ozobax oral solution have black box warnings, but Lioresal intrathecal does. In the case of this particular article, the contents of the black box warning are mentioned in the Adverse Effects section, but there is no explicit clarity if someone sees the Black Box Warning symbol in the infobox and goes to the article body to try to see the details of that. |
|||
I was going to ask on {{u|RudolfoMD}}'s page but it seems they are indefinitely blocked. |
|||
[[User:Kimen8|Kimen8]] ([[User talk:Kimen8|talk]]) 16:06, 1 March 2024 (UTC) |
Latest revision as of 14:53, 2 March 2024
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||
|
Infobox drug: Changes log
|
---|
|
Tolerance potential?
I’m sort of puzzled why things like addiction liability and dependence liability are a thing in these info boxes for various drugs but tolerance potential/rate isn’t? I know there is a number of variables like dosage and rate of frequency and even individual enzyme properties, or maybe even receptor sensitivity, but the same is also evidently true for the other aforementioned potentials. From what I can clearly tell, some substances certainly have abnormally fast tolerance increases (such as opioids & amphetamines); whereas others can have pretty modest rate of increased tolerance. And even substances with potential for reverse-tolerance (like salvia and cannabis) should also have this mentioned in the infobox. Dexedream (talk) 04:36, 10 May 2023 (UTC)
- Interesting thoughts. Got sources? FYI, I'm working on adding an indicator on pages for drugs that have black box warnings. I found a source database but I'm struggling to figure out the correct edits to the templates. (Template talk:Infobox drug/legal status/sandbox, and/or Template talk:Infobox drug/sandbox...) RudolfoMD (talk) 04:28, 23 October 2023 (UTC)
- Tolerance in and of itself isn't an even remotely notable drug property. To the extent that it plays a role in drug dependence, it's necessary to understand. And, for what it's worth, sensitization of drug reward is the biological process that mediates the development of addiction; drug tolerance doesn't play any role in its pathophysiology. IMO, if there are any notable drug effects that tend to undergo tolerance or sensitization with repeated use, content about that should be added to the article, not dumped into an infobox with limited context. Seppi333 (Insert 2¢) 05:03, 9 December 2023 (UTC)
Edit request 15 November 2023
Description of suggested change: Edit the change I made (to the sandbox copy) to the legal_US= line into the template. I tested it in Template:Infobox drug/sandbox and it works. It will display WARNING[1] based on data I've begun adding to wikidata. I have buy-in at WT:MED#Black_box_warnings_project.
Diff:
Current:
legal_US={{{legal_US|}}}
Sandbox:
legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}}
([edit: I entered the code w/ Template:TextDiff as directed but it didn't display it properly in preview, so diff now manually displayed above. Help, appreciated, collapsed.) RudolfoMD (talk) 01:05, 15 November 2023 (UTC)
Extended content
| ||||
---|---|---|---|---|
(I entered the code as directed but it doesn't display properly in preview. If needed, view diff.)
Diff: Current:legal_US={{{legal_US|}}}
legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}}
|
References
- ^ "FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.)". nctr-crs.fda.gov. FDA. Retrieved 22 Oct 2023.
- Not done See below. * Pppery * it has begun... 02:30, 19 November 2023 (UTC)
- * Pppery *
- 1. If I add the same URL to the thousands of wikidata entries (which I think is a bad idea) then you'll do the migration? That's worse than making the source info visible here, as my code does.
- 2. Did you notice that the code you're refusing to add contains a full citation for the data?
- 3. It does, do doesn't WP:NOTBEUC apply?
- Hello?
- -- RudolfoMD (talk) 06:04, 27 November 2023 (UTC)
- @Jonesey95, would you mind hopping up to this section and explaining why you think that Module:WikidataIB needs to be used, given that the source is being supplied here? I understand not wanted "Boxed warning"; I want to know why you are insisting on "Boxed warning[Wikipedia source][Copy of same source from Wikidata]". WhatamIdoing (talk) 16:51, 28 November 2023 (UTC)
- I have not objected to this section. – Jonesey95 (talk) 16:58, 28 November 2023 (UTC)
- Well, someone using your account wrote "The code in the above edit request should also use Module:WikidataIB" below. That has been interpreted as an objection to this change. WhatamIdoing (talk) 17:00, 28 November 2023 (UTC)
- Fair enough. The module is the standard way of implementing the RFC. My question below, "Why would anyone want unsourced information in Wikidata?", seems relevant. – Jonesey95 (talk) 17:45, 28 November 2023 (UTC)
- A small fraction of it is probably unsourceable; I doubt there are any sources out there that say whether Measles should be listed as an instance of Q12136, Q112193867, or Q112193769 (three variations on saying that it's a 'disease'). Therefore having some fraction unsourced is of no particular concern to me; some of it will be obviously correct in its real-world meaning, even if editors can differ over the ideal item number to represent the obvious fact that it's a disease.
- In this instance, Rudolfo and I have been talking about the advantages of setting a bot as a sentinel over the items. Sources do not prevent vandalism. Auto-revert bots do. WhatamIdoing (talk) 18:50, 28 November 2023 (UTC)
- Fair enough. The module is the standard way of implementing the RFC. My question below, "Why would anyone want unsourced information in Wikidata?", seems relevant. – Jonesey95 (talk) 17:45, 28 November 2023 (UTC)
- Glad to see it's been clarified that there's no objection.
- It's not appropriate that this was derailed. It's not appropriate to demand I try to make or push for someone's unrelated changes that are not even in my wheelhouse.
- Well, someone using your account wrote "The code in the above edit request should also use Module:WikidataIB" below. That has been interpreted as an objection to this change. WhatamIdoing (talk) 17:00, 28 November 2023 (UTC)
- I have not objected to this section. – Jonesey95 (talk) 16:58, 28 November 2023 (UTC)
- @Jonesey95, would you mind hopping up to this section and explaining why you think that Module:WikidataIB needs to be used, given that the source is being supplied here? I understand not wanted "Boxed warning"; I want to know why you are insisting on "Boxed warning[Wikipedia source][Copy of same source from Wikidata]". WhatamIdoing (talk) 16:51, 28 November 2023 (UTC)
- Dear admin:
- I'm asking that the above-requested template change be made. (In other words, I'm asking that Template:Drugboxwarns be copied to Template:Infobox drug. That will modify the one line of Template:Infobox drug exactly as I've asked that it be modified. The only difference is that the sandbox template also has some other changes that I presume make the sandbox work better, but shouldn't be copied to the live template.) Using the {{adminhelp}} template, as it's been over a week with no action, and I think it's been clarified that there's no objection. As a bonus, warning of these particularly important safety issues may, just perhaps, thereafter regularly prevent iatrogenic catastrophes. (Yeah, I know, Disclaimer.) RudolfoMD (talk) 03:54, 29 November 2023 (UTC)
- I resolved the accessibility issue, Trappist the monk. Switched to CSS: WARNING. RudolfoMD (talk) 07:08, 2 December 2023 (UTC)
- Trappist the monk, you wrote, I will not move Template:Infobox drug/sandbox to Template:Infobox drug because I believe that you should not be using math markup for presentation for reasons of accessibility.
- Will you move it now? I removed the math markup and resolved the accessibility problem. RudolfoMD (talk) 01:48, 5 December 2023 (UTC)
Hello? Feedback please! User:Arthurfragoso, @Wostr, P.I. Ellsworth, @WhatamIdoing, @Redrose64: do you see any showstoppers? We currently have many articles that warn about minor side effects but fail to higlight black box warnings. It's a bad situation that we need to fix, pronto, IMO. RudolfoMD (talk) 03:51, 5 December 2023 (UTC)- I don't see any showstoppers. WhatamIdoing (talk) 21:44, 5 December 2023 (UTC)
- Will you move my edit live? If not, what holds you back? --RudolfoMD (talk) 03:51, 7 December 2023 (UTC)
- Like you, I don't have the necessary user rights to edit the page. WhatamIdoing (talk) 17:53, 7 December 2023 (UTC)
- I resolved the accessibility issue, Trappist the monk. Switched to CSS: WARNING. RudolfoMD (talk) 07:08, 2 December 2023 (UTC)
I've Done the original edit request, since it seems to now be uncontested. * Pppery * it has begun... 00:23, 8 December 2023 (UTC)
Next steps
- Yay! Bravo, all. There's still work for me/us left - e.g. NIRMATRELVIR AND RITONAVIR (Nirmatrelvir/ritonavir is one of the drugs I/OpenRefine failed to mark in wikidata; not sure why. Need to get the import/match to work better. I wonder how many pages the warning is displayed on. RudolfoMD (talk) 01:45, 8 December 2023 (UTC)
- In its current form this is not useful and is exceptionally bulky in the infobox. For example, on clonidine, I see the "[WARNING]" box beside Rx-only, and yet neither hovering nor clicking on either the warning nor the citation give me any indication as to what the warning is for this drug. It is barely helpful to know that there exists a black box warning for the drug in the infobox. I suggest either adding the black box warning text to display when hovering over the "[WARNING]", or updating the citation to dynamically link to the appropriate drug's text, or at worst internal-link to an anchor in the article's body that specifies the black box warning. In fact, in this particular article, there is no other mention of the black box warning, and so all that's left is a bulky and uninformative box in the infobox. Kimen8 (talk) 00:13, 9 December 2023 (UTC)
- Adding information about the specific warning would require a lot more work. This may be a step towards that, but the goal here was just to say that the drug had earned a boxed warning.
- If we reach that greater goal in the future, I might suggest DailyMed as a standardized source (clonidine, which has two boxed warnings). But it might also be better to have this in the article itself, cited to whatever the best sources are the editors choose. WhatamIdoing (talk) 00:53, 9 December 2023 (UTC)
- Considering that DailyMed link does display black box warnings, and appears to have a uniform url-syntax, can that not just be used to effectively do what I had suggested/hoped it would do in my comment above? I understand the preference for an FDA link if the FDA is issuing the warnings, but at least to me the value of having information in the infobox is that if I (the reader) want to learn more about something that isn't expounded (in the infobox or article), I can follow the links and sources to learn more. As you said in a comment below, in order to do this with the FDA link as it is, I have to download a file (and is it searchable HTML? I didn't go that far), because the information is not actually present at the link provided. Ideally yes, articles mention black box warnings in their body and use appropriate sources in doing so/explaining that, but until then, I think the autogenerated bit in the infobox could be more useful. Kimen8 (talk) 01:00, 9 December 2023 (UTC)
- The file is a .csv file, so your computer will probably open it as a spreadsheet. That means that it's both searchable and filterable.
- The DailyMed id numbers are not intuitive (e.g.,
setid=ada02f1f-ae78-4435-879e-492ae862d504
), and I believe there is a different one for every single formulation by each manufacturer. See https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=clonidine&searchdb=all&labeltype=all&sortby=rel&audience=professional&page=1&pagesize=200 – but I think that only these four: https://dailymed.nlm.nih.gov/dailymed/search.cfm?adv=1&labeltype=all&pagesize=200&page=1&query=34066-1%3A%28clonidine%29+ have boxed warnings. They'd have to be matched up by hand. This is possible but hours of work. WhatamIdoing (talk) 01:39, 9 December 2023 (UTC)- Very well, the url looked simple enough but it makes sense that specific preparations etc would have different entries in dailymed (and thus may or may not show black box warnings). I will have to be satisfied with the current implementation. Kimen8 (talk) 01:42, 9 December 2023 (UTC)
- I see this as an incremental improvement. It took us years to reach this point, and it only happened because of a couple of months of work by @RudolfoMD. The next step will be more complex, but maybe we'll be able to manage that some day, too. WhatamIdoing (talk) 17:42, 9 December 2023 (UTC)
- I do see the value in this, and my first reaction was one of letting perfect be the enemy of good, mixed with the aesthetically-unappealing presentation in the infobox of the "bulky" [WARNING] text before the Rx-only phrase (not that I can think of a better way to do this at the moment). It is indeed a step towards making sure that black box warnings make their way into articles. Kimen8 (talk) 17:44, 9 December 2023 (UTC)
- I wouldn't want you to think of your reaction as letting the perfect be the enemy of the good. I'd rather that you think of it the way I do, which is helpfully advocating that we not stop here, but continue to look for even greater improvements.
:-)
WhatamIdoing (talk) 18:30, 9 December 2023 (UTC)
- I wouldn't want you to think of your reaction as letting the perfect be the enemy of the good. I'd rather that you think of it the way I do, which is helpfully advocating that we not stop here, but continue to look for even greater improvements.
- I do see the value in this, and my first reaction was one of letting perfect be the enemy of good, mixed with the aesthetically-unappealing presentation in the infobox of the "bulky" [WARNING] text before the Rx-only phrase (not that I can think of a better way to do this at the moment). It is indeed a step towards making sure that black box warnings make their way into articles. Kimen8 (talk) 17:44, 9 December 2023 (UTC)
- I see this as an incremental improvement. It took us years to reach this point, and it only happened because of a couple of months of work by @RudolfoMD. The next step will be more complex, but maybe we'll be able to manage that some day, too. WhatamIdoing (talk) 17:42, 9 December 2023 (UTC)
- Very well, the url looked simple enough but it makes sense that specific preparations etc would have different entries in dailymed (and thus may or may not show black box warnings). I will have to be satisfied with the current implementation. Kimen8 (talk) 01:42, 9 December 2023 (UTC)
- Considering that DailyMed link does display black box warnings, and appears to have a uniform url-syntax, can that not just be used to effectively do what I had suggested/hoped it would do in my comment above? I understand the preference for an FDA link if the FDA is issuing the warnings, but at least to me the value of having information in the infobox is that if I (the reader) want to learn more about something that isn't expounded (in the infobox or article), I can follow the links and sources to learn more. As you said in a comment below, in order to do this with the FDA link as it is, I have to download a file (and is it searchable HTML? I didn't go that far), because the information is not actually present at the link provided. Ideally yes, articles mention black box warnings in their body and use appropriate sources in doing so/explaining that, but until then, I think the autogenerated bit in the infobox could be more useful. Kimen8 (talk) 01:00, 9 December 2023 (UTC)
- Also, unless I'm missing something, the link in the autogenerated citation seems to only list drugs whose generic names fall in the range "A"–"C" (I checked lamotrigine to make sure that the "A"–"C" link wasn't specific to clonidine, which begins with a "c", and the same link is on that page). Kimen8 (talk) Kimen8 (talk) 00:23, 9 December 2023 (UTC)
- Yes, you have to scroll to the right part of the page, or even click the arrow to go to the relevant page. Only 200 items are displayed on each page. As the list changes over time, there is no way to predict in advance which page a given item will fall on. WhatamIdoing (talk) 00:39, 9 December 2023 (UTC)
- I see 15 pages. Page 1 starts at "A" and page 15 starts at "C", hence my comment. Kimen8 (talk) 00:40, 9 December 2023 (UTC)
- The citation says to use the "Download" button. It's >10MB, which would not be a friendly thing to dump on unsuspecting readers. WhatamIdoing (talk) 00:54, 9 December 2023 (UTC)
- I see 15 pages. Page 1 starts at "A" and page 15 starts at "C", hence my comment. Kimen8 (talk) 00:40, 9 December 2023 (UTC)
- A week ago, here, I had already proposed/made a request for help for doing essentially what Kimen8 is suggesting. I wrote in part,
The text of each warning is generally concise and consists only of the most import warnings, so it may be worth [importing from the FDALabel database,] storing [in Wikidata] and adding to articles via wikidata.
I'm flattered. :-) - Regarding linking to a viewable page with the warnings: There's already code in the template to link to dailymed for some drugs. Perhaps we could use that, but my concerns include that the dailymed data may be less accurate than the FDAs, and strictly speaking, it would not be truthful to say dailymed is the source of the info.
- I think we can and should do the import of the warnings themselves. But we'd be want them to appear in the body of articles, right? I think so...
- Also, see the new edit request below; the wrong code was migrated.
- And "(Use Download Full Results and View Query links.)" is in the footnote, as WhatamIdoing noted. We could add the formatting I added.
- RudolfoMD (talk) 04:51, 10 December 2023 (UTC)
- Kimen8,
- I welcome your further thoughts on next steps.
- The bulky warning box is fixed. (Obsolete code was migrated due to miscommunication.) I put the (now-smaller) box before the Rx-only phrase intentionally, but if there's consensus, it can be moved.
- Let's discuss this further at Wikipedia talk:WikiProject Medicine#Black box warnings 2nd project, at least if it's not about the Infobox. --RudolfoMD (talk) 02:41, 11 December 2023 (UTC)
- My personal opinion is that the Warning should be after the Rx-only phrase (such as Rx-only ([WARNING]) or along those lines), because the order in which I deem the information important is: The infobox parameter is about legality/scheduling so the legality/schedule should go first; the black box warning is auxiliary information and should go second. Kimen8 (talk) 14:05, 11 December 2023 (UTC)
- Yes, you have to scroll to the right part of the page, or even click the arrow to go to the relevant page. Only 200 items are displayed on each page. As the list changes over time, there is no way to predict in advance which page a given item will fall on. WhatamIdoing (talk) 00:39, 9 December 2023 (UTC)
- In its current form this is not useful and is exceptionally bulky in the infobox. For example, on clonidine, I see the "[WARNING]" box beside Rx-only, and yet neither hovering nor clicking on either the warning nor the citation give me any indication as to what the warning is for this drug. It is barely helpful to know that there exists a black box warning for the drug in the infobox. I suggest either adding the black box warning text to display when hovering over the "[WARNING]", or updating the citation to dynamically link to the appropriate drug's text, or at worst internal-link to an anchor in the article's body that specifies the black box warning. In fact, in this particular article, there is no other mention of the black box warning, and so all that's left is a bulky and uninformative box in the infobox. Kimen8 (talk) 00:13, 9 December 2023 (UTC)
The WARNING doesn't belong in the legal section. It is part of the FDA label and not a legal status. Its placement is annoying and distracting. The black box warning is not in the article. --Whywhenwhohow (talk) 20:38, 26 December 2023 (UTC)
"Solubility in water"
It looks like filling in the |solubility=
parameter renders as "Solubility in water". If instead one wanted to say something along the lines of "slightly soluble in ethanol, highly soluble in 2-propanol", is there a way to put this into the infobox? I figured out setting the |sol_units=
to " " at least removes the suffix "g/mL" part. Kimen8 (talk) 16:26, 1 December 2023 (UTC)
- Template:Chembox has:
- | SolubleOther =
- | Solvent =
- but I don't know if that's supported here. WhatamIdoing (talk) 21:47, 5 December 2023 (UTC)
Template-protected edit request on 9 December 2023
The current boxed warning indication uses LaTeX, which is just plain silly. LaTeX causes a whole image (with italicized text) to be added to the article for no good reason. Can't we stick with text?
Replace
|legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<math>\begin{array}{|} \hline W\!ARNING \\ \hline \end{array}</math>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}}
With
| legal_US={{#ifeq: {{#invoke:String|match|s={{#property:P3493}}|pattern=boxed warning|plain=true}}|boxed warning|[[Boxed warning|<span style="border:thin solid black;">WARNING</span>]]<ref name="FDA-AllBoxedWarnings">{{cite web |title=FDA-sourced list of all drugs with black box warnings (Use Download Full Results and View Query links.) |url=https://nctr-crs.fda.gov/fdalabel/ui/spl-summaries/criteria/343802 |website=nctr-crs.fda.gov |publisher=[[FDA]] |access-date=22 Oct 2023}}</ref>}}{{{legal_US|}}}
So we can see WARNING instead of . Looking at the previous discussion, it seems that the CSS approach I want is the final consensus, but it didn't replace the initial TeX version in the sandbox for some reason. As a result, the wrong version was applied. --Artoria2e5 🌉 06:42, 9 December 2023 (UTC)
- Seconded. Correct. I (oddly!) didn't notice that * Pppery * did the original edit request, instead of the the edit request as it existed when they edited the template and marked the request done. But note: we may have further improvement come out of discussion with User:Kimen8 soon. -- RudolfoMD (talk) 04:23, 10 December 2023 (UTC)
- What I actually did was base off the code in the sandbox, and didn't even notice the midstream edits you made to the talk page on 2 December (yes, you did point them out, but there was so much noise in that discussion that I didn't see them). Anyway, Done * Pppery * it has begun... 04:52, 10 December 2023 (UTC)
What about the name of company that manufactured that drug?
What about the name of company that manufactured that drug? Abhiramakella (talk) 16:05, 8 February 2024 (UTC)
Black Box Warning
I had a question regarding how the Black Box warning code is implemented and if the following is possible.
Many drugs have Black Box warnings only for certain preparations of the drug. Is there a preferred way to mention this? I thought about putting the sentence "The US FDA Black Box warning only applies to certain preparations of the drug, including ___, where the warning says: ___" or something along those lines, but it's clunky.
For example with baclofen, neither the preparations Lyvispah oral granules, nor Ozobax oral solution have black box warnings, but Lioresal intrathecal does. In the case of this particular article, the contents of the black box warning are mentioned in the Adverse Effects section, but there is no explicit clarity if someone sees the Black Box Warning symbol in the infobox and goes to the article body to try to see the details of that.
I was going to ask on RudolfoMD's page but it seems they are indefinitely blocked.