@bahmni/registration-app 0.0.1-dev.246 → 0.0.1-dev.256
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/{DocumentsTable-YDhjKVF1-CVIrOP5q.js → DocumentsTable-C-3HR8Yf-BNu_28C_.js} +10 -10
- package/dist/{FormsTable-Db-oc-9c-DxgOa9KC.js → FormsTable-DxS7Dkff-C-aX-m4H.js} +45 -45
- package/dist/{LNWAZHJI-DlC_t-NU.js → LNWAZHJI-BEeXVQ0Y.js} +4 -4
- package/dist/{MWZ6AO7Z-DkSGMBX7.js → MWZ6AO7Z-3UkDGoQV.js} +5 -5
- package/dist/{Observations-DIUn-YMi-S8MUeyA-.js → Observations-oFf9WlPb-DFBRmnrk.js} +77 -77
- package/dist/{YPM2AS64-zIdfseOL.js → YPM2AS64-C1IfqwdX.js} +181 -181
- package/dist/components/forms/profile/Profile.d.ts.map +1 -1
- package/dist/hooks/useCreatePatient.d.ts +2 -1
- package/dist/hooks/useCreatePatient.d.ts.map +1 -1
- package/dist/hooks/usePatientPhoto.d.ts +1 -1
- package/dist/hooks/useUpdatePatient.d.ts +2 -1
- package/dist/hooks/useUpdatePatient.d.ts.map +1 -1
- package/dist/{index-DEREz8wc.js → index-BuWaqG5L.js} +37182 -38650
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/pages/PatientRegister/PatientRegister.d.ts.map +1 -1
- package/dist/utils/dateTimeUtils.d.ts +2 -0
- package/dist/utils/dateTimeUtils.d.ts.map +1 -0
- package/dist/utils/fhirPatientMapper.d.ts +21 -0
- package/dist/utils/fhirPatientMapper.d.ts.map +1 -0
- package/dist/utils/identifierGenderUtils.d.ts +1 -0
- package/dist/utils/identifierGenderUtils.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PatientRegister.d.ts","sourceRoot":"","sources":["../../../src/pages/PatientRegister/PatientRegister.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PatientRegister.d.ts","sourceRoot":"","sources":["../../../src/pages/PatientRegister/PatientRegister.tsx"],"names":[],"mappings":"AAwCA,QAAA,MAAM,eAAe,+CA4VpB,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dateTimeUtils.d.ts","sourceRoot":"","sources":["../../src/utils/dateTimeUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,GACnC,YAAY,MAAM,EAClB,YAAY,MAAM,GAAG,IAAI,KACxB,MAAM,GAAG,IAWX,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PatientAddress, PatientIdentifier, PersonAttributeType } from '@bahmni/services';
|
|
2
|
+
import { Patient } from 'fhir/r4';
|
|
3
|
+
import { BasicInfoData, PersonAttributesData, AdditionalIdentifiersData } from '../models/patient';
|
|
4
|
+
interface MapperInput {
|
|
5
|
+
profile: BasicInfoData & {
|
|
6
|
+
dobEstimated: boolean;
|
|
7
|
+
patientIdentifier: PatientIdentifier;
|
|
8
|
+
};
|
|
9
|
+
address: PatientAddress;
|
|
10
|
+
contact: PersonAttributesData;
|
|
11
|
+
additional: PersonAttributesData;
|
|
12
|
+
additionalIdentifiers: AdditionalIdentifiersData;
|
|
13
|
+
additionalIdentifiersInitialData?: AdditionalIdentifiersData;
|
|
14
|
+
identifierTypeNames?: Record<string, string>;
|
|
15
|
+
loginLocationUuid?: string;
|
|
16
|
+
personAttributes: PersonAttributeType[];
|
|
17
|
+
patientUuid?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function buildFhirPatient(input: MapperInput): Patient;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=fhirPatientMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fhirPatientMapper.d.ts","sourceRoot":"","sources":["../../src/utils/fhirPatientMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,OAAO,EAAkC,MAAM,SAAS,CAAC;AACvE,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AA4C3B,UAAU,WAAW;IACnB,OAAO,EAAE,aAAa,GAAG;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,iBAAiB,EAAE,iBAAiB,CAAC;KACtC,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,UAAU,EAAE,oBAAoB,CAAC;IACjC,qBAAqB,EAAE,yBAAyB,CAAC;IACjD,gCAAgC,CAAC,EAAE,yBAAyB,CAAC;IAC7D,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CA4J5D"}
|
|
@@ -2,6 +2,7 @@ export declare const useIdentifierData: () => {
|
|
|
2
2
|
identifierPrefixes: string[];
|
|
3
3
|
identifierSources: Map<string, string> | undefined;
|
|
4
4
|
primaryIdentifierType: string | null | undefined;
|
|
5
|
+
primaryIdentifierTypeName: string | null | undefined;
|
|
5
6
|
};
|
|
6
7
|
export declare const useGenderData: (t: (key: string) => string) => {
|
|
7
8
|
genders: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identifierGenderUtils.d.ts","sourceRoot":"","sources":["../../src/utils/identifierGenderUtils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"identifierGenderUtils.d.ts","sourceRoot":"","sources":["../../src/utils/identifierGenderUtils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;CAoC7B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM;;6BAiBtB,MAAM,KAAG,MAAM;CAShD,CAAC"}
|