The ATL COM module hospitalMCDRequest is capable of
generating XML and/or paper based MCD requests
generating XML and/or paper based MCD requests
API browser of hospitalMCDRequest452 COM module
|
Defines the processing parameters, namely the "normal", "storno" or "copy" status of the requestSubtype enumeration besides an optional remark.
Note, that whenever the "storno" and/or "copy" parameters are set then the timestamp of the original MCD object reference (SetMCD) must be defined that is the timestamp > 0 otherwise an error will result in the Finalize method. |
|||
| [POST] | /baseURL/IHospitalMCDRequest/SetRequest | ||
| [JSON input data] | pIHospitalMCDRequest: eRequestSubtype: eIsConfidential: bstrRemark: |
longValue, //interface address longValue, longValue, "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. | ||
| HRESULT SetRequest( | RequestSubtype
YesNoType BSTR VARIANT_BOOL |
eRequestSubtype,
eIsConfidential, bstrRemark, *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. | ||
| [in] RequestSubtype | eRequestSubtype | Subspecifies the XML infoset with respect to its modification from the standard data space.
Such a modification can be seen as a request variation, subsuming a specific data set, where the set of discrete subtypes is encoded by a terminal set of tokens. |
|
| [in] YesNoType | eIsConfidential | Boolean flag that defines the confidentiality status of a MCD when addressed and transmitted to a consulting physician (CE) at the insurance's site in accordance with Article 42 (5) of the Swiss Federal Act on Health Insurance (KVG).
By using the flag in the aforementioned case, the health provider declares that all medical information must be seen and used exclusively by the CE. Therefore, the case qualifies according to Article 42 (5) KVG. |
|
| [in] BSTR | bstrRemark | An optional remark for MCD. | |
| [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. | |