API browser of generalCreditRequest430 COM module


/images/arrow_right.png IGeneralCreditRequest::SetOuterCantonal method
Sets the "outer cantonal" input data.

The "outer cantonal" data is defined for a stationary treatment where the patient's tax canton differs from the treatment canton.

space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT SetOuterCantonal( CantonType
BSTR
BSTR
DATE
DATE
VARIANT_BOOL
eTaxCanton,
bstrTaxCity,
bstrEmergencyCity,
dEmergencyDate,
dRetransferDate,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[in] CantonType eTaxCanton The tax canton given by the CantonType enumeration
[in] BSTR bstrTaxCity The city where the patient is living and paying taxes.
[in] BSTR bstrEmergencyCity If an emergency (SetStationary@eHospitalizationType = enEmergency) is the type/reason for the hospitalization then set the city where emergency happened.

If this place is unknown or it is not an emergency set an empty variable.

[in] DATE dEmergencyDate If an emergency (SetStationary@eHospitalizationType = enEmergency) is the type/reason for the hospitalization then set the date and time of the emergency.

If this date is unknown or it is not an emergency set 0 as date.

[in] DATE dRetransferDate If an emergency (SetStationary@eHospitalizationType = enEmergency) is the type/reason for the hospitalization then set the date of the earliest transfer to a hospital of the tax canton.

If this date is unknown or it is not an emergency set 0 as date.

[out, retval] VARIANT_BOOL *pbStatus Return status of the method. If pbStatus is VARIANT_FALSE then an error occurred and GetAbortInfo should be called to retrieve the error string.
 
/images/arrow_right.png C/C++ return value
S_OK This value is returned if the function call was successful or if the return value of a boolean method signalling a true value. In this case the VARIANT_BOOL is set to VARIANT_TRUE.
S_FALSE This is the return value of a boolean method signalling a false return value. In this case the VARIANT_BOOL is set to VARIANT_FALSE.
E_name This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions.