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

USM-15: Change the edit option to use API instead of controller rendered fields #134

Merged
merged 4 commits into from
Dec 15, 2023

Conversation

slubwama
Copy link
Collaborator

@slubwama slubwama self-assigned this Nov 29, 2023
@@ -847,6 +848,16 @@ private String encodeResourceToString(String resourceType, String identifierType
return jsonString;
}

private String addAttributeToObject(String payload, String targetObject, String attributeName, String attributeValue) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@slubwama this method was already defined in master as you can see here https://github.com/METS-Programme/openmrs-module-ugandaemr-sync/blob/516e6f8ad016345d51f976e9e5afa6f4d2e6a77a/api/src/main/java/org/openmrs/module/ugandaemrsync/server/SyncFHIRRecord.java#L895

If it is changing the implementation, kindly edit that very function otherwise currently there are two methods with the same name and same parameters.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@solemabrothers see changes made

@solemabrothers solemabrothers merged commit cd6ac4d into mohuganda:master Dec 15, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants