Widget:CJP3: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
drugNameFull = val.fulltext; | drugNameFull = val.fulltext; | ||
drugNameShort = drugNameFull.split("#")[0]; | drugNameShort = drugNameFull.split("#")[0]; | ||
pillImprint = | pillImprint = val.printouts["Pill Imprint"]; | ||
pillDosage = | pillDosage = val.printouts["Pill Dosage"]; | ||
pillIngred = | pillIngred = val.printouts["Pill Ingred"]; | ||
pillColor = | pillColor = val.printouts["Pill Color"]; | ||
pillShape = | pillShape = val.printouts["Pill Shape"]; | ||
pillSize = | pillSize = val.printouts["Pill Size (mm)"]; | ||
pillScoring = | pillScoring = val.printouts["Pill Scoring"]; | ||
ndc = | ndc = val.printouts["NDC"]; | ||
pillName = | pillName = val.printouts["Pill Name"]; | ||
alert(drugNameFull + '\n' + drugNameShort + '\n' + pillImprint + '\n' + pillDosage + '\n' + pillIngred + '\n' + pillColor + '\n' + pillShape + '\n' + pillSize + '\n' + pillScoring + '\n' + ndc + '\n' + pillName); | alert(drugNameFull + '\n' + drugNameShort + '\n' + pillImprint + '\n' + pillDosage + '\n' + pillIngred + '\n' + pillColor + '\n' + pillShape + '\n' + pillSize + '\n' + pillScoring + '\n' + ndc + '\n' + pillName); | ||
}); | }); |