@openmrs/esm-framework 5.6.1-pre.1809 → 5.6.1-pre.1812

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.
@@ -1,4 +1,4 @@
1
- @openmrs/esm-framework:build: cache hit, replaying output 03ce621a54cd9b4f
1
+ @openmrs/esm-framework:build: cache hit, replaying output 5235ce82905bc8f7
2
2
  @openmrs/esm-framework:build: assets by chunk 244 KiB (id hint: vendors)
3
3
  @openmrs/esm-framework:build:  asset 788.openmrs-esm-framework.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
4
4
  @openmrs/esm-framework:build:  asset 278.openmrs-esm-framework.js 53.9 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
@@ -9,7 +9,7 @@
9
9
  @openmrs/esm-framework:build: asset 619.openmrs-esm-framework.js 18.8 KiB [emitted] [minimized] 1 related asset
10
10
  @openmrs/esm-framework:build: asset 735.openmrs-esm-framework.js 6.54 KiB [emitted] [minimized] 2 related assets
11
11
  @openmrs/esm-framework:build: asset 530.openmrs-esm-framework.js 6.4 KiB [emitted] [minimized] 1 related asset
12
- @openmrs/esm-framework:build: orphan modules 6.93 MiB [orphan] 1790 modules
12
+ @openmrs/esm-framework:build: orphan modules 6.93 MiB [orphan] 1789 modules
13
13
  @openmrs/esm-framework:build: runtime modules 20 KiB 14 modules
14
14
  @openmrs/esm-framework:build: built modules 6.79 MiB (javascript) 336 bytes (share-init) 336 bytes (consume-shared) [built] 347 modules
15
15
  @openmrs/esm-framework:build: 
@@ -27,4 +27,4 @@
27
27
  @openmrs/esm-framework:build:  openmrs-esm-framework.js
28
28
  @openmrs/esm-framework:build: 
29
29
  @openmrs/esm-framework:build: 
30
- @openmrs/esm-framework:build: webpack 5.88.0 compiled with 3 warnings in 25910 ms
30
+ @openmrs/esm-framework:build: webpack 5.88.0 compiled with 3 warnings in 26213 ms
package/docs/API.md CHANGED
@@ -77,6 +77,7 @@
77
77
 
78
78
  ### Date and Time Functions
79
79
 
80
+ - [convertToLocaleCalendar](API.md#converttolocalecalendar)
80
81
  - [formatDate](API.md#formatdate)
81
82
  - [formatDatetime](API.md#formatdatetime)
82
83
  - [formatTime](API.md#formattime)
@@ -225,10 +226,13 @@
225
226
  - [age](API.md#age)
226
227
  - [canAccessStorage](API.md#canaccessstorage)
227
228
  - [daysIntoYear](API.md#daysintoyear)
229
+ - [displayName](API.md#displayname)
230
+ - [formattedName](API.md#formattedname)
228
231
  - [getDefaultsFromConfigSchema](API.md#getdefaultsfromconfigschema)
229
232
  - [isSameDay](API.md#issameday)
230
233
  - [isVersionSatisfied](API.md#isversionsatisfied)
231
234
  - [retry](API.md#retry)
235
+ - [selectPreferredName](API.md#selectpreferredname)
232
236
  - [shallowEqual](API.md#shallowequal)
233
237
  - [useAbortController](API.md#useabortcontroller)
234
238
  - [useDebounce](API.md#usedebounce)
@@ -360,7 +364,7 @@ ___
360
364
 
361
365
  #### Defined in
362
366
 
363
- [packages/framework/esm-utils/src/omrs-dates.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L19)
367
+ [packages/framework/esm-utils/src/omrs-dates.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L20)
364
368
 
365
369
  ___
366
370
 
@@ -370,7 +374,7 @@ ___
370
374
 
371
375
  #### Defined in
372
376
 
373
- [packages/framework/esm-utils/src/omrs-dates.ts:133](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L133)
377
+ [packages/framework/esm-utils/src/omrs-dates.ts:134](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L134)
374
378
 
375
379
  ___
376
380
 
@@ -391,7 +395,7 @@ ___
391
395
 
392
396
  #### Defined in
393
397
 
394
- [packages/framework/esm-utils/src/omrs-dates.ts:135](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L135)
398
+ [packages/framework/esm-utils/src/omrs-dates.ts:136](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L136)
395
399
 
396
400
  ___
397
401
 
@@ -537,6 +541,16 @@ A definition of a modal as extracted from an app's routes.json
537
541
 
538
542
  ___
539
543
 
544
+ ### NameUse
545
+
546
+ Ƭ **NameUse**: ``"usual"`` \| ``"official"`` \| ``"temp"`` \| ``"nickname"`` \| ``"anonymous"`` \| ``"old"`` \| ``"maiden"``
547
+
548
+ #### Defined in
549
+
550
+ [packages/framework/esm-globals/src/types.ts:362](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L362)
551
+
552
+ ___
553
+
540
554
  ### OpenmrsRoutes
541
555
 
542
556
  Ƭ **OpenmrsRoutes**: `Record`<`string`, [`OpenmrsAppRoutes`](interfaces/OpenmrsAppRoutes.md)\>
@@ -2585,6 +2599,31 @@ ___
2585
2599
 
2586
2600
  ## Date and Time Functions
2587
2601
 
2602
+ ### convertToLocaleCalendar
2603
+
2604
+ ▸ **convertToLocaleCalendar**(`date`, `locale`): `CalendarDate`
2605
+
2606
+ Converts a calendar date to the equivalent locale calendar date.
2607
+
2608
+ #### Parameters
2609
+
2610
+ | Name | Type |
2611
+ | :------ | :------ |
2612
+ | `date` | `CalendarDate` |
2613
+ | `locale` | `string` \| `Locale` |
2614
+
2615
+ #### Returns
2616
+
2617
+ `CalendarDate`
2618
+
2619
+ CalendarDate
2620
+
2621
+ #### Defined in
2622
+
2623
+ [packages/framework/esm-utils/src/omrs-dates.ts:387](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L387)
2624
+
2625
+ ___
2626
+
2588
2627
  ### formatDate
2589
2628
 
2590
2629
  ▸ **formatDate**(`date`, `options?`): `string`
@@ -2619,7 +2658,7 @@ locales.
2619
2658
 
2620
2659
  #### Defined in
2621
2660
 
2622
- [packages/framework/esm-utils/src/omrs-dates.ts:261](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L261)
2661
+ [packages/framework/esm-utils/src/omrs-dates.ts:262](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L262)
2623
2662
 
2624
2663
  ___
2625
2664
 
@@ -2648,7 +2687,7 @@ output of `Date.prototype.toLocaleString` for *most* locales.
2648
2687
 
2649
2688
  #### Defined in
2650
2689
 
2651
- [packages/framework/esm-utils/src/omrs-dates.ts:363](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L363)
2690
+ [packages/framework/esm-utils/src/omrs-dates.ts:364](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L364)
2652
2691
 
2653
2692
  ___
2654
2693
 
@@ -2671,7 +2710,7 @@ Formats the input as a time, according to the current locale.
2671
2710
 
2672
2711
  #### Defined in
2673
2712
 
2674
- [packages/framework/esm-utils/src/omrs-dates.ts:347](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L347)
2713
+ [packages/framework/esm-utils/src/omrs-dates.ts:348](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L348)
2675
2714
 
2676
2715
  ___
2677
2716
 
@@ -2693,7 +2732,7 @@ Retrieves the default calendar for the specified locale if any.
2693
2732
 
2694
2733
  #### Defined in
2695
2734
 
2696
- [packages/framework/esm-utils/src/omrs-dates.ts:236](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L236)
2735
+ [packages/framework/esm-utils/src/omrs-dates.ts:237](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L237)
2697
2736
 
2698
2737
  ___
2699
2738
 
@@ -2711,7 +2750,7 @@ string
2711
2750
 
2712
2751
  #### Defined in
2713
2752
 
2714
- [packages/framework/esm-utils/src/omrs-dates.ts:371](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L371)
2753
+ [packages/framework/esm-utils/src/omrs-dates.ts:372](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L372)
2715
2754
 
2716
2755
  ___
2717
2756
 
@@ -2734,7 +2773,7 @@ The format should be YYYY-MM-DDTHH:mm:ss.SSSZZ
2734
2773
 
2735
2774
  #### Defined in
2736
2775
 
2737
- [packages/framework/esm-utils/src/omrs-dates.ts:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L27)
2776
+ [packages/framework/esm-utils/src/omrs-dates.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L28)
2738
2777
 
2739
2778
  ___
2740
2779
 
@@ -2754,7 +2793,7 @@ ___
2754
2793
 
2755
2794
  #### Defined in
2756
2795
 
2757
- [packages/framework/esm-utils/src/omrs-dates.ts:56](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L56)
2796
+ [packages/framework/esm-utils/src/omrs-dates.ts:57](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L57)
2758
2797
 
2759
2798
  ___
2760
2799
 
@@ -2777,7 +2816,7 @@ Uses `dayjs(dateString)`.
2777
2816
 
2778
2817
  #### Defined in
2779
2818
 
2780
- [packages/framework/esm-utils/src/omrs-dates.ts:129](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L129)
2819
+ [packages/framework/esm-utils/src/omrs-dates.ts:130](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L130)
2781
2820
 
2782
2821
  ___
2783
2822
 
@@ -2805,7 +2844,7 @@ registerDefaultCalendar('en', 'buddhist') // sets the default calendar for the '
2805
2844
 
2806
2845
  #### Defined in
2807
2846
 
2808
- [packages/framework/esm-utils/src/omrs-dates.ts:227](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L227)
2847
+ [packages/framework/esm-utils/src/omrs-dates.ts:228](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L228)
2809
2848
 
2810
2849
  ___
2811
2850
 
@@ -2828,7 +2867,7 @@ Otherwise returns null.
2828
2867
 
2829
2868
  #### Defined in
2830
2869
 
2831
- [packages/framework/esm-utils/src/omrs-dates.ts:64](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L64)
2870
+ [packages/framework/esm-utils/src/omrs-dates.ts:65](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L65)
2832
2871
 
2833
2872
  ___
2834
2873
 
@@ -2852,7 +2891,7 @@ Formats the input as a date string. By default the format "YYYY-MMM-DD" is used.
2852
2891
 
2853
2892
  #### Defined in
2854
2893
 
2855
- [packages/framework/esm-utils/src/omrs-dates.ts:121](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L121)
2894
+ [packages/framework/esm-utils/src/omrs-dates.ts:122](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L122)
2856
2895
 
2857
2896
  ___
2858
2897
 
@@ -2875,7 +2914,7 @@ Formats the input as a date string using the format "DD - MMM - YYYY".
2875
2914
 
2876
2915
  #### Defined in
2877
2916
 
2878
- [packages/framework/esm-utils/src/omrs-dates.ts:105](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L105)
2917
+ [packages/framework/esm-utils/src/omrs-dates.ts:106](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L106)
2879
2918
 
2880
2919
  ___
2881
2920
 
@@ -2898,7 +2937,7 @@ Formats the input to OpenMRS ISO format: "YYYY-MM-DDTHH:mm:ss.SSSZZ".
2898
2937
 
2899
2938
  #### Defined in
2900
2939
 
2901
- [packages/framework/esm-utils/src/omrs-dates.ts:75](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L75)
2940
+ [packages/framework/esm-utils/src/omrs-dates.ts:76](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L76)
2902
2941
 
2903
2942
  ___
2904
2943
 
@@ -2921,7 +2960,7 @@ Formats the input as a time string using the format "HH:mm A".
2921
2960
 
2922
2961
  #### Defined in
2923
2962
 
2924
- [packages/framework/esm-utils/src/omrs-dates.ts:97](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L97)
2963
+ [packages/framework/esm-utils/src/omrs-dates.ts:98](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L98)
2925
2964
 
2926
2965
  ___
2927
2966
 
@@ -2944,7 +2983,7 @@ Formats the input as a time string using the format "HH:mm".
2944
2983
 
2945
2984
  #### Defined in
2946
2985
 
2947
- [packages/framework/esm-utils/src/omrs-dates.ts:89](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L89)
2986
+ [packages/framework/esm-utils/src/omrs-dates.ts:90](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L90)
2948
2987
 
2949
2988
  ___
2950
2989
 
@@ -2967,7 +3006,7 @@ Formats the input as a date string using the format "DD-MMM".
2967
3006
 
2968
3007
  #### Defined in
2969
3008
 
2970
- [packages/framework/esm-utils/src/omrs-dates.ts:113](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L113)
3009
+ [packages/framework/esm-utils/src/omrs-dates.ts:114](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/omrs-dates.ts#L114)
2971
3010
 
2972
3011
  ___
2973
3012
 
@@ -5058,7 +5097,7 @@ ___
5058
5097
 
5059
5098
  #### Defined in
5060
5099
 
5061
- [packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-contact-details.component.tsx:177](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-contact-details.component.tsx#L177)
5100
+ [packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-contact-details.component.tsx:171](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-contact-details.component.tsx#L171)
5062
5101
 
5063
5102
  ___
5064
5103
 
@@ -5611,6 +5650,57 @@ The number of days.
5611
5650
 
5612
5651
  ___
5613
5652
 
5653
+ ### displayName
5654
+
5655
+ ▸ **displayName**(`patient`): `string`
5656
+
5657
+ Gets the formatted display name for a patient.
5658
+
5659
+ The display name will be taken from the patient's 'usual' name,
5660
+ or may fall back to the patient's 'official' name.
5661
+
5662
+ #### Parameters
5663
+
5664
+ | Name | Type | Description |
5665
+ | :------ | :------ | :------ |
5666
+ | `patient` | `Patient` | The patient details in FHIR format. |
5667
+
5668
+ #### Returns
5669
+
5670
+ `string`
5671
+
5672
+ The patient's display name or an empty string if name is not present.
5673
+
5674
+ #### Defined in
5675
+
5676
+ [packages/framework/esm-utils/src/patient-helpers.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/patient-helpers.ts#L14)
5677
+
5678
+ ___
5679
+
5680
+ ### formattedName
5681
+
5682
+ ▸ **formattedName**(`name`): `string`
5683
+
5684
+ Get a formatted display string for an FHIR name.
5685
+
5686
+ #### Parameters
5687
+
5688
+ | Name | Type | Description |
5689
+ | :------ | :------ | :------ |
5690
+ | `name` | `undefined` \| `HumanName` | The name to be formatted. |
5691
+
5692
+ #### Returns
5693
+
5694
+ `string`
5695
+
5696
+ The formatted display name or an empty string if name is undefined.
5697
+
5698
+ #### Defined in
5699
+
5700
+ [packages/framework/esm-utils/src/patient-helpers.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/patient-helpers.ts#L24)
5701
+
5702
+ ___
5703
+
5614
5704
  ### getDefaultsFromConfigSchema
5615
5705
 
5616
5706
  ▸ **getDefaultsFromConfigSchema**(`schema`): `Object`
@@ -5724,6 +5814,44 @@ The result of successfully executing `fn`.
5724
5814
 
5725
5815
  ___
5726
5816
 
5817
+ ### selectPreferredName
5818
+
5819
+ ▸ **selectPreferredName**(`patient`, ...`preferredNames`): `fhir.HumanName` \| `undefined`
5820
+
5821
+ Select the preferred name from the collection of names associated with a patient.
5822
+
5823
+ Names may be specified with a usage such as 'usual', 'official', 'nickname', 'maiden', etc.
5824
+ A name with no usage specified is treated as the 'usual' name.
5825
+
5826
+ The chosen name will be selected according to the priority order of `preferredNames`,
5827
+
5828
+ **`example`**
5829
+ // normal use case; prefer usual name, fallback to official name
5830
+ displayNameByUsage(patient, 'usual', 'official')
5831
+
5832
+ **`example`**
5833
+ // prefer usual name over nickname, fallback to official name
5834
+ displayNameByUsage(patient, 'usual', 'nickname', 'official')
5835
+
5836
+ #### Parameters
5837
+
5838
+ | Name | Type | Description |
5839
+ | :------ | :------ | :------ |
5840
+ | `patient` | `Patient` | The patient from whom a name will be selected. |
5841
+ | `...preferredNames` | [`NameUse`](API.md#nameuse)[] | Optional ordered sequence of preferred name usages; defaults to 'usual' if not specified. |
5842
+
5843
+ #### Returns
5844
+
5845
+ `fhir.HumanName` \| `undefined`
5846
+
5847
+ the preferred name for the patient, or undefined if no acceptable name could be found.
5848
+
5849
+ #### Defined in
5850
+
5851
+ [packages/framework/esm-utils/src/patient-helpers.ts:47](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/patient-helpers.ts#L47)
5852
+
5853
+ ___
5854
+
5727
5855
  ### shallowEqual
5728
5856
 
5729
5857
  ▸ **shallowEqual**(`a`, `b`): `boolean`
@@ -0,0 +1,140 @@
1
+ [@openmrs/esm-framework](../API.md) / AuditInfo
2
+
3
+ # Interface: AuditInfo
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [changedBy](AuditInfo.md#changedby)
10
+ - [creator](AuditInfo.md#creator)
11
+ - [dateChanged](AuditInfo.md#datechanged)
12
+ - [dateCreated](AuditInfo.md#datecreated)
13
+ - [dateVoided](AuditInfo.md#datevoided)
14
+ - [datedRetired](AuditInfo.md#datedretired)
15
+ - [retireReason](AuditInfo.md#retirereason)
16
+ - [retired](AuditInfo.md#retired)
17
+ - [retiredBy](AuditInfo.md#retiredby)
18
+ - [voidReason](AuditInfo.md#voidreason)
19
+ - [voided](AuditInfo.md#voided)
20
+ - [voidedBy](AuditInfo.md#voidedby)
21
+
22
+ ## Properties
23
+
24
+ ### changedBy
25
+
26
+ • `Optional` **changedBy**: [`User`](User.md)
27
+
28
+ #### Defined in
29
+
30
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L30)
31
+
32
+ ___
33
+
34
+ ### creator
35
+
36
+ • `Optional` **creator**: [`User`](User.md)
37
+
38
+ #### Defined in
39
+
40
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L28)
41
+
42
+ ___
43
+
44
+ ### dateChanged
45
+
46
+ • `Optional` **dateChanged**: `string`
47
+
48
+ #### Defined in
49
+
50
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L29)
51
+
52
+ ___
53
+
54
+ ### dateCreated
55
+
56
+ • `Optional` **dateCreated**: `string`
57
+
58
+ #### Defined in
59
+
60
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L27)
61
+
62
+ ___
63
+
64
+ ### dateVoided
65
+
66
+ • `Optional` **dateVoided**: `string`
67
+
68
+ #### Defined in
69
+
70
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:32](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L32)
71
+
72
+ ___
73
+
74
+ ### datedRetired
75
+
76
+ • `Optional` **datedRetired**: `string`
77
+
78
+ #### Defined in
79
+
80
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:36](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L36)
81
+
82
+ ___
83
+
84
+ ### retireReason
85
+
86
+ • `Optional` **retireReason**: `string`
87
+
88
+ #### Defined in
89
+
90
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:38](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L38)
91
+
92
+ ___
93
+
94
+ ### retired
95
+
96
+ • `Optional` **retired**: `boolean`
97
+
98
+ #### Defined in
99
+
100
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:35](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L35)
101
+
102
+ ___
103
+
104
+ ### retiredBy
105
+
106
+ • `Optional` **retiredBy**: [`User`](User.md)
107
+
108
+ #### Defined in
109
+
110
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:37](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L37)
111
+
112
+ ___
113
+
114
+ ### voidReason
115
+
116
+ • `Optional` **voidReason**: `string`
117
+
118
+ #### Defined in
119
+
120
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:34](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L34)
121
+
122
+ ___
123
+
124
+ ### voided
125
+
126
+ • `Optional` **voided**: `boolean`
127
+
128
+ #### Defined in
129
+
130
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L31)
131
+
132
+ ___
133
+
134
+ ### voidedBy
135
+
136
+ • `Optional` **voidedBy**: [`User`](User.md)
137
+
138
+ #### Defined in
139
+
140
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:33](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L33)
@@ -0,0 +1,89 @@
1
+ [@openmrs/esm-framework](../API.md) / Concept
2
+
3
+ # Interface: Concept
4
+
5
+ ## Hierarchy
6
+
7
+ - [`OpenmrsResource`](OpenmrsResource.md)
8
+
9
+ ↳ **`Concept`**
10
+
11
+ ## Table of contents
12
+
13
+ ### Properties
14
+
15
+ - [auditInfo](Concept.md#auditinfo)
16
+ - [display](Concept.md#display)
17
+ - [links](Concept.md#links)
18
+ - [resourceVersion](Concept.md#resourceversion)
19
+ - [uuid](Concept.md#uuid)
20
+
21
+ ## Properties
22
+
23
+ ### auditInfo
24
+
25
+ • `Optional` **auditInfo**: [`AuditInfo`](AuditInfo.md)
26
+
27
+ #### Inherited from
28
+
29
+ [OpenmrsResource](OpenmrsResource.md).[auditInfo](OpenmrsResource.md#auditinfo)
30
+
31
+ #### Defined in
32
+
33
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L16)
34
+
35
+ ___
36
+
37
+ ### display
38
+
39
+ • `Optional` **display**: `string`
40
+
41
+ #### Inherited from
42
+
43
+ [OpenmrsResource](OpenmrsResource.md).[display](OpenmrsResource.md#display)
44
+
45
+ #### Defined in
46
+
47
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L14)
48
+
49
+ ___
50
+
51
+ ### links
52
+
53
+ • `Optional` **links**: [`Link`](Link.md)[]
54
+
55
+ #### Inherited from
56
+
57
+ [OpenmrsResource](OpenmrsResource.md).[links](OpenmrsResource.md#links)
58
+
59
+ #### Defined in
60
+
61
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L15)
62
+
63
+ ___
64
+
65
+ ### resourceVersion
66
+
67
+ • `Optional` **resourceVersion**: `string`
68
+
69
+ #### Inherited from
70
+
71
+ [OpenmrsResource](OpenmrsResource.md).[resourceVersion](OpenmrsResource.md#resourceversion)
72
+
73
+ #### Defined in
74
+
75
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L17)
76
+
77
+ ___
78
+
79
+ ### uuid
80
+
81
+ • **uuid**: `string`
82
+
83
+ #### Inherited from
84
+
85
+ [OpenmrsResource](OpenmrsResource.md).[uuid](OpenmrsResource.md#uuid)
86
+
87
+ #### Defined in
88
+
89
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L13)
@@ -0,0 +1,41 @@
1
+ [@openmrs/esm-framework](../API.md) / Link
2
+
3
+ # Interface: Link
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [rel](Link.md#rel)
10
+ - [resourceAlias](Link.md#resourcealias)
11
+ - [uri](Link.md#uri)
12
+
13
+ ## Properties
14
+
15
+ ### rel
16
+
17
+ • **rel**: `string`
18
+
19
+ #### Defined in
20
+
21
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L21)
22
+
23
+ ___
24
+
25
+ ### resourceAlias
26
+
27
+ • `Optional` **resourceAlias**: `string`
28
+
29
+ #### Defined in
30
+
31
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L23)
32
+
33
+ ___
34
+
35
+ ### uri
36
+
37
+ • **uri**: `string`
38
+
39
+ #### Defined in
40
+
41
+ [packages/framework/esm-api/src/types/openmrs-resource.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/types/openmrs-resource.ts#L22)