public T getValueAsEnum() { Validate.notNull(myBinder, "This object does not have a binder. Constructor BoundCodeDt() should not be called!"); T retVal = myBinder.fromCodeString(getValue()); if (retVal == null) { // TODO: throw special exception type? } return retVal; }
/** * 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>status</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates the current state of this list * </p> */ public String getStatus() { return getStatusElement().getValue(); }
/** * Gets the value(s) for <b>comparator</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value * </p> */ public String getComparator() { return getComparatorElement().getValue(); }
/** * Gets the value(s) for <b>strength</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances * </p> */ public String getStrength() { return getStrengthElement().getValue(); }
/** * Gets the value(s) for <b>status</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * * </p> */ public String getStatus() { return getStatusElement().getValue(); }
/** * Gets the value(s) for <b>durationUnits</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The units of time for the duration, in UCUM units * </p> */ public String getDurationUnits() { return getDurationUnitsElement().getValue(); }
/** * Gets the value(s) for <b>when</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * A real world event that the occurrence of the event should be tied to. * </p> */ public String getWhen() { return getWhenElement().getValue(); }
/** * Gets the value(s) for <b>status</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Status of the Device availability. * </p> */ public String getStatus() { return getStatusElement().getValue(); }
/** * Gets the value(s) for <b>gender</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes. * </p> */ public String getGender() { return getGenderElement().getValue(); }
/** * Gets the value(s) for <b>comparator</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value * </p> */ public String getComparator() { return getComparatorElement().getValue(); }
/** * Gets the value(s) for <b>mode</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates whether a resource instance represents a specific location or a class of locations * </p> */ public String getMode() { return getModeElement().getValue(); }
/** * Gets the value(s) for <b>periodUnits</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The units of time for the period in UCUM units * </p> */ public String getPeriodUnits() { return getPeriodUnitsElement().getValue(); }
/** * Gets the value(s) for <b>type</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The type of link between this patient resource and another patient resource. * </p> */ public String getType() { return getTypeElement().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 this name * </p> */ public String getUse() { return getUseElement().getValue(); }
/** * Gets the value(s) for <b>severity</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies the impact constraint violation has on the conformance of the instance * </p> */ public String getSeverity() { return getSeverityElement().getValue(); }
/** * Gets the value(s) for <b>strength</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances * </p> */ public String getStrength() { return getStrengthElement().getValue(); }
/** * Gets the value(s) for <b>type</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both * </p> */ public String getType() { return getTypeElement().getValue(); }
/** * Gets the value(s) for <b>rules</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end * </p> */ public String getRules() { return getRulesElement().getValue(); }
/** * Gets the value(s) for <b>severity</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies the impact constraint violation has on the conformance of the instance * </p> */ public String getSeverity() { return getSeverityElement().getValue(); }