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

TRUNK-3623 #371

Closed
wants to merge 2 commits into from
Closed

TRUNK-3623 #371

wants to merge 2 commits into from

Conversation

k-joseph
Copy link
Member

fix for [TRUNK-3623] Create a custom data type and its associated handler for providers

if (StringUtils.isEmpty(serializedValue))
return null;
return Context.getProviderService().getProviderByUuid(serializedValue);
}
Copy link
Member

Choose a reason for hiding this comment

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

I think it would nice to implement getTextSummary to return the provider's name, actually am starting to think we can do things more generically and reduce the amount of code to write for this ticket and related ones, i will add a comment to the root ticket to explain my view

This was referenced Aug 30, 2013
public Provider getValue(org.openmrs.customdatatype.datatype.ProviderDatatype datatype, HttpServletRequest request,
String formFieldName) throws InvalidCustomValueException {
String result = request.getParameter(formFieldName);
if (StringUtils.isBlank(result))
Copy link
Member

Choose a reason for hiding this comment

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

After getting the request param the rest of the code should delegate to datatype.deserialize

@dkayiwa
Copy link
Member

dkayiwa commented Jan 23, 2014

Closing because author abandoned it.

@dkayiwa dkayiwa closed this Jan 23, 2014
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
…ixes (openmrs#371)

* Added :contains to the name parameter in the FHIR Location API

* Fixed the loading issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants