The ATL COM module generalInvoiceRequest is capable of
generating electronic and printed invoices & reminders
generating electronic and printed invoices & reminders
API browser of generalInvoiceRequest450 COM module
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sets additional input data for the given drug service record if and only if eRoleType=enRolePharmacist.
The defined bit positions for lRegulationAttributes as of March 2018
|
|||||||||||||||||||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
HRESULT SetXtraDrug( | long
YesNoType BSTR DeliveryType long YesNoType VARIANT_BOOL |
lID,
eIsIndicated, bstrIOCM, eDelivery, lRegulationAttributes, eHasLimitation, *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] long | lID | The internal ID of the drug service record returned in the AddService method to which the extra drug information are appended. | |||||||||||||||||||||||||||||||||||||||||
[in] YesNoType | eIsIndicated | Boolean value that defines if the drug is medically indicated (enYes) or not (enNo) | |||||||||||||||||||||||||||||||||||||||||
[in] BSTR | bstrIOCM | Defines the official Swissmedic IOCM category of the drug given as 1-character uppercase string 'A' to 'E' | |||||||||||||||||||||||||||||||||||||||||
[in] DeliveryType | eDelivery | The delivery mode given by the DeliveryType enumeration | |||||||||||||||||||||||||||||||||||||||||
[in] long | lRegulationAttributes | lRegulationAttributes is a 32 bit integer where each bit defines one specific regulation code as contracted between pharmacists and insurances. The individual regulation codes can be ORed together to form to overall regulation | |||||||||||||||||||||||||||||||||||||||||
[in] YesNoType | eHasLimitation | Boolean value that defines if the drug has a BAG defined limitation (enYes) or not (enNo) | |||||||||||||||||||||||||||||||||||||||||
[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. | |||||||||||||||||||||||||||||||||||||||||
![]() |