if (nextValue.isEmpty()) { continue; if (!needContactPointSystem.equals(nextValue.getSystemElement().getValueAsString())) { continue; systems.add(nextValue.getSystemElement().getValueAsString()); codes.add(nextValue.getValueElement().getValue()); } else if (nextObject instanceof BoundCodeDt) { BoundCodeDt<?> obj = (BoundCodeDt<?>) nextObject;
/** * Gets the value(s) for <b>contact</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * An e-mail, phone, website or other contact point to use to resolve issues with message communications. * </p> */ public ContactPointDt getContact() { if (myContact == null) { myContact = new ContactPointDt(); } return myContact; }
/** * Returns an contact of the desired type category from a list. * * @param list List of contacts to consider. * @param type Contact type to find (e.g., "home:phone"). * @return A contact with a matching type, or null if none found. */ public static ContactPointDt getContact(List<ContactPointDt> list, String type) { String[] pcs = type.split(":", 2); for (ContactPointDt contact : list) { if (pcs[0].equals(contact.getUse()) && pcs[1].equals(contact.getSystem())) { return contact; } } return null; }
if (nextContact.getValueElement().isEmpty() == false) { addSearchTerm(theEntity, retVal, nextSpName, nextContact.getValue());
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Telecommunications form for contact point - what communications system is required to make use of the contact * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>value</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address). * </p> */ public String getValue() { return getValueElement().getValue(); }
/** * Gets the value(s) for <b>rank</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values * </p> */ public Integer getRank() { return getRankElement().getValue(); }
/** * Gets the value(s) for <b>use</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies the purpose for the contact point * </p> */ public String getUse() { return getUseElement().getValue(); }
/** * Sets the value(s) for <b>system</b> () * * <p> * <b>Definition:</b> * Telecommunications form for contact point - what communications system is required to make use of the contact * </p> */ public ContactPointDt setSystem(ContactPointSystemEnum theValue) { setSystem(new BoundCodeDt<ContactPointSystemEnum>(ContactPointSystemEnum.VALUESET_BINDER, theValue)); /* getSystemElement().setValueAsEnum(theValue); */ return this; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * Contact details for individual (if a name was provided) or the publisher * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>contact</b> (who.focus) * * <p> * <b>Definition:</b> * Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting * </p> */ public ContactPointDt addContact() { ContactPointDt newType = new ContactPointDt(); getContact().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * A contact detail for the organization * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * A contact detail for the person, e.g. a telephone number or an email address. * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * Contact details for individual (if a name was provided) or the publisher * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * Contact details for individual (if a name was provided) or the publisher * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * A contact detail for the person, e.g. a telephone number or an email address. * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * Contact details for individual (if a name was provided) or the publisher * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>contact</b> () * * <p> * <b>Definition:</b> * Contact details for an organization or a particular human that is responsible for the device * </p> */ public ContactPointDt addContact() { ContactPointDt newType = new ContactPointDt(); getContact().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * A contact detail for the person, e.g. a telephone number or an email address. * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }
/** * Adds and returns a new value for <b>telecom</b> () * * <p> * <b>Definition:</b> * Contact details for individual (if a name was provided) or the publisher * </p> */ public ContactPointDt addTelecom() { ContactPointDt newType = new ContactPointDt(); getTelecom().add(newType); return newType; }