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::SetTreatment method

Description  V4.10/28 Sep 2005 
Sets the treatment information
hospitalCreditRequest
  IHospitalCreditRequest
    SetTreatment

C/C++ syntax
HRESULT  SetTreatment( DATE   dateBegin,
DATE   dateEnd,
BSTR   bstrSectionCode,
BSTR   bstrSectionName,
TreatmentType   eTreatmentType,
TreatmentReasonType   eTreatmentReason,
HospitalizationType   eHospitalizationType,
HospitalizationMode   eHospitalizationMode,
YesNoType   eIsRelapse,
CantonType   eTreatmentCanton,
VARIANT_BOOL   *pbStatus);

Parameter description
[in]   DATE   dateBegin   Supposed treatment begin date
[in]   DATE   dateEnd   Supposed treatment end date
[in]   BSTR   bstrSectionCode   Section/department code (major BfS section code)
[in]   BSTR   bstrSectionName   Section/department name
[]   TreatmentType   eTreatmentType   Treatment type
[in]   TreatmentReasonType   eTreatmentReason   Treatment reason type
[in]   HospitalizationType   eHospitalizationType   The hospitalization type/reason
[in]   HospitalizationMode   eHospitalizationMode   The hospitalization mode/indication
[in]   YesNoType   eIsRelapse   Boolean if it is a relapse
[in]   CantonType   eTreatmentCanton   Canton where the treatment is taking place
[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.