Skip to content

geekmdtravis/easy-ccl-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.