API browser of generalCreditResponse430 COM module


/images/arrow_right.png IGeneralCreditResponse::GetStationary method
Retrieves the additional stationary treatment data if such a stationary treatment is defined.

VARIANT_FALSE is returned if the data are not defined. In reverse this means that the case is an ambulatory case

space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT GetStationary( HospitalizationType
HospitalizationMode
InsuranceClass
InsuranceModel
BSTR
VARIANT_BOOL
*peHospitalizationType,
*peHospitalizationMode,
*peInsuranceClass,
*peInsuranceModel,
*pbstrSectionMajor,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[out] HospitalizationType *peHospitalizationType The type/reason of hospitalization given by the HospitalizationType enumeration
[out] HospitalizationMode *peHospitalizationMode The mode/indication of hospitalization given by the HospitalizationMode enumeration
[out] InsuranceClass *peInsuranceClass The insurance class given by the InsuranceClass enumeration
[out] InsuranceModel *peInsuranceModel The insurance model given by the InsuranceModel enumeration.
The insurance model is a possible refinement of the supplied insurance class.
[out] BSTR *pbstrSectionMajor The major BfS section code as defined by Swiss Federal Statistical Office
[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.