public Iti66SearchParameters setAuthor(ReferenceAndListParam author) { if (author != null) { author.getValuesAsQueryTokens().forEach(param -> { ReferenceParam ref = param.getValuesAsQueryTokens().get(0); String authorChain = ref.getChain(); if (Practitioner.SP_FAMILY.equals(authorChain)) { setAuthorFamilyName(ref.toStringParam(getFhirContext())); } else if (Practitioner.SP_GIVEN.equals(authorChain)) { setAuthorGivenName(ref.toStringParam(getFhirContext())); } }); } return this; } }
public Iti67SearchParameters setAuthor(ReferenceAndListParam author) { if (author != null) { author.getValuesAsQueryTokens().forEach(param -> { ReferenceParam ref = param.getValuesAsQueryTokens().get(0); String authorChain = ref.getChain(); if (Practitioner.SP_FAMILY.equals(authorChain)) { setAuthorFamilyName(ref.toStringParam(getFhirContext())); } else if (Practitioner.SP_GIVEN.equals(authorChain)) { setAuthorGivenName(ref.toStringParam(getFhirContext())); } }); } return this; } }
public Iti66SearchParameters setAuthor(ReferenceAndListParam author) { if (author != null) { author.getValuesAsQueryTokens().forEach(param -> { ReferenceParam ref = param.getValuesAsQueryTokens().get(0); String authorChain = ref.getChain(); if (Practitioner.SP_FAMILY.equals(authorChain)) { setAuthorFamilyName(ref.toStringParam(getFhirContext())); } else if (Practitioner.SP_GIVEN.equals(authorChain)) { setAuthorGivenName(ref.toStringParam(getFhirContext())); } }); } return this; } }
public Iti67SearchParameters setAuthor(ReferenceAndListParam author) { if (author != null) { author.getValuesAsQueryTokens().forEach(param -> { ReferenceParam ref = param.getValuesAsQueryTokens().get(0); String authorChain = ref.getChain(); if (Practitioner.SP_FAMILY.equals(authorChain)) { setAuthorFamilyName(ref.toStringParam(getFhirContext())); } else if (Practitioner.SP_GIVEN.equals(authorChain)) { setAuthorGivenName(ref.toStringParam(getFhirContext())); } }); } return this; } }