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

BAH-3034 | Capturing relationships/contacts in patient registration #632

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Arjun-Go
Copy link
Contributor

@Arjun-Go Arjun-Go commented Jul 9, 2023

JIRA link - https://bahmni.atlassian.net/browse/BAH-3034?atlOrigin=eyJpIjoiZTM5YjgxNmRjNjIwNGZhMGE1Y2JiZTM3M2JlMDBhMmUiLCJwIjoiaiJ9

Summary

This PR has the following changes ->

Screenshots

Before save

image image image image

After save

image

@Arjun-Go Arjun-Go requested a review from a team July 9, 2023 10:31
@Arjun-Go Arjun-Go marked this pull request as ready for review July 9, 2023 14:39
package/docker/Dockerfile Outdated Show resolved Hide resolved
Arjun-Go and others added 4 commits January 25, 2024 04:26
…ment app (#608)

* modify existing relationships view in registration page

* update. httpd conf to serve static files for person management app

* update. view of patient relationship section

* update UI according to new mockups

* update. css to fix alignment issues
@Arjun-Go
Copy link
Contributor Author

Arjun-Go commented Feb 5, 2024

Screenshots of relationship section catering to addition of both providers through existing input field and person through person management app

image

@mohan-13
Copy link
Member

mohan-13 commented Feb 5, 2024

@Arjun-Go Is this feature behind a config which can be toggled on/off based on config ?

@Arjun-Go
Copy link
Contributor Author

Arjun-Go commented Feb 5, 2024

@Arjun-Go Is this feature behind a config which can be toggled on/off based on config ?

We are not hiding this behind config @mohan-13

@gsluthra
Copy link
Contributor

gsluthra commented Feb 5, 2024

Yes, the idea is that if the "Relationship" section is being shown, then this new feature will be available (wherein for provider the old behaviour will continue, and for any other relationship the new Person App pop-up will show). There is no configuration which decides if the Person App should be shown/not.

cc: @angshu.

@@ -11,3 +13,17 @@ COPY package/docker/style.css /usr/local/apache2/htdocs/

# Copy BahmniApps
COPY ui/dist/. /usr/local/apache2/htdocs/bahmni/

# Download Person Management App
RUN <<EOR
Copy link
Member

Choose a reason for hiding this comment

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

Any particular reason of packaging the person management app like this? We could have just bundled it as another image and/or used from MFE way or even proxy to the container serving the app.
This will also mean that for every build of bahmniapps, we are downloading and packaging person management app.

Copy link
Member

Choose a reason for hiding this comment

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

+1 here, also this would make versioning difficult, every build/patch fix in person management app would need an commit in bahmniapps also and will need a release of bahmni-web image as well.

@@ -35,20 +44,25 @@
</select>
</div>
<span class="asterick showOn-desktop">*</span>
<!-- <div class="relationship-extension-btn">-->
Copy link
Member

Choose a reason for hiding this comment

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

if these arent needed, why keep commented code

ng-click="openPopupWindow(newRelationship)">{{ ::'REGISTRATION_LABEL_SELECT_PERSON' | translate }}
</button>
</div>
<!-- <input type="text" ng-switch-when="patient" bahmni-autocomplete-->
Copy link
Member

Choose a reason for hiding this comment

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

remove commented code

ng-change="clearPatient(newRelationship)" on-select="patientSelected(newRelationship)"
placeholder="{{ ::'REGISTRATION_LABEL_ENTER_NAME_ID' | translate}}"
ng-class="{'illegalValue': !newRelationship.personB.uuid||duplicateRelationship(newRelationship)}" is-invalid="isInvalidRelation(newRelationship)"/>
<div class="relationship-extension-btn">
Copy link
Member

Choose a reason for hiding this comment

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

How are the different types of relationship handled?

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.

5 participants