easy-ccl-request
v1.0.1
Published
A simple utility to make CCL requests to the Cerner Discern environment. It's a wrapper around the `XMLCclRequest` native function in the Cerner Discern environment. Of note, the Discern environment (e.g. PowerChart) supports two browsers: Internet Explor
Downloads
267
Readme
easy-ccl-request
A simple utility to make CCL requests to the Cerner Discern environment. It's a wrapper around the XMLCclRequest
native function in the Cerner Discern environment. Of note, the Discern environment (e.g. PowerChart) supports two browsers: Internet Explorer, and Microsoft Edge Chromium. This utility is only developed for use with the Microsoft Edge Chromium browser and is not developed for support in Internet Explorer.
| Environment | CI | Publish | | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------- | | Production | | | | Development | | Not Applicable |
Contributors
If you'd like to become a contributor, please contact the primary author.
- Travis Nesbit, MD (geekmdtravis) - Primary Author
Example Use
Make a requestion for a JSON object from a CCL end-point. Just pass the CCL program name (often referenced as the URL) and the parameters as an array of either strings or numbers.
const {
data,
status,
result,
} = await makeCclRequestAsync('1_GET_VITALS_DT_RNG', [
391414,
1234124,
'2022-01-01',
'2022-12-31',
]);
Utility Map
| Discern | easy-ccl-request | Description |
| --------------- | --------------------- | -------------------------------------- |
| XMLCclRequest
| makeCclRequestAsync
| Makes an AJAX call to a CCL end-point. |