List<ExpansionContains> contains = expansion.getExpansion().getContains(); ValidateCodeResult result = validateCodeIsInContains(contains, toStringOrNull(theSystem), toStringOrNull(theCode), theCoding, theCodeableConcept); if (result != null) {
for (IIdType nextId : valueSetIds) { ValueSet expansion = expand(nextId, null, theRequestDetails); List<ExpansionContains> contains = expansion.getExpansion().getContains(); LookupCodeResult result = lookup(contains, system, code); if (result != null) {
/** * Adds a given new value for <b>contains</b> () * * <p> * <b>Definition:</b> * The codes that are contained in the value set expansion * </p> * @param theValue The contains to add (must not be <code>null</code>) */ public Expansion addContains(ExpansionContains theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getContains().add(theValue); return this; }
List<ExpansionContains> contains = expansion.getExpansion().getContains(); ValidateCodeResult result = validateCodeIsInContains(contains, toStringOrNull(theSystem), toStringOrNull(theCode), theCoding, theCodeableConcept); if (result != null) {
for (IIdType nextId : valueSetIds) { ValueSet expansion = expand(nextId, null, theRequestDetails); List<ExpansionContains> contains = expansion.getExpansion().getContains(); LookupCodeResult result = lookup(contains, system, code); if (result != null) {
/** * Gets the first repetition for <b>contains</b> (), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * The codes that are contained in the value set expansion * </p> */ public ExpansionContains getContainsFirstRep() { if (getContains().isEmpty()) { return addContains(); } return getContains().get(0); }
/** * Adds and returns a new value for <b>contains</b> () * * <p> * <b>Definition:</b> * The codes that are contained in the value set expansion * </p> */ public ExpansionContains addContains() { ExpansionContains newType = new ExpansionContains(); getContains().add(newType); return newType; }