The generalCreditRequest ATL COM module for
generating electronic and paper based credit requests
generating electronic and paper based credit requests
API browser of generalCreditRequest430 COM module
IGeneralCreditResult::GetOuterCantonal method | |||
---|---|---|---|
Retrieves the "outer cantonal" input data.
The "outer cantonal" data is defined only for a stationary treatment where the patient's tax canton differs from the treatment canton. |
|||
C/C++ calling syntax | |||
HRESULT GetOuterCantonal( | CantonType
BSTR BSTR DATE DATE VARIANT_BOOL |
*peTaxCanton,
*pbstrTaxCity, *pbstrEmergencyCity, *pdEmergencyDate, *pdRetransferDate, *pbStatus); |
|
Calling argument description | |||
[out] CantonType | *peTaxCanton | The tax canton given by the CantonType enumeration | |
[out] BSTR | *pbstrTaxCity | The city where the patient is living and paying taxes. | |
[out] BSTR | *pbstrEmergencyCity | If an emergency (IGeneralCreditRequest::SetStationary@eHospitalizationType = enEmergency) is the type/reason for the hospitalization then bstrEmergencyCity defines where the emergency happened.
If the location is unknown or if it is not an emergency than an empty string is returned. |
|
[out] DATE | *pdEmergencyDate | If an emergency (IGeneralCreditRequest::SetStationary@eHospitalizationType = enEmergency) is the type/reason for the hospitalization then dEmergencyDate defines the date and time of the emergency.
If this date is unknown or it is not an emergency than 0 is returned as date. |
|
[out] DATE | *pdRetransferDate | If an emergency (IGeneralCreditRequest::SetStationary@eHospitalizationType = enEmergency) is the type/reason for the hospitalization then dRetransferDate is the date of the earliest transfer to a hospital of the tax canton.
If this date is unknown or it is not an emergency than 0 is returned as date. |
|
[out, retval] VARIANT_BOOL | *pbStatus | Return status of the method. VARIANT_FALSE is returned if the outer cantonal data is undefined. | |
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. | ||