Mòdul:Infobox medical intervention/prova
Aparença
Documentació del mòdul [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]
A continuació es mostra la documentació transclosa de la subpàgina /ús. [salta a la caixa de codi]
CIM-9-MC | 45.23 |
---|---|
CIM-9 | 45.23 |
MeSH | D003113 |
MedlinePlus | 003886 |
eMedicine | 1819350 |
{{#invoke:Infobox medical intervention/prova|infobox |item=Q840387| |imatge=Hip replacement Image 3684-PH.jpg }}
{{#invoke:Infobox medical intervention/prova|infobox|allitems=list}}
P. | Key | Value | WD | T. |
---|---|---|---|---|
1 | rs_colorbox | #b0d1ad | #b0d1ad | s |
2 | rs_color_tit_cllps | #d5e0d4 | #d5e0d4 | s |
3 | rs_bodystyle | s | ||
4 | rs_titlestyle | background-color:#b0d1ad;background-color:#b0d1ad;valign=center; padding:1px; | s | |
5 | rs_headerstyle | background-color:#b0d1ad;background-color:#b0d1ad; | s | |
6 | rs_subheaderstyle | background-color:#d5e0d4;background-color:#d5e0d4;valign=center; padding:1px; | s | |
7 | rs_imagestyle | padding-bottom:0.1em;line-height:1.35;font-size:98% | s | |
8 | rs_captionstyle | padding-top:0.3em;padding-bottom:0.1em;line-height:1.35;font-size:98% | s | |
9 | rs_labelstyle | padding-right:1.2em;background:#eeeeee; text-align:start | s | |
10 | rs_datastyle | text-align:start | s | |
11 | rs_belowstyle | s | ||
12 | rs_icon | Surgeon icon with eyes.svg | s | |
13 | rs_icon_at_begin | true | b | |
14 | rs_icon_hint | Mòdul:Infobox medical intervention/prova/ús | s | |
15 | rs_def_name | Infobox medical intervention | s | |
16 | rs_image_max_num | 1 | i (0-2) | |
17 | rs_def_image_size | 300x300x | s | |
18 | rs_send_img_preinfobox | false | b | |
19 | rs_changeable_lbls | false | b | |
20 | rs_param_prefix_lbl | l_ | s | |
21 | rs_def_charnum_cllps | 180 | i (1-1000) | |
22 | rs_error | Error | Q29485 | s |
23 | rs_below | s | ||
24 | rs_cat_arg_error | Categoria:Infotaules usades amb paràmetres desconeguts | Q56486184 | s |
25 | rs_cat_arg_dupli | Categoria:Pàgines amb arguments duplicats en utilització de plantilles | Q89919289 | s |
26 | rs_cat_wds_untranslat | s | ||
27 | rs_cat_no_image | s |
Labels | Arguments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
M. | P. | Key | WD | WD content (ca) | Localization (i18n) | Default names | Localized names (i18n) | Values | WD content (ca) | T. |
IMI | 1 | name | Name, name | nom | s | |||||
GIBT | 2 | image | image, Image | imatge, Imatge | WD P18 | Imatge | s | |||
GIBT | 3 | image_idx | image_idx | imatge_idx | i+ | |||||
GIBT | 4 | alt | alt | s | ||||||
GIBT | 5 | size | size, width | mida, amplada | s | |||||
GIBT | 6 | caption | caption, Caption | peu, Peu | WD P18,P2096 | P18,P2096 | s | |||
IMI | 7 | ICD10 | Q9006342 | ICD-10-PCS | CIM-10-PCS | ICD10 | CIM10 | WD P1690 | ICD-10-PCS | s |
IMI | 8 | ICD9 | Q5737131 | CIM-9-MC | CIM-9-MC | ICD9 | CIM9 | WD P1692 | CIM-9-CM | s |
IMI | 9 | ICD9u | Q14067712 | CIM-9 | CIM-9 | ICD9unlinked | WD P493 | Codi CIM-9 | s | |
MII | 10 | MeshName | MeshName | WD P486 | Identificador MeSH | s | ||||
MII | 11 | MeshNumber | MeshNumber | s | ||||||
MII | 12 | MeSH1 | MeshID, MeSH, MeSH1 | s | ||||||
MII | 13 | MeshYear1 | MeshYear, MeshYear1 | i+ | ||||||
MII | 14 | MeSH2 | MeSH2 | s | ||||||
MII | 15 | MeshYear2 | MeshYear2 | i+ | ||||||
MII | 16 | MeSH3 | MeSH3 | s | ||||||
MII | 17 | MeshYear3 | MeshYear3 | i+ | ||||||
MII | 18 | MeSH4 | MeSH4 | s | ||||||
MII | 19 | MeshYear4 | MeshYear4 | i+ | ||||||
MII | 20 | MeSH5 | MeSH5 | s | ||||||
MII | 21 | MeshYear5 | MeshYear5 | i+ | ||||||
IMI | 22 | OPS | Q2026515 | OPS-301 | OPS-301 | OPS301 | WD P1691 | Operacions i procediments clau (OPS) | s | |
IMI | 23 | LOINC | Q502480 | LOINC | LOINC | LOINC | WD P4338 | Identificador LOINC | s | |
IMI | 24 | Other | Altres codis | other_codes, OtherCodes | altres_codis, AltresCodis | s | ||||
IMI | 25 | Medline | Q557919 | MedlinePlus | MedlinePlus | MedlinePlus | WD P604 | Identificador MedlinePlus d'article | s | |
MII | 26 | eMedicine | eMedicine | WD P673 | Identificador eMedicine | s | ||||
MII | 27 | eMedicineSubj | eMedicineSubj | s | ||||||
MII | 28 | eMedicineTopic | eMedicineTopic | i+ | ||||||
MII | 29 | eMedicine_mult | eMedicine_mult | s | ||||||
IMI | 30 | HCPCS | Q5629114 | HCPCS Level 2 | HCPCS-L2 | HCPCSlevel2 | s | |||
IMI | 31 | CPT | Q964984 | Current Procedural Terminology (en) | CPT | CPT | WD P7410 | Healthcare Common Procedure Coding System Identifier | s |
You can change the localizated text in:
- GIBT: Module:Global infobox tools/i18n
- MII: Module:Medical infobox items/i18n
- IMI: Module:Infobox medical intervention/prova/i18n
{{#invoke:Infobox medical intervention/prova|infobox|allitems=params}}
M. | P. | Key | Default names | Localized names (i18n) | Values | WD content (ca) | T. |
---|---|---|---|---|---|---|---|
IMI | 1 | name | Name, name | nom | s | ||
GIBT | 2 | image | image, Image | imatge, Imatge | WD P18 | Imatge | s |
GIBT | 3 | image_idx | image_idx | imatge_idx | i+ | ||
GIBT | 4 | alt | alt | s | |||
GIBT | 5 | size | size, width | mida, amplada | s | ||
GIBT | 6 | caption | caption, Caption | peu, Peu | WD P18,P2096 | P18,P2096 | s |
IMI | 7 | ICD10 | ICD10 | CIM10 | WD P1690 | ICD-10-PCS | s |
IMI | 8 | ICD9 | ICD9 | CIM9 | WD P1692 | CIM-9-CM | s |
IMI | 9 | ICD9u | ICD9unlinked | WD P493 | Codi CIM-9 | s | |
MII | 10 | MeshName | MeshName | WD P486 | Identificador MeSH | s | |
MII | 11 | MeshNumber | MeshNumber | s | |||
MII | 12 | MeSH1 | MeshID, MeSH, MeSH1 | s | |||
MII | 13 | MeshYear1 | MeshYear, MeshYear1 | i+ | |||
MII | 14 | MeSH2 | MeSH2 | s | |||
MII | 15 | MeshYear2 | MeshYear2 | i+ | |||
MII | 16 | MeSH3 | MeSH3 | s | |||
MII | 17 | MeshYear3 | MeshYear3 | i+ | |||
MII | 18 | MeSH4 | MeSH4 | s | |||
MII | 19 | MeshYear4 | MeshYear4 | i+ | |||
MII | 20 | MeSH5 | MeSH5 | s | |||
MII | 21 | MeshYear5 | MeshYear5 | i+ | |||
IMI | 22 | OPS | OPS301 | WD P1691 | Operacions i procediments clau (OPS) | s | |
IMI | 23 | LOINC | LOINC | WD P4338 | Identificador LOINC | s | |
IMI | 24 | Other | other_codes, OtherCodes | altres_codis, AltresCodis | s | ||
IMI | 25 | Medline | MedlinePlus | WD P604 | Identificador MedlinePlus d'article | s | |
MII | 26 | eMedicine | eMedicine | WD P673 | Identificador eMedicine | s | |
MII | 27 | eMedicineSubj | eMedicineSubj | s | |||
MII | 28 | eMedicineTopic | eMedicineTopic | i+ | |||
MII | 29 | eMedicine_mult | eMedicine_mult | s | |||
IMI | 30 | HCPCS | HCPCSlevel2 | s | |||
IMI | 31 | CPT | CPT | WD P7410 | Healthcare Common Procedure Coding System Identifier | s |
You can change the localizated text in:
- GIBT: Module:Global infobox tools/i18n
- MII: Module:Medical infobox items/i18n
- IMI: Module:Infobox medical intervention/prova/i18n
{{#invoke:Infobox medical intervention/prova|infobox|allitems=labels}}
M. | P. | Key | Source/WD content (en) | WD | WD content (ca) | Localization (i18n) |
---|---|---|---|---|---|---|
IMI | 1 | ICD10 | ICD-10 Procedure Coding System | Q9006342 | ICD-10-PCS | CIM-10-PCS |
IMI | 2 | ICD9 | ICD-9-CM | Q5737131 | CIM-9-MC | CIM-9-MC |
IMI | 3 | ICD9u | ICD-9 | Q14067712 | CIM-9 | CIM-9 |
IMI | 4 | OPS | OPS-301 | Q2026515 | OPS-301 | OPS-301 |
IMI | 5 | LOINC | Logical Observation Identifiers Names and Codes | Q502480 | LOINC | LOINC |
IMI | 6 | Other | Other codes | Altres codis | ||
IMI | 7 | Medline | MedlinePlus | Q557919 | MedlinePlus | MedlinePlus |
IMI | 8 | HCPCS | HCPCS Level 2 | Q5629114 | HCPCS Level 2 | HCPCS-L2 |
IMI | 9 | CPT | Current Procedural Terminology | Q964984 | Current Procedural Terminology (en) | CPT |
You can change the localizated text in:
{{#invoke:Infobox medical intervention/prova|infobox|allitems=template}}
<templatedata>
{
"params": {
"nom": {
"aliases": [
"Name",
"name"
],
"type": "line"
},
"imatge": {
"aliases": [
"Imatge",
"image",
"Image"
],
"type": "line"
},
"imatge_idx": {
"aliases": [
"image_idx"
],
"type": "number"
},
"alt": {
"type": "line"
},
"mida": {
"aliases": [
"amplada",
"size",
"width"
],
"type": "line"
},
"peu": {
"aliases": [
"Peu",
"caption",
"Caption"
],
"type": "line"
},
"CIM10": {
"aliases": [
"ICD10"
],
"type": "line"
},
"CIM9": {
"aliases": [
"ICD9"
],
"type": "line"
},
"ICD9unlinked": {
"type": "line"
},
"MeshName": {
"type": "line"
},
"MeshNumber": {
"type": "line"
},
"MeshID": {
"aliases": [
"MeSH",
"MeSH1"
],
"type": "line"
},
"MeshYear": {
"aliases": [
"MeshYear1"
],
"type": "number"
},
"MeSH2": {
"type": "line"
},
"MeshYear2": {
"type": "number"
},
"MeSH3": {
"type": "line"
},
"MeshYear3": {
"type": "number"
},
"MeSH4": {
"type": "line"
},
"MeshYear4": {
"type": "number"
},
"MeSH5": {
"type": "line"
},
"MeshYear5": {
"type": "number"
},
"OPS301": {
"type": "line"
},
"LOINC": {
"type": "line"
},
"altres_codis": {
"aliases": [
"AltresCodis",
"other_codes",
"OtherCodes"
],
"type": "line"
},
"MedlinePlus": {
"type": "line"
},
"eMedicine": {
"type": "line"
},
"eMedicineSubj": {
"type": "line"
},
"eMedicineTopic": {
"type": "number"
},
"eMedicine_mult": {
"type": "line"
},
"HCPCSlevel2": {
"type": "line"
},
"CPT": {
"type": "line"
}
},
"format": "block"
}
</templatedata>
{{#invoke:Infobox medical intervention/prova|infobox|allitems=list}}
CIM-10-PCS | falla més |
---|
{{#invoke:Infobox medical intervention/prova|infobox |nom=Altre nom |ICD10=falla més }}
CIM-10-PCS | falla més |
---|---|
CIM-9-MC | {{ICD9proc|123.8}} |
OPS-301 | falla |
Altres codis | zzz |
HCPCS-L2 | hhh l_altres_codis = Altre! |
{{#invoke:Infobox medical intervention/prova|infobox |item=Q5004192| Image = | Caption = | ICD10 = falla més | ICD9 = 123.8 | MeshID = 345 | OPS301 = falla | OtherCodes = zzz | HCPCSlevel2 = hhh l_altres_codis = Altre! }}
--[[
For translation of this module, you must customize:
Module:Infobox medical intervention/i18n
Module:Infotable images/i18n
Module:Medical infotable items/i18n
--]]
local p = {}
local SA = require "Module:SimpleArgs"
local SD = require "Module:SimpleDebug"
local WD = require "Module:Wikidades"
local MLMT = require "Module:Multilang module tools/prova"
local GIBT = require "Module:Global infobox tools/prova"
local GIBTi = require "Module:Global infobox tools/prova/items"
local MII = require "Module:Medical infobox items/prova"
local MIIi = require "Module:Medical infobox items/prova/items"
local IMIi = require "Module:Infobox medical intervention/prova/items"
local GIBTi18n
local IMIi18n
local ModuleName = 'Infobox medical intervention/prova'
local rs = { --reserved keys and their modified values for infobox configuration
--for default stored values of the other options look at list with allitems=list
}
local cat = { --tracking categories
[GIBTi.rk.rs_cat_arg_error] = "_Q56486184", -- specific category: "_Q90499106",
}
local items = { --used key names
[MLMT.k.Args] = { --parameter key, its name/s (as parameter) and optional Wikidata qualifiers/properties
[GIBTi.rk.name] = {{"Name",
"name"}, "",}, --allways required
[IMIi.k.ICD10] = {"ICD10", "_P1690",},
[IMIi.k.ICD9] = {"ICD9", {property="P1692",
formatting='{{ICD9proc|$1}}',}},
[IMIi.k.ICD9u] = {"ICD9unlinked", "_P493",},
[IMIi.k.OPS] = {"OPS301", "_P1691",},
[IMIi.k.LOINC] = {"LOINC", {property="P4338",
formatting='{{LOINC|$1}}',}},
[IMIi.k.Other] = {{"other_codes",
"OtherCodes"}, "",},
[IMIi.k.Medline] = {"MedlinePlus", {property="P604",
formatting='[https://medlineplus.gov/ency/article/$1.htm $1]'}},
[IMIi.k.HCPCS] = {"HCPCSlevel2", "",},
[IMIi.k.CPT] = {"CPT", "_P7410",},
},
[MLMT.k.Labels] = { --label or header (hd_) key, and its value as Wikidata qualifier or property to read (or text)
[IMIi.k.ICD10] = "_Q9006342",
[IMIi.k.ICD9] = "_Q5737131",
[IMIi.k.ICD9u] = "_Q14067712",
[IMIi.k.OPS] = "_Q2026515",
[IMIi.k.LOINC] = "_Q502480",
[IMIi.k.Other] = "Other [[procedure codes|codes]]",
[IMIi.k.Medline] = "_Q557919",
[IMIi.k.HCPCS] = "_Q5629114",
[IMIi.k.CPT] = "_Q964984",
},
}
function p.infobox(frame)
local args, NArgs = SA.GetArgs (frame)
MLMT.SetLang (args)
GIBTi18n = require (SA.I18nName ("Global infobox tools/prova"))
IMIi18n = require (SA.I18nName ("Infobox medical intervention/prova"))
GIBT.SetColorsAndIcon (ModuleName,
GIBTi18n.lcol.science, --group color
GIBTi18n.licon.medical_intervention)
items, IMIi18n.items = GIBT.CheckArgLabLua (ModuleName, items, IMIi18n.items, IMIi18n.omit_params)
IMIi.idx = GIBT.CheckIdx_arglabLua (ModuleName, IMIi.idx, IMIi18n.new_idx)
args = GIBT.SetRsv_1ToArgs (ModuleName, frame, args, rs, IMIi18n.rs_val, cat)
local itemsM = GIBT.tableMerge (ModuleName, items, IMIi18n.items)
GIBT.i_LoadI18n ()
MII.LoadI18n ()
MLMT.IniLang (frame, args)
SA.Error.handle = true
--END INITIALIZATION
function ArgMMI (option, key)
return MII.arg_items (option, key)
end
function load_show_key (key)
GIBT.load_show_key (args, itemsM, key, IMIi.arg_lims)
end
--BEGIN--
local res = GIBT.ItemList_or_TempData (args, 'IMI', ModuleName, items, IMIi18n.items, IMIi.idx, IMIi.arg_lims,
{{'', MII.arglab_items},}, {{'', ArgMMI},})
if res == nil then
GIBT.IniLua (args, itemsM)
local n_last_capt = GIBT.i_main (frame, args)
load_show_key (IMIi.k.ICD10)
load_show_key (IMIi.k.ICD9)
load_show_key (IMIi.k.ICD9u)
MII.mesh (frame, args)
load_show_key (IMIi.k.OPS)
load_show_key (IMIi.k.LOINC)
load_show_key (IMIi.k.Other)
load_show_key (IMIi.k.Medline)
MII.eMedicine (args)
load_show_key (IMIi.k.HCPCS)
load_show_key (IMIi.k.CPT)
GIBT.ExecFuncs_SetHeaders (frame, itemsM, nil, n_last_capt)
return GIBT.CheckShowParams (
frame, args,
--allowed parameters:
{itemsM, --current module specific arguments
GIBT.i_itemsM, --image module specific arguments
MII.itemsM[MIIi.k.Mesh], MII.itemsM[MIIi.k.eMed]} --Medical infotable items arguments
)..
GIBT.InfoboxWithItsValues()
else
return res
end
end --infobox
return p