@bahmni/services 0.0.1-dev.175 → 0.0.1-dev.184
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/constants/app.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const BASE_PATH: string;
|
|
2
|
-
export declare const OPENMRS_FHIR_R4 = "/openmrs/ws/fhir2/R4";
|
|
3
2
|
export declare const OPENMRS_REST_V1 = "/openmrs/ws/rest/v1";
|
|
3
|
+
export declare const OPENMRS_FHIR_R4 = "/openmrs/ws/fhir2/R4";
|
|
4
4
|
export declare const OPENMRS_REST_V2 = "/openmrs/ws/rest/v2";
|
|
5
5
|
export declare const BAHMNI_USER_COOKIE_NAME = "bahmni.user";
|
|
6
6
|
export declare const BAHMNI_HOME_PATH = "/bahmni/home/index.html";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,QAAgC,CAAC;AACvD,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,QAAgC,CAAC;AACvD,eAAO,MAAM,eAAe,wBAAwB,CAAC;AACrD,eAAO,MAAM,eAAe,yBAAyB,CAAC;AACtD,eAAO,MAAM,eAAe,wBAAwB,CAAC;AACrD,eAAO,MAAM,uBAAuB,gBAAgB,CAAC;AACrD,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAC1D,eAAO,MAAM,mBAAmB,QAAyC,CAAC;AAC1E,eAAO,MAAM,mBAAmB,QACgB,CAAC;AACjD,eAAO,MAAM,cAAc,QAAsC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3691,7 +3691,7 @@ class Mo {
|
|
|
3691
3691
|
}
|
|
3692
3692
|
}
|
|
3693
3693
|
Mo.type = "languageDetector";
|
|
3694
|
-
const Hu = process.env.PUBLIC_URL ?? "/",
|
|
3694
|
+
const Hu = process.env.PUBLIC_URL ?? "/", ee = "/openmrs/ws/rest/v1", le = "/openmrs/ws/fhir2/R4", Bu = "/openmrs/ws/rest/v2", zu = "bahmni.user", Oy = "/bahmni/home/index.html", Wu = ee + "/bahmnicore/whoami", Gu = "en", xo = "NG_TRANSLATE_LANG_KEY", Yu = (e, t) => Hu + `${e}/locales/locale_${t}.json`, Ku = (e, t) => `/bahmni_config/openmrs/i18n/${e}/locale_${t}.json`, Nt = () => localStorage.getItem(xo) ?? Gu, Ns = async (e) => {
|
|
3695
3695
|
try {
|
|
3696
3696
|
const t = await W(e);
|
|
3697
3697
|
return t || (console.error(`Invalid response from ${e}`), {});
|
|
@@ -7405,7 +7405,7 @@ async function iw() {
|
|
|
7405
7405
|
return await W(Um);
|
|
7406
7406
|
}
|
|
7407
7407
|
const Zm = (e, t, r, n, s) => {
|
|
7408
|
-
let o = `${le + "/ServiceRequest?_sort=-_lastUpdated"}&category=${e}&patient=${t}`;
|
|
7408
|
+
let o = `${le + "/ServiceRequest?_count=100&_sort=-_lastUpdated"}&category=${e}&patient=${t}`;
|
|
7409
7409
|
return s && (o += `&_revinclude=${s}`), r ? o += `&encounter=${r}` : n && (o += `&numberOfVisits=${n}`), o;
|
|
7410
7410
|
};
|
|
7411
7411
|
function ep(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/orderRequestService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,GAC/B,UAAU,MAAM,EAChB,aAAa,MAAM,EACnB,iBAAiB,MAAM,EACvB,iBAAiB,MAAM,EACvB,aAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/orderRequestService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,GAC/B,UAAU,MAAM,EAChB,aAAa,MAAM,EACnB,iBAAiB,MAAM,EACvB,iBAAiB,MAAM,EACvB,aAAa,MAAM,WAmBpB,CAAC"}
|