API browser of generalCreditResponse430 COM module


/images/arrow_right.png IGeneralCreditResponse::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.

VARIANT_FALSE is returned if the data are not defined.

space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT GetOuterCantonal( CantonType
BSTR
BSTR
DATE
DATE
VARIANT_BOOL
*peTaxCanton,
*pbstrTaxCity,
*pbstrEmergencyCity,
*pdEmergencyDate,
*pdRetransferDate,
*pbStatus);
 
/images/arrow_right.png 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 (GetStationary@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 an empty string is returned.

[out] DATE *pdEmergencyDate If an emergency (GetStationary@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 (GetStationary@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.
 
/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.