merging

Sandra,
You seem to have alot of notes on how to do things,
Do you have notes on how to merge clients together and how to merge patients together.
We just had a stray cat on our files that we have found the owner for and are having some difficulties merging the histories together.
thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

merging

What sort of difficulties?

 

You should be able to merge the stray cat's history with the original patient's as follows:

  1. Go to the Patients -> Information workspace, and Select the original patient(call it "Original")
  2. Click Merge. You'll get a message: "Are you sure you want to merge the Patient(Pet). This operation cannot be undone."
  3. Click OK, and select the stray cat (call it "Stray"). If "Stray" doesn't have the same owner as "Original", you will need to select the "All Patients" check box
  4. Click OK to perform the merge. "Stray" will be deleted and all of its history moved to "Original"

If "Stray" had a patient owner relationship, it may have replaced the correct one for "Original"'.

To fix this, you'll need to:

  1. Edit "Original" and in the "Customers" tab, deselect "Hide Inactive Customers"
  2. Select and delete the incorrect customer relationship(s)
  3. Select the correct customer relationship and clear the "To Date" field
  4. Click OK to save.

 

-Tim

 

 

 

 

 

Merging

Sandra @ Bellarine

Hi Jocelyn,

Only saw this today, have been very busy and haven't had much time to get on the forums, sorry I dind't get back to you! 

Sandra

merging error

This may be just us but I am finding when merging Customers I am getting this error for some customers.

 

The error text is : "org.openvpms.component.business.domain.archetype.ArchetypeId"

 

A screenshot is attached.

 

Cheers,

Matt C

AttachmentSize
untitled.JPG 141.31 KB

Re: merging error

Sounds like a bug. Can you zip up your openvpms-full.log file (should be located in the bin directory of tomcat) and send to me off list?

Thanks,

Tim

mpcosta@boroniavet.com.au wrote:

> This may be just us but I am finding when merging Customers I am > getting this error for some customers. > > The error text is : > "org.openvpms.component.business.domain.archetype.ArchetypeId" > > A screenshot is attached. > > Cheers, > Matt C > > File attachments: > > [untitled.JPG]: > http://www.openvpms.org/fileuploads/untitled.JPG > ---------- > Original attachments can be found at: > http://www.openvpms.org/forum/merging > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in > the OpenVPMS User's forum- http://tinyurl.com/openvfu

_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu

Re: merging error

Hi Tim, Hope this contains what you need. I found it in the root dir of Program Files->Apache S.ware Found.->Tomcat not the bin folder (which was empty).

Matt

On Thu, 08 Oct 2009 09:45:32 +1100, Tim Anderson

wrote:

> Sounds like a bug. Can you zip up your openvpms-full.log file (should be > located in the bin directory of tomcat) and send to me off list? > > Thanks, > > Tim > > mpcosta@boroniavet.com.au wrote: >> This may be just us but I am finding when merging Customers I am >> getting this error for some customers. >> >> The error text is : >> "org.openvpms.component.business.domain.archetype.ArchetypeId" >> >> A screenshot is attached. >> >> Cheers, >> Matt C >> >> File attachments: >> >> [untitled.JPG]: >> http://www.openvpms.org/fileuploads/untitled.JPG >> ---------- >> Original attachments can be found at: >> http://www.openvpms.org/forum/merging >> _______________________________________________ >> OpenVPMS User Mailing List >> users@lists.openvpms.org >> To unsubscribe or change your subscription visit: >> http://lists.openvpms.org/listinfo/users >> Posts from this mailing list can be viewed online and replied to in >> the OpenVPMS User's forum- http://tinyurl.com/openvfu > > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu >

Re: merging error

This is a bug. I've raised https://openvpms.atlassian.net/browse/OBF-206 for it.

 

-Tim

Cant merge

Hi

I have a problem, i am unable to merge two animals together. I had the client on the computer twice so i merge them together which then gave me two of the sameanimal on one file. i then tried to merge the two together on keep getting error

"Org.openvpms,componont.business.domain.im.com.entity cannot be cast."

does anyone have any suggestions.

Jocelyn

Cannot merge

Sandra @ Bellarine

 

Hi Jocelyn,

Does one of the patients have a discount attached to them?

I had a problem with this once, have a look at this link to see the post relating to it - http://www.openvpms.org/forum/patient-merging-error#comment-1381

Sandra.

merging

Hi

had a look there is no discount added to either patient any other suggestions.

joss

merging

That error message looks incomplete. Is there any more to it?

 

-Tim

merging

Yes there is more. Sorry

The rest is:

"to org.openvpms.componene.business.domain.im.paty.Party."

thanks joss

merging

OK. This sounds a bit like this bug: https://openvpms.atlassian.net/browse/ARCH-15

This has been fixed for 1.4.

 

Can't be sure without seeing the logs however.

 

-Tim

merging

Hi Tim,

 

Here is some more log information which I think confirms it is the same issue:

24 Oct 2009 08:38:11,125 ERROR ErrorHelper,http-8080-Processor20:156 - org.openvpms.component.business.domain.im.common.Entity cannot be cast to org.openvpms.component.business.domain.im.party.Party
java.lang.ClassCastException: org.openvpms.component.business.domain.im.common.Entity cannot be cast to org.openvpms.component.business.domain.im.party.Party
    at org.openvpms.archetype.rules.party.PartyMerger.getParty(PartyMerger.java:318)
    at org.openvpms.archetype.rules.party.PartyMerger.getRelated(PartyMerger.java:136)
    at org.openvpms.archetype.rules.party.PartyMerger.merge(PartyMerger.java:120)
    at org.openvpms.archetype.rules.patient.PatientRules.mergePatients(PatientRules.java:431)
    at org.openvpms.web.app.patient.info.PatientMergeWorkflow$2.doInTransaction(PatientMergeWorkflow.java:113)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114)
    at org.openvpms.web.app.patient.info.PatientMergeWorkflow.merge(PatientMergeWorkflow.java:110)
    at org.openvpms.web.app.patient.info.PatientMergeWorkflow.access$000(PatientMergeWorkflow.java:45)
    at org.openvpms.web.app.patient.info.PatientMergeWorkflow$1.execute(PatientMergeWorkflow.java:97)
    at org.openvpms.web.component.workflow.SynchronousTask.start(SynchronousTask.java:42)
    at org.openvpms.web.component.workflow.WorkflowImpl.next(WorkflowImpl.java:166)
    at org.openvpms.web.component.workflow.WorkflowImpl.onEvent(WorkflowImpl.java:203)
    at org.openvpms.web.component.workflow.WorkflowImpl$1.taskEvent(WorkflowImpl.java:82)
    at org.openvpms.web.component.workflow.TaskListeners.taskEvent(TaskListeners.java:71)
    at org.openvpms.web.component.workflow.AbstractTask.notifyEvent(AbstractTask.java:213)
    at org.openvpms.web.component.workflow.AbstractTask.notifyCompleted(AbstractTask.java:118)
    at org.openvpms.web.component.workflow.SelectIMObjectTask$1.windowPaneClosing(SelectIMObjectTask.java:165)
    at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154)
    at org.openvpms.web.component.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:215)
    at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:792)
    at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:141)
    at org.openvpms.web.component.im.query.BrowserDialog.onSelected(BrowserDialog.java:180)
    at org.openvpms.web.component.im.query.BrowserDialog$2.selected(BrowserDialog.java:139)
    at org.openvpms.web.component.im.query.BrowserDialog$2.selected(BrowserDialog.java:138)
    at org.openvpms.web.component.im.query.AbstractBrowser.notifySelected(AbstractBrowser.java:81)
    at org.openvpms.web.component.im.query.TableBrowser.onSelect(TableBrowser.java:253)
    at org.openvpms.web.component.im.query.TableBrowser.access$000(TableBrowser.java:45)
    at org.openvpms.web.component.im.query.TableBrowser$1.actionPerformed(TableBrowser.java:199)
    at nextapp.echo2.app.Table.fireActionEvent(Table.java:332)
    at nextapp.echo2.app.Table.processInput(Table.java:586)
    at org.openvpms.web.component.table.KeyTable.processInput(KeyTable.java:136)
    at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116)
    at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89)
    at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472)
    at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279)
    at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273)

 

Cheers

Tony

merging

Yep - same problem.

 

It should only occur if there are discounts or custom fields associated with the patients.

 

-Tim

Syndicate content