@bahmni/clinical-app 0.0.1-dev.273 → 0.0.1-dev.277

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { at as i } from "./index-KmaoE3nI.js";
1
+ import { at as i } from "./index-Bn_FvR7Q.js";
2
2
  export {
3
3
  i as ClinicalApp
4
4
  };
@@ -1,33 +1,2 @@
1
- import { AllergyIntolerance, Coding } from 'fhir/r4';
2
- /**
3
- * Interface representing an allergy input entry for form handling
4
- */
5
- export interface AllergyInputEntry {
6
- id: string;
7
- /** FHIR AllergyIntolerance resource UUID. When set, bundle uses PUT to update the existing resource. */
8
- resourceId?: string;
9
- /** True when the user has changed severity, reactions, or note since the allergy was pre-loaded. */
10
- isModified?: boolean;
11
- /** Full raw FHIR AllergyIntolerance resource — used as the PUT base to preserve clinicalStatus, verificationStatus, etc. */
12
- rawFhirResource?: AllergyIntolerance;
13
- display: string;
14
- type: string;
15
- selectedSeverity: Coding | null;
16
- selectedReactions: Coding[];
17
- note?: string;
18
- errors: {
19
- severity?: string;
20
- reactions?: string;
21
- };
22
- hasBeenValidated: boolean;
23
- }
24
- /** Maps a raw FHIR AllergyIntolerance resource to an AllergyInputEntry for the edit form. */
25
- export declare function mapAllergyToInputEntry(fhir: AllergyIntolerance): AllergyInputEntry;
26
- export type AllergenType = 'food' | 'medication' | 'environment';
27
- export interface AllergenConcept {
28
- uuid: string;
29
- display: string;
30
- type: AllergenType | null;
31
- disabled?: boolean;
32
- }
1
+ export { type AllergyInputEntry, type AllergenType, type AllergenConcept, mapAllergyToInputEntry, } from '@bahmni/services';
33
2
  //# sourceMappingURL=allergy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"allergy.d.ts","sourceRoot":"","sources":["../../src/models/allergy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,wGAAwG;IACxG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oGAAoG;IACpG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4HAA4H;IAC5H,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE;QACN,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,6FAA6F;AAC7F,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,kBAAkB,GACvB,iBAAiB,CA6BnB;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC;AAEjE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"allergy.d.ts","sourceRoot":"","sources":["../../src/models/allergy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,sBAAsB,GACvB,MAAM,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-app",
3
- "version": "0.0.1-dev.273",
3
+ "version": "0.0.1-dev.277",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",