Skip to content

Commit

Permalink
FM2-645: Remove identifier from Practitioner display field (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishSiddharth authored Oct 2, 2024
1 parent 1bad7e3 commit 9707c4d
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 9707c4d

Please sign in to comment.