easy-ccl-request
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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 Main Build Main Publish
Development Development Build Not Applicable

Contributors

If you'd like to become a contributor, please contact the 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.

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i easy-ccl-request

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    123 kB

    Total Files

    18

    Last publish

    Collaborators

    • geekmdtravis