Medications with the same name generating an error

Modified on Thu, 15 Dec 2011 11:30 by CAREWare Help Desk — Categorized as: FAQ

Medications named the same for the medication name and the custom name that are then imported into CAREware will generate the following error:

Source:  - An error occurred while attempting to import the medication definition.

Column 'act_md_custom_name' does not belong to table Table1.
   at System.Data.DataRow.GetDataColumn(String columnName)
   at System.Data.DataRow.get_Item(String columnName)
   at jProgBusiness.jBusiness.jTestSetup.updateAnyMedNameConflicts(String sessionToken, 
jMedicationDefinition Medication)
   at jProgBusiness.jBusiness.jTestSetup.MedicationAdd(String GUIDToken, jMedicationDefinition Medication, 
jBusinessShared BusinessShared, jDatabaseEncryption Enc)
   at jProgBusiness.jBusiness.jBusinessRemote.MDC_Medication_Import(String SessionToken, jMedicationDefinition
 Medication, String DomainPK)

Server stack trace:
   at jProgBusiness.jBusiness.jBusinessRemote.MDC_Medication_Import(String SessionToken, jMedicationDefinition 
Medication, String DomainPK)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, 
Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, 
Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, 
Boolean fExecuteInContext)

Exception rethrown at [0]:
   at jProgBusiness.jBusiness.jClientSideRemote.MDC_Medication_Import(String SessionToken, jMedicationDefinition Medication, 
String DomainPK)
   at Client.MedicationImportSetup.AddToCurrentList()
An error occurred while attempting to import the medication definition.

This bug was found in build527L
This bug was fixed in build537
TTP #1733

Back to Bugs

Back to Frequently Asked Questions