hospitalCreditRequest generates a credit request
for role=physician and place=hospital
hospitalCreditRequest
    API DocBrowser   ·  Revision history
    Download area
    FAQ
 
home
system
integrators
search the
site
 

validator
modules
invoice
modules
credit
modules
miscellaneous
modules
tools

  Design by TMR AG
  © by sumex1.net
 
IHospitalCreditRequest::SetPatient method

Description  V4.10/28 Sep 2005 
Set the full address of a patient
hospitalCreditRequest
  IHospitalCreditRequest
    SetPatient

C/C++ syntax
HRESULT  SetPatient( IAddress   *pIAddress,
SexType   eSexType,
DATE   dBirthdate,
BSTR   bstrSsnNumber,
CantonType   eTaxCanton,
BSTR   bstrTaxCity,
VARIANT_BOOL   *pbStatus);

Parameter description
[in]   IAddress   *pIAddress   Address interface instance of the patient's address
[in]   SexType   eSexType   Patient's gender
[in]   DATE   dBirthdate   Patient's birth date
[in]   BSTR   bstrSsnNumber   Patient's social security number, either the 11 digits SSN or the new 13 digit SSN
[in]   CantonType   eTaxCanton   The canton where to pay taxes. Set the canton only if the treatment canton and the tax canton are not the same
[in]   BSTR   bstrTaxCity   The city where to pay taxes. Set the city only if the treatment canton and the tax canton are not the same
[out, retval]   VARIANT_BOOL   *pbStatus   Return status

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.