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) - O3-1831 Registration: Support person attribute of type Location #1032

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

usamaidrsk
Copy link
Contributor

@usamaidrsk usamaidrsk commented Mar 13, 2024

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

This PR add support for person attribute type Location, on patient registration.

test config

{
  "@openmrs/esm-patient-registration-app": {
    "fieldDefinitions": [
      {
        "id": "Health Center",
        "label": "Heath Center",
        "type": "person attribute",
        "uuid": "8d87236c-c2cc-11de-8d13-0010c6dffd0f"
      }
    ],
    "sections": [
      "demographics",
      "contact",
      "relationships",
      "extraInfo"
    ],
    "sectionDefinitions": [
      {
        "id": "extraInfo",
        "name": "Extra info",
        "fields": [
          "Health Center"
        ]
      }
    ]
  }
}

Screenshots

Related Issue

Other

@usamaidrsk usamaidrsk closed this Mar 13, 2024
@usamaidrsk usamaidrsk reopened this Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant