@bahmni/registration-app 0.0.1-dev.78 → 0.0.1-dev.80

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 (27) hide show
  1. package/dist/{LNWAZHJI-DSG1_9AZ.js → LNWAZHJI-BFeewgi6.js} +2 -2
  2. package/dist/{MWZ6AO7Z-CBfu-GbX.js → MWZ6AO7Z-ed8nAtLh.js} +2 -2
  3. package/dist/{YPM2AS64-C8S2kLzJ.js → YPM2AS64-DKQYHNJ3.js} +1 -1
  4. package/dist/components/forms/patientRelationships/PatientRelationships.d.ts +4 -0
  5. package/dist/components/forms/patientRelationships/PatientRelationships.d.ts.map +1 -1
  6. package/dist/components/forms/patientRelationships/RelationshipRow.d.ts.map +1 -1
  7. package/dist/components/forms/patientRelationships/usePatientRelationship.d.ts +26 -0
  8. package/dist/components/forms/patientRelationships/usePatientRelationship.d.ts.map +1 -0
  9. package/dist/components/forms/patientRelationships/useRelationshipManager.d.ts +26 -0
  10. package/dist/components/forms/patientRelationships/useRelationshipManager.d.ts.map +1 -0
  11. package/dist/constants/app.d.ts +1 -0
  12. package/dist/constants/app.d.ts.map +1 -1
  13. package/dist/hooks/usePatientDetails.d.ts +1 -0
  14. package/dist/hooks/usePatientDetails.d.ts.map +1 -1
  15. package/dist/hooks/useRelationshipValidation.d.ts +1 -2
  16. package/dist/hooks/useRelationshipValidation.d.ts.map +1 -1
  17. package/dist/hooks/useUpdatePatient.d.ts +2 -0
  18. package/dist/hooks/useUpdatePatient.d.ts.map +1 -1
  19. package/dist/{index-BDg8bWCw.js → index-BJRunNDu.js} +29715 -29311
  20. package/dist/index.css +1 -1
  21. package/dist/index.js +1 -1
  22. package/dist/locales/locale_en.json +1 -0
  23. package/dist/locales/locale_es.json +1 -0
  24. package/dist/pages/PatientRegister/PatientRegister.d.ts.map +1 -1
  25. package/dist/utils/patientDataConverter.d.ts +2 -0
  26. package/dist/utils/patientDataConverter.d.ts.map +1 -1
  27. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Z as E, X as a, Y as i } from "./index-BDg8bWCw.js";
1
+ import { Z as E, X as a, Y as i } from "./index-BJRunNDu.js";
2
2
  export {
3
3
  E as IDENTIFIER_TYPES_QUERY_KEY,
4
4
  a as RegistrationApp,
@@ -49,6 +49,7 @@
49
49
  "CREATE_PATIENT_SECTION_BASIC_INFO": "Basic information",
50
50
  "CREATE_PATIENT_SECTION_CONTACT_INFO": "Contact information",
51
51
  "CREATE_PATIENT_SECTION_RELATIONSHIPS": "Relationships",
52
+ "CREATE_PATIENT_SECTION_RELATIONSHIPS_INFO": "Relationships Information",
52
53
  "CREATE_PATIENT_SELECT": "Select",
53
54
  "CREATE_PATIENT_START_OPD_VISIT": "Start OPD visit",
54
55
  "CREATE_PATIENT_STATE": "State",
@@ -49,6 +49,7 @@
49
49
  "CREATE_PATIENT_SECTION_BASIC_INFO": "Información básica",
50
50
  "CREATE_PATIENT_SECTION_CONTACT_INFO": "Información de contacto",
51
51
  "CREATE_PATIENT_SECTION_RELATIONSHIPS": "Relaciones",
52
+ "CREATE_PATIENT_SECTION_RELATIONSHIPS_INFO": "Información de Relaciones",
52
53
  "CREATE_PATIENT_SELECT": "Seleccionar",
53
54
  "CREATE_PATIENT_START_OPD_VISIT": "Iniciar visita OPD",
54
55
  "CREATE_PATIENT_STATE": "Estado",
@@ -1 +1 @@
1
- {"version":3,"file":"PatientRegister.d.ts","sourceRoot":"","sources":["../../../src/pages/PatientRegister/PatientRegister.tsx"],"names":[],"mappings":"AAoDA,QAAA,MAAM,eAAe,+CAoPpB,CAAC;AACF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"PatientRegister.d.ts","sourceRoot":"","sources":["../../../src/pages/PatientRegister/PatientRegister.tsx"],"names":[],"mappings":"AAoDA,QAAA,MAAM,eAAe,+CAyPpB,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { PatientProfileResponse } from '@bahmni/services';
2
+ import { RelationshipData } from '../components/forms/patientRelationships/PatientRelationships';
2
3
  import { AddressData } from '../hooks/useAddressFields';
3
4
  import { BasicInfoData, PersonAttributesData } from '../models/patient';
4
5
  export declare const convertToBasicInfoData: (patientData: PatientProfileResponse | undefined, getGenderDisplay?: (code: string) => string) => BasicInfoData | undefined;
5
6
  export declare const convertToPersonAttributesData: (patientData: PatientProfileResponse | undefined) => PersonAttributesData | undefined;
6
7
  export declare const convertToAddressData: (patientData: PatientProfileResponse | undefined) => AddressData | undefined;
7
8
  export declare const convertToAdditionalIdentifiersData: (patientData: PatientProfileResponse | undefined) => Record<string, string> | undefined;
9
+ export declare const convertToRelationshipsData: (patientData: PatientProfileResponse | undefined) => RelationshipData[];
8
10
  //# sourceMappingURL=patientDataConverter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patientDataConverter.d.ts","sourceRoot":"","sources":["../../src/utils/patientDataConverter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAG/D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE7E,eAAO,MAAM,sBAAsB,GACjC,aAAa,sBAAsB,GAAG,SAAS,EAC/C,mBAAmB,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,KAC1C,aAAa,GAAG,SAwClB,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,aAAa,sBAAsB,GAAG,SAAS,KAC9C,oBAAoB,GAAG,SAiBzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,aAAa,sBAAsB,GAAG,SAAS,KAC9C,WAAW,GAAG,SAoBhB,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAC7C,aAAa,sBAAsB,GAAG,SAAS,KAC9C,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAoB3B,CAAC"}
1
+ {"version":3,"file":"patientDataConverter.d.ts","sourceRoot":"","sources":["../../src/utils/patientDataConverter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAG/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE7E,eAAO,MAAM,sBAAsB,GACjC,aAAa,sBAAsB,GAAG,SAAS,EAC/C,mBAAmB,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,KAC1C,aAAa,GAAG,SAwClB,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,aAAa,sBAAsB,GAAG,SAAS,KAC9C,oBAAoB,GAAG,SAiBzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,aAAa,sBAAsB,GAAG,SAAS,KAC9C,WAAW,GAAG,SAoBhB,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAC7C,aAAa,sBAAsB,GAAG,SAAS,KAC9C,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAoB3B,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,aAAa,sBAAsB,GAAG,SAAS,KAC9C,gBAAgB,EAkClB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/registration-app",
3
- "version": "0.0.1-dev.78",
3
+ "version": "0.0.1-dev.80",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",