Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ensure to use resourceType properly when it is explicitly provided in a chained reference param #786
This PR ensures that when the resourceType is explicitly defined in the reference search parameter, that it gets used properly and also that the value also gets parsed properly.
Before this fix, specifying a search like Observation?subject:Patient.identifier=http://a.b/c/d|123, the 'Patient' resourceType would be overwritten with a path from the provided url value, and the value would be incorrect. This is due to the invocation of setValue(), which internally calls myId.setValue().