@bahmni/services 0.0.1-dev.356 → 0.0.1-dev.362

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -13991,7 +13991,7 @@ async function pv(t) {
13991
13991
  }
13992
13992
  function _c(t) {
13993
13993
  return t.filter((e) => e.resource?.resourceType === "DocumentReference").map((e) => {
13994
- const r = e.resource, n = r.masterIdentifier?.value ?? r.id ?? "", s = r.context?.encounter?.[0]?.reference?.split("/").pop(), o = (r.content ?? []).map((i) => i.attachment).filter((i) => !!i).map((i) => ({ url: i.url ?? "", contentType: i.contentType })), a = o[0];
13994
+ const r = e.resource, n = r.masterIdentifier?.value ?? "", s = r.context?.encounter?.[0]?.reference?.split("/").pop(), o = (r.content ?? []).map((i) => i.attachment).filter((i) => !!i).map((i) => ({ url: i.url ?? "", contentType: i.contentType })), a = o[0];
13995
13995
  return {
13996
13996
  id: r.id ?? n,
13997
13997
  documentIdentifier: n,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/services",
3
- "version": "0.0.1-dev.356",
3
+ "version": "0.0.1-dev.362",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",