API browser of acfValidator100 COM module


/images/arrow_right.png IValidateTMA::AddACFBase method space
Adds a new ACFBase data container to the list of ACFBase objects. Each such ACFBase objects couples via the session number base data like the ICD code and some patient data (sex and age) with TMA services. Each such ACFBase object is a target for a grouping process and the resulting ACF code is stored in the ACFBase object, subject to the inspection with the iterator pair IValidateTMA::GetFirstACFBase / IValidateTMA::GetNextACFBase.
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/IValidateTMA/AddACFBase
[JSON input data] pIValidateTMA:
lSessionNumber:
bstrICDCode:
ePatientSex:
dPatientBirthdate:
eLaw:
longValue,    //interface address
longValue,
"utf8StringValue",
longValue,
variantDateValue | "stringISODateValue",
longValue
[JSON result data] pbStatus: 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 AddACFBase( long
BSTR
SexType
DATE
LawType
VARIANT_BOOL
lSessionNumber,
bstrICDCode,
ePatientSex,
dPatientBirthdate,
eLaw,
*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 lSessionNumber The session number or patient contact ID.

Please note that the 'SessionNumber" plays a central role in the ACF/LKAAT tariffs, in that this ID serves as a grouping and connection object to combine services (even across days). Furthermore, the same ID is also used in the TMA tariff to bundle the services and link it to the corresponding global data (ICD and patient data).

[in] BSTR bstrICDCode The ICD10 code that must be used in the grouping process.

Please note that an empty ICD10 counts as legal input (it nevertheless should be avoided!), whereas an ICD10 code not available in the grouper's ICD space counts as error.

[in] SexType ePatientSex The patient's medical sex, either 'enMale' or 'enFemale'
[in] DATE dPatientBirthdate The patient's birthdate, that is primarely used for calculating the patient's age.
[in] LawType eLaw The law under which the case is running.

Please note, that currently there is no law dependency, but this might change in future. So whatever you currently input is not used at the moment.

[out,retval] VARIANT_BOOL *pbStatus The principal validation status
  • =0 is returned for success
  • >0 indicates that a validation rule was not fulfilled - the service is not added. Use the GetAbortInfo to get an error description string.
  • <0 indicates a severe principal COM automation error - the service is not added. Use the GetAbortInfo to get an error description string.
space