The ATL COM module generalInvoiceRequest is capable of
generating electronic and printed invoices & reminders
generating electronic and printed invoices & reminders
API browser of generalInvoiceRequest500 COM module
![]() |
![]() |
||
---|---|---|---|
Sets additional treatment data if eRoleType=enRoleHospital and/or ePlaceType=enPlaceHospital.
If this method is used then it does implicitly mean that the "hospital" invoice form is used in printing the detailed invoice/reminder. |
|||
![]() | |||
![]() |
|||
[POST] | /baseURL/IGeneralInvoiceRequest/SetXtraHospital | ||
[JSON input data] | pIGeneralInvoiceRequest: eTreatmentType: dDateHospitalization: lTreatmentDays: eHospitalizationType: eHospitalizationMode: eHospitalizationClass: eHospitalAdmissionType: eResidenceBeforeAdmission: eHospitalDischargeType: eResidenceAfterDischarge: eHospitalProviderType: bstrSectionMajor: eHasExpenseLoading: bstrHPSG: |
longValue, //interface address longValue, variantDateValue | "stringISODateValue", longValue, longValue, longValue, longValue, longValue, longValue, longValue, longValue, longValue, "utf8StringValue", longValue, "utf8StringValue" |
|
[JSON result data] | pbStatus: | booleanValue |
|
[HTTP result status] | 200 | Return status 200 signals a successful method call | |
204 | Return status 204 (noContent) signals that the end of an iteration is reached | ||
>= 400 | Return status >= 400 signals an unsuccessful function call. The returned JSON{errorCode: code, errorText:"text"} supplies the error message the same as GetAbortInfo() would do. | ||
![]() | |||
![]() |
|||
HRESULT SetXtraHospital( | TreatmentType
DATE long HospitalizationType HospitalizationMode HospitalizationClass HospitalAdmissionType ResidenceBeforeAdmission HospitalDischargeType ResidenceAfterDischarge HospitalProviderType BSTR YesNoType BSTR VARIANT_BOOL |
eTreatmentType,
dDateHospitalization, lTreatmentDays, eHospitalizationType, eHospitalizationMode, eHospitalizationClass, eHospitalAdmissionType, eResidenceBeforeAdmission, eHospitalDischargeType, eResidenceAfterDischarge, eHospitalProviderType, bstrSectionMajor, eHasExpenseLoading, bstrHPSG, *pbStatus); |
|
[C/C++ return value] | S_OK | This value is returned if the function call was successful. | |
S_FALSE | This value is returned if the end of an iteration is reached | ||
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. | ||
![]() | |||
![]() |
|||
[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! The treatment days are calculated as
|
|
[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] HospitalAdmissionType | eHospitalAdmissionType | The hospital admission type defines the DRG grouper relevant admission reasons into the hospital encoded by the HospitalAdmissionType enumeration | |
[in] ResidenceBeforeAdmission | eResidenceBeforeAdmission | The residence before admission defines the DRG grouper relevant admission location where the patient stayed before admission, encoded by the ResidenceBeforeAdmission enumeration | |
[in] HospitalDischargeType | eHospitalDischargeType | The hospital discharge type defines the DRG grouper relevant discharge reasons out from hospital encoded by the HospitalDischargeType enumeration | |
[in] ResidenceAfterDischarge | eResidenceAfterDischarge | The residence after discharge defines the DRG grouper relevant location where the patient is going to, encoded by the ResidenceAfterDischarge enumeration | |
[in] HospitalProviderType | eHospitalProviderType | The hospital provider Type defines the DRG grouper relevant provider types, encoded by the HospitalProviderType enumeration | |
[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] BSTR | bstrHPSG | The HPSG is used to define a so-called "Hospital Planning Service Group" if the underlaying tariff contract stipulates the need for such an HPSG code.
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. | |
![]() |