@bahmni/clinical-app 0.0.1-dev.415 → 0.0.1-dev.417
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/{ConsultationPage-BESi0mob.js → ConsultationPage-CW0D4Kk0.js} +8547 -8518
- package/dist/{DocumentsTable-C_8zPark-DHgBZ9hp.js → DocumentsTable-DUyMa5Ip-BpMrZtuL.js} +1 -1
- package/dist/{FormsTable-XGVu_1HW-5xemwYs4.js → FormsTable-CbK-Zc3w-AeIeH7Wo.js} +55 -55
- package/dist/{LNWAZHJI-Bk8jQRiq.js → LNWAZHJI-Bdb024Iq.js} +2 -2
- package/dist/{MWZ6AO7Z-DUXMkCvA.js → MWZ6AO7Z-bYt6Gx_o.js} +2 -2
- package/dist/{Observations-CygRW6N8-BjGLv4GH.js → Observations-DG1ptvEC-DePIPdg8.js} +63 -63
- package/dist/{YPM2AS64-B3vowWLx.js → YPM2AS64-DMO_Iq6j.js} +1 -1
- package/dist/components/forms/observations/ObservationFormsContainer.d.ts.map +1 -1
- package/dist/components/forms/observations/ObservationFormsPanel.d.ts.map +1 -1
- package/dist/{hook-f0EB0w5u.js → hook-nNcLbE80.js} +1 -1
- package/dist/{index-CFb7GLxI.js → index-Db9JzImK.js} +5 -5
- package/dist/{index-E1rQQ_dv.js → index-DksB8L5H.js} +3 -3
- package/dist/{index-DLQ6oq1j.js → index-XAD--RRA.js} +18095 -18092
- package/dist/index.js +1 -1
- package/dist/utils/fhir/observationReconciliation.d.ts +3 -2
- package/dist/utils/fhir/observationReconciliation.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Form2Observation } from '@bahmni/services';
|
|
2
|
+
import { Reference } from 'fhir/r4';
|
|
2
3
|
/** Injects a synthetic voided DELETE entry for any obs present in `original` but missing from `transformed`. */
|
|
3
4
|
export declare const injectMissingDeleteObs: (transformed: Form2Observation[], original: Form2Observation[]) => void;
|
|
4
5
|
/** Restores the original ComplexValue object (with fileName) from `source` for values CarbonContainer flattened to plain URL strings. */
|
|
5
6
|
export declare const restoreComplexValues: (transformed: Form2Observation[], source: Form2Observation[]) => void;
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const mergeObsExistingData: (transformed: Form2Observation[], existing: Form2Observation[]) => void;
|
|
8
|
+
export declare const findBasedOnFromObservations: (observations: Form2Observation[] | undefined) => Reference | undefined;
|
|
8
9
|
/** Marks leaf observations matching the original snapshot as `unchanged`, so the bundle builder skips PUT-ing them. */
|
|
9
10
|
export declare const markUnchangedObservations: (transformed: Form2Observation[], original: Form2Observation[]) => void;
|
|
10
11
|
/** Converts a single observation value to a stable, comparable string (coded/complex/date-aware). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observationReconciliation.d.ts","sourceRoot":"","sources":["../../../src/utils/fhir/observationReconciliation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"observationReconciliation.d.ts","sourceRoot":"","sources":["../../../src/utils/fhir/observationReconciliation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,GACjC,aAAa,gBAAgB,EAAE,EAC/B,UAAU,gBAAgB,EAAE,KAC3B,IAiCF,CAAC;AAEF,yIAAyI;AACzI,eAAO,MAAM,oBAAoB,GAC/B,aAAa,gBAAgB,EAAE,EAC/B,QAAQ,gBAAgB,EAAE,KACzB,IAyBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,aAAa,gBAAgB,EAAE,EAC/B,UAAU,gBAAgB,EAAE,KAC3B,IAUF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,cAAc,gBAAgB,EAAE,GAAG,SAAS,KAC3C,SAAS,GAAG,SAUd,CAAC;AAEF,uHAAuH;AACvH,eAAO,MAAM,yBAAyB,GACpC,aAAa,gBAAgB,EAAE,EAC/B,UAAU,gBAAgB,EAAE,KAC3B,IAmCF,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,gBAAgB,GAAI,GAAG,OAAO,KAAG,MAuB7C,CAAC;AAEF,8FAA8F;AAC9F,wBAAgB,+BAA+B,CAC7C,aAAa,EAAE,MAAM,GAAG,SAAS,GAChC,MAAM,GAAG,IAAI,CAQf"}
|