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

As a system administrator, I want to configure a 6th location level, so that I can standardise address input and interoperate addresses at a "village" level #6956

Open
12 of 13 tasks
euanmillar opened this issue May 8, 2024 · 1 comment
Labels
Milestone

Comments

@euanmillar
Copy link
Collaborator

euanmillar commented May 8, 2024

Description

Currently OpenCRVS is hard-coded to have up to 5 administrative levels (admin0 > admin5) in address format and Uganda need a 6th level:

Tech tasks

  • make 5th & 6th level in locations.csv & statistics.csv from the data shared by Prince (admin_units)
  • make fake statistics to pass seeding in statistics.csv (no real stats exist at this level). See Remove completeness rate statistics from lower location levels #8092 to remove this requirement in future
  • adjust address utils in countryconfig to support 6th level
  • in client addressMutationTransformer mutation add an extra empty string to getDefaultAddressLines to contain the extra row or GraphQL will freak out
  • in client addressLineTemplateTransformer add code for extra line
  • Ensure translation strings exist
  • in client SupportedFacilityFHIRProp add extra line for facilities
  • the client QR code verification screen also needs to understand the new level. The code is generateFullAddress
  • in confg microservice validation.ts add the extra location level to OPTIONAL_EVENT_ADDRESS_FIELDS & OPTIONAL_PRIMARY_ADDRESS_FIELDS so the new level passses validation
  • in client ensure that advanced search, search queries send eventLocationLevel6
  • in client & gateway if E-Signet code for OIDP / OIDC address mapping is blocking you add it in otherwise dont bother
  • in seach service add extra row to transformDeprecatedParamsToSupported to handle the new level being passed to search from client
  • in metrics handle the extra level:
    ILocationPoint:
    IGenderBasisPoint:
    level === '5' ? level : String(Number(level) + 1)

    - [ ] Ensure that QA passes on both Uganda and regression in Core before merging into develop!!!
@github-project-automation github-project-automation bot moved this to Backlog in OpenCRVS Core May 8, 2024
@euanmillar euanmillar added this to the v1.7.0 milestone May 8, 2024
@rikukissa rikukissa moved this from Backlog to In Design in OpenCRVS Core Jul 2, 2024
@euanmillar euanmillar modified the milestones: v1.7.0, w IET Candidates Nov 8, 2024
@euanmillar euanmillar changed the title Add another location level for villages As a system administrator, I want to configure a 5th location level, so that I can standardise address input and interoperate addresses at a "village" level Nov 8, 2024
@euanmillar euanmillar changed the title As a system administrator, I want to configure a 5th location level, so that I can standardise address input and interoperate addresses at a "village" level As a system administrator, I want to configure a 6th location level, so that I can standardise address input and interoperate addresses at a "village" level Nov 26, 2024
@euanmillar
Copy link
Collaborator Author

@prinzab @Alta-Nel please confirm that Parish/Ward and Village would be both mandatory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Design
Development

No branches or pull requests

2 participants