/** * Gets the first repetition for <b>mode</b> (personal | professional | legal | official), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * The type of attestation the authenticator offers * </p> */ public BoundCodeDt<CompositionAttestationModeEnum> getModeFirstRep() { if (getMode().size() == 0) { addMode(); } return getMode().get(0); }
/** * Add a value for <b>mode</b> (personal | professional | legal | official) 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 #addMode()} method. * * <p> * <b>Definition:</b> * The type of attestation the authenticator offers * </p> */ public BoundCodeDt<CompositionAttestationModeEnum> addMode(CompositionAttestationModeEnum theValue) { BoundCodeDt<CompositionAttestationModeEnum> retVal = new BoundCodeDt<CompositionAttestationModeEnum>(CompositionAttestationModeEnum.VALUESET_BINDER, theValue); getMode().add(retVal); return retVal; }
/** * Add a value for <b>mode</b> (personal | professional | legal | official) * * <p> * <b>Definition:</b> * The type of attestation the authenticator offers * </p> */ public BoundCodeDt<CompositionAttestationModeEnum> addMode() { BoundCodeDt<CompositionAttestationModeEnum> retVal = new BoundCodeDt<CompositionAttestationModeEnum>(CompositionAttestationModeEnum.VALUESET_BINDER); getMode().add(retVal); return retVal; }
/** * Adds and returns a new value for <b>attester</b> (Attests to accuracy of composition) * * <p> * <b>Definition:</b> * A participant who has attested to the accuracy of the composition/document * </p> */ public Attester addAttester() { Attester newType = new Attester(); getAttester().add(newType); return newType; }
/** * Sets the value(s), and clears any existing value(s) for <b>mode</b> (personal | professional | legal | official) * * <p> * <b>Definition:</b> * The type of attestation the authenticator offers * </p> */ public Attester setMode(CompositionAttestationModeEnum theValue) { getMode().clear(); addMode(theValue); return this; }