Module:Infobox disease/items
Documentation for this module may be created at Module:Infobox disease/items/doc
local p = {}
local GIBTi = require "Module:Global infobox tools/items"
local GIBT = require "Module:Global infobox tools"
local MIBIi = require "Module:Medical infobox items/items"
p.k = { --used key names for headers, labels and data
type = "type",
synonym = "synonym",
eponym = "eponym",
specialty = "specialty",
hd_Clinical = "hd_Clinical",
hd_ClinicManag = "hd_ClinicManag",
symptoms = "symptoms",
complication = "complication",
onset = "onset",
duration = "duration",
types = "types",
causes = "causes",
risks = "risks",
diagnosis = "diagnosis",
exams = "exams",
diff_diag = "diff_diag",
prevention = "prevention",
treatment = "treatment",
drug_used = "drug_used",
prognosis = "prognosis",
frequency = "frequency",
deaths = "deaths",
d_burden = "d_burden",
measured_by = "measured_by",
hd_Pathos = "hd_Pathos",
location = "location",
genetic = "genetic",
afflicts = "afflicts",
transmitted = "transmitted",
has_cause = "has_cause",
has_effec = "has_effec",
hd_Classif = "hd_Classif",
ICD10 = "ICD10",
ICD9 = "ICD9",
ICD_O = "ICD_O",
ICPC = "ICPC",
DSM = "DSM",
hd_ExtRes = "hd_ExtRes",
OMIM = "OMIM",
OMIM_mult = "OMIM_mult",
DiseasesDB = "DiseasesDB",
DiseasesDB_mult = "DiseasesDB_mult",
MedlineP = "MedlineP",
MedlineP_mult = "MedlineP_mult",
NCI = "NCI",
P_UK = "P_UK",
Orphanet = "Orphanet",
umls_cui = "umls_cui",
doid = "doid",
proof_arg = 'proof_arg',
}
p.arg_lims = { --non-string types for parameters
[p.k.DiseasesDB] = 'i+',
[p.k.OMIM] = 'i+',
[p.k.Orphanet] = 'i+',
[p.k.proof_arg] = {'a',{'a','b'}},
}
p.idx = { --index for parameter and/or header/label lists
{'a', GIBTi.rk.name},
{'-', GIBT.images},
{'al', p.k.type},
{'al', p.k.synonym},
{'al', p.k.eponym},
{'al', p.k.specialty},
{'L', p.k.hd_Clinical},
{'L', p.k.hd_ClinicManag},
{'al', p.k.symptoms},
{'al', p.k.complication},
{'al', p.k.onset},
{'al', p.k.duration},
{'al', p.k.types},
{'al', p.k.causes},
{'al', p.k.risks},
{'al', p.k.diagnosis},
{'al', p.k.exams},
{'al', p.k.diff_diag},
{'al', p.k.prevention},
{'al', p.k.treatment},
{'cl', p.k.drug_used},
{'al', p.k.prognosis},
{'al', p.k.frequency},
{'al', p.k.deaths},
{'al', p.k.d_burden},
{'al', p.k.measured_by},
{'L', p.k.hd_Pathos},
{'al', p.k.location},
{'al', p.k.genetic},
{'al', p.k.afflicts},
{'al', p.k.transmitted},
{'al', p.k.has_cause},
{'al', p.k.has_effec},
{'L', p.k.hd_Classif},
{'al', p.k.ICD10},
{'al', p.k.ICD9},
{'al', p.k.ICD_O},
{'al', p.k.ICPC},
{'al', p.k.DSM},
{'L', p.k.hd_ExtRes},
{'al', p.k.OMIM},
{'a', p.k.OMIM_mult},
{'al', p.k.DiseasesDB},
{'a', p.k.DiseasesDB_mult},
{'al', p.k.MedlineP},
{'a', p.k.MedlineP_mult},
{'-', MIBIi.k.eMed},
{'al', p.k.NCI},
{'al', p.k.P_UK},
{'-', MIBIi.k.Mesh},
{'-', MIBIi.k.Gene},
{'al', p.k.Orphanet},
{'al', p.k.umls_cui},
{'al', p.k.doid},
{'al', p.k.proof_arg},
}
return p