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-4342: Split allergy form fields #2193

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

Muppasanipraneeth
Copy link

@Muppasanipraneeth Muppasanipraneeth commented Jan 14, 2025

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 separates the 'Onset date' and 'Additional comments' fields in the allergy form. Presently, the two are combined in a single field. Separating them aligns them with the designs and allows for proper validation of the individual fields.

Screenshots

Screenshot 2025-01-28 at 9 27 26 PM Screenshot 2025-01-28 at 9 27 50 PM

Related Issue

https://issues.openmrs.org/browse/O3-4342

Other

@Muppasanipraneeth
Copy link
Author

@denniskigen

@Muppasanipraneeth Muppasanipraneeth marked this pull request as ready for review January 15, 2025 10:30
@Muppasanipraneeth Muppasanipraneeth marked this pull request as draft January 15, 2025 10:32
@denniskigen denniskigen changed the title (feat) : 03-4342 Separate 'Onset Date' and 'Additional Comments' Fields in Allergy Record Form (feat) O3-4342: Separate 'Onset Date' and 'Additional Comments' Fields in Allergy Record Form Jan 17, 2025
@denniskigen denniskigen changed the title (feat) O3-4342: Separate 'Onset Date' and 'Additional Comments' Fields in Allergy Record Form (feat) O3-4342: Split allergy form fields Jan 17, 2025
@denniskigen
Copy link
Member

@Muppasanipraneeth could you add screenshots to support your changes?

@Muppasanipraneeth Muppasanipraneeth marked this pull request as ready for review January 22, 2025 04:52
@denniskigen
Copy link
Member

denniskigen commented Jan 29, 2025

@ibacher When you mentioned that the Allergy sub-resource in the REST API supports recording reaction events, what property would we use to record that in the data model? Is it comment, or something different?

@ibacher
Copy link
Member

ibacher commented Jan 29, 2025

what property would we use to record that in the data model?

It should be the reactions property of the Allergy object.

@denniskigen
Copy link
Member

denniskigen commented Jan 29, 2025

I see. Looks like we're already using it when creating or updating allergies. Is there a specific property of reactions that allows us to record "reaction events"?

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy