API browser of generalCreditRequest450 COM module


/images/arrow_right.png IGeneralCreditRequest::SetData4CantonalPhysician method space
Sets the special data for the cantonal physician (CP).
 
To defined these data implies that the debitor is than the CP as well as that the 'Cantonal' print template is used. Furthermore, when generating a XML document a PDF dump of the cantonal print template is automatically added as attachment.
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/IGeneralCreditRequest/SetData4CantonalPhysician
[JSON input data] pIGeneralCreditRequest:
bstrResponsibleAtHospitalWard:
bstrUsedTariffType:
dUsedBaserate:
eAdditionallyRegisteredAtUV:
eAdditionallyRegisteredAtIV:
eIsMedicalNecessity:
bstrJustificationForService:
bstrLocationOfEmergency:
dDateOfEmergency:
bstrJustificationForReconsideration:
longValue,    //interface address
"utf8StringValue",
"utf8StringValue",
doubleValue,
longValue,
longValue,
longValue,
"utf8StringValue",
"utf8StringValue",
variantDateValue | "stringISODateValue",
"utf8StringValue"
[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 SetData4CantonalPhysician( BSTR
BSTR
double
YesNoType
YesNoType
YesNoType
BSTR
BSTR
DATE
BSTR
VARIANT_BOOL
bstrResponsibleAtHospitalWard,
bstrUsedTariffType,
dUsedBaserate,
eAdditionallyRegisteredAtUV,
eAdditionallyRegisteredAtIV,
eIsMedicalNecessity,
bstrJustificationForService,
bstrLocationOfEmergency,
dDateOfEmergency,
bstrJustificationForReconsideration,
*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 bstrResponsibleAtHospitalWard bstrResponsibleAtHospitalWard is the name of the responsible physician at the given hospital ward.
 
Note that in most cases this is the supplied provider.
[in] BSTR bstrUsedTariffType bstrUsedTariffType is the official 3-character designator of the tariff catalog that will be used for the forthcoming invoice
[in] double dUsedBaserate dUsedBaserate is the base rate that will used for the forthcoming invoice
[in] YesNoType eAdditionallyRegisteredAtUV eAdditionallyRegisteredAtUV is a Boolean value indicating if there an additional credit request was generated for an accident insurance (UV)
[in] YesNoType eAdditionallyRegisteredAtIV eAdditionallyRegisteredAtIV is a Boolean value indicating if there an additional credit request was generated for an invalidity insurance (IV)
[in] YesNoType eIsMedicalNecessity eIsMedicalNecessity is a Boolean value indicating if the credit request is done due to a "Medical Necessity". The conditions for having a "Medical Necessity" are defined elsewhere by Swiss Conference of Health Directors.
[in] BSTR bstrJustificationForService bstrJustificationForService is the justification for the non availability of services in the residential canton of the patient. This justification is only needed if the Boolean eIsMedicalNecessity=enYes
[in] BSTR bstrLocationOfEmergency bstrLocationOfEmergency is the location of the emergency.
 
This location is only needed if the Boolean SetStationary::eHospitalizationType=enEmergency
[in] DATE dDateOfEmergency dDateOfEmergency is the date and time when that emergency happened.
 
This date is only needed if the Boolean SetStationary::eHospitalizationType=enEmergency
[in] BSTR bstrJustificationForReconsideration bstrJustificationForReconsideration is the justification for generating a re-consideration credit request.
 
This justification is only needed if SetCreditObject::CreditType=enCreditReconsideration
[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