API browser of hospitalMCDRequest451 COM module


/images/arrow_right.png IHospitalMCDRequest::AddBfSRecord method
Adds a BfS record to the list of BfS records.

This basically means that a number=name pair in the used data language) from a certain BfS code is supplied, whereas the allowed value space is defined in the "hospital statistics" catalog of the BfS.

Please note, that the input of one BfS record per BfS record type is mandatory to become standard compliant with hospitalMCDRequest_440, whereas in the higher standards BfS records have been deleted due to a request of the Federal Data Protection and Information Commissioner (FDPIC). Thus, only if you plan to downgrade to version 440 carry out this method.

space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT AddBfSRecord( BfSRecordType
long
BSTR
VARIANT_BOOL
eBfSRecordType,
lNumber,
bstrName,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[in] BfSRecordType eBfSRecordType The type of BfS record for which the number=name pair is supplied.

Please note, that it is mandatory to input one BfS record per BfSRecordType.

[in] long lNumber The number part of a number=name pair.
[in] BSTR bstrName The name part of a number=name pair.
[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.