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
IGeneralInvoiceResult::GetXtraDrug method | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves additional drug input data for the defined service record if eRoleType=enRolePharmacist. VARIANT_FALSE is returned if the additional data set is not defined.
The defined bit positions for lRegulationAttributes as of Aug. 2010
|
|||||||||||||||||||||||||||||||||||
C/C++ calling syntax | |||||||||||||||||||||||||||||||||||
HRESULT GetXtraDrug( | long
YesNoType BSTR DeliveryType long YesNoType VARIANT_BOOL |
lID,
*peIsIndicated, *pbstrIOCM, *peDelivery, *plRegulationAttributes, *peHasLimitation, *pbStatus); |
|||||||||||||||||||||||||||||||||
Calling argument description | |||||||||||||||||||||||||||||||||||
[in] long | lID | The internal ID of the drug service record returned in the IGeneralInvoiceRequest::AddService method to which the extra drug information are appended. | |||||||||||||||||||||||||||||||||
[out] YesNoType | *peIsIndicated | Boolean value that defines if the drug is medically indicated (enYes) or not (enNo) | |||||||||||||||||||||||||||||||||
[out] BSTR | *pbstrIOCM | Defines the official Swissmedic IOCM category of the drug given as 1-character uppercase string 'A' to 'E' | |||||||||||||||||||||||||||||||||
[out] DeliveryType | *peDelivery | The delivery mode given by the DeliveryType enumeration | |||||||||||||||||||||||||||||||||
[out] long | *plRegulationAttributes | 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
The defined bit positions as of Aug. 2010
|
|||||||||||||||||||||||||||||||||
[out] YesNoType | *peHasLimitation | 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 the additional data set is undefined. | |||||||||||||||||||||||||||||||||
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. | ||||||||||||||||||||||||||||||||||