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

feat: Nationality list refactor for uniqueness and refactor nationality layout for new list #6936

Merged
merged 5 commits into from
Oct 22, 2023

Conversation

sjpadgett
Copy link
Member

Fixes #

Short description of what this resolves:

refactor list for uniqueness
remove old pre production list
refactor nationality layout for new list

refactor list for uniqueness
remove old pre production list
refactor nationaliy layout for new list
#IfMissingColumn patient_data nationality_country
ALTER TABLE `patient_data` ADD `nationality_country` TINYTEXT;
#EndIf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block was already added above

#IfRow2D list_options list_id lists option_id Nationality_and_Country
DELETE FROM `list_options` WHERE `list_id` = 'lists' AND `option_id` = 'Nationality_and_Country';
#EndIf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block was already completed above

#IfRow list_options list_id Nationality_and_Country
DELETE FROM `list_options` WHERE `list_id` LIKE 'Nationality_and_Country';
#EndIf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block was already completed above

@bradymiller
Copy link
Member

@sjpadgett , just noted couple duplicate blocks in upgrade script. Otherwise looks great!

dance-bear

#EndIf

#IfRow2D layout_options form_id DEM field_id nationality_country
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually to be safe here (only ensure it runs once and doesn't overwrite future customizations), would do:

#IfRow3D layout_options form_id DEM field_id nationality_country list_id Nationality_and_Country

@sjpadgett sjpadgett merged commit b3b88ac into openemr:master Oct 22, 2023
20 checks passed
@sjpadgett sjpadgett deleted the nationality_list branch October 22, 2023 17:19
@bradymiller
Copy link
Member

tenor99

@adunsulag adunsulag changed the title Nationality list refactor feat: Nationality list refactor for uniqueness and refactor nationality layout for new list Nov 16, 2023
@adunsulag adunsulag added this to the 7.0.2 milestone Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants