@openmrs/esm-generic-patient-widgets-app 11.3.1-patch.9310 → 11.3.1-patch.9508

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/.turbo/turbo-build.log +21 -24
  2. package/dist/1119.js +1 -1
  3. package/dist/1197.js +1 -1
  4. package/dist/1936.js +1 -0
  5. package/dist/1936.js.map +1 -0
  6. package/dist/2146.js +1 -1
  7. package/dist/2606.js +2 -0
  8. package/dist/2606.js.map +1 -0
  9. package/dist/2690.js +1 -1
  10. package/dist/3099.js +1 -1
  11. package/dist/3584.js +1 -1
  12. package/dist/4055.js +1 -1
  13. package/dist/4132.js +1 -1
  14. package/dist/4300.js +1 -1
  15. package/dist/4335.js +1 -1
  16. package/dist/439.js +1 -0
  17. package/dist/4618.js +1 -1
  18. package/dist/4652.js +1 -1
  19. package/dist/4944.js +1 -1
  20. package/dist/5173.js +1 -1
  21. package/dist/5241.js +1 -1
  22. package/dist/5442.js +1 -1
  23. package/dist/5661.js +1 -1
  24. package/dist/5670.js +1 -1
  25. package/dist/6022.js +1 -1
  26. package/dist/6468.js +1 -1
  27. package/dist/6589.js +1 -0
  28. package/dist/6679.js +1 -1
  29. package/dist/6840.js +1 -1
  30. package/dist/6859.js +1 -1
  31. package/dist/7097.js +1 -1
  32. package/dist/7159.js +1 -1
  33. package/dist/723.js +1 -1
  34. package/dist/7545.js +2 -0
  35. package/dist/7545.js.map +1 -0
  36. package/dist/7617.js +1 -1
  37. package/dist/795.js +1 -1
  38. package/dist/8163.js +1 -1
  39. package/dist/8349.js +1 -1
  40. package/dist/8371.js +1 -0
  41. package/dist/8618.js +1 -1
  42. package/dist/8803.js +1 -0
  43. package/dist/8803.js.map +1 -0
  44. package/dist/890.js +1 -1
  45. package/dist/9214.js +1 -1
  46. package/dist/9538.js +1 -1
  47. package/dist/9569.js +1 -1
  48. package/dist/986.js +1 -1
  49. package/dist/9879.js +1 -1
  50. package/dist/9895.js +1 -1
  51. package/dist/9900.js +1 -1
  52. package/dist/9913.js +1 -1
  53. package/dist/main.js +1 -1
  54. package/dist/main.js.map +1 -1
  55. package/dist/openmrs-esm-generic-patient-widgets-app.js +1 -1
  56. package/dist/openmrs-esm-generic-patient-widgets-app.js.buildmanifest.json +244 -178
  57. package/dist/openmrs-esm-generic-patient-widgets-app.js.map +1 -1
  58. package/dist/routes.json +1 -1
  59. package/package.json +3 -3
  60. package/src/config-schema-obs-horizontal.ts +12 -0
  61. package/src/config-schema-obs-switchable.ts +7 -1
  62. package/src/obs-graph/obs-graph.component.tsx +9 -9
  63. package/src/obs-switchable/obs-switchable.component.tsx +5 -9
  64. package/src/obs-switchable/obs-switchable.test.tsx +110 -23
  65. package/src/obs-table/obs-table.component.tsx +99 -17
  66. package/src/obs-table-horizontal/obs-table-horizontal.component.tsx +466 -56
  67. package/src/obs-table-horizontal/obs-table-horizontal.resource.ts +67 -0
  68. package/src/obs-table-horizontal/obs-table-horizontal.scss +47 -0
  69. package/src/obs-table-horizontal/obs-table-horizontal.test.tsx +923 -0
  70. package/src/resources/useConcepts.ts +14 -4
  71. package/src/resources/useEncounterTypes.ts +34 -0
  72. package/src/resources/useObs.ts +29 -47
  73. package/translations/am.json +6 -1
  74. package/translations/ar.json +6 -1
  75. package/translations/ar_SY.json +6 -1
  76. package/translations/bn.json +6 -1
  77. package/translations/cs.json +10 -0
  78. package/translations/de.json +6 -1
  79. package/translations/en.json +6 -1
  80. package/translations/en_US.json +6 -1
  81. package/translations/es.json +6 -1
  82. package/translations/es_MX.json +6 -1
  83. package/translations/fr.json +6 -1
  84. package/translations/he.json +6 -1
  85. package/translations/hi.json +6 -1
  86. package/translations/hi_IN.json +6 -1
  87. package/translations/id.json +6 -1
  88. package/translations/it.json +6 -1
  89. package/translations/ka.json +6 -1
  90. package/translations/km.json +6 -1
  91. package/translations/ku.json +6 -1
  92. package/translations/ky.json +6 -1
  93. package/translations/lg.json +6 -1
  94. package/translations/ne.json +6 -1
  95. package/translations/pl.json +6 -1
  96. package/translations/pt.json +6 -1
  97. package/translations/pt_BR.json +6 -1
  98. package/translations/qu.json +6 -1
  99. package/translations/ro_RO.json +6 -1
  100. package/translations/ru_RU.json +6 -1
  101. package/translations/si.json +6 -1
  102. package/translations/sq.json +10 -0
  103. package/translations/sw.json +6 -1
  104. package/translations/sw_KE.json +6 -1
  105. package/translations/tr.json +6 -1
  106. package/translations/tr_TR.json +6 -1
  107. package/translations/uk.json +6 -1
  108. package/translations/uz.json +6 -1
  109. package/translations/uz@Latn.json +6 -1
  110. package/translations/uz_UZ.json +6 -1
  111. package/translations/vi.json +6 -1
  112. package/translations/zh.json +6 -1
  113. package/translations/zh_CN.json +6 -1
  114. package/translations/zh_TW.json +10 -0
  115. package/dist/2499.js +0 -2
  116. package/dist/2499.js.map +0 -1
  117. package/dist/251.js +0 -2
  118. package/dist/251.js.map +0 -1
  119. package/dist/4341.js +0 -1
  120. package/dist/4341.js.map +0 -1
  121. package/dist/9351.js +0 -1
  122. package/dist/9351.js.map +0 -1
  123. /package/dist/{251.js.LICENSE.txt → 2606.js.LICENSE.txt} +0 -0
  124. /package/dist/{2499.js.LICENSE.txt → 7545.js.LICENSE.txt} +0 -0
@@ -6,6 +6,13 @@ export interface ConceptReferenceResponse {
6
6
  [key: string]: {
7
7
  uuid: string;
8
8
  display: string;
9
+ datatype: {
10
+ name: string;
11
+ };
12
+ answers: Array<{
13
+ uuid: string;
14
+ display: string;
15
+ }>;
9
16
  };
10
17
  }
11
18
 
@@ -15,11 +22,13 @@ export function useConcepts(conceptUuids: Array<string>) {
15
22
  (key: Array<string>) => Promise.all(key.map((url) => openmrsFetch<ConceptReferenceResponse>(url))),
16
23
  );
17
24
 
18
- const ob: ConceptReferenceResponse = data?.reduce((acc, response) => ({ ...acc, ...response.data }), {});
19
- const concepts = ob
20
- ? Object.values(ob).map((value) => ({
25
+ const res: ConceptReferenceResponse = data?.reduce((acc, response) => ({ ...acc, ...response.data }), {});
26
+ const concepts = res
27
+ ? Object.values(res).map((value) => ({
21
28
  uuid: value.uuid,
22
29
  display: value.display,
30
+ dataType: value.datatype.name,
31
+ answers: value.answers,
23
32
  }))
24
33
  : [];
25
34
 
@@ -36,6 +45,7 @@ export function useConcepts(conceptUuids: Array<string>) {
36
45
 
37
46
  function getConceptReferenceUrls(conceptUuids: Array<string>) {
38
47
  return chunk(conceptUuids, 10).map(
39
- (partition) => `${restBaseUrl}/conceptreferences?references=${partition.join(',')}&v=custom:(uuid,display)`,
48
+ (partition) =>
49
+ `${restBaseUrl}/conceptreferences?references=${partition.join(',')}&v=custom:(uuid,display,datatype,answers)`,
40
50
  );
41
51
  }
@@ -0,0 +1,34 @@
1
+ import { restBaseUrl, type Privilege } from '@openmrs/esm-framework';
2
+ import useSWRImmutable from 'swr/immutable';
3
+
4
+ export interface EncounterType {
5
+ uuid: string;
6
+ editPrivilege?: Privilege;
7
+ }
8
+
9
+ export interface UseEncountersResult {
10
+ encounterTypes: Array<EncounterType>;
11
+ error: Error;
12
+ isLoading: boolean;
13
+ isValidating: boolean;
14
+ mutate: () => Promise<any>;
15
+ }
16
+
17
+ export function useEncounterTypes() {
18
+ const customRep = 'custom:(uuid,editPrivilege)';
19
+ const url = new URL(`${restBaseUrl}/encountertype`, window.location.toString());
20
+ url.searchParams.set('v', customRep);
21
+
22
+ const { data, error, isLoading, isValidating, mutate } = useSWRImmutable<
23
+ { data: { results: Array<EncounterType> } },
24
+ Error
25
+ >(`${restBaseUrl}/encountertype?v=${customRep}`);
26
+
27
+ return {
28
+ encounterTypes: data?.data?.results || [],
29
+ error: error,
30
+ isLoading,
31
+ isValidating,
32
+ mutate,
33
+ };
34
+ }
@@ -9,11 +9,13 @@ type CommonConfig = ConfigObjectSwitchable | ConfigObjectHorizontal;
9
9
  export interface UseObsResult {
10
10
  data: {
11
11
  observations: Array<ObsResult>;
12
- concepts: Array<{ uuid: string; display: string }>;
12
+ concepts: Array<{ uuid: string; display: string; dataType: string }>;
13
+ encounters: Array<{ reference: string; display: string; encounterTypeUuid: string }>;
13
14
  };
14
15
  error: Error;
15
16
  isLoading: boolean;
16
17
  isValidating: boolean;
18
+ mutate: () => Promise<any>;
17
19
  }
18
20
 
19
21
  export type ObsResult = fhir.Observation & {
@@ -26,6 +28,7 @@ export type ObsResult = fhir.Observation & {
26
28
  * Reference to the encounter resource, in the format `Encounter/{uuid}`
27
29
  */
28
30
  reference: string;
31
+ encounterTypeUuid?: string;
29
32
  };
30
33
  };
31
34
 
@@ -37,52 +40,41 @@ export const pageSize = 100;
37
40
  * get the label.
38
41
  */
39
42
  export function useObs(patientUuid: string): UseObsResult {
40
- const { encounterTypes, data, showEncounterType } = useConfig<CommonConfig>();
43
+ const { encounterTypes, data } = useConfig<CommonConfig>();
41
44
  const urlEncounterTypes: string = encounterTypes.length ? `&encounter.type=${encounterTypes.toString()}` : '';
42
45
 
43
46
  // TODO: Make sorting respect oldestFirst/graphOldestFirst
44
47
  let url = `${fhirBaseUrl}/Observation?subject:Patient=${patientUuid}&code=${data
45
48
  .map((d) => d.concept)
46
- .join(',')}&_summary=data&_sort=-date&_count=${pageSize}${urlEncounterTypes}`;
49
+ .join(',')}&_summary=data&_include=Observation:encounter&_sort=-date&_count=${pageSize}${urlEncounterTypes}`;
47
50
 
48
- if (showEncounterType) {
49
- url += '&_include=Observation:encounter';
50
- }
51
-
52
- const { data: result, error, isLoading, isValidating } = useSWR<{ data: fhir.Bundle }, Error>(url, openmrsFetch);
53
-
54
- const obsForConcept = Object.fromEntries(
55
- data.map((d) => [
56
- d.concept,
57
- result?.data?.entry?.find((e) => (e.resource as fhir.Observation).code.coding.find((c) => d.concept === c.code)),
58
- ]),
59
- );
60
-
61
- const conceptsNeedingLabel = data.filter((d) => result && !d.label && !obsForConcept[d.concept]);
51
+ const {
52
+ data: result,
53
+ error,
54
+ isLoading,
55
+ isValidating,
56
+ mutate,
57
+ } = useSWR<{ data: fhir.Bundle }, Error>(url, openmrsFetch);
62
58
 
63
- const { concepts: conceptsForLabels } = useConcepts(conceptsNeedingLabel.map((d) => d.concept));
64
- const concepts = data.map((d) => ({
65
- uuid: d.concept,
66
- display:
67
- d.label ||
68
- obsForConcept[d.concept]?.resource?.code?.text ||
69
- conceptsForLabels.find((c) => c.uuid === d.concept)?.display,
70
- }));
59
+ const { concepts } = useConcepts(data.map((d) => d.concept));
71
60
 
72
- const encounters = showEncounterType ? getEncountersByResources(result?.data?.entry) : [];
73
- const observations = filterAndMapObservations(result?.data?.entry, encounters);
61
+ const encounters = getEncountersFromResources(result?.data?.entry);
62
+ const observations = filterAndMapObservations(result?.data?.entry, encounters, concepts);
74
63
  return {
75
- data: { observations, concepts },
64
+ data: { observations, concepts, encounters },
76
65
  error: error,
77
66
  isLoading,
78
67
  isValidating,
68
+ mutate,
79
69
  };
80
70
  }
81
71
 
82
72
  function filterAndMapObservations(
83
73
  entries: Array<fhir.BundleEntry>,
84
- encounters: Array<{ reference: string; display: string }>,
74
+ encounters: Array<{ reference: string; display: string; encounterTypeUuid: string }>,
75
+ concepts: Array<{ uuid: string; display: string; dataType: string }>,
85
76
  ): ObsResult[] {
77
+ const conceptByUuid = Object.fromEntries(concepts.map((c) => [c.uuid, c]));
86
78
  return (
87
79
  entries
88
80
  ?.filter((entry) => entry?.resource?.resourceType === 'Observation')
@@ -91,39 +83,29 @@ function filterAndMapObservations(
91
83
  const observation: ObsResult = {
92
84
  ...resource,
93
85
  conceptUuid: resource.code.coding.find((c) => isUuid(c.code))?.code,
86
+ dataType: conceptByUuid[resource.code.coding.find((c) => isUuid(c.code))?.code]?.dataType,
94
87
  };
95
- if (resource.hasOwnProperty('valueDateTime')) {
96
- observation.dataType = 'DateTime';
97
- }
98
-
99
- if (entry.resource.hasOwnProperty('valueString')) {
100
- observation.dataType = 'Text';
101
- }
102
-
103
- if (entry.resource.hasOwnProperty('valueQuantity')) {
104
- observation.dataType = 'Number';
105
- }
106
88
 
107
- if (entry.resource.hasOwnProperty('valueCodeableConcept')) {
108
- observation.dataType = 'Coded';
109
- }
110
-
111
- observation.encounter.name = encounters.find(
89
+ const encounter = encounters.find(
112
90
  (e) =>
113
91
  e.reference === (resource as fhir.Observation & { encounter: { reference?: string } }).encounter.reference,
114
- )?.display;
92
+ );
93
+
94
+ observation.encounter.name = encounter?.display;
95
+ observation.encounter.encounterTypeUuid = encounter?.encounterTypeUuid;
115
96
 
116
97
  return observation;
117
98
  }) || []
118
99
  );
119
100
  }
120
101
 
121
- function getEncountersByResources(resources: Array<fhir.BundleEntry>) {
102
+ function getEncountersFromResources(resources: Array<fhir.BundleEntry>) {
122
103
  return resources
123
104
  ?.filter((entry) => entry?.resource?.resourceType === 'Encounter')
124
105
  .map((entry: fhir.BundleEntry) => ({
125
106
  reference: `Encounter/${entry.resource.id}`,
126
107
  display: (entry.resource as fhir.Encounter).type?.[0]?.coding?.[0]?.display || '--',
108
+ encounterTypeUuid: (entry.resource as fhir.Encounter).type?.[0]?.coding?.[0]?.code,
127
109
  }));
128
110
  }
129
111
 
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "التاريخ والوقت",
4
- "encounterType": "نوع اللقاء"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "نوع اللقاء",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "addEncounter": "Add encounter",
3
+ "date": "Date",
4
+ "dateAndTime": "Date and time",
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
10
+ }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Fecha y hora",
4
- "encounterType": "Tipo de encuentro"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Tipo de encuentro",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date et heure",
4
- "encounterType": "Type de consultation"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Type de consultation",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "תאריך ושעה",
4
- "encounterType": "סוג הביקור"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "סוג הביקור",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Tanggal dan waktu",
4
- "encounterType": "Jenis pertemuan"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Jenis pertemuan",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Data e ora",
4
- "encounterType": "Tipo di incontro"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Tipo di incontro",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "თარიღი და დრო",
4
- "encounterType": "კონსულტაციის ტიპი"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "კონსულტაციის ტიპი",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "កាលបរិច្ឆេទ និងម៉ោង",
4
- "encounterType": "ប្រភេទនៃការជួបប្រទះ"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "ប្រភេទនៃការជួបប្រទះ",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Data e hora",
4
- "encounterType": "Tipo de consulta"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Tipo de consulta",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Data e hora",
4
- "encounterType": "Tipo de encontro"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Tipo de encontro",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Data si ora",
4
- "encounterType": "Tip intalnire"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Tip intalnire",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "addEncounter": "Add encounter",
3
+ "date": "Date",
4
+ "dateAndTime": "Date and time",
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
10
+ }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }
@@ -1,5 +1,10 @@
1
1
  {
2
+ "addEncounter": "Add encounter",
2
3
  "date": "Date",
3
4
  "dateAndTime": "Date and time",
4
- "encounterType": "Encounter type"
5
+ "editabilityNote": "Tap an observation to edit",
6
+ "encounterType": "Encounter type",
7
+ "errorSavingObservation": "Error saving observation",
8
+ "noValue": "No value",
9
+ "observationSaved": "Observation saved successfully"
5
10
  }