From 8216aefac06cd06becc368a693b4bf8c8632aa56 Mon Sep 17 00:00:00 2001 From: Chi Bong Ho Date: Fri, 17 May 2024 10:56:23 -0400 Subject: [PATCH] (chore) - add common typings for patient and person --- .../esm-api/src/types/concept-resource.ts | 5 + packages/framework/esm-api/src/types/index.ts | 3 + .../esm-api/src/types/patient-resource.ts | 20 ++ .../esm-api/src/types/person-resource.ts | 69 ++++ .../esm-api/src/types/user-resource.ts | 8 +- packages/framework/esm-framework/docs/API.md | 70 ++-- .../docs/interfaces/ImportMap.md | 2 +- .../docs/interfaces/LoggedInUser.md | 22 +- .../docs/interfaces/OpenmrsAppRoutes.md | 12 +- .../docs/interfaces/OpenmrsDatePickerProps.md | 179 ++++++++++ .../docs/interfaces/OpenmrsResource.md | 6 + .../esm-framework/docs/interfaces/Patient.md | 52 +++ .../docs/interfaces/PatientIdentifier.md | 74 +++++ .../docs/interfaces/PatientIdentifierType.md | 44 +++ .../esm-framework/docs/interfaces/Person.md | 171 +++++++++- .../docs/interfaces/PersonAddress.md | 305 ++++++++++++++++++ .../docs/interfaces/PersonAttribute.md | 52 +++ .../docs/interfaces/PersonName.md | 74 +++++ .../docs/interfaces/Privilege.md | 6 +- .../docs/interfaces/ResourceLoader.md | 2 +- .../esm-framework/docs/interfaces/Role.md | 6 +- .../esm-framework/docs/interfaces/Session.md | 14 +- .../docs/interfaces/SessionLocation.md | 6 +- .../ShowActionableNotificationEvent.md | 12 +- .../docs/interfaces/ShowNotificationEvent.md | 10 +- .../docs/interfaces/ShowSnackbarEvent.md | 16 +- .../docs/interfaces/ShowToastEvent.md | 10 +- .../docs/interfaces/SpaConfig.md | 10 +- 28 files changed, 1165 insertions(+), 95 deletions(-) create mode 100644 packages/framework/esm-api/src/types/concept-resource.ts create mode 100644 packages/framework/esm-api/src/types/patient-resource.ts create mode 100644 packages/framework/esm-api/src/types/person-resource.ts create mode 100644 packages/framework/esm-framework/docs/interfaces/OpenmrsDatePickerProps.md create mode 100644 packages/framework/esm-framework/docs/interfaces/Patient.md create mode 100644 packages/framework/esm-framework/docs/interfaces/PatientIdentifier.md create mode 100644 packages/framework/esm-framework/docs/interfaces/PatientIdentifierType.md create mode 100644 packages/framework/esm-framework/docs/interfaces/PersonAddress.md create mode 100644 packages/framework/esm-framework/docs/interfaces/PersonAttribute.md create mode 100644 packages/framework/esm-framework/docs/interfaces/PersonName.md diff --git a/packages/framework/esm-api/src/types/concept-resource.ts b/packages/framework/esm-api/src/types/concept-resource.ts new file mode 100644 index 000000000..6e3afd3f6 --- /dev/null +++ b/packages/framework/esm-api/src/types/concept-resource.ts @@ -0,0 +1,5 @@ +import { type OpenmrsResource } from './openmrs-resource'; + +export interface Concept extends OpenmrsResource { + // TODO: add more fields +} diff --git a/packages/framework/esm-api/src/types/index.ts b/packages/framework/esm-api/src/types/index.ts index 2ea7a7389..ac3ccf1b9 100644 --- a/packages/framework/esm-api/src/types/index.ts +++ b/packages/framework/esm-api/src/types/index.ts @@ -1,6 +1,9 @@ export * from './attachments-types'; +export * from './concept-resource'; export * from './fetch'; export * from './fhir-resource'; export * from './openmrs-resource'; export * from './user-resource'; +export * from './patient-resource'; +export * from './person-resource'; export * from './visit-resource'; diff --git a/packages/framework/esm-api/src/types/patient-resource.ts b/packages/framework/esm-api/src/types/patient-resource.ts new file mode 100644 index 000000000..440ec6b46 --- /dev/null +++ b/packages/framework/esm-api/src/types/patient-resource.ts @@ -0,0 +1,20 @@ +import { type OpenmrsResource } from './openmrs-resource'; +import { type Person } from './person-resource'; + +export interface PatientIdentifierType extends OpenmrsResource {} + +export interface Patient { + uuid: string; + display: string; + identifiers: PatientIdentifier[]; + person: Person; +} + +export interface PatientIdentifier { + uuid: string; + display: string; + identifier: string; + identifierType: PatientIdentifierType; + location: Location; + preferred: boolean; +} diff --git a/packages/framework/esm-api/src/types/person-resource.ts b/packages/framework/esm-api/src/types/person-resource.ts new file mode 100644 index 000000000..c857fe923 --- /dev/null +++ b/packages/framework/esm-api/src/types/person-resource.ts @@ -0,0 +1,69 @@ +import { type Concept } from './concept-resource'; +import { type OpenmrsResource } from './openmrs-resource'; + +export interface PersonAttribute { + attributeType: OpenmrsResource; + display: string; + uuid: string; + value: string | number; +} + +export interface Person { + uuid: string; + display: string; + gender: string; + age: number; + birthdate: string; + birthdateEstimated: boolean; + dead: boolean; + deathDate: string; + causeOfDeath: Concept; + preferredName: PersonName; + preferredAddress: PersonAddress; + names: Array; + addresses: Array; + attributes: Array; + birthtime: string; + deathdateEstimated: boolean; + causeOfDeathNonCoded: string; + links: Array; +} + +export interface PersonName { + uuid: string; + display: string; + givenName: string; + middleName: string; + familyName: string; + familyName2: string; +} + +export interface PersonAddress { + uuid: string; + display: string; + preferred: true; + cityVillage: string; + stateProvince: string; + country: string; + postalCode: string; + countyDistrict: string; + startDate: string; + endDate: string; + latitude: string; + longitude: string; + address1: string; + address2: string; + address3: string; + address4: string; + address5: string; + address6: string; + address7: string; + address8: string; + address9: string; + address10: string; + address11: string; + address12: string; + address13: string; + address14: string; + address15: string; +} diff --git a/packages/framework/esm-api/src/types/user-resource.ts b/packages/framework/esm-api/src/types/user-resource.ts index 741746302..72f87f24d 100644 --- a/packages/framework/esm-api/src/types/user-resource.ts +++ b/packages/framework/esm-api/src/types/user-resource.ts @@ -1,3 +1,5 @@ +import { type Person } from './person-resource'; + export interface Session { allowedLocales?: Array; authenticated: boolean; @@ -49,12 +51,6 @@ export interface SessionLocation { links: Array; } -export interface Person { - uuid: string; - display: string; - links: Array; -} - export interface Privilege { uuid: string; display: string; diff --git a/packages/framework/esm-framework/docs/API.md b/packages/framework/esm-framework/docs/API.md index b42f08529..29bf1e4c0 100644 --- a/packages/framework/esm-framework/docs/API.md +++ b/packages/framework/esm-framework/docs/API.md @@ -176,6 +176,10 @@ - [syncOfflinePatientData](API.md#syncofflinepatientdata) - [useConnectivity](API.md#useconnectivity) +### Other Functions + +- [isOnline](API.md#isonline) + ### Store Functions - [createGlobalStore](API.md#createglobalstore) @@ -517,7 +521,7 @@ A definition of an extension as extracted from an app's routes.json #### Defined in -[packages/framework/esm-globals/src/types.ts:172](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L172) +[packages/framework/esm-globals/src/types.ts:177](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L177) ___ @@ -529,7 +533,7 @@ A definition of a modal as extracted from an app's routes.json #### Defined in -[packages/framework/esm-globals/src/types.ts:237](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L237) +[packages/framework/esm-globals/src/types.ts:242](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L242) ___ @@ -542,7 +546,7 @@ Basically, this is the same as the app routes, with each routes definition keyed #### Defined in -[packages/framework/esm-globals/src/types.ts:348](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L348) +[packages/framework/esm-globals/src/types.ts:353](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L353) ___ @@ -554,7 +558,7 @@ A definition of a page extracted from an app's routes.json #### Defined in -[packages/framework/esm-globals/src/types.ts:116](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L116) +[packages/framework/esm-globals/src/types.ts:121](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L121) ___ @@ -583,7 +587,7 @@ A definition of a page after the app has been registered. #### Defined in -[packages/framework/esm-globals/src/types.ts:167](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L167) +[packages/framework/esm-globals/src/types.ts:172](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L172) ___ @@ -593,7 +597,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/types.ts:71](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L71) +[packages/framework/esm-globals/src/types.ts:76](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L76) ___ @@ -663,7 +667,7 @@ A definition of a workspace as extracted from an app's routes.json #### Defined in -[packages/framework/esm-globals/src/types.ts:271](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L271) +[packages/framework/esm-globals/src/types.ts:276](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L276) ___ @@ -673,7 +677,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/types.ts:266](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L266) +[packages/framework/esm-globals/src/types.ts:271](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L271) ___ @@ -1014,7 +1018,7 @@ ___ ### OpenmrsDatePicker -• `Const` **OpenmrsDatePicker**: `React.FC`<`OpenmrsDatePickerProps`\> +• `Const` **OpenmrsDatePicker**: `React.FC`<[`OpenmrsDatePickerProps`](interfaces/OpenmrsDatePickerProps.md)\> #### Defined in @@ -3134,7 +3138,7 @@ writing a module for a specific implementation. #### Defined in -[packages/framework/esm-extensions/src/extensions.ts:142](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L142) +[packages/framework/esm-extensions/src/extensions.ts:143](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L143) ___ @@ -3157,7 +3161,7 @@ ___ #### Defined in -[packages/framework/esm-extensions/src/extensions.ts:175](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L175) +[packages/framework/esm-extensions/src/extensions.ts:176](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L176) ___ @@ -3179,7 +3183,7 @@ ___ #### Defined in -[packages/framework/esm-extensions/src/extensions.ts:199](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L199) +[packages/framework/esm-extensions/src/extensions.ts:200](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L200) ___ @@ -3203,7 +3207,7 @@ An array of extensions assigned to the named slot #### Defined in -[packages/framework/esm-extensions/src/extensions.ts:333](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L333) +[packages/framework/esm-extensions/src/extensions.ts:335](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L335) ___ @@ -3230,7 +3234,7 @@ A list of extensions that should be rendered #### Defined in -[packages/framework/esm-extensions/src/extensions.ts:259](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L259) +[packages/framework/esm-extensions/src/extensions.ts:260](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L260) ___ @@ -3262,7 +3266,7 @@ getExtensionNameFromId("baz") #### Defined in -[packages/framework/esm-extensions/src/extensions.ts:90](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L90) +[packages/framework/esm-extensions/src/extensions.ts:91](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L91) ___ @@ -4478,7 +4482,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L19) +[packages/framework/esm-globals/src/events.ts:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L23) ___ @@ -4530,7 +4534,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:33](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L33) +[packages/framework/esm-globals/src/events.ts:37](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L37) ___ @@ -4613,7 +4617,29 @@ ___ #### Defined in -[packages/framework/esm-react-utils/src/useConnectivity.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConnectivity.ts#L5) +[packages/framework/esm-react-utils/src/useConnectivity.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConnectivity.ts#L6) + +___ + +## Other Functions + +### isOnline + +▸ **isOnline**(`online?`): `boolean` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `online?` | `boolean` | + +#### Returns + +`boolean` + +#### Defined in + +[packages/framework/esm-utils/src/is-online.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/is-online.ts#L3) ___ @@ -5287,7 +5313,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:107](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L107) +[packages/framework/esm-globals/src/events.ts:111](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L111) ___ @@ -5313,7 +5339,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:100](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L100) +[packages/framework/esm-globals/src/events.ts:104](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L104) ___ @@ -5339,7 +5365,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:121](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L121) +[packages/framework/esm-globals/src/events.ts:125](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L125) ___ @@ -5365,7 +5391,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:114](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L114) +[packages/framework/esm-globals/src/events.ts:118](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L118) ___ diff --git a/packages/framework/esm-framework/docs/interfaces/ImportMap.md b/packages/framework/esm-framework/docs/interfaces/ImportMap.md index e9fd4be0b..1e2b60dd6 100644 --- a/packages/framework/esm-framework/docs/interfaces/ImportMap.md +++ b/packages/framework/esm-framework/docs/interfaces/ImportMap.md @@ -16,4 +16,4 @@ #### Defined in -[packages/framework/esm-globals/src/types.ts:74](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L74) +[packages/framework/esm-globals/src/types.ts:79](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L79) diff --git a/packages/framework/esm-framework/docs/interfaces/LoggedInUser.md b/packages/framework/esm-framework/docs/interfaces/LoggedInUser.md index 69a71b3b3..54676d590 100644 --- a/packages/framework/esm-framework/docs/interfaces/LoggedInUser.md +++ b/packages/framework/esm-framework/docs/interfaces/LoggedInUser.md @@ -30,7 +30,7 @@ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:42](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L42) +[packages/framework/esm-api/src/types/user-resource.ts:44](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L44) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L13) +[packages/framework/esm-api/src/types/user-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L15) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:41](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L41) +[packages/framework/esm-api/src/types/user-resource.ts:43](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L43) ___ @@ -60,7 +60,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:37](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L37) +[packages/framework/esm-api/src/types/user-resource.ts:39](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L39) ___ @@ -70,7 +70,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:38](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L38) +[packages/framework/esm-api/src/types/user-resource.ts:40](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L40) ___ @@ -80,7 +80,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:40](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L40) +[packages/framework/esm-api/src/types/user-resource.ts:42](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L42) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:39](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L39) +[packages/framework/esm-api/src/types/user-resource.ts:41](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L41) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L15) +[packages/framework/esm-api/src/types/user-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L17) ___ @@ -110,7 +110,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L16) +[packages/framework/esm-api/src/types/user-resource.ts:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L18) ___ @@ -120,7 +120,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L14) +[packages/framework/esm-api/src/types/user-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L16) ___ @@ -130,4 +130,4 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L12) +[packages/framework/esm-api/src/types/user-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L14) diff --git a/packages/framework/esm-framework/docs/interfaces/OpenmrsAppRoutes.md b/packages/framework/esm-framework/docs/interfaces/OpenmrsAppRoutes.md index eb3f6d5cc..deedb301f 100644 --- a/packages/framework/esm-framework/docs/interfaces/OpenmrsAppRoutes.md +++ b/packages/framework/esm-framework/docs/interfaces/OpenmrsAppRoutes.md @@ -25,7 +25,7 @@ A list of backend modules necessary for this frontend module and the correspondi #### Defined in -[packages/framework/esm-globals/src/types.ts:325](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L325) +[packages/framework/esm-globals/src/types.ts:330](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L330) ___ @@ -37,7 +37,7 @@ An array of all extensions supported by this frontend module. Extensions can be #### Defined in -[packages/framework/esm-globals/src/types.ts:333](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L333) +[packages/framework/esm-globals/src/types.ts:338](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L338) ___ @@ -49,7 +49,7 @@ An array of all modals supported by this frontend module. Modals can be launched #### Defined in -[packages/framework/esm-globals/src/types.ts:337](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L337) +[packages/framework/esm-globals/src/types.ts:342](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L342) ___ @@ -61,7 +61,7 @@ An array of all pages supported by this frontend module. Pages are automatically #### Defined in -[packages/framework/esm-globals/src/types.ts:329](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L329) +[packages/framework/esm-globals/src/types.ts:334](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L334) ___ @@ -73,7 +73,7 @@ The version of this frontend module. #### Defined in -[packages/framework/esm-globals/src/types.ts:321](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L321) +[packages/framework/esm-globals/src/types.ts:326](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L326) ___ @@ -85,4 +85,4 @@ An array of all workspaces supported by this frontend module. Workspaces can be #### Defined in -[packages/framework/esm-globals/src/types.ts:341](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L341) +[packages/framework/esm-globals/src/types.ts:346](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L346) diff --git a/packages/framework/esm-framework/docs/interfaces/OpenmrsDatePickerProps.md b/packages/framework/esm-framework/docs/interfaces/OpenmrsDatePickerProps.md new file mode 100644 index 000000000..4a870e14e --- /dev/null +++ b/packages/framework/esm-framework/docs/interfaces/OpenmrsDatePickerProps.md @@ -0,0 +1,179 @@ +[@openmrs/esm-framework](../API.md) / OpenmrsDatePickerProps + +# Interface: OpenmrsDatePickerProps + +## Table of contents + +### Properties + +- [carbonOptions](OpenmrsDatePickerProps.md#carbonoptions) +- [dateFormat](OpenmrsDatePickerProps.md#dateformat) +- [defaultValue](OpenmrsDatePickerProps.md#defaultvalue) +- [disabled](OpenmrsDatePickerProps.md#disabled) +- [id](OpenmrsDatePickerProps.md#id) +- [invalid](OpenmrsDatePickerProps.md#invalid) +- [invalidText](OpenmrsDatePickerProps.md#invalidtext) +- [labelText](OpenmrsDatePickerProps.md#labeltext) +- [maxDate](OpenmrsDatePickerProps.md#maxdate) +- [minDate](OpenmrsDatePickerProps.md#mindate) +- [readonly](OpenmrsDatePickerProps.md#readonly) +- [value](OpenmrsDatePickerProps.md#value) + +### Methods + +- [onChange](OpenmrsDatePickerProps.md#onchange) + +## Properties + +### carbonOptions + +• `Optional` **carbonOptions**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `className?` | `string` | +| `datePickerType?` | ``"simple"`` \| ``"single"`` | +| `light?` | `boolean` | +| `onClose?` | `Function` | +| `onOpen?` | `Function` | +| `pickerInputStyle?` | `CSSProperties` | +| `pickerShellStyle?` | `CSSProperties` | +| `placeholder?` | `string` | +| `warn?` | `boolean` | +| `warnText?` | `string` | + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L26) + +___ + +### dateFormat + +• `Optional` **dateFormat**: `string` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L22) + +___ + +### defaultValue + +• `Optional` **defaultValue**: `string` \| `Date` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L18) + +___ + +### disabled + +• `Optional` **disabled**: `boolean` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:25](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L25) + +___ + +### id + +• **id**: `string` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L13) + +___ + +### invalid + +• `Optional` **invalid**: `boolean` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L23) + +___ + +### invalidText + +• `Optional` **invalidText**: `string` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L24) + +___ + +### labelText + +• **labelText**: `string` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L14) + +___ + +### maxDate + +• `Optional` **maxDate**: `string` \| `Date` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L20) + +___ + +### minDate + +• `Optional` **minDate**: `string` \| `Date` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L19) + +___ + +### readonly + +• `Optional` **readonly**: `boolean` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L21) + +___ + +### value + +• `Optional` **value**: `string` \| `Date` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L16) + +## Methods + +### onChange + +▸ **onChange**(`value`): `void` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `value` | `Date` | + +#### Returns + +`void` + +#### Defined in + +[packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L15) diff --git a/packages/framework/esm-framework/docs/interfaces/OpenmrsResource.md b/packages/framework/esm-framework/docs/interfaces/OpenmrsResource.md index 388017d9a..bf5af9574 100644 --- a/packages/framework/esm-framework/docs/interfaces/OpenmrsResource.md +++ b/packages/framework/esm-framework/docs/interfaces/OpenmrsResource.md @@ -2,6 +2,12 @@ # Interface: OpenmrsResource +## Hierarchy + +- **`OpenmrsResource`** + + ↳ [`PatientIdentifierType`](PatientIdentifierType.md) + ## Indexable ▪ [anythingElse: `string`]: `any` diff --git a/packages/framework/esm-framework/docs/interfaces/Patient.md b/packages/framework/esm-framework/docs/interfaces/Patient.md new file mode 100644 index 000000000..7a009a2d9 --- /dev/null +++ b/packages/framework/esm-framework/docs/interfaces/Patient.md @@ -0,0 +1,52 @@ +[@openmrs/esm-framework](../API.md) / Patient + +# Interface: Patient + +## Table of contents + +### Properties + +- [display](Patient.md#display) +- [identifiers](Patient.md#identifiers) +- [person](Patient.md#person) +- [uuid](Patient.md#uuid) + +## Properties + +### display + +• **display**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L8) + +___ + +### identifiers + +• **identifiers**: [`PatientIdentifier`](PatientIdentifier.md)[] + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L9) + +___ + +### person + +• **person**: [`Person`](Person.md) + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L10) + +___ + +### uuid + +• **uuid**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L7) diff --git a/packages/framework/esm-framework/docs/interfaces/PatientIdentifier.md b/packages/framework/esm-framework/docs/interfaces/PatientIdentifier.md new file mode 100644 index 000000000..444d22b2f --- /dev/null +++ b/packages/framework/esm-framework/docs/interfaces/PatientIdentifier.md @@ -0,0 +1,74 @@ +[@openmrs/esm-framework](../API.md) / PatientIdentifier + +# Interface: PatientIdentifier + +## Table of contents + +### Properties + +- [display](PatientIdentifier.md#display) +- [identifier](PatientIdentifier.md#identifier) +- [identifierType](PatientIdentifier.md#identifiertype) +- [location](PatientIdentifier.md#location) +- [preferred](PatientIdentifier.md#preferred) +- [uuid](PatientIdentifier.md#uuid) + +## Properties + +### display + +• **display**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L15) + +___ + +### identifier + +• **identifier**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L16) + +___ + +### identifierType + +• **identifierType**: [`PatientIdentifierType`](PatientIdentifierType.md) + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L17) + +___ + +### location + +• **location**: `Location` + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L18) + +___ + +### preferred + +• **preferred**: `boolean` + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L19) + +___ + +### uuid + +• **uuid**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/patient-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/patient-resource.ts#L14) diff --git a/packages/framework/esm-framework/docs/interfaces/PatientIdentifierType.md b/packages/framework/esm-framework/docs/interfaces/PatientIdentifierType.md new file mode 100644 index 000000000..fdb8a8deb --- /dev/null +++ b/packages/framework/esm-framework/docs/interfaces/PatientIdentifierType.md @@ -0,0 +1,44 @@ +[@openmrs/esm-framework](../API.md) / PatientIdentifierType + +# Interface: PatientIdentifierType + +## Hierarchy + +- [`OpenmrsResource`](OpenmrsResource.md) + + ↳ **`PatientIdentifierType`** + +## Table of contents + +### Properties + +- [display](PatientIdentifierType.md#display) +- [uuid](PatientIdentifierType.md#uuid) + +## Properties + +### display + +• `Optional` **display**: `string` + +#### Inherited from + +[OpenmrsResource](OpenmrsResource.md).[display](OpenmrsResource.md#display) + +#### Defined in + +[packages/framework/esm-api/src/types/openmrs-resource.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L3) + +___ + +### uuid + +• **uuid**: `string` + +#### Inherited from + +[OpenmrsResource](OpenmrsResource.md).[uuid](OpenmrsResource.md#uuid) + +#### Defined in + +[packages/framework/esm-api/src/types/openmrs-resource.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L2) diff --git a/packages/framework/esm-framework/docs/interfaces/Person.md b/packages/framework/esm-framework/docs/interfaces/Person.md index b1036f1dc..f3c49ef31 100644 --- a/packages/framework/esm-framework/docs/interfaces/Person.md +++ b/packages/framework/esm-framework/docs/interfaces/Person.md @@ -6,19 +6,154 @@ ### Properties +- [addresses](Person.md#addresses) +- [age](Person.md#age) +- [attributes](Person.md#attributes) +- [birthdate](Person.md#birthdate) +- [birthdateEstimated](Person.md#birthdateestimated) +- [birthtime](Person.md#birthtime) +- [causeOfDeath](Person.md#causeofdeath) +- [causeOfDeathNonCoded](Person.md#causeofdeathnoncoded) +- [dead](Person.md#dead) +- [deathDate](Person.md#deathdate) +- [deathdateEstimated](Person.md#deathdateestimated) - [display](Person.md#display) +- [gender](Person.md#gender) - [links](Person.md#links) +- [names](Person.md#names) +- [preferredAddress](Person.md#preferredaddress) +- [preferredName](Person.md#preferredname) - [uuid](Person.md#uuid) ## Properties +### addresses + +• **addresses**: [`PersonAddress`](PersonAddress.md)[] + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L24) + +___ + +### age + +• **age**: `number` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L15) + +___ + +### attributes + +• **attributes**: [`PersonAttribute`](PersonAttribute.md)[] + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:25](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L25) + +___ + +### birthdate + +• **birthdate**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L16) + +___ + +### birthdateEstimated + +• **birthdateEstimated**: `boolean` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L17) + +___ + +### birthtime + +• **birthtime**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L26) + +___ + +### causeOfDeath + +• **causeOfDeath**: `Concept` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L20) + +___ + +### causeOfDeathNonCoded + +• **causeOfDeathNonCoded**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L28) + +___ + +### dead + +• **dead**: `boolean` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L18) + +___ + +### deathDate + +• **deathDate**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L19) + +___ + +### deathdateEstimated + +• **deathdateEstimated**: `boolean` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L27) + +___ + ### display • **display**: `string` #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:54](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L54) +[packages/framework/esm-api/src/types/person-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L13) + +___ + +### gender + +• **gender**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L14) ___ @@ -28,7 +163,37 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:55](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L55) +[packages/framework/esm-api/src/types/person-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L29) + +___ + +### names + +• **names**: [`PersonName`](PersonName.md)[] + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L23) + +___ + +### preferredAddress + +• **preferredAddress**: [`PersonAddress`](PersonAddress.md) + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L22) + +___ + +### preferredName + +• **preferredName**: [`PersonName`](PersonName.md) + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L21) ___ @@ -38,4 +203,4 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:53](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L53) +[packages/framework/esm-api/src/types/person-resource.ts:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L12) diff --git a/packages/framework/esm-framework/docs/interfaces/PersonAddress.md b/packages/framework/esm-framework/docs/interfaces/PersonAddress.md new file mode 100644 index 000000000..bd6b449e3 --- /dev/null +++ b/packages/framework/esm-framework/docs/interfaces/PersonAddress.md @@ -0,0 +1,305 @@ +[@openmrs/esm-framework](../API.md) / PersonAddress + +# Interface: PersonAddress + +## Table of contents + +### Properties + +- [address1](PersonAddress.md#address1) +- [address10](PersonAddress.md#address10) +- [address11](PersonAddress.md#address11) +- [address12](PersonAddress.md#address12) +- [address13](PersonAddress.md#address13) +- [address14](PersonAddress.md#address14) +- [address15](PersonAddress.md#address15) +- [address2](PersonAddress.md#address2) +- [address3](PersonAddress.md#address3) +- [address4](PersonAddress.md#address4) +- [address5](PersonAddress.md#address5) +- [address6](PersonAddress.md#address6) +- [address7](PersonAddress.md#address7) +- [address8](PersonAddress.md#address8) +- [address9](PersonAddress.md#address9) +- [cityVillage](PersonAddress.md#cityvillage) +- [country](PersonAddress.md#country) +- [countyDistrict](PersonAddress.md#countydistrict) +- [display](PersonAddress.md#display) +- [endDate](PersonAddress.md#enddate) +- [latitude](PersonAddress.md#latitude) +- [longitude](PersonAddress.md#longitude) +- [postalCode](PersonAddress.md#postalcode) +- [preferred](PersonAddress.md#preferred) +- [startDate](PersonAddress.md#startdate) +- [stateProvince](PersonAddress.md#stateprovince) +- [uuid](PersonAddress.md#uuid) + +## Properties + +### address1 + +• **address1**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:54](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L54) + +___ + +### address10 + +• **address10**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:63](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L63) + +___ + +### address11 + +• **address11**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:64](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L64) + +___ + +### address12 + +• **address12**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:65](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L65) + +___ + +### address13 + +• **address13**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:66](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L66) + +___ + +### address14 + +• **address14**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:67](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L67) + +___ + +### address15 + +• **address15**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:68](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L68) + +___ + +### address2 + +• **address2**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:55](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L55) + +___ + +### address3 + +• **address3**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:56](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L56) + +___ + +### address4 + +• **address4**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:57](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L57) + +___ + +### address5 + +• **address5**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:58](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L58) + +___ + +### address6 + +• **address6**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:59](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L59) + +___ + +### address7 + +• **address7**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:60](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L60) + +___ + +### address8 + +• **address8**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:61](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L61) + +___ + +### address9 + +• **address9**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:62](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L62) + +___ + +### cityVillage + +• **cityVillage**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:45](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L45) + +___ + +### country + +• **country**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:47](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L47) + +___ + +### countyDistrict + +• **countyDistrict**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:49](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L49) + +___ + +### display + +• **display**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:43](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L43) + +___ + +### endDate + +• **endDate**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:51](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L51) + +___ + +### latitude + +• **latitude**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:52](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L52) + +___ + +### longitude + +• **longitude**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:53](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L53) + +___ + +### postalCode + +• **postalCode**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:48](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L48) + +___ + +### preferred + +• **preferred**: ``true`` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:44](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L44) + +___ + +### startDate + +• **startDate**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:50](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L50) + +___ + +### stateProvince + +• **stateProvince**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:46](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L46) + +___ + +### uuid + +• **uuid**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:42](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L42) diff --git a/packages/framework/esm-framework/docs/interfaces/PersonAttribute.md b/packages/framework/esm-framework/docs/interfaces/PersonAttribute.md new file mode 100644 index 000000000..e4a3891b5 --- /dev/null +++ b/packages/framework/esm-framework/docs/interfaces/PersonAttribute.md @@ -0,0 +1,52 @@ +[@openmrs/esm-framework](../API.md) / PersonAttribute + +# Interface: PersonAttribute + +## Table of contents + +### Properties + +- [attributeType](PersonAttribute.md#attributetype) +- [display](PersonAttribute.md#display) +- [uuid](PersonAttribute.md#uuid) +- [value](PersonAttribute.md#value) + +## Properties + +### attributeType + +• **attributeType**: [`OpenmrsResource`](OpenmrsResource.md) + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L5) + +___ + +### display + +• **display**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L6) + +___ + +### uuid + +• **uuid**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L7) + +___ + +### value + +• **value**: `string` \| `number` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L8) diff --git a/packages/framework/esm-framework/docs/interfaces/PersonName.md b/packages/framework/esm-framework/docs/interfaces/PersonName.md new file mode 100644 index 000000000..2dcbc588c --- /dev/null +++ b/packages/framework/esm-framework/docs/interfaces/PersonName.md @@ -0,0 +1,74 @@ +[@openmrs/esm-framework](../API.md) / PersonName + +# Interface: PersonName + +## Table of contents + +### Properties + +- [display](PersonName.md#display) +- [familyName](PersonName.md#familyname) +- [familyName2](PersonName.md#familyname2) +- [givenName](PersonName.md#givenname) +- [middleName](PersonName.md#middlename) +- [uuid](PersonName.md#uuid) + +## Properties + +### display + +• **display**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:34](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L34) + +___ + +### familyName + +• **familyName**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:37](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L37) + +___ + +### familyName2 + +• **familyName2**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:38](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L38) + +___ + +### givenName + +• **givenName**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:35](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L35) + +___ + +### middleName + +• **middleName**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:36](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L36) + +___ + +### uuid + +• **uuid**: `string` + +#### Defined in + +[packages/framework/esm-api/src/types/person-resource.ts:33](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/person-resource.ts#L33) diff --git a/packages/framework/esm-framework/docs/interfaces/Privilege.md b/packages/framework/esm-framework/docs/interfaces/Privilege.md index 7dce95284..bdb99087a 100644 --- a/packages/framework/esm-framework/docs/interfaces/Privilege.md +++ b/packages/framework/esm-framework/docs/interfaces/Privilege.md @@ -18,7 +18,7 @@ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:60](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L60) +[packages/framework/esm-api/src/types/user-resource.ts:56](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L56) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:61](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L61) +[packages/framework/esm-api/src/types/user-resource.ts:57](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L57) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:59](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L59) +[packages/framework/esm-api/src/types/user-resource.ts:55](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L55) diff --git a/packages/framework/esm-framework/docs/interfaces/ResourceLoader.md b/packages/framework/esm-framework/docs/interfaces/ResourceLoader.md index 3c22e7c15..adc6ae769 100644 --- a/packages/framework/esm-framework/docs/interfaces/ResourceLoader.md +++ b/packages/framework/esm-framework/docs/interfaces/ResourceLoader.md @@ -20,4 +20,4 @@ #### Defined in -[packages/framework/esm-globals/src/types.ts:351](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L351) +[packages/framework/esm-globals/src/types.ts:356](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L356) diff --git a/packages/framework/esm-framework/docs/interfaces/Role.md b/packages/framework/esm-framework/docs/interfaces/Role.md index eccddc655..8eb0e8318 100644 --- a/packages/framework/esm-framework/docs/interfaces/Role.md +++ b/packages/framework/esm-framework/docs/interfaces/Role.md @@ -18,7 +18,7 @@ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:66](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L66) +[packages/framework/esm-api/src/types/user-resource.ts:62](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L62) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:67](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L67) +[packages/framework/esm-api/src/types/user-resource.ts:63](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L63) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:65](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L65) +[packages/framework/esm-api/src/types/user-resource.ts:61](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L61) diff --git a/packages/framework/esm-framework/docs/interfaces/Session.md b/packages/framework/esm-framework/docs/interfaces/Session.md index 1d70fc40b..7853b7f7b 100644 --- a/packages/framework/esm-framework/docs/interfaces/Session.md +++ b/packages/framework/esm-framework/docs/interfaces/Session.md @@ -22,7 +22,7 @@ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L2) +[packages/framework/esm-api/src/types/user-resource.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L4) ___ @@ -32,7 +32,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L3) +[packages/framework/esm-api/src/types/user-resource.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L5) ___ @@ -49,7 +49,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L7) +[packages/framework/esm-api/src/types/user-resource.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L9) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L4) +[packages/framework/esm-api/src/types/user-resource.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L6) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L5) +[packages/framework/esm-api/src/types/user-resource.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L7) ___ @@ -79,7 +79,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L8) +[packages/framework/esm-api/src/types/user-resource.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L10) ___ @@ -89,4 +89,4 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L6) +[packages/framework/esm-api/src/types/user-resource.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L8) diff --git a/packages/framework/esm-framework/docs/interfaces/SessionLocation.md b/packages/framework/esm-framework/docs/interfaces/SessionLocation.md index 0cedef880..ce3fed991 100644 --- a/packages/framework/esm-framework/docs/interfaces/SessionLocation.md +++ b/packages/framework/esm-framework/docs/interfaces/SessionLocation.md @@ -18,7 +18,7 @@ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:48](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L48) +[packages/framework/esm-api/src/types/user-resource.ts:50](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L50) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:49](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L49) +[packages/framework/esm-api/src/types/user-resource.ts:51](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L51) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[packages/framework/esm-api/src/types/user-resource.ts:47](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L47) +[packages/framework/esm-api/src/types/user-resource.ts:49](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/user-resource.ts#L49) diff --git a/packages/framework/esm-framework/docs/interfaces/ShowActionableNotificationEvent.md b/packages/framework/esm-framework/docs/interfaces/ShowActionableNotificationEvent.md index 1a92eae57..202174250 100644 --- a/packages/framework/esm-framework/docs/interfaces/ShowActionableNotificationEvent.md +++ b/packages/framework/esm-framework/docs/interfaces/ShowActionableNotificationEvent.md @@ -24,7 +24,7 @@ #### Defined in -[packages/framework/esm-globals/src/events.ts:52](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L52) +[packages/framework/esm-globals/src/events.ts:56](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L56) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:50](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L50) +[packages/framework/esm-globals/src/events.ts:54](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L54) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:54](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L54) +[packages/framework/esm-globals/src/events.ts:58](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L58) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:49](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L49) +[packages/framework/esm-globals/src/events.ts:53](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L53) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:51](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L51) +[packages/framework/esm-globals/src/events.ts:55](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L55) ## Methods @@ -78,4 +78,4 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:53](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L53) +[packages/framework/esm-globals/src/events.ts:57](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L57) diff --git a/packages/framework/esm-framework/docs/interfaces/ShowNotificationEvent.md b/packages/framework/esm-framework/docs/interfaces/ShowNotificationEvent.md index ced2234f1..c24e5d438 100644 --- a/packages/framework/esm-framework/docs/interfaces/ShowNotificationEvent.md +++ b/packages/framework/esm-framework/docs/interfaces/ShowNotificationEvent.md @@ -20,7 +20,7 @@ #### Defined in -[packages/framework/esm-globals/src/events.ts:44](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L44) +[packages/framework/esm-globals/src/events.ts:48](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L48) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:41](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L41) +[packages/framework/esm-globals/src/events.ts:45](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L45) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:42](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L42) +[packages/framework/esm-globals/src/events.ts:46](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L46) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:45](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L45) +[packages/framework/esm-globals/src/events.ts:49](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L49) ___ @@ -60,4 +60,4 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:43](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L43) +[packages/framework/esm-globals/src/events.ts:47](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L47) diff --git a/packages/framework/esm-framework/docs/interfaces/ShowSnackbarEvent.md b/packages/framework/esm-framework/docs/interfaces/ShowSnackbarEvent.md index e5bbccb75..0240c4076 100644 --- a/packages/framework/esm-framework/docs/interfaces/ShowSnackbarEvent.md +++ b/packages/framework/esm-framework/docs/interfaces/ShowSnackbarEvent.md @@ -26,7 +26,7 @@ #### Defined in -[packages/framework/esm-globals/src/events.ts:71](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L71) +[packages/framework/esm-globals/src/events.ts:75](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L75) ___ @@ -36,7 +36,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:74](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L74) +[packages/framework/esm-globals/src/events.ts:78](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L78) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:69](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L69) +[packages/framework/esm-globals/src/events.ts:73](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L73) ___ @@ -56,7 +56,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:73](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L73) +[packages/framework/esm-globals/src/events.ts:77](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L77) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:68](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L68) +[packages/framework/esm-globals/src/events.ts:72](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L72) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:75](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L75) +[packages/framework/esm-globals/src/events.ts:79](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L79) ___ @@ -86,7 +86,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:70](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L70) +[packages/framework/esm-globals/src/events.ts:74](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L74) ## Methods @@ -100,4 +100,4 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:72](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L72) +[packages/framework/esm-globals/src/events.ts:76](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L76) diff --git a/packages/framework/esm-framework/docs/interfaces/ShowToastEvent.md b/packages/framework/esm-framework/docs/interfaces/ShowToastEvent.md index eb67ea708..d368785c1 100644 --- a/packages/framework/esm-framework/docs/interfaces/ShowToastEvent.md +++ b/packages/framework/esm-framework/docs/interfaces/ShowToastEvent.md @@ -23,7 +23,7 @@ #### Defined in -[packages/framework/esm-globals/src/events.ts:62](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L62) +[packages/framework/esm-globals/src/events.ts:66](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L66) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:59](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L59) +[packages/framework/esm-globals/src/events.ts:63](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L63) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:60](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L60) +[packages/framework/esm-globals/src/events.ts:64](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L64) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:61](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L61) +[packages/framework/esm-globals/src/events.ts:65](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L65) ## Methods @@ -67,4 +67,4 @@ ___ #### Defined in -[packages/framework/esm-globals/src/events.ts:63](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L63) +[packages/framework/esm-globals/src/events.ts:67](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/events.ts#L67) diff --git a/packages/framework/esm-framework/docs/interfaces/SpaConfig.md b/packages/framework/esm-framework/docs/interfaces/SpaConfig.md index 7e0d2d386..eb741150f 100644 --- a/packages/framework/esm-framework/docs/interfaces/SpaConfig.md +++ b/packages/framework/esm-framework/docs/interfaces/SpaConfig.md @@ -24,7 +24,7 @@ The base path or URL for the OpenMRS API / endpoints. #### Defined in -[packages/framework/esm-globals/src/types.ts:84](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L84) +[packages/framework/esm-globals/src/types.ts:89](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L89) ___ @@ -36,7 +36,7 @@ URLs of configurations to load in the system. #### Defined in -[packages/framework/esm-globals/src/types.ts:97](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L97) +[packages/framework/esm-globals/src/types.ts:102](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L102) ___ @@ -50,7 +50,7 @@ The environment to use. #### Defined in -[packages/framework/esm-globals/src/types.ts:93](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L93) +[packages/framework/esm-globals/src/types.ts:98](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L98) ___ @@ -64,7 +64,7 @@ Defines if offline should be supported by installing a service worker. #### Defined in -[packages/framework/esm-globals/src/types.ts:102](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L102) +[packages/framework/esm-globals/src/types.ts:107](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L107) ___ @@ -76,4 +76,4 @@ The base path for the SPA root path. #### Defined in -[packages/framework/esm-globals/src/types.ts:88](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L88) +[packages/framework/esm-globals/src/types.ts:93](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L93)