The ATL COM module generalInvoiceRequest is capable of
generating electronic and printed invoices & reminders
generating electronic and printed invoices & reminders
API browser of generalInvoiceRequest430 COM module
IGeneralInvoiceRequest::SetXtraTreatment method | |||
---|---|---|---|
Sets additional treatment input data if eRoleType=enRoleHospital and/or ePlaceType=enPlaceHospital.
If this method is used then it does implicitly mean that the "hospital" form is used in printing the detailed invoice/reminder |
|||
C/C++ calling syntax | |||
HRESULT SetXtraTreatment( | TreatmentType
DATE long HospitalizationType HospitalizationMode HospitalizationClass BSTR YesNoType AdmissionType DischargeType VARIANT_BOOL |
eTreatmentType,
dDateHospitalization, lTreatmentDays, eHospitalizationType, eHospitalizationMode, eHospitalizationClass, bstrSectionMajor, eHasExpenseLoading, eAdmissionType, eDischargeType, *pbStatus); |
|
Calling argument description | |||
[in] TreatmentType | eTreatmentType | The type of treatment -ambulatory or stationary- given by the TreatmentType enumeration | |
[in] DATE | dDateHospitalization | dDateHospitalization is the date and time of the hospitalization. This information is not used in the ambulatory case!
Note, that this date must be less or equal the dDateBegin of the treatment period set in SetTreatment method. |
|
[in] long | lTreatmentDays | lTreatmentDays is the number of treatment days within the given treatment period. This information is not used in the ambulatory case!
The calculation of these treatment days is dependent on whether SwissDRG is used nor not!
|
|
[in] HospitalizationType | eHospitalizationType | The type/reason of hospitalization given by the HospitalizationType enumeration | |
[in] HospitalizationMode | eHospitalizationMode | The mode/indication of hospitalization given by the HospitalizationMode enumeration.
This information is not used in the ambulatory case! |
|
[in] HospitalizationClass | eHospitalizationClass | The hospitalization class given by the HospitalizationClass enumeration.
This information is not used in the ambulatory case! |
|
[in] BSTR | bstrSectionMajor | The major BfS section code as defined by Swiss Federal Statistical Office | |
[in] YesNoType | eHasExpenseLoading | The Boolean eHasExpenseLoading defines if there is an expense loading by the patient ("Spitalkostenbeitrag").
This information is not used in the ambulatory case! |
|
[in] AdmissionType | eAdmissionType | The type/reason of the patient's admission given by the AdmissionType enumeration which is basically the DRG grouper admission enumeration.
This information is not used in the ambulatory case! |
|
[in] DischargeType | eDischargeType | The type/reason of the patient's discharge given by the DischargeType enumeration which is basically the DRG grouper discharge enumeration.
This information is not used in the ambulatory case! |
|
[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. | |
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. | ||