hospitalCreditRequest generates a credit request
for role=physician and place=hospital
hospitalCreditRequest
    API DocBrowser   ·  Revision history
    Download area
    FAQ
 
home
system
integrators
search the
site
 

validator
modules
invoice
modules
credit
modules
miscellaneous
modules
tools

  Design by TMR AG
  © by sumex1.net
 
IHospitalCreditRequestManager::GetNextXmlContent method

Description  V4.10/28 Sep 2005 
Validates the non-first credit request against the XML schema and returns the produced XML content. There is a maximum of 4 credit request as only 4 sponsors can be defined. The status is set to VARIANT_FALSE if there are no other credit requests to generate. If an error occurs then the abort info is set as well!
hospitalCreditRequest
  IHospitalCreditRequestManager
    GetNextXmlContent

C/C++ syntax
HRESULT  GetNextXmlContent( BSTR   *pbstrXml,
long   *plValidationError,
long   *plTimestamp,
VARIANT_BOOL   *pbStatus);

Parameter description
[out]   BSTR   *pbstrXml   XML content
[out]   long   *plValidationError   This parameter is filled with the validation error code returned by the MSXml4 parser. A zero value indicates that the validation was successful. Otherwise there is an error in the schema validation. Most likely the given XML content is incorrect as a consequence.
[out]   long   *plTimestamp   Timestamp of the XML document as epoch time (seconds elapsed since 1.1.1970). This serves as a primary identification number - do store this number e.g. for a later reprint!
[out, retval]   VARIANT_BOOL   *pbStatus   Return status

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.