API browser of CareCreditRequest450 COM module


/images/arrow_right.png ICareCreditRequest::SetNursingHomeCare method space
Sets the primary parameters for a "Nursing Home Care" nursing case situation, that is the ordinary nursing home caring situation supplied by a nursing home organization ("Pflegeheim")
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/ICareCreditRequest/SetNursingHomeCare
[JSON input data] pICareCreditRequest:
bstrPlanningCatalog:
bstrCareDemandLevel:
dAssessmentDate:
lAccommodationType:
longValue,    //interface address
"utf8StringValue",
"utf8StringValue",
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 SetNursingHomeCare( BSTR
BSTR
DATE
long
VARIANT_BOOL
bstrPlanningCatalog,
bstrCareDemandLevel,
dAssessmentDate,
lAccommodationType,
*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] BSTR bstrPlanningCatalog Defines the official name of the used planning catalog.
 
Note, that the name should consist of a slash-separated planning catalog name and edition e.g. "RAI-NC/2018" or "BESA/2018". Thus the given name should allow for an unambiguous identification of the catalog.
[in] BSTR bstrCareDemandLevel The bstrCareDemandLevel string holds the assed care demand level for the patient.
 
Note, that the name should consist of a planning catalog name and care level number e.g. "BESA5" or "PLAISIR3". Thus the given name should allow for an unambiguous identification of the catalog and care level.
[in] DATE dAssessmentDate The dAssessmentDate variable defines the date at which the assessment for the care demand level was performed.
 
Note, that the assessment date obviously is equal or before the treatment start date.
[in] long lAccommodationType The lAccommodationType variable defines the type of accommodation encoded by a set of predefined integer values. Currently, there are the following values with the given semantic meaning defined, namely
  • lAccommodationType=1 aka "long-term stay"
  • lAccommodationType=2 aka "short-term stay"
  • lAccommodationType=3 aka "person not accommodated"
  • lAccommodationType=4 aka "day and night structure"
  • lAccommodationType=5 aka "acute and transitional care"
[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.
space