Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.elexis.trustx
Class TrustXTransmit

java.lang.Object
  extended by ch.elexis.trustx.TrustXTransmit
All Implemented Interfaces:
IRnOutputter

public class TrustXTransmit
extends java.lang.Object
implements IRnOutputter

Transmit bills directly to a 'TrustCenter' via TrustX-Module. Note: This works only on Windows, because TrustX and ASAS are Closed-Source COM-DLL's Prerequisites: ASAS installed and configured, Trustx installed and configured. Dependencies: elexis-arzttarife-schweiz, jdomwrapper


Nested Class Summary
 
Nested classes/interfaces inherited from interface ch.elexis.util.IRnOutputter
IRnOutputter.TYPE
 
Field Summary
 
Fields inherited from interface ch.elexis.util.IRnOutputter
PROP_OUTPUT_METHOD
 
Constructor Summary
TrustXTransmit()
           
 
Method Summary
 boolean canBill(Fall fall)
          check whether a case could be billed, i.e. all billing data are present.
 boolean canStorno(Rechnung rn)
          Cancelling an already output bill: Depending on the type of the outputter, this might result in propagataing the cancel information to the final destination of the bill.
 org.eclipse.swt.widgets.Control createSettingsControl(org.eclipse.swt.widgets.Composite parent)
          Create a Control to perform necessary setings for his outputter.
 Result<Rechnung> doOutput(IRnOutputter.TYPE type, java.util.Collection<Rechnung> rnn, java.util.Properties props)
          Export and transmit all bills contained in rnn
 java.lang.String getDescription()
          A short textual description for this output (as Label)
 void saveComposite()
          Methode is called before dialog is closed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustXTransmit

public TrustXTransmit()
Method Detail

doOutput

public Result<Rechnung> doOutput(IRnOutputter.TYPE type,
                                 java.util.Collection<Rechnung> rnn,
                                 java.util.Properties props)
Export and transmit all bills contained in rnn

Specified by:
doOutput in interface IRnOutputter
Parameters:
rnn - Collection of bills to transmit
asCopy - true to mar bills as "copy" or "resend"
Returns:
Result containing all erroneous bills.

getDescription

public java.lang.String getDescription()
Description copied from interface: IRnOutputter
A short textual description for this output (as Label)

Specified by:
getDescription in interface IRnOutputter

canStorno

public boolean canStorno(Rechnung rn)
Description copied from interface: IRnOutputter
Cancelling an already output bill: Depending on the type of the outputter, this might result in propagataing the cancel information to the final destination of the bill.

Specified by:
canStorno in interface IRnOutputter
Parameters:
rn - the specific bill to cancel or null, if it is just a general question
Returns:
true if this outputter wants to be informed if this (or any in case of Rn==null) bill is cancelled. If an outputter does need to react on storno messages, it should return false.

createSettingsControl

public org.eclipse.swt.widgets.Control createSettingsControl(org.eclipse.swt.widgets.Composite parent)
Description copied from interface: IRnOutputter
Create a Control to perform necessary setings for his outputter.

Specified by:
createSettingsControl in interface IRnOutputter
Returns:

canBill

public boolean canBill(Fall fall)
Description copied from interface: IRnOutputter
check whether a case could be billed, i.e. all billing data are present. This should only check for required absolutely mandatory data. At output time, the outputter still can reject.

Specified by:
canBill in interface IRnOutputter
Parameters:
fall - the case to check
Returns:
true if we can send a bill from this case

saveComposite

public void saveComposite()
Description copied from interface: IRnOutputter
Methode is called before dialog is closed. Used to save the widget contents before the composite is disposed;

Specified by:
saveComposite in interface IRnOutputter

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013