internal Product(string code, string name, DrugTerminology terminology, long?groupId, string groupName) { Reference = new RxProduct.Reference(code, name, terminology); Group = groupId.HasValue ? new RxProduct.Grouping(groupId.Value, groupName) : RxProduct.Grouping.Empty; }
private void an_other_drug_terminology() { the_drug_terminology = (DrugTerminology)99; }
public Product[] LookupProduct(IEnumerable <Drug> drugs, DrugTerminology terminology) { return(Db.Query <Product>("GetProducts", new { ProductCodes = drugs.ToTable(), DrugTerminology = terminology }, CommandType.StoredProcedure).ToArray()); }
private void a_drug_terminology() { the_drug_terminology = the_product.References.First().Terminology; }