Skip to content

Commit

Permalink
Remove identifier from Practitioner display field
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishSiddharth committed Oct 1, 2024
1 parent 6842295 commit d52f415
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ protected Reference createPractitionerReference(@Nonnull Provider provider) {

if (provider.getIdentifier() != null) {
reference.setIdentifier(new Identifier().setValue(provider.getIdentifier()));
sb.append(" (").append(FhirConstants.IDENTIFIER).append(": ").append(provider.getIdentifier()).append(")");
}

reference.setDisplay(sb.toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ public class BaseReferenceHandlingTranslatorTest {

private static final String PROVIDER_URI = FhirConstants.PRACTITIONER + "/" + PROVIDER_UUID;

private static final String PROVIDER_DISPLAY = "Ricky Morty (" + FhirConstants.IDENTIFIER + ": "
+ PROVIDER_TEST_IDENTIFIER + ")";
private static final String PROVIDER_DISPLAY = "Ricky Morty";

private static final String LOCATION_UUID = "2321gh23-kj34h45-34jk3-34k34k";

Expand Down

0 comments on commit d52f415

Please sign in to comment.