oro-sdk 3.1.2-dev2 → 3.1.2-dev2.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/oro-sdk.cjs.development.js +6 -4
- 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 +6 -4
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/patient-registration.ts +4 -0
package/dist/oro-sdk.esm.js
CHANGED
@@ -2212,14 +2212,16 @@ function _searchIndexConsultation() {
|
|
2212
2212
|
switch (_context11.prev = _context11.next) {
|
2213
2213
|
case 0:
|
2214
2214
|
terms = [];
|
2215
|
-
|
2215
|
+
console.log('here');
|
2216
|
+
_context11.next = 4;
|
2216
2217
|
return extractPersonalInfoFromConsultId(consultUuid, oroClient);
|
2217
2218
|
|
2218
|
-
case
|
2219
|
+
case 4:
|
2219
2220
|
_yield$extractPersona = _context11.sent;
|
2220
2221
|
personalInformations = _yield$extractPersona.personalInformations;
|
2221
2222
|
childPersonalInformations = _yield$extractPersona.childPersonalInformations;
|
2222
2223
|
otherPersonalInformations = _yield$extractPersona.otherPersonalInformations;
|
2224
|
+
console.log('personal=', personalInformations, 'child=', childPersonalInformations, 'other=', otherPersonalInformations);
|
2223
2225
|
personalInfo = identificationToPersonalInformations(toActualObject(personalInformations.data), MetadataCategory.Personal);
|
2224
2226
|
terms.push({
|
2225
2227
|
kind: 'first-name',
|
@@ -2251,10 +2253,10 @@ function _searchIndexConsultation() {
|
|
2251
2253
|
});
|
2252
2254
|
}
|
2253
2255
|
|
2254
|
-
_context11.next =
|
2256
|
+
_context11.next = 15;
|
2255
2257
|
return oroClient.searchClient.index(consultUuid, terms);
|
2256
2258
|
|
2257
|
-
case
|
2259
|
+
case 15:
|
2258
2260
|
case "end":
|
2259
2261
|
return _context11.stop();
|
2260
2262
|
}
|