Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) minor fix and framework update #47

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openmrs/esm-patient-management",
"version": "8.0.0",
"version": "8.1.0",
"private": true,
"description": "Patient management microfrontend for the OpenMRS 3.x frontend",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-active-visits-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenyaemr/esm-active-visits-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Active visits widget microfrontend for the OpenMRS SPA",
"browser": "dist/kenyaemr-esm-active-visits-app.js",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-appointments-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenyaemr/esm-appointments-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Appointments front-end module for the OpenMRS SPA",
"browser": "dist/kenyaemr-esm-appointments-app.js",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-bed-management-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openmrs/esm-bed-management-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Bed management app for OpenMRS 3",
"browser": "dist/openmrs-esm-bed-management-app.js",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-patient-list-management-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenyaemr/esm-patient-list-management-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Microfrontend for managing patient lists in O3",
"browser": "dist/kenyaemr-esm-patient-list-management-app.js",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-patient-registration-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenyaemr/esm-patient-registration-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Patient registration microfrontend for the OpenMRS SPA",
"browser": "dist/kenyaemr-esm-patient-registration-app.js",
"main": "src/index.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,15 @@ function useConcepts() {
},
];

const martialStatus: Array<ConceptAnswers> = config.fieldDefinitions
.find((fieldDefinition) => fieldDefinition.id === 'maritalStatus')
.customConceptAnswers.map((concept) => ({ uuid: concept.uuid, display: concept.label }));
const maritalStatusCustomConceptAnswers =
config.fieldDefinitions.find((fieldDefinition) => fieldDefinition.id === 'maritalStatus')?.customConceptAnswers ??
[];

const martialStatus: Array<ConceptAnswers> =
maritalStatusCustomConceptAnswers.map((concept) => ({
uuid: concept?.uuid,
display: concept?.label,
})) ?? [];

return { martialStatus, education, occupation, educationLoad };
}
2 changes: 1 addition & 1 deletion packages/esm-patient-search-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenyaemr/esm-patient-search-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Patient search microfrontend for the OpenMRS SPA",
"browser": "dist/kenyaemr-esm-patient-search-app.js",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-service-queues-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenyaemr/esm-service-queues-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Outpatient front-end module for the OpenMRS SPA",
"browser": "dist/kenyaemr-esm-service-queues-app.js",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-ward-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenyaemr/esm-ward-app",
"version": "8.0.0",
"version": "8.1.0",
"description": "Ward and bed management module for O3",
"browser": "dist/kenyaemr-esm-ward-app.js",
"main": "src/index.ts",
Expand Down
Loading
Loading