示例#1
0
 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;
 }
示例#2
0
 private void an_other_drug_terminology()
 {
     the_drug_terminology = (DrugTerminology)99;
 }
示例#3
0
 public Product[] LookupProduct(IEnumerable <Drug> drugs, DrugTerminology terminology)
 {
     return(Db.Query <Product>("GetProducts", new { ProductCodes = drugs.ToTable(), DrugTerminology = terminology }, CommandType.StoredProcedure).ToArray());
 }
示例#4
0
 private void a_drug_terminology()
 {
     the_drug_terminology = the_product.References.First().Terminology;
 }