I would like to add a button to the FormClaimAttachment form that will allow the user to load images from a custom system.
I would need to be able to introspect the current claim and the current patient (to begin with to get PatNum, Date of Service, Patient Name). I'll need to pass the three parameters to our plugin as they're all private at the moment.
Code: Select all
private Claim _claimCur;
private Patient _claimPat;
private void ShowImageAttachmentItemEdit(Image img) {...}
Could you please add the following hook at the end of the class "FormClaimAttachment":
Code: Select all
Plugins.HookAddCode(this,"FormClaimAttachment.Load_end", _patCur, _claimCur, (Action<Image>)ShowImageAttachmentItemEdit);