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