API browser of generalInvoiceRequest430 COM module


/images/arrow_right.png IGeneralInvoiceRequest::SetXtraDrug method
Sets additional drug input data for the defined service record if eRoleType=enRolePharmacist.

The defined bit positions for lRegulationAttributes as of Aug. 2010

Bit Code Meaning
Bit 1 (0x000001) code 100 "Nicht-SL Produkt ist vom Vertrauensarzt bewilligt worden"
"Produit non LS a été autorisé par le médecin-conseil"
Bit 2 (0x000002) code 101 "Notfall: Abgabe eines anderen Produktes als auf dem Rezept"
"Cas d'urgende: remise d'un autre produit que celui figurant sur l'ordonnance"
Bit 3 (0x000004) code 102 "Abgabe eines anderen Produktes als auf dem Rezept in Rücksprache mit dem Arzt"
"Remise d'un autre produit, après consultation du médecin, que celui figurant sur l'ordonnance"
Bit 4 (0x000008) code 103 "Abgabe einer grösseren Packung (nicht-SL) anstelle von mehreren kleineren Packungen (SL)"
"Remise d'un emballage plus grand (non LS) en lieu et place de plusieurs emballages plus petits (LS)"
Bit 5 (0x000010) code 104 "Abgabe einer kleineren Anzahl Packungen als verschrieben"
"Remise d'un nombre moins élevé d'emballages que le nombre prescrit"
Bit 6 (0x000020) code 105 "Abgabe einer kleineren Packung als verschrieben"
"Remise d'un plus petit emballage que la grandeur prescrite"
Bit 7 (0x000040) code 106 "SL-Limitation vom Vertrauensarzt aufgehoben"
"Limitation LS supprimée par le médecin-conseil"
space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT SetXtraDrug( long
YesNoType
BSTR
DeliveryType
long
YesNoType
VARIANT_BOOL
lID,
eIsIndicated,
bstrIOCM,
eDelivery,
lRegulationAttributes,
eHasLimitation,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[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.
 
/images/arrow_right.png 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.