oro-sdk 3.4.0 → 3.6.1
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/client.d.ts +2 -1
- package/dist/helpers/patient-registration.d.ts +2 -1
- package/dist/oro-sdk.cjs.development.js +117 -92
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +117 -92
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +58 -58
- package/src/client.ts +38 -35
- package/src/helpers/patient-registration.ts +70 -51
package/dist/client.d.ts
CHANGED
@@ -91,12 +91,13 @@ export declare class OroClient {
|
|
91
91
|
* @param consult
|
92
92
|
* @param workflow
|
93
93
|
* @param recoveryQA
|
94
|
+
* @param indexSearch create search index for the consultation if true
|
94
95
|
* @returns
|
95
96
|
*/
|
96
97
|
registerPatient(patientUuid: Uuid, consult: ConsultRequest, workflow: WorkflowData, recoveryQA?: {
|
97
98
|
recoverySecurityQuestions: string[];
|
98
99
|
recoverySecurityAnswers: string[];
|
99
|
-
}): Promise<RegisterPatientOutput>;
|
100
|
+
}, indexSearch?: boolean): Promise<RegisterPatientOutput>;
|
100
101
|
/**
|
101
102
|
* Builds the vault index for the logged user
|
102
103
|
*
|
@@ -18,12 +18,13 @@ import { OroClient, RegisterPatientOutput } from '..';
|
|
18
18
|
* @param oroClient
|
19
19
|
* @param masterKey
|
20
20
|
* @param recoveryQA
|
21
|
+
* @param indexSearch create search index for the consultation if true
|
21
22
|
* @returns the successful registration
|
22
23
|
*/
|
23
24
|
export declare function registerPatient(patientUuid: Uuid, consultRequest: ConsultRequest, workflow: WorkflowData, oroClient: OroClient, masterKey?: Uuid, recoveryQA?: {
|
24
25
|
recoverySecurityQuestions: string[];
|
25
26
|
recoverySecurityAnswers: string[];
|
26
|
-
}): Promise<RegisterPatientOutput>;
|
27
|
+
}, indexSearch?: boolean): Promise<RegisterPatientOutput>;
|
27
28
|
/**
|
28
29
|
* Extracts the workflow MetadataCategory for Personal, ChildPersonal and OtherPersonal
|
29
30
|
* then stores it in the vault
|