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
npm install easy-ccl-requestA 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 | !Main Build | !Main Publish |
| Development | !Development Build | Not Applicable |
If you'd like to become a contributor, please contact the primary author.
- Travis Nesbit, MD (geekmdtravis) - Primary Author
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.
``typescript`
const {
data,
status,
result,
} = await makeCclRequestAsync('1_GET_VITALS_DT_RNG', [
391414,
1234124,
'2022-01-01',
'2022-12-31',
]);
| Discern | _easy-ccl-request_ | Description |
| --------------- | --------------------- | -------------------------------------- |
| XMLCclRequest | makeCclRequestAsync | Makes an AJAX call to a CCL end-point. |
`
``