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
@@ -2216,14 +2216,16 @@ function _searchIndexConsultation() {
|
|
2216
2216
|
switch (_context11.prev = _context11.next) {
|
2217
2217
|
case 0:
|
2218
2218
|
terms = [];
|
2219
|
-
|
2219
|
+
console.log('here');
|
2220
|
+
_context11.next = 4;
|
2220
2221
|
return extractPersonalInfoFromConsultId(consultUuid, oroClient);
|
2221
2222
|
|
2222
|
-
case
|
2223
|
+
case 4:
|
2223
2224
|
_yield$extractPersona = _context11.sent;
|
2224
2225
|
personalInformations = _yield$extractPersona.personalInformations;
|
2225
2226
|
childPersonalInformations = _yield$extractPersona.childPersonalInformations;
|
2226
2227
|
otherPersonalInformations = _yield$extractPersona.otherPersonalInformations;
|
2228
|
+
console.log('personal=', personalInformations, 'child=', childPersonalInformations, 'other=', otherPersonalInformations);
|
2227
2229
|
personalInfo = identificationToPersonalInformations(toActualObject(personalInformations.data), initApis.MetadataCategory.Personal);
|
2228
2230
|
terms.push({
|
2229
2231
|
kind: 'first-name',
|
@@ -2255,10 +2257,10 @@ function _searchIndexConsultation() {
|
|
2255
2257
|
});
|
2256
2258
|
}
|
2257
2259
|
|
2258
|
-
_context11.next =
|
2260
|
+
_context11.next = 15;
|
2259
2261
|
return oroClient.searchClient.index(consultUuid, terms);
|
2260
2262
|
|
2261
|
-
case
|
2263
|
+
case 15:
|
2262
2264
|
case "end":
|
2263
2265
|
return _context11.stop();
|
2264
2266
|
}
|