/** * Gets the first repetition for <b>representation</b> (), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public BoundCodeDt<PropertyRepresentationEnum> getRepresentationFirstRep() { if (getRepresentation().size() == 0) { addRepresentation(); } return getRepresentation().get(0); }
/** * Sets the value(s), and clears any existing value(s) for <b>representation</b> () * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public ElementDefinitionDt setRepresentation(PropertyRepresentationEnum theValue) { getRepresentation().clear(); addRepresentation(theValue); return this; }
/** * Add a value for <b>representation</b> () * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public BoundCodeDt<PropertyRepresentationEnum> addRepresentation() { BoundCodeDt<PropertyRepresentationEnum> retVal = new BoundCodeDt<PropertyRepresentationEnum>(PropertyRepresentationEnum.VALUESET_BINDER); getRepresentation().add(retVal); return retVal; }
/** * Add a value for <b>representation</b> () using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addRepresentation()} method. * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public BoundCodeDt<PropertyRepresentationEnum> addRepresentation(PropertyRepresentationEnum theValue) { BoundCodeDt<PropertyRepresentationEnum> retVal = new BoundCodeDt<PropertyRepresentationEnum>(PropertyRepresentationEnum.VALUESET_BINDER, theValue); getRepresentation().add(retVal); return retVal; }
/** * Gets the first repetition for <b>representation</b> (), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public BoundCodeDt<PropertyRepresentationEnum> getRepresentationFirstRep() { if (getRepresentation().size() == 0) { addRepresentation(); } return getRepresentation().get(0); }
/** * Add a value for <b>representation</b> () * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public BoundCodeDt<PropertyRepresentationEnum> addRepresentation() { BoundCodeDt<PropertyRepresentationEnum> retVal = new BoundCodeDt<PropertyRepresentationEnum>(PropertyRepresentationEnum.VALUESET_BINDER); getRepresentation().add(retVal); return retVal; }
/** * Sets the value(s), and clears any existing value(s) for <b>representation</b> () * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public ElementDefinitionDt setRepresentation(PropertyRepresentationEnum theValue) { getRepresentation().clear(); addRepresentation(theValue); return this; }
/** * Add a value for <b>representation</b> () using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addRepresentation()} method. * * <p> * <b>Definition:</b> * Codes that define how this element is represented in instances, when the deviation varies from the normal case * </p> */ public BoundCodeDt<PropertyRepresentationEnum> addRepresentation(PropertyRepresentationEnum theValue) { BoundCodeDt<PropertyRepresentationEnum> retVal = new BoundCodeDt<PropertyRepresentationEnum>(PropertyRepresentationEnum.VALUESET_BINDER, theValue); getRepresentation().add(retVal); return retVal; }