fluent-cerner-js 1.0.0-0 → 1.0.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/createNewDocumentAsync.d.ts +6 -6
- package/dist/fluent-cerner-js.cjs.development.js +195 -214
- package/dist/fluent-cerner-js.cjs.development.js.map +1 -1
- package/dist/fluent-cerner-js.cjs.production.min.js +1 -1
- package/dist/fluent-cerner-js.cjs.production.min.js.map +1 -1
- package/dist/fluent-cerner-js.esm.js +195 -214
- package/dist/fluent-cerner-js.esm.js.map +1 -1
- package/dist/index.d.ts +23 -21
- package/dist/launchClinicalNoteAsync.d.ts +3 -18
- package/dist/launchPowerFormAsync.d.ts +0 -2
- package/dist/launchPowerNoteAsync.d.ts +0 -4
- package/dist/makeCclRequestAsync.d.ts +2 -1
- package/dist/manageAppointmentAsync.d.ts +0 -1
- package/dist/openApplicationAsync.d.ts +1 -1
- package/dist/openOrganizerTabAsync.d.ts +0 -1
- package/dist/openPatientTabAsync.d.ts +0 -2
- package/dist/openWebsiteByUrlAsync.d.ts +0 -1
- package/dist/submitOrdersAsync.d.ts +2 -10
- package/dist/submitPowerOrdersAsync.d.ts +11 -16
- package/dist/utils/createOrderString.d.ts +3 -3
- package/package.json +1 -1
- package/src/createNewDocumentAsync.ts +6 -6
- package/src/index.ts +24 -21
- package/src/launchClinicalNoteAsync.ts +3 -18
- package/src/launchPowerFormAsync.ts +0 -2
- package/src/launchPowerNoteAsync.ts +0 -4
- package/src/makeCclRequestAsync.ts +49 -24
- package/src/manageAppointmentAsync.spec.ts +0 -5
- package/src/manageAppointmentAsync.ts +0 -7
- package/src/openApplicationAsync.spec.ts +11 -15
- package/src/openApplicationAsync.ts +2 -6
- package/src/openOrganizerTabAsync.spec.ts +21 -25
- package/src/openOrganizerTabAsync.ts +0 -1
- package/src/openPatientTabAsync.spec.ts +20 -24
- package/src/openPatientTabAsync.ts +0 -2
- package/src/openWebsiteByUrlAsync.spec.ts +10 -0
- package/src/openWebsiteByUrlAsync.ts +4 -2
- package/src/submitOrdersAsync.ts +2 -10
- package/src/submitPowerOrdersAsync.spec.ts +5 -5
- package/src/submitPowerOrdersAsync.ts +36 -88
- package/src/utils/addPowerPlanWithDetailsAsync.spec.ts +1 -1
- package/src/utils/addPowerPlanWithDetailsAsync.ts +13 -9
- package/src/utils/createOrderString.ts +4 -4
- package/src/utils/index.ts +4 -8
|
@@ -4,12 +4,12 @@ import { PowerChartReturn } from '.';
|
|
|
4
4
|
* DYNDOC Discern COM object. The document can be created using either
|
|
5
5
|
* a reference template ID or a reference template ID and an optional note type code,
|
|
6
6
|
* depending on the chosen method of 'by workflow' or 'by reference template'.
|
|
7
|
-
* @param
|
|
8
|
-
* @param
|
|
9
|
-
* @param
|
|
10
|
-
* @param
|
|
11
|
-
* @param
|
|
12
|
-
* @
|
|
7
|
+
* @param {'by workflow' | 'by reference template'} method - the method to use to create the document.
|
|
8
|
+
* @param {number} patientId - the patient ID to launch the document for.
|
|
9
|
+
* @param {number} encounterId - the encounter ID to launch the document in.
|
|
10
|
+
* @param {number} id - the ID of the reference template or workflow to use to create the document.
|
|
11
|
+
* @param {number} noteTypeCd - (optional) the note type code to use to create the document.
|
|
12
|
+
* @rejects `PowerChartReturn & { success: boolean }`
|
|
13
13
|
* @throws {Error} - an error is thrown if the method provided as an argument is not supported.
|
|
14
14
|
*/
|
|
15
15
|
export declare function createNewDocumentAsync(method: 'by workflow' | 'by reference template', patientId: number, encounterId: number, id: number, noteTypeCd?: number): Promise<PowerChartReturn & {
|