@Override public String toString() { ToStringBuilder b = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); b.append("family", getFamilyAsSingleString()); b.append("given", getGivenAsSingleString()); return b.toString(); }
/** * Returns all repetitions of {@link #getFamily() family name} as a space separated string * * @see DatatypeUtil#joinStringsSpaceSeparated(List) */ public String getFamilyAsSingleString() { return ca.uhn.fhir.util.DatatypeUtil.joinStringsSpaceSeparated(getFamily()); }
/** * Returns all repetitions of {@link #getSuffix() suffix} as a space separated string * * @see DatatypeUtil#joinStringsSpaceSeparated(List) */ public String getSuffixAsSingleString() { return ca.uhn.fhir.util.DatatypeUtil.joinStringsSpaceSeparated(getSuffix()); }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myVersion, myCode, myDisplay, myUserSelected); }
private boolean isSystemPresent() { return !getSystemElement().isEmpty(); }
@Override public String getDivAsString() { return getDiv().getValueAsString(); }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myValue, myComparator, myUnit, mySystem, myCode); }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myUse, myType, mySystem, myValue, myPeriod, myAssigner); }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myUse, myText, myFamily, myGiven, myPrefix, mySuffix, myPeriod); }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myReference, myDisplay); }
@Override public INarrative setStatusAsString(String theString) { getStatus().setValueAsString(theString); return this; }
/** * Constructor * * @param theResource * The loaded resource itself */ public BaseResourceReferenceDt(IResource theResource) { myResource = theResource; setReference(theResource.getId()); }
/** * Returns all repetitions of {@link #getGiven() given name} as a space separated string * * @see DatatypeUtil#joinStringsSpaceSeparated(List) */ public String getGivenAsSingleString() { return ca.uhn.fhir.util.DatatypeUtil.joinStringsSpaceSeparated(getGiven()); }
/** * Returns all repetitions of {@link #getPrefix() prefix name} as a space separated string * * @see DatatypeUtil#joinStringsSpaceSeparated(List) */ public String getPrefixAsSingleString() { return ca.uhn.fhir.util.DatatypeUtil.joinStringsSpaceSeparated(getPrefix()); }
public boolean doesCodingListMatch(List<? extends BaseCodingDt> theCodings) { List<BaseCodingDt> paramCodings = getListAsCodings(); for (BaseCodingDt coding : theCodings) { for (BaseCodingDt paramCoding : paramCodings) { if (coding.matchesToken(paramCoding)) { return true; } } } return false; }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(mySystem, myVersion, myCode, myDisplay, myPrimary); }
@Override public void setDivAsString(String theString) { getDiv().setValueAsString(theString); }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myValue, myComparator, myUnit, mySystem, myCode); }
@Override public String getStatusAsString() { return getStatus().getValueAsString(); }
@Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myVersion, myCode, myDisplay, myUserSelected); }