API browser of generalInvoiceRequest500 COM module


/images/arrow_right.png IGeneralInvoiceResult::GetXtraDrug method space
Gets additional drug input data for the defined service record if eRoleType=enRolePharmacist. VARIANT_FALSE is returned if the additional data is not defined.
 
The defined bit positions for lRegulationAttributes as of March 2018 are:
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'urgence: 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"
Bit 8   (0x000080)   code 107  "Lehnt der Arzt oder die Ärztin beziehungsweise der Chiropraktor oder die Chiropraktorin aus medizinischen Gründen eine Substitution des Originalpräparats ab, so kommt der Selbstbehalt von 20% nicht zur Anwendung."
"Refus de substitution du médicament original par le médecin ou le chiropraticien pour raisons médicales - 20% de participation ne s'applique pas."
Bit 9   (0x000100)   code 108  "Lehnt der Apotheker oder die Apothekerin aus medizinischen Gründen eine Substitution des Originalpräparats ab, so kommt der Selbstbehalt von 20% nicht zur Anwendung."
"Refus de substitution du médicament original par le pharmacien ou la pharmacienne pour raisons médicales - 20% de participation ne s'applique pas."
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/IGeneralInvoiceResult/GetXtraDrug
[JSON input data] pIGeneralInvoiceResult:
lID:
longValue,    //interface address
longValue
[JSON result data] plRegulationAttributes:
pbStatus:
longValue,
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.
space
/images/arrow_right.png C/C++ calling syntax
HRESULT GetXtraDrug( long
long
VARIANT_BOOL
lID,
*plRegulationAttributes,
*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.
space
/images/arrow_right.png 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] 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 for lRegulationAttributes are of November 2024
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'urgence: 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"
Bit 8 (0x000080) code 107 "Lehnt der Arzt oder die Ärztin beziehungsweise der Chiropraktor oder die Chiropraktorin aus medizinischen Gründen eine Substitution des Originalpräparats ab, so kommt der Selbstbehalt von 40% nicht zur Anwendung."
"Refus de substitution du médicament original par le médecin ou le chiropraticien pour raisons médicales - 40% de participation ne s'applique pas."
Bit 9 (0x000100) code 108 "Lehnt der Apotheker oder die Apothekerin aus medizinischen Gründen eine Substitution des Originalpräparats ab, so kommt der Selbstbehalt von 40% nicht zur Anwendung."
"Refus de substitution du médicament original par le pharmacien ou la pharmacienne pour raisons médicales - 40% de participation ne s'applique pas."
Bit 10 (0x000200) code 109 "Dem Apotheker liegt eine Kostengutsprache nach Art. 71a-c KVV vor."
"Le pharmacien dispose d'une garantie de prise en charge des coûts selon l'art. 71a-c OAMal."
[out,retval] VARIANT_BOOL *pbStatus Return status of the method. If pbStatus is VARIANT_FALSE the additional data set is undefined.
space