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::GetFirstXmlContent method

Description  V4.10/28 Sep 2005 
Validates the first credit request against the XML schema and returns the produced XML content.
hospitalCreditRequest
  IHospitalCreditRequestManager
    GetFirstXmlContent

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

Parameter description
[in]   YesNoType   bMergeSponsors   Boolean if the number of credit requests should be optimized e.g. if the EAN number of two sponsors are the same then the data are merged into one credit request.
[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.