OpenersNotesSection(Spacer1)Details

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Interpret drugs:

Interpreter["ComputedDrug"]["cocaine"]

Restrict to drugs in a class:

Interpreter[Restricted["ComputedDrug",(EntityClass["steroids", EntityClass["Chemical","Steroids"], "EntityClass[\"Chemical\", \"Steroids\"]", "chemicals"])]]["amoxicillin"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Interpreter, paclet:ref/Interpreter])  ▪  (RefLink[SemanticImport, paclet:ref/SemanticImport])  ▪  (RefLink[Restricted, paclet:ref/Restricted])  ▪  (RefLink[Failure, paclet:ref/Failure])  ▪  (RefLink[Entity, paclet:ref/Entity])  ▪  (RefLink[EntityValue, paclet:ref/EntityValue])}, {Related Entity Types:  (RefLink[Chemical, paclet:ref/entity/Chemical])  ▪  (RefLink[ICDNine, paclet:ref/entity/ICDNine])  ▪  (RefLink[ICDTen, paclet:ref/entity/ICDTen])  ▪  (RefLink[Disease, paclet:ref/entity/Disease])  ▪  (RefLink[AnatomicalStructure, paclet:ref/entity/AnatomicalStructure])  ▪  (RefLink[MedicalTest, paclet:ref/entity/MedicalTest])  ▪  (RefLink[Protein, paclet:ref/entity/Protein])}, {Related Interpreter Types:  (RefLink[Drug, paclet:ref/interpreter/Drug])  ▪  (RefLink[Chemical, paclet:ref/interpreter/Chemical])  ▪  (RefLink[ChemicalClass, paclet:ref/interpreter/ChemicalClass])  ▪  (RefLink[ICDNine, paclet:ref/interpreter/ICDNine])  ▪  (RefLink[ICDTen, paclet:ref/interpreter/ICDTen])  ▪  (RefLink[ICDTenClass, paclet:ref/interpreter/ICDTenClass])  ▪  (RefLink[Disease, paclet:ref/interpreter/Disease])  ▪  (RefLink[AnatomicalStructure, paclet:ref/interpreter/AnatomicalStructure])  ▪  (RefLink[AnatomicalStructureClass, paclet:ref/interpreter/AnatomicalStructureClass])  ▪  (RefLink[MedicalTest, paclet:ref/interpreter/MedicalTest])  ▪  (RefLink[Protein, paclet:ref/interpreter/Protein])  ▪  (RefLink[Entity, paclet:ref/interpreter/Entity])  ▪  (RefLink[ComputedChemical, paclet:ref/interpreter/ComputedChemical])  ▪  (RefLink[ComputedICDNine, paclet:ref/interpreter/ComputedICDNine])  ▪  (RefLink[ComputedICDTen, paclet:ref/interpreter/ComputedICDTen])  ▪  (RefLink[ComputedDisease, paclet:ref/interpreter/ComputedDisease])  ▪  (RefLink[ComputedAnatomicalStructure, paclet:ref/interpreter/ComputedAnatomicalStructure])  ▪  (RefLink[ComputedMedicalTest, paclet:ref/interpreter/ComputedMedicalTest])  ▪  (RefLink[ComputedProtein, paclet:ref/interpreter/ComputedProtein])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Setting Up Input Interpreters, paclet:guide/InterpretingStrings])}})}})